/* ============================================
   DESIGN SYSTEM — TOKENS
   ============================================ */
:root {
  /* Color — Primary */
  --c-primary: #0B7A6F;
  --c-primary-dark: #065E55;
  --c-primary-light: #0E9A8D;
  --c-primary-subtle: #E8F6F4;
  --c-primary-glow: rgba(11, 122, 111, 0.12);
  --c-primary-gradient: linear-gradient(135deg, #0B7A6F 0%, #0FA393 100%);

  /* Color — Neutral */
  --c-gray-950: #0B1121;
  --c-gray-900: #111827;
  --c-gray-800: #1F2A3D;
  --c-gray-700: #334155;
  --c-gray-600: #475569;
  --c-gray-500: #64748B;
  --c-gray-400: #94A3B8;
  --c-gray-300: #CBD5E1;
  --c-gray-200: #E2E8F0;
  --c-gray-100: #F1F5F9;
  --c-gray-50: #F8FAFC;
  --c-white: #FFFFFF;

  /* Color — Semantic */
  --c-error: #DC2626;
  --c-error-light: #FEF2F2;
  --c-success: #059669;
  --c-success-light: #ECFDF5;

  /* Color — Surfaces */
  --c-bg: var(--c-gray-50);
  --c-surface: var(--c-white);
  --c-surface-raised: var(--c-white);
  --c-border: var(--c-gray-200);
  --c-border-subtle: var(--c-gray-100);

  /* Typography */
  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3.25rem;
  --fs-6xl: 4rem;
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --ls-tight: -0.03em;
  --ls-normal: 0em;
  --ls-wide: 0.08em;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-32: 8rem;

  /* Border Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 17, 33, 0.04);
  --shadow-sm: 0 1px 3px rgba(11, 17, 33, 0.06), 0 1px 2px rgba(11, 17, 33, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(11, 17, 33, 0.07), 0 2px 4px -2px rgba(11, 17, 33, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(11, 17, 33, 0.08), 0 4px 6px -4px rgba(11, 17, 33, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(11, 17, 33, 0.08), 0 8px 10px -6px rgba(11, 17, 33, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(11, 17, 33, 0.16);
  --shadow-card: 0 1px 3px rgba(11, 17, 33, 0.04), 0 4px 16px rgba(11, 17, 33, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(11, 17, 33, 0.06), 0 12px 40px rgba(11, 17, 33, 0.10);
  --shadow-glow: 0 0 48px rgba(11, 122, 111, 0.12);
  --shadow-glow-strong: 0 0 64px rgba(11, 122, 111, 0.2);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-normal: 250ms;
  --dur-slow: 400ms;
  --dur-slower: 600ms;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 720px;
  --nav-h: 72px;
}


/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--ff);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-gray-900);
  background: var(--c-bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--c-primary-subtle);
  color: var(--c-primary-dark);
}


/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--c-gray-900);
}

.t-overline {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-primary);
}


/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1;
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-lg);
  transition: all var(--dur-normal) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--c-primary-gradient);
  color: var(--c-white);
  box-shadow: 0 1px 2px rgba(11, 122, 111, 0.3), 0 4px 12px rgba(11, 122, 111, 0.15);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(11, 122, 111, 0.3), 0 8px 24px rgba(11, 122, 111, 0.2);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(11, 122, 111, 0.3);
}

.btn--secondary {
  background: var(--c-white);
  color: var(--c-gray-900);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  border-color: var(--c-gray-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--c-gray-300);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--c-white);
}

.btn--lg {
  font-size: var(--fs-base);
  padding: var(--s-4) var(--s-8);
  border-radius: var(--r-lg);
}

.btn--xl {
  font-size: var(--fs-lg);
  padding: var(--s-5) var(--s-10);
  border-radius: var(--r-xl);
}

.btn--outline-primary {
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
  background: transparent;
}

.btn--outline-primary:hover {
  background: var(--c-primary-subtle);
  transform: translateY(-1px);
}

.btn--disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: all var(--dur-slow) var(--ease);
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 33, 0.6);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
}

.nav.scrolled::before {
  opacity: 1;
}

.nav__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: var(--c-white);
  letter-spacing: -0.02em;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--c-primary-gradient);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-weight: 800;
  font-size: var(--fs-lg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-gray-400);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-md);
  transition: all var(--dur-normal) var(--ease);
}

.nav__link:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.nav__cta {
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--s-2) var(--s-5);
}

.nav__mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: var(--c-white);
}

.nav__mobile-toggle svg {
  width: 24px;
  height: 24px;
}


/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--c-gray-950);
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(11, 122, 111, 0.10) 0%, transparent 65%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 122, 111, 0.06) 0%, transparent 65%);
  bottom: -150px;
  left: -150px;
  pointer-events: none;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s-16) var(--s-6) var(--s-12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-primary-light);
  background: rgba(11, 122, 111, 0.12);
  border: 1px solid rgba(11, 122, 111, 0.2);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-full);
  margin-bottom: var(--s-8);
  animation: fadeInUp 0.8s var(--ease) both;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary-light);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: var(--fs-5xl);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--c-white);
  margin-bottom: var(--s-6);
  animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

.hero__title span {
  background: var(--c-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  color: var(--c-gray-400);
  margin-bottom: var(--s-10);
  max-width: 480px;
  animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-12);
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.hero__note {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  animation: fadeInUp 0.8s var(--ease) 0.4s both;
}


/* Hero Demo Card */
.hero__demo {
  position: relative;
  animation: fadeInUp 1s var(--ease) 0.4s both;
}

.demo-card {
  background: var(--c-white);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
  overflow: hidden;
  max-width: 480px;
  margin-left: auto;
}

.demo-card__header {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-6);
  background: var(--c-gray-50);
  border-bottom: 1px solid var(--c-border-subtle);
}

.demo-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gray-300);
}

.demo-card__dot:nth-child(1) { background: #FCA5A5; }
.demo-card__dot:nth-child(2) { background: #FCD34D; }
.demo-card__dot:nth-child(3) { background: #6EE7B7; }

.demo-card__label {
  margin-left: auto;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-gray-500);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.demo-card__body {
  padding: var(--s-6);
}

.demo-card__text {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-gray-800);
  margin-bottom: var(--s-5);
  padding: var(--s-4) var(--s-5);
  background: var(--c-gray-50);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-subtle);
  min-height: 80px;
}

.demo-error {
  position: relative;
  display: inline;
  transition: all var(--dur-slow) var(--ease);
}

.demo-error.active {
  background: var(--c-error-light);
  color: var(--c-error);
  border-radius: 3px;
  padding: 0 2px;
}

.demo-error.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--c-error);
  border-radius: 2px;
  animation: underlineIn 0.3s var(--ease) both;
}

@keyframes underlineIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.demo-error.corrected {
  background: var(--c-success-light);
  color: var(--c-success);
  border-radius: 3px;
  padding: 0 2px;
}

.demo-correction {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--dur-slow) var(--ease);
  pointer-events: none;
}

.demo-correction.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.demo-correction__badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-error);
  background: var(--c-error-light);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  margin-bottom: var(--s-3);
}

.demo-correction__badge.is-punct {
  color: #D97706;
  background: #FFFBEB;
}

.demo-correction__row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-2);
  font-size: var(--fs-sm);
}

.demo-correction__old {
  color: var(--c-error);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.demo-correction__arrow {
  color: var(--c-gray-400);
  font-size: var(--fs-sm);
}

.demo-correction__new {
  color: var(--c-success);
  font-weight: 600;
}

.demo-correction__desc {
  font-size: var(--fs-xs);
  color: var(--c-gray-500);
  margin-top: var(--s-1);
}

.demo-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-6);
  border-top: 1px solid var(--c-border-subtle);
  background: var(--c-gray-50);
}

.demo-status {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-gray-500);
  transition: all var(--dur-normal) var(--ease);
}

.demo-status.has-errors {
  color: var(--c-error);
}

.demo-status.is-clean {
  color: var(--c-success);
}

.demo-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gray-300);
  transition: all var(--dur-normal) var(--ease);
}

.demo-status.has-errors .demo-status__dot {
  background: var(--c-error);
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.4);
}

.demo-status.is-clean .demo-status__dot {
  background: var(--c-success);
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
}

.demo-apply-btn {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-white);
  background: var(--c-primary-gradient);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  opacity: 0;
  transform: scale(0.9);
  transition: all var(--dur-normal) var(--ease);
}

.demo-apply-btn.visible {
  opacity: 1;
  transform: scale(1);
}


/* Hero Stats */
.hero__stats {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6) var(--s-16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  animation: fadeInUp 0.8s var(--ease) 0.6s both;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-xl);
  transition: all var(--dur-normal) var(--ease);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.stat-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 122, 111, 0.12);
  border-radius: var(--r-md);
  color: var(--c-primary-light);
  flex-shrink: 0;
}

.stat-card__icon svg {
  width: 22px;
  height: 22px;
}

.stat-card__text strong {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 2px;
}

.stat-card__text span {
  font-size: var(--fs-sm);
  color: var(--c-gray-400);
}


/* ============================================
   SECTIONS — SHARED
   ============================================ */
.section {
  padding: var(--s-24) 0;
}

.section--alt {
  background: var(--c-white);
}

.section--dark {
  background: var(--c-gray-950);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--s-16);
}

.section__label {
  display: inline-block;
  margin-bottom: var(--s-4);
}

.section__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  margin-bottom: var(--s-4);
}

.section__desc {
  font-size: var(--fs-lg);
  color: var(--c-gray-500);
  line-height: var(--lh-normal);
}


/* ============================================
   FEATURES
   ============================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.feature-card {
  position: relative;
  padding: var(--s-8);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  transition: all var(--dur-slow) var(--ease);
}

.feature-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-card-hover), 0 0 0 1px rgba(11, 122, 111, 0.05);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary-subtle);
  border-radius: var(--r-lg);
  margin-bottom: var(--s-5);
  color: var(--c-primary);
  transition: all var(--dur-slow) var(--ease);
}

.feature-card:hover .feature-card__icon {
  background: var(--c-primary);
  color: var(--c-white);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--s-3);
  color: var(--c-gray-900);
}

.feature-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  line-height: var(--lh-normal);
}


/* ============================================
   HOW IT WORKS
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
  opacity: 0.2;
  border-radius: 2px;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s-6);
  background: var(--c-primary-subtle);
  border: 2px solid transparent;
  border-radius: var(--r-2xl);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--c-primary);
  transition: all var(--dur-slow) var(--ease);
  position: relative;
  z-index: 1;
}

.step:hover .step__number {
  background: var(--c-primary);
  color: var(--c-white);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.step__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--s-3);
  color: var(--c-gray-900);
}

.step__desc {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  line-height: var(--lh-normal);
  max-width: 280px;
  margin: 0 auto;
}


/* ============================================
   PRICING
   ============================================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  align-items: start;
}

.pricing-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--s-10);
  transition: all var(--dur-slow) var(--ease);
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--c-primary);
  border-width: 2px;
  box-shadow: var(--shadow-glow), var(--shadow-xl);
  z-index: 2;
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-glow-strong), var(--shadow-2xl);
}

.pricing-card--disabled {
  opacity: 0.65;
}

.pricing-card--disabled:hover {
  transform: none;
  box-shadow: none;
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-white);
  background: var(--c-primary-gradient);
  padding: 6px 20px;
  border-radius: var(--r-full);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(11, 122, 111, 0.3);
}

.pricing-card__name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-gray-900);
  margin-bottom: var(--s-2);
}

.pricing-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  margin-bottom: var(--s-6);
  line-height: var(--lh-normal);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--s-1);
  margin-bottom: var(--s-2);
}

.pricing-card__amount {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--c-gray-900);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}

.pricing-card__currency {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-gray-900);
}

.pricing-card__period {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  margin-bottom: var(--s-8);
}

.pricing-card__divider {
  height: 1px;
  background: var(--c-border);
  margin-bottom: var(--s-6);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--c-gray-600);
  line-height: var(--lh-snug);
}

.pricing-feature__check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-primary-subtle);
  color: var(--c-primary);
  margin-top: 1px;
}

.pricing-feature__check svg {
  width: 12px;
  height: 12px;
}

.pricing-card--featured .pricing-feature__check {
  background: var(--c-primary);
  color: var(--c-white);
}

.pricing-card__cta {
  width: 100%;
}

.pricing-card__soon {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-gray-400);
  margin-bottom: var(--s-2);
}


/* ============================================
   FAQ
   ============================================ */
.faq__list {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--dur-normal) var(--ease);
}

.faq-item:hover {
  border-color: var(--c-gray-300);
}

.faq-item.open {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--c-primary-glow);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-5) var(--s-6);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-gray-900);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-normal) var(--ease);
}

.faq-item.open .faq-item__trigger {
  color: var(--c-primary);
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--c-gray-100);
  color: var(--c-gray-500);
  flex-shrink: 0;
  transition: all var(--dur-normal) var(--ease);
}

.faq-item.open .faq-item__icon {
  background: var(--c-primary-subtle);
  color: var(--c-primary);
  transform: rotate(45deg);
}

.faq-item__icon svg {
  width: 16px;
  height: 16px;
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease);
}

.faq-item__answer {
  padding: 0 var(--s-6) var(--s-6);
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
  line-height: var(--lh-normal);
}

.faq-item__answer a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item__answer a:hover {
  color: var(--c-primary-hover);
}


/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: var(--s-24) 0;
  background: var(--c-gray-950);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 122, 111, 0.12) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.cta-section__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--s-5);
  letter-spacing: var(--ls-tight);
}

.cta-section__desc {
  font-size: var(--fs-lg);
  color: var(--c-gray-400);
  margin-bottom: var(--s-10);
  line-height: var(--lh-normal);
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
}

.cta-section__note {
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--c-gray-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--s-12) 0;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-6);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.footer__logo {
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--c-white);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.footer__link {
  font-size: var(--fs-sm);
  color: var(--c-gray-400);
  transition: color var(--dur-normal) var(--ease);
}

.footer__link:hover {
  color: var(--c-white);
}

.footer__copy {
  font-size: var(--fs-sm);
  color: var(--c-gray-500);
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slower) var(--ease), transform var(--dur-slower) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }


/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(11, 17, 33, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__link {
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--c-white);
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-lg);
  transition: all var(--dur-normal) var(--ease);
}

.mobile-menu__link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu__close {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: var(--c-white);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 2.75rem;
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.75rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--s-12);
    padding-top: var(--s-12);
  }

  .hero__content {
    max-width: 100%;
  }

  .demo-card {
    max-width: 480px;
    margin: 0 auto;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.875rem;
    --fs-3xl: 1.5rem;
    --s-24: 4rem;
    --s-16: 3rem;
  }

  .nav__links {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--s-10);
  }

  .steps::before {
    display: none;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  .pricing-card:last-child {
    max-width: none;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-section__actions {
    flex-direction: column;
  }

  .section__title {
    font-size: var(--fs-3xl);
  }
}

@media (max-width: 480px) {
  :root {
    --fs-5xl: 1.875rem;
    --fs-4xl: 1.5rem;
  }

  .container {
    padding: 0 var(--s-4);
  }

  .nav__inner {
    padding: 0 var(--s-4);
  }
}
