/* 150 Details — polished layout */

:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --border: 214.3 31.8% 91.4%;
  --primary: 86 91% 61%;
  --primary-foreground: 0 0% 0%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --btn-outline-hover: 210 40% 96.1%;
  --surface-dark: 222.2 84% 4.9%;
  --surface-dark-muted: 215 20.2% 65.1%;
  --shadow: 0 4px 24px hsl(222.2 84% 4.9% / 0.06);
  --shadow-lg: 0 20px 50px hsl(222.2 84% 4.9% / 0.1);
  --primary-glow: hsl(86 91% 61% / 0.35);
}

html.dark {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --card: 222.2 84% 6.5%;
  --border: 217.2 32.6% 17.5%;
  --muted: 217.2 32.6% 17.5%;
  --muted-foreground: 215 20.2% 65.1%;
  --secondary: 217.2 32.6% 17.5%;
  --secondary-foreground: 210 40% 98%;
  --btn-outline-hover: 217.2 32.6% 22%;
  --surface-dark: 217.2 32.6% 10%;
  --surface-dark-muted: 215 20.2% 65.1%;
  --shadow: 0 4px 24px hsl(0 0% 0% / 0.25);
  --shadow-lg: 0 20px 50px hsl(0 0% 0% / 0.4);
  --primary-glow: hsl(86 91% 61% / 0.15);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

html { scroll-behavior: smooth; }

h1, h2, h3 { font-family: Outfit, system-ui, sans-serif; }

/* Subtle noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html.dark body::before { opacity: 0.04; }

/* Header */
.site-header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header__brand {
  max-width: calc(100% - 5.75rem);
}

@media (min-width: 640px) {
  .site-header__brand {
    max-width: calc(100% - 6.25rem);
  }
}

@media (min-width: 1280px) {
  .site-header__brand {
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .site-header__brand-full {
    display: none;
  }
}

.site-header__actions {
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .site-header__nav {
    min-width: 0;
    max-width: 100%;
  }

  .site-header__actions {
    position: relative;
    z-index: 2;
    padding-left: 0.375rem;
    background: linear-gradient(90deg, transparent 0%, hsl(var(--background) / 0.92) 12%, hsl(var(--background) / 0.98) 100%);
  }

  .site-header.is-scrolled .site-header__actions {
    background: linear-gradient(90deg, transparent 0%, hsl(var(--background) / 0.97) 12%, hsl(var(--background)) 100%);
  }

  .site-header__whatsapp {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .site-header__start {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (min-width: 1280px) and (max-width: 1535px) {
  .site-header .nav-link {
    font-size: 0.75rem;
  }

  .site-header__start,
  .site-header__whatsapp {
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
  }
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
  background-color: hsl(var(--background) / 0.95) !important;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover { color: hsl(var(--foreground)); }

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: hsl(var(--primary));
  transition: width 0.25s ease;
}

.nav-link:hover::after { width: 100%; }

.nav-link--partner {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.nav-link--partner::after { display: none; }

.nav-link--partner:hover {
  background: hsl(var(--muted) / 0.6);
}

.nav-link--current {
  color: hsl(var(--foreground));
}

.nav-link--current.nav-link--partner {
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.25);
}

.mobile-nav-link--current {
  color: hsl(var(--primary));
}

.nav-partner-logo {
  display: block;
  height: 1.25rem;
  width: auto;
  color: hsl(var(--foreground));
}

html.dark .nav-partner-logo {
  filter: none;
}

.nav-partner-logo--mobile {
  height: 1.125rem;
  margin-bottom: 0;
}

.mobile-nav-link--partner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.625rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-partners__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}

.footer-partner-link {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.footer-partner-link:hover {
  border-color: rgba(26, 133, 254, 0.45);
  background: rgba(26, 133, 254, 0.08);
  box-shadow: 0 8px 28px rgba(26, 133, 254, 0.25);
  transform: translateY(-2px);
}

.footer-partner-logo {
  height: 1.375rem;
  width: auto;
  color: hsl(var(--foreground));
}

.footer-partner-logo-img {
  display: block;
  height: 2rem;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-partner-logo__accent,
.footer-partner-logo__accent-text {
  fill: #1A85FE;
}

.footer-partner-logo__text {
  fill: currentColor;
}

.footer-partner-logo__icon {
  fill: hsl(var(--primary-foreground));
}

html.dark .footer-partner-logo {
  filter: none;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open {
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: hsl(0 0% 0% / 0.5);
  backdrop-filter: blur(4px);
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 20rem);
  height: 100%;
  background: hsl(var(--background));
  border-left: 1px solid hsl(var(--border));
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-nav-link {
  display: block;
  padding: 0.875rem 0;
  font-family: Outfit, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--border));
  transition: color 0.2s ease;
}

.mobile-nav-link:hover { color: hsl(var(--primary)); }

/* Brand logo */
.brand-logo {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-logo--nav { width: 2.25rem; height: 2.25rem; }
.brand-logo--footer { width: 1.5rem; height: 1.5rem; opacity: 0.85; }

.brand-logo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
}

a:hover .brand-logo__img { transform: scale(1.05); }
html.dark .brand-logo__img { filter: brightness(0) invert(1); }

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: hsl(var(--muted));
  transform: scale(1.05);
}

.theme-toggle:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Language switcher */
.lang-switcher {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0.2rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.45);
  isolation: isolate;
}

.lang-switcher::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0.2rem;
  width: calc(50% - 0.2rem);
  border-radius: 9999px;
  background: hsl(var(--card));
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.08), 0 0 0 1px hsl(var(--border));
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.lang-switcher[data-lang-active="es"]::before {
  transform: translateX(100%);
}

.lang-switcher--header {
  height: 2.5rem;
  min-width: 4.75rem;
  flex-shrink: 0;
}

@media (min-width: 1536px) {
  .lang-switcher--header {
    min-width: 13.5rem;
  }
}

.lang-switcher--menu {
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.28rem;
  height: 2.85rem;
}

.lang-switcher--menu::before {
  top: 0.28rem;
  bottom: 0.28rem;
  left: 0.28rem;
  width: calc(50% - 0.28rem);
}

.lang-switcher__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.55rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-switcher--menu .lang-switcher__btn {
  padding: 0 0.75rem;
  font-size: 0.8125rem;
}

.lang-switcher__btn:hover {
  color: hsl(var(--foreground));
}

.lang-switcher__btn.is-active {
  color: hsl(var(--foreground));
}

html.dark .lang-switcher__btn.is-active {
  color: hsl(210 40% 98%);
}

.lang-switcher__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-switcher__flag-svg {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
  border-radius: 9999px;
  box-shadow: 0 0 0 1px hsl(0 0% 0% / 0.08);
}

.lang-switcher--menu .lang-switcher__flag-svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lang-switcher__label {
  letter-spacing: 0.02em;
}

.lang-switcher--header .lang-switcher__label {
  display: none;
}

@media (min-width: 1536px) {
  .lang-switcher--header .lang-switcher__label {
    display: inline;
  }
}

.lang-switcher__btn:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Hero */
.hero-section { position: relative; }

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120%);
  height: 500px;
  background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  animation: fade-up 0.6s ease both;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  box-shadow: var(--shadow);
}

/* Section labels */
.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(86 50% 35%);
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

html.dark .section-label { color: hsl(var(--primary)); }

.section-label--on-dark {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

/* Feature cards */
.feature-card {
  background: hsl(var(--card));
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(var(--primary) / 0.4);
}

.feature-card--accent {
  border-color: hsl(var(--primary) / 0.35);
  background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--primary) / 0.06) 100%);
}

/* Problem cards */
.problem-card {
  padding: 2rem;
  border-radius: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.problem-card--before {
  background: hsl(var(--destructive) / 0.08);
  border: 1px solid hsl(var(--destructive) / 0.2);
}

.problem-card--after {
  background: hsl(var(--primary) / 0.08);
  border: 1px solid hsl(var(--primary) / 0.25);
}

.problem-x {
  margin-top: 0.125rem;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  background-color: hsl(var(--destructive) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--destructive));
  font-size: 0.65rem;
  font-weight: 700;
}

/* Buttons */
.btn-primary,
.btn-outline,
.btn-dark,
.btn-dark-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.625rem 1.5rem;
  box-shadow: 0 8px 28px hsl(86 91% 61% / 0.35);
}

.btn-primary:hover {
  background-color: hsl(86 91% 55%);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px hsl(86 91% 61% / 0.45);
}

.btn-outline {
  background-color: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  padding: 0.625rem 1.5rem;
}

.btn-outline:hover {
  background-color: hsl(var(--btn-outline-hover));
  transform: translateY(-2px);
}

.btn-dark {
  background: hsl(222.2 84% 4.9%);
  color: hsl(0 0% 100%);
  padding: 0 2rem;
  height: 3.5rem;
  font-size: 1.125rem;
  box-shadow: 0 8px 28px hsl(0 0% 0% / 0.2);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px hsl(0 0% 0% / 0.3);
}

.btn-dark-outline {
  background: transparent;
  color: hsl(222.2 84% 4.9%);
  border: 2px solid hsl(222.2 84% 4.9% / 0.2);
  padding: 0 2rem;
  height: 3.5rem;
  font-size: 1.125rem;
}

.btn-dark-outline:hover {
  background: hsl(222.2 84% 4.9% / 0.06);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  height: auto;
}

.btn-lg {
  font-size: 1.125rem;
  padding: 0 2rem;
  height: 3.5rem;
}

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Pricing grid — airy 2×2 layout */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 52rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(var(--primary) / 0.3);
}

.pricing-card--featured {
  border: 2px solid hsl(var(--primary));
  background: linear-gradient(180deg, hsl(var(--primary) / 0.06) 0%, hsl(var(--card)) 50%);
}

.pricing-card--dark {
  background: linear-gradient(165deg, hsl(217 32% 14%) 0%, hsl(var(--surface-dark)) 100%);
  color: hsl(210 40% 98%);
  border-color: hsl(var(--primary) / 0.25);
}

.pricing-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  margin-bottom: 1rem;
}

.pricing-card__badge--dark {
  color: #000;
}

.pricing-card__head {
  margin-bottom: 1.25rem;
}

.pricing-card__title {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.pricing-card__tagline {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
  line-height: 1.45;
}

.pricing-card--dark .pricing-card__tagline {
  color: hsl(var(--surface-dark-muted));
}

.pricing-card__price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.pricing-card--dark .pricing-card__price {
  border-bottom-color: hsl(0 0% 100% / 0.1);
}

.pricing-card__setup {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.5rem;
}

.pricing-card--dark .pricing-card__setup {
  color: hsl(var(--surface-dark-muted));
}

.pricing-card__amount {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-card__period {
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-left: 0.15rem;
}

.pricing-card--dark .pricing-card__period {
  color: hsl(var(--surface-dark-muted));
}

.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-card__list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: hsl(var(--foreground) / 0.85);
}

.pricing-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
}

.pricing-card--dark .pricing-card__list li {
  color: hsl(215 20% 88%);
}

.pricing-card__btn {
  width: 100%;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.875rem 1.25rem;
  height: auto;
  text-align: center;
}

.pricing-footnote {
  text-align: center;
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin: 1.25rem 0 0;
}

.redbox-notice {
  max-width: 36rem;
  margin: 1.25rem auto 0;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.35);
  text-align: center;
}

.redbox-notice--details {
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  text-align: left;
}

.redbox-notice p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
}

.redbox-notice strong {
  color: hsl(var(--foreground));
  font-weight: 700;
}

.redbox-notice__link {
  color: hsl(86 55% 32%);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

html.dark .redbox-notice__link {
  color: hsl(var(--primary));
}

.redbox-notice__link:hover {
  opacity: 0.85;
}

.pricing-footnote__link {
  color: hsl(86 55% 32%);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.dark .pricing-footnote__link {
  color: hsl(var(--primary));
}

.pricing-footnote__link:hover {
  opacity: 0.85;
}

/* Legacy plan-card (unused) — keep minimal */
.plan-card {
  min-height: 100%;
}

/* Full plan details */
.plan-details__heading {
  font-family: Outfit, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.5rem;
}

.plan-details__intro {
  text-align: center;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}

.plan-details__block {
  border: 1px solid hsl(var(--border));
  border-radius: 0.875rem;
  background: hsl(var(--card));
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.plan-details__block summary {
  cursor: pointer;
  padding: 0.875rem 1rem;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  list-style: none;
}

.plan-details__block summary::-webkit-details-marker {
  display: none;
}

.plan-details__block summary::after {
  content: " +";
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}

.plan-details__block[open] summary::after {
  content: " −";
}

.plan-details__body {
  padding: 0 1rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  border-top: 1px solid hsl(var(--border));
}

.plan-details__body p {
  margin: 0.75rem 0;
}

.plan-details__body ul {
  margin: 0;
  padding-left: 1.25rem;
}

.plan-details__body li {
  margin: 0.35rem 0;
}

/* Workflow section */
.workflow-section {
  position: relative;
  overflow: hidden;
  background: hsl(var(--muted) / 0.35);
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

.workflow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, hsl(var(--primary) / 0.08), transparent 70%);
  pointer-events: none;
}

.workflow-section > div {
  position: relative;
  z-index: 1;
}

.workflow-intro {
  max-width: 34rem;
  margin: 0 auto 2.75rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
}

.workflow-panel {
  padding: 1.5rem;
  margin-bottom: 2.75rem;
  border-radius: 1.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .workflow-panel {
    padding: 2rem 2.25rem;
  }
}

.workflow-flow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.workflow-flow__row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .workflow-flow__row {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
}

.workflow-flow__arrow {
  display: none;
  flex-shrink: 0;
  color: hsl(var(--primary) / 0.55);
}

@media (min-width: 900px) {
  .workflow-flow__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
  }
}

.workflow-flow__bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

.workflow-flow__bridge-line {
  display: none;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.35), transparent);
}

.workflow-flow__bridge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.12);
  color: hsl(86 55% 32%);
  border: 1px solid hsl(var(--primary) / 0.25);
}

html.dark .workflow-flow__bridge-icon {
  color: hsl(var(--primary));
}

@media (min-width: 900px) {
  .workflow-flow__bridge-line {
    display: block;
  }
}

.workflow-node {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 1.35rem 1rem 1.25rem;
  border-radius: 1.25rem;
  background: hsl(var(--muted) / 0.35);
  border: 1px solid hsl(var(--border));
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.workflow-node:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: hsl(var(--primary) / 0.3);
}

.workflow-node--highlight {
  background: linear-gradient(180deg, hsl(var(--primary) / 0.14) 0%, hsl(var(--primary) / 0.04) 100%);
  border: 2px solid hsl(var(--primary));
  box-shadow: 0 8px 28px hsl(86 91% 61% / 0.14);
}

.workflow-node--finish {
  background: linear-gradient(180deg, hsl(var(--primary) / 0.1) 0%, hsl(var(--muted) / 0.2) 100%);
  border-color: hsl(var(--primary) / 0.35);
}

.workflow-node__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.workflow-node__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--card));
  color: hsl(86 60% 32%);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow);
}

html.dark .workflow-node__icon {
  color: hsl(var(--primary));
}

.workflow-node__icon--solid {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: transparent;
}

.workflow-node__step {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.workflow-node--highlight .workflow-node__step,
.workflow-node--finish .workflow-node__step {
  color: hsl(86 55% 32%);
}

html.dark .workflow-node--highlight .workflow-node__step,
html.dark .workflow-node--finish .workflow-node__step {
  color: hsl(var(--primary));
}

.workflow-node__title {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  max-width: 11rem;
}

@media (min-width: 900px) {
  .workflow-node__title {
    font-size: 1rem;
  }
}

.workflow-cta {
  margin-top: 0.25rem;
}

/* Built-for */
.built-for-section {
  background-color: hsl(var(--surface-dark));
  color: hsl(210 40% 98%);
  position: relative;
  overflow: hidden;
}

.built-for-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, hsl(var(--primary) / 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.built-for__text { color: hsl(var(--surface-dark-muted)); }

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: hsl(0 0% 100% / 0.06);
  border: 1px solid hsl(0 0% 100% / 0.1);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.feature-chip:hover {
  background: hsl(var(--primary) / 0.12);
  border-color: hsl(var(--primary) / 0.3);
}

/* CTA band */
.cta-band {
  background: hsl(var(--primary));
  border-radius: 2rem;
  padding: 3.5rem 2rem;
  box-shadow: 0 20px 60px hsl(86 91% 61% / 0.35);
}

@media (min-width: 768px) {
  .cta-band { padding: 4rem 3rem; border-radius: 2.5rem; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-phone { animation: none; }
  html { scroll-behavior: auto; }
}
