/* 
  ImplantIA - Brand Styles
  Colores:
  - Primary Dark: #102A43
  - Secondary: #2F6690
  - Accent: #5FA8D3
  - Text: #4B5563
  - BG: #F8FAFC
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-dark: #102A43;
  --secondary: #2F6690;
  --accent: #5FA8D3;
  --text-gray: #4B5563;
  --bg-light: #F8FAFC;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-gray);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.btn-primary {
  background-color: var(--secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background-color: #f1f5f9;
}

.section-padding {
  padding: 5rem 1.25rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Tally Embed Container */
#tally-container {
  width: 100%;
  margin-top: 1rem;
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
  min-height: 500px;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

/* El iframe se ajustará dinámicamente vía script de Tally */
#tally-container iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Metodología Step */
.step-number {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

/* Custom Utilities */
.text-balance {
  text-wrap: balance;
}

.bg-grid {
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Animación sutil para la portada del PDF */
@keyframes float {
  0% { transform: rotate(-1deg) translateY(0px); }
  50% { transform: rotate(-0.5deg) translateY(-10px); }
  100% { transform: rotate(-1deg) translateY(0px); }
}

.pdf-mockup-animation {
  animation: float 6s ease-in-out infinite;
}
