/* ============================================
   KSEGURA 365 — Landing Page Stylesheet
   SEO/AEO/GEO Optimized | Colombia Market
   ============================================ */

/* --- Variables --- */
:root {
  --yellow:       #FFC900;
  --yellow-dark:  #E5B400;
  --yellow-light: #FFF5CC;
  --dark:         #090D1A;
  --dark2:        #0F1629;
  --dark3:        #1A2340;
  --white:        #FFFFFF;
  --gray-light:   #F7F9FF;
  --gray:         #8892A4;
  --text:         #1E293B;
  --text-light:   #64748B;
  --border:       #E2E8F0;
  --success:      #10B981;
  --danger:       #EF4444;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 40px rgba(0,0,0,0.12);
  --shadow-dark:  0 8px 40px rgba(0,0,0,0.4);
  --transition:   0.3s ease;
  --font:         'Inter', 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p  { font-size: 1rem; color: var(--text-light); }

.text-yellow  { color: var(--yellow); }
.text-white   { color: var(--white); }
.text-center  { text-align: center; }
.highlight    { background: linear-gradient(135deg,#FFC900,#FF9500); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

/* --- Layout --- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--yellow); color: var(--dark);
  box-shadow: 0 4px 16px rgba(255,201,0,0.4);
}
.btn-primary:hover {
  background: var(--yellow-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,201,0,0.5);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.35); color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6);
}
.btn-dark {
  background: var(--dark); color: var(--white);
}
.btn-dark:hover { background: var(--dark3); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(9,13,26,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
  padding: 12px 0;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo-img {
  height: 74px; width: auto;
  border-radius: 8px;
  padding: 3px 6px;
  background: rgba(255,255,255,0.95);
  display: block;
}
.footer-logo-img {
  height: 75px; width: auto;
  border-radius: 8px;
  padding: 4px 8px;
  background: rgba(255,255,255,0.92);
  display: block;
  margin-bottom: 12px;
}
/* sector badge inside testimonial */
.sector-badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,201,0,0.12);
  border: 1px solid rgba(255,201,0,0.25);
  color: var(--yellow); border-radius: 100px;
  padding: 4px 12px; font-size: 0.78rem; font-weight: 600;
  margin-bottom: 14px;
}

.navbar-nav {
  display: flex; align-items: center; gap: 32px;
}
.navbar-nav a {
  color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition);
}
.navbar-nav a:hover { color: var(--yellow); }
.navbar-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--dark2); padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; color: rgba(255,255,255,0.85); padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1rem;
}
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, #0D1535 100%);
  display: flex; align-items: center;
  padding-top: 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(255,201,0,0.08) 0%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 1;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,201,0,0.15);
  border: 1px solid rgba(255,201,0,0.3);
  color: var(--yellow); border-radius: 100px;
  padding: 6px 14px; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.5px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero p {
  color: rgba(255,255,255,0.7); font-size: 1.15rem;
  margin-bottom: 36px; max-width: 520px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 24px;
  margin-top: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.6); font-size: 0.85rem;
}
.trust-item .icon { color: var(--yellow); font-size: 0.9rem; }

.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.dashboard-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px; width: 100%;
  box-shadow: var(--shadow-dark);
}
.dashboard-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 20px;
}
.dashboard-header span { color: rgba(255,255,255,0.5); font-size: 0.8rem; }
.dashboard-title { color: var(--white); font-weight: 600; font-size: 1rem; }
.dash-metrics {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-bottom: 20px;
}
.dash-metric {
  background: rgba(255,255,255,0.05); border-radius: var(--radius);
  padding: 16px; border: 1px solid rgba(255,255,255,0.08);
}
.dash-metric .label { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-bottom: 6px; }
.dash-metric .value { color: var(--white); font-size: 1.5rem; font-weight: 700; }
.dash-metric .delta { color: var(--success); font-size: 0.75rem; }
.dash-bar-row { margin-bottom: 12px; }
.dash-bar-label {
  display: flex; justify-content: space-between;
  color: rgba(255,255,255,0.6); font-size: 0.78rem; margin-bottom: 6px;
}
.dash-bar-bg { background: rgba(255,255,255,0.08); border-radius: 4px; height: 8px; }
.dash-bar-fill { height: 8px; border-radius: 4px; background: var(--yellow); }
.dash-ai-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,201,0,0.12); border: 1px solid rgba(255,201,0,0.25);
  color: var(--yellow); border-radius: 8px;
  padding: 8px 12px; font-size: 0.8rem; margin-top: 12px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

/* Floating mini cards */
.float-card {
  position: absolute;
  background: var(--white); border-radius: var(--radius);
  padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; color: var(--text);
  animation: float 4s ease-in-out infinite;
}
.float-card.card-1 { top: -24px; right: -24px; animation-delay: 0s; }
.float-card.card-2 { bottom: -16px; left: -24px; animation-delay: 2s; }
.float-card .fc-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--yellow);
  padding: 40px 0;
}
.stats-bar .container {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.stats-bar .stats-3col {
  grid-template-columns: repeat(3,1fr);
  max-width: 860px; margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.5rem; font-weight: 800; color: var(--dark);
  line-height: 1;
}
.stat-label { color: rgba(0,0,0,0.65); font-size: 0.9rem; margin-top: 4px; }

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-section { background: var(--gray-light); }
.problem-section .section-label {
  display: inline-block; background: #FFE5E5; color: var(--danger);
  border-radius: 100px; padding: 4px 14px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.problems-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.problem-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border);
  transition: var(--transition);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-icon { font-size: 2rem; margin-bottom: 16px; }
.problem-card h3 { color: var(--text); margin-bottom: 8px; font-size: 1.05rem; }

/* ============================================
   SOLUTION / FEATURES
   ============================================ */
.section-label-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow-light); color: #7A5F00;
  border-radius: 100px; padding: 4px 14px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px;
}
.feature-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--yellow); transform: scaleX(0);
  transform-origin: left; transition: var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--yellow-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }

/* ============================================
   HOW IT WORKS — Fondo amarillo marca
   ============================================ */
.how-section { background: var(--yellow); }
.how-section .section-heading { color: var(--dark); }
.how-section p { color: rgba(0,0,0,0.65); }
/* Etiqueta de sección sobre fondo amarillo */
.how-section .section-label-primary {
  background: rgba(0,0,0,0.1);
  color: var(--dark);
  border: none;
}
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin-top: 56px; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute;
  top: 36px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
  height: 2px; background: linear-gradient(90deg, rgba(0,0,0,0.2), transparent);
}
.step-item { text-align: center; }
.step-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--dark); color: var(--yellow);
  font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; box-shadow: 0 0 0 8px rgba(0,0,0,0.1);
}
.step-item h3 { color: var(--dark); margin-bottom: 12px; }

/* ============================================
   RESULTS / PROOF
   ============================================ */
.results-section { background: var(--gray-light); }
.results-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; margin-top: 56px;
}
.result-metrics { display: flex; flex-direction: column; gap: 20px; }
.result-metric {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; display: flex; align-items: center;
  gap: 20px; box-shadow: var(--shadow);
}
.result-metric .rm-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--yellow-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.rm-stat { font-size: 2rem; font-weight: 800; color: var(--dark); line-height: 1; }
.rm-label { color: var(--text-light); font-size: 0.9rem; }
.result-content h2 { margin-bottom: 20px; }
.result-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.result-list li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--text-light);
}
.result-list li .check {
  color: var(--success); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-section { background: var(--white); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px; align-items: start;
}
.pricing-card {
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 28px; transition: var(--transition); position: relative;
}
.pricing-card.popular {
  border-color: var(--yellow);
  box-shadow: 0 8px 40px rgba(255,201,0,0.2);
  transform: scale(1.04);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--dark);
  padding: 4px 20px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700; white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.plan-name { font-size: 0.9rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.plan-price { margin: 12px 0 4px; }
.plan-price .amount { font-size: 2.2rem; font-weight: 800; color: var(--dark); }
.plan-price .period { color: var(--text-light); font-size: 0.9rem; }
.plan-desc { color: var(--text-light); font-size: 0.9rem; margin-bottom: 24px; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-size: 0.9rem;
}
.plan-features li .icon { color: var(--success); font-size: 0.9rem; }
.plan-features li.disabled { color: var(--gray); text-decoration: line-through; }
.plan-features li.disabled .icon { color: var(--border); }

/* ============================================
   TESTIMONIALS — Fondo blanco limpio
   ============================================ */
.testimonials-section { background: var(--white); }
.testimonials-section .section-heading { color: var(--text); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.testimonial-card {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stars { color: var(--yellow); font-size: 0.9rem; margin-bottom: 16px; }
.testimonial-text {
  color: var(--text-light); font-size: 0.95rem;
  line-height: 1.7; margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
}
.author-name { color: var(--text); font-weight: 600; font-size: 0.9rem; }
.author-role { color: var(--text-light); font-size: 0.8rem; }

/* ============================================
   FAQ — AEO Optimized
   ============================================ */
.faq-section { background: var(--gray-light); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-top: 56px; align-items: start;
}
.faq-intro h2 { margin-bottom: 16px; }
.faq-intro p { font-size: 1.05rem; margin-bottom: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
}
.faq-question {
  width: 100%; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  text-align: left; gap: 16px; transition: var(--transition);
}
.faq-question:hover { color: var(--dark); }
.faq-question.active { color: var(--dark); }
.faq-arrow {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--yellow-light); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0; transition: var(--transition);
}
.faq-question.active .faq-arrow { background: var(--yellow); transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light); font-size: 0.93rem; line-height: 1.7;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  background: linear-gradient(135deg, var(--dark) 0%, #0D1535 100%);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,201,0,0.12) 0%, transparent 70%);
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { color: var(--white); margin-bottom: 20px; }
.cta-final p { color: rgba(255,255,255,0.7); font-size: 1.15rem; max-width: 540px; margin: 0 auto 40px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-note {
  color: rgba(255,255,255,0.45); font-size: 0.82rem;
  margin-top: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; transition: var(--transition); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 0.9rem;
}
.footer-social a:hover { background: var(--yellow); color: var(--dark); }
.logo-text-footer { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.logo-text-footer span { color: var(--yellow); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; align-items: center; gap: 12px;
}
.whatsapp-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition); animation: float 3s ease-in-out infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }
.whatsapp-tooltip {
  background: var(--white); color: var(--text);
  padding: 8px 14px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow-md); white-space: nowrap;
  opacity: 0; transform: translateX(8px); transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; max-width: 480px; width: 100%;
  box-shadow: var(--shadow-dark); animation: fadeUp 0.3s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  float: right; font-size: 1.5rem; color: var(--gray);
  cursor: pointer; line-height: 1; transition: var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-box h3 { margin-bottom: 8px; font-size: 1.4rem; }
.modal-box > p { margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; font-family: var(--font);
  transition: var(--transition); outline: none; color: var(--text);
}
.form-group input:focus, .form-group select:focus { border-color: var(--yellow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading { margin-bottom: 16px; }
.section-subheading { font-size: 1.05rem; max-width: 560px; }
.section-subheading.center { margin: 0 auto; text-align: center; }

/* ============================================
   NORMATIVITY BADGE
   ============================================ */
.norm-badges {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px;
}
.norm-badge {
  background: var(--dark3); color: var(--yellow);
  border: 1px solid rgba(255,201,0,0.3); border-radius: 6px;
  padding: 4px 12px; font-size: 0.78rem; font-weight: 600;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .dashboard-card { max-width: 480px; margin: 0 auto; }
  .float-card.card-1 { top: -16px; right: 0; }
  .float-card.card-2 { bottom: -8px; left: 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 56px auto 0; }
  .pricing-card.popular { transform: scale(1); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .results-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav, .navbar-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .problems-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .hero p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
