/* ============================================================
   GESTORÍA — Landing Page Styles
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #2235DD;
  --blue-dark:  #1929b8;
  --blue-light: #e8ebff;
  --navy:       #05060F;
  --navy-2:     #131739;
  --purple:     #7C3AED;
  --purple-bg:  #f5f0ff;
  --green:      #059669;
  --green-bg:   #ecfdf5;
  --orange:     #EA580C;
  --orange-bg:  #fff7ed;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-400:   #9ca3af;
  --gray-600:   #4b5563;
  --gray-800:   #1f2937;
  --white:      #ffffff;

  --font-head:  'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:  'Manrope', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.14);

  --transition: .2s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 580px;
  margin-bottom: 56px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(34,53,221,.3); }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-200);
}
.btn--ghost:hover { background: var(--gray-100); border-color: var(--gray-400); }

.btn--white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn--white:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,.2); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}
.logo-icon { font-size: 24px; color: var(--blue); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--navy); }
.nav__links .btn { padding: 8px 20px; font-size: 14px; }

/* Nav primary CTA: white on transparent hero bg, blue once scrolled */
.nav__links .btn--primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.nav__links .btn--primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.nav.scrolled .nav__links .btn--primary,
.nav__links.open .btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.nav.scrolled .nav__links .btn--primary:hover,
.nav__links.open .btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 140px;
  padding-bottom: 0;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .18;
}
.hero__blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #dde1ff 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero__blob--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #dde8ff 0%, transparent 70%);
  top: 200px; left: -80px;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,53,221,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,53,221,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid rgba(34,53,221,.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge__dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero__subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 20px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto 64px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat strong {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}
.stat span {
  font-size: 13px;
  color: var(--gray-600);
  white-space: nowrap;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* Mockup */
.hero__mockup {
  position: relative;
  padding-bottom: 0;
}

.mockup {
  background: var(--navy);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
}

.mockup__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #1a1c2e;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }
.mockup__url {
  margin-left: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  font-family: monospace;
}

.mockup__body {
  display: flex;
  min-height: 320px;
}

.mockup__sidebar {
  width: 180px;
  min-width: 180px;
  background: #0e1022;
  padding: 20px 12px;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all var(--transition);
}
.mock-item--active,
.mock-item:hover {
  background: rgba(34,53,221,.3);
  color: rgba(255,255,255,.9);
}
.mock-icon { font-size: 15px; }

.mockup__content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #0d1526;
}

.mock-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.mock-card--accent {
  background: linear-gradient(135deg, rgba(34,53,221,.4) 0%, rgba(124,58,237,.3) 100%);
  border-color: rgba(34,53,221,.4);
}
.mock-cards-row { display: flex; gap: 16px; }
.mock-cards-row .mock-card { flex: 1; }
.mock-label { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
.mock-value { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 8px; }
.mock-badge { font-size: 11px; font-weight: 700; background: rgba(5,150,105,.3); color: #34d399; padding: 2px 8px; border-radius: 100px; }

.mock-ai {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto;
}
.mock-ai__icon { font-size: 24px; flex-shrink: 0; margin-top: 4px; }
.mock-ai__bubble {
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}
.mock-ai__bubble strong { color: var(--white); }

/* ---------- Logos ---------- */
.logos {
  padding: 48px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.logos__label {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.logos__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.logo-pill {
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.logo-pill--dropbox {
  border-color: #c5dcf5;
  color: #0061ff;
  background: #f0f6ff;
}
.logo-pill--gdrive {
  border-color: #d3edd7;
  color: #1a73e8;
  background: #f1faf2;
}

/* ---------- Problem ---------- */
.problem {
  padding: 100px 0;
  background: var(--white);
}
.problem__inner { max-width: 960px; margin: 0 auto; }
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.problem-card {
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
}
.problem-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.problem-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.problem-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---------- Benefits ---------- */
.benefits {
  padding: 100px 0;
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-card--big {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.feature-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.feature-card__icon-wrap--blue   { background: var(--blue-light);   color: var(--blue);   }
.feature-card__icon-wrap--purple { background: var(--purple-bg);   color: var(--purple); }
.feature-card__icon-wrap--green  { background: var(--green-bg);    color: var(--green);  }
.feature-card__icon-wrap--orange { background: var(--orange-bg);   color: var(--orange); }

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
}
.feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ---------- How it works ---------- */
.how {
  padding: 100px 0;
  background: var(--white);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px var(--blue-light);
}

.step__content {
  padding-bottom: 48px;
}
.step__content h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.step__content p {
  color: var(--gray-600);
  line-height: 1.7;
}

.step__connector {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--blue), var(--blue-light));
  margin-left: 25px;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 100px 0;
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.testimonial-card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-color: transparent;
  color: var(--white);
}
.testimonial-card--featured .testimonial-card__stars { color: #fbbf24; }
.testimonial-card--featured p { color: rgba(255,255,255,.85); }
.testimonial-card--featured strong { color: var(--white); }
.testimonial-card--featured span { color: rgba(255,255,255,.5); }

.testimonial-card__stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }

.testimonial-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-card--featured .author-avatar {
  background: rgba(34,53,221,.3);
  color: #93a8ff;
}
.testimonial-card__author strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.testimonial-card__author span {
  font-size: 12px;
  color: var(--gray-400);
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}
.pricing-toggle__label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
}
.pricing-save {
  background: var(--green-bg);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}

.toggle { position: relative; display: inline-block; width: 48px; height: 26px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--gray-200);
  border-radius: 100px;
  transition: all var(--transition);
}
.toggle__slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
}
.toggle input:checked + .toggle__slider { background: var(--blue); }
.toggle input:checked + .toggle__slider::before { transform: translateX(22px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card--featured {
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-2) 100%);
  border-color: transparent;
  color: var(--white);
  transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__header h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  color: inherit;
}
.pricing-card__header p {
  font-size: 14px;
  color: var(--gray-600);
}
.pricing-card--featured .pricing-card__header p { color: rgba(255,255,255,.6); }

.pricing-card__price { display: flex; align-items: baseline; gap: 4px; }
.price__amount {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: inherit;
}
.price__amount--custom { font-size: 32px; }
.price__period { font-size: 15px; color: var(--gray-400); }
.pricing-card--featured .price__period { color: rgba(255,255,255,.5); }

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.pricing-card--featured .pricing-card__features li { color: rgba(255,255,255,.85); }
.pricing-card__features .check { color: var(--green); font-weight: 800; }
.pricing-card--featured .pricing-card__features .check { color: #34d399; }
.pricing-card__features .muted { color: var(--gray-400); }

/* ---------- Demo Section ---------- */
.demo {
  padding: 100px 0;
  background: var(--gray-50);
}

.demo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.demo__text .section-title { font-size: clamp(24px, 3vw, 38px); }
.demo__text p {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.demo__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.demo__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-700, #374151);
}
.demo__benefits svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* Form */
.demo__form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.demo-form__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34,53,221,.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.form-error {
  font-size: 12px;
  color: #ef4444;
  min-height: 16px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.form-check input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.form-check label {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
  cursor: pointer;
}
.form-check a { color: var(--blue); text-decoration: underline; }

.form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 12px;
}

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success__icon { font-size: 56px; margin-bottom: 20px; }
.form-success h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.form-success p {
  color: var(--gray-600);
  font-size: 15px;
  margin-bottom: 8px;
}

/* ---------- CTA Final ---------- */
.cta-final {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a1d4e 50%, var(--navy-2) 100%);
}
.cta-final__inner {
  text-align: center;
}
.cta-final h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-final p {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer__brand .nav__logo { color: var(--white); margin-bottom: 12px; }
.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--white);
  transition: background var(--transition);
}
.footer__social a:hover { background: var(--blue); }

.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer__col a,
.footer__col span {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
}
.footer__bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ---------- Logo two-line ---------- */
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav__logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.nav__logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Mock header & KPIs ---------- */
.mock-logo-small {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.mock-header {
  margin-bottom: 12px;
}
.mock-page-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 2px;
}
.mock-page-sub {
  font-size: 11px;
  color: rgba(255,255,255,.4);
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mock-kpi {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.mock-kpi .mock-value {
  font-size: 20px;
}
.mock-value--warn   { color: #fbbf24 !important; }
.mock-value--ok     { color: #34d399 !important; }
.mock-value--danger { color: #f87171 !important; }

/* Update mock active to match real app (purple) */
.mock-item--active,
.mock-item:hover {
  background: rgba(124,58,237,.35) !important;
  color: rgba(255,255,255,.95) !important;
}

/* ---------- Pricing calculator ---------- */
.pricing-grid--two {
  grid-template-columns: 3fr 2fr;
  max-width: 880px;
  margin: 0 auto;
}

.pricing-calc {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.pricing-calc__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pricing-calc__label {
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.pricing-calc__count {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}
.pricing-calc__slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 100px;
  background: rgba(255,255,255,.25);
  outline: none;
  margin-bottom: 12px;
  cursor: pointer;
}
.pricing-calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.pricing-calc__slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  border: none;
}
.pricing-calc__note {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  margin: 0;
  line-height: 1.5;
}

/* Free trial badge */
.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(5,150,105,.25);
  border: 1px solid rgba(52,211,153,.4);
  color: #34d399;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ---------- Mockup: Facturas view ---------- */
.mock-factura-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.mock-factura-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.mock-btn {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 5px;
  white-space: nowrap;
}
.mock-btn--outline {
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
}
.mock-btn--green {
  background: #059669;
  color: #fff;
  border: 1px solid #10b981;
}

.mock-factura-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.mock-filter {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.1);
  cursor: default;
}
.mock-filter--active {
  background: rgba(99,102,241,.4);
  border-color: rgba(99,102,241,.6);
  color: rgba(255,255,255,.9);
}
.mock-search {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 3px 10px;
}

.mock-table {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.mock-table-head,
.mock-table-row {
  display: grid;
  grid-template-columns: 48px 1fr 1fr 52px 36px 54px;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 10px;
}
.mock-table-head {
  background: rgba(255,255,255,.06);
  font-weight: 700;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 9px;
}
.mock-table-row {
  color: rgba(255,255,255,.75);
  border-top: 1px solid rgba(255,255,255,.05);
}
.mock-table-row--highlight {
  background: rgba(99,102,241,.1);
  border-left: 2px solid rgba(99,102,241,.6);
}
.mock-total {
  font-weight: 700;
  color: rgba(255,255,255,.9);
}

/* ---------- Footer bottom bar ---------- */
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom-links {
  display: flex;
  gap: 20px;
}
.footer__bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.footer__bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--big { grid-row: span 1; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; gap: 0; }
  .nav__links.open {
    display: flex;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
  }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    width: 100%;
  }
  .nav__links .btn { margin: 12px 0 4px; width: 100%; justify-content: center; }
  .nav__toggle { display: flex; }

  .hero { padding-top: 110px; }
  .hero__stats { flex-direction: column; gap: 16px; }
  .stat__divider { width: 80px; height: 1px; }
  .stat { flex-direction: row; gap: 12px; justify-content: center; }

  .mockup__sidebar { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .demo__inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; }

  .section-sub { margin-bottom: 40px; }
  .problem, .benefits, .how, .testimonials, .pricing, .demo, .cta-final { padding: 64px 0; }
}

/* ============================================================
   PORTAL DEL CLIENTE
   ============================================================ */
.client-portal {
  padding: 100px 0;
  background: var(--gray-50);
  overflow: hidden;
}

.client-portal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.client-portal__title {
  text-align: left;
  font-size: clamp(26px, 3.5vw, 40px);
}

.client-portal__sub {
  text-align: left;
}

.section-label--teal {
  background: #e0fdf4;
  color: #059669;
  display: inline-block;
}

/* Feature list */
.portal__features {
  list-style: none;
  padding: 0;
  margin: 32px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portal__features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.portal__feat-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.05);
}

.portal__features strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px;
}

.portal__features span {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

.portal__cta { margin-top: 4px; }

/* ---- Portal Mockup ---- */
.client-portal__visual {
  position: relative;
  padding-bottom: 24px;
}

.portal-mockup {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 72px rgba(34,53,221,.13), 0 4px 16px rgba(0,0,0,.05);
  overflow: hidden;
  border: 1px solid rgba(34,53,221,.08);
}

.portal-mockup__bar {
  background: #f3f4f6;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e5e7eb;
}

.portal-mockup__url {
  margin-left: 8px;
  font-size: 11px;
  color: #9ca3af;
  font-family: monospace;
}

.portal-mockup__body { padding: 18px 20px 20px; }

/* Header usuario */
.portal-mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f3f4f6;
}

.portal-mock-avatar {
  width: 38px;
  height: 38px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.portal-mock-name {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.portal-mock-role {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
}

/* KPI cards */
.portal-mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.portal-mock-stat {
  background: #f9fafb;
  border-radius: 10px;
  padding: 10px 10px;
  border: 1px solid #e5e7eb;
}

.portal-mock-stat--green {
  background: var(--green-bg);
  border-color: #a7f3d0;
}

.portal-mock-stat--orange {
  background: var(--orange-bg);
  border-color: #fed7aa;
}

.stat-label {
  font-size: 9px;
  color: #9ca3af;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 600;
}

.stat-value {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  margin: 4px 0 2px;
}

.stat-sub {
  font-size: 10px;
  color: #6b7280;
  margin: 0;
}

/* Upload area */
.portal-mock-upload {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  background: #fafafa;
  margin-bottom: 14px;
  transition: border-color .2s;
}

.portal-upload-icon {
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 5px;
}

.portal-upload-text {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin: 0 0 3px;
}

.portal-upload-sub {
  font-size: 10px;
  color: #9ca3af;
  margin: 0 0 8px;
}

.portal-upload-btn {
  display: inline-block;
  padding: 5px 14px;
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: default;
}

/* Recent invoices */
.portal-mock-recent { }

.portal-recent-title {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 6px;
}

.portal-recent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 12px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}

.portal-recent-row:last-child { border-bottom: none; }

.portal-recent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.portal-recent-dot--ok      { background: var(--green); }
.portal-recent-dot--pending { background: var(--orange); }

.portal-recent-row span:nth-child(2) { flex: 1; }

.portal-recent-status {
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
}

.portal-recent-status--pending { color: var(--orange); }

/* Badge flotante */
.portal__badge {
  position: absolute;
  bottom: 0;
  right: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---- Responsive portal ---- */
@media (max-width: 900px) {
  .client-portal__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .client-portal__title,
  .client-portal__sub { text-align: center; }

  .client-portal__text .section-label { display: block; text-align: center; }

  .portal-mock-cards {
    grid-template-columns: 1fr 1fr;
  }

  .portal-mock-stat:last-child { grid-column: 1 / -1; }

  .client-portal__visual { padding-bottom: 20px; }
}

/* ============================================================ */

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .demo__form-wrap { padding: 28px 20px; }
}

/* ============================================================
   2026 Visual Refresh (innovador sin romper estructura)
   ============================================================ */
:root {
  --electric: #1d4ed8;
  --cyan: #0891b2;
  --ink: #0b1223;
  --surface-soft: #f6f8ff;
}

body {
  background:
    radial-gradient(1000px 420px at -10% -5%, rgba(29, 78, 216, 0.10), transparent 62%),
    radial-gradient(900px 380px at 110% 10%, rgba(8, 145, 178, 0.09), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.section-label {
  color: #0f2f88;
  background: rgba(227, 237, 255, 0.9);
  border: 1px solid rgba(34, 53, 221, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-title {
  letter-spacing: -0.03em;
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--primary {
  background: linear-gradient(135deg, #1f53ff 0%, #193fce 58%, #15319d 100%);
  border-color: #1d4ed8;
  box-shadow: 0 10px 30px rgba(29, 78, 216, 0.28);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.35) 49%, transparent 70%);
  transform: translateX(-140%);
  transition: transform .55s ease;
  pointer-events: none;
}

.btn--primary:hover::after {
  transform: translateX(130%);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(34, 53, 221, 0.11);
}

.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(34, 53, 221, 0.45) 50%, transparent 100%);
}

.hero {
  background:
    radial-gradient(760px 300px at 50% -30px, rgba(34, 53, 221, 0.15), transparent 64%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 75%, #ffffff 100%);
}

.hero__blob {
  opacity: .28;
  filter: blur(85px);
  animation: blobDrift 16s ease-in-out infinite alternate;
}

.hero__blob--2 {
  animation-duration: 20s;
}

@keyframes blobDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(22px, -18px, 0); }
}

.hero__flow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(34, 53, 221, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  margin: 0 auto 28px;
  box-shadow: 0 10px 24px rgba(15, 47, 136, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__flow-step {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(245, 248, 255, 0.95);
  border: 1px solid rgba(34, 53, 221, 0.14);
  border-radius: 999px;
  padding: 5px 10px;
}

.hero__flow-arrow {
  font-size: 12px;
  font-weight: 800;
  color: #4062df;
}

.hero__stats {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(34, 53, 221, 0.16);
  box-shadow: 0 18px 46px rgba(24, 45, 135, 0.13);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mockup {
  border: 1px solid rgba(130, 158, 255, 0.25);
  box-shadow: 0 35px 85px rgba(10, 16, 43, 0.42);
}

.problem,
.how,
.pricing {
  background:
    radial-gradient(620px 240px at 105% -4%, rgba(34, 53, 221, 0.06), transparent 65%),
    var(--white);
}

.benefits,
.testimonials,
.client-portal,
.demo {
  background:
    radial-gradient(560px 220px at -8% 12%, rgba(8, 145, 178, 0.08), transparent 60%),
    var(--surface-soft);
}

.problem-card,
.feature-card,
.testimonial-card,
.pricing-card,
.demo__form-wrap {
  border-color: rgba(40, 58, 156, 0.15);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(16, 28, 72, 0.08);
}

.problem-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.pricing-card:hover {
  border-color: rgba(29, 78, 216, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 24px 46px rgba(17, 34, 102, 0.14);
}

.step {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(40, 58, 156, 0.14);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(17, 34, 102, 0.07);
}

.step__content {
  padding-bottom: 0;
}

.step__connector {
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(34, 53, 221, 0.85) 0 10px,
    rgba(34, 53, 221, 0.15) 10px 18px
  );
  margin: 8px 0 12px 25px;
}

.pricing-card--featured {
  background:
    radial-gradient(180px 90px at 90% 8%, rgba(255, 255, 255, 0.14), transparent 70%),
    linear-gradient(180deg, #111c49 0%, #0b1434 100%);
}

.cta-final {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(460px 220px at 12% 0%, rgba(29, 78, 216, 0.46), transparent 65%),
    radial-gradient(460px 220px at 90% 100%, rgba(8, 145, 178, 0.34), transparent 62%),
    linear-gradient(130deg, #0a1029 0%, #0f1d4f 52%, #0b122f 100%);
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.16;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
}

.portal-mockup {
  box-shadow: 0 35px 82px rgba(26, 58, 172, 0.18), 0 6px 16px rgba(0, 0, 0, 0.07);
}

@media (max-width: 768px) {
  .hero__flow {
    border-radius: 16px;
    padding: 10px;
    gap: 8px;
  }

  .hero__flow-step {
    font-size: 11px;
  }

  .step {
    gap: 18px;
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .hero__flow-arrow {
    display: none;
  }

  .hero__flow-step {
    width: 100%;
    text-align: center;
  }
}
