/* ============================================================
   CurriculumAI — Design System
   Aesthetic: Refined Editorial — Syne + DM Sans
   ============================================================ */

/* --- Tokens ------------------------------------------------ */
:root {
  /* Brand */
  --c-primary:        #1A56DB;
  --c-primary-dark:   #1342AE;
  --c-primary-light:  #EEF4FF;
  --c-primary-ring:   rgba(26,86,219,.22);
  --c-accent:         #0EA5E9;

  /* Semantic */
  --c-success:        #059669;
  --c-success-light:  #ECFDF5;
  --c-warning:        #D97706;
  --c-warning-light:  #FFFBEB;
  --c-error:          #DC2626;
  --c-error-light:    #FEF2F2;

  /* Neutrals — warm slate */
  --c-text:           #0E1726;
  --c-text-2:         #334155;
  --c-text-muted:     #5E7491;
  --c-text-light:     #94A3B8;
  --c-border:         #DDE4EF;
  --c-border-2:       #EEF2F9;
  --c-bg:             #F5F8FF;
  --c-bg-2:           #EEF4FF;
  --c-white:          #FFFFFF;
  --c-navy:           #0E1726;

  /* Radius */
  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs:  0 1px 2px rgba(14,23,38,.06);
  --sh-sm:  0 1px 4px rgba(14,23,38,.07), 0 1px 2px rgba(14,23,38,.04);
  --sh-md:  0 4px 16px rgba(14,23,38,.08), 0 2px 6px rgba(14,23,38,.04);
  --sh-lg:  0 12px 40px rgba(14,23,38,.10), 0 4px 12px rgba(14,23,38,.05);
  --sh-xl:  0 24px 64px rgba(14,23,38,.12), 0 8px 24px rgba(14,23,38,.06);
  --sh-glow: 0 0 0 3px var(--c-primary-ring);

  /* Typography */
  --font-display: 'Syne', 'DM Sans', sans-serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --max-w:    1200px;
  --max-w-md: 800px;
  --pad-x:    1.5rem;
  --nav-h:    68px;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    120ms;
  --dur-base:    200ms;
  --dur-slow:    340ms;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* --- Accessibility ---------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* --- Layout ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container-md {
  max-width: var(--max-w-md);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section        { padding-block: 5.5rem; }
.section-sm     { padding-block: 3rem; }
.section-lg     { padding-block: 7rem; }
.section-tinted { background: var(--c-bg); border-block: 1px solid var(--c-border-2); }

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--c-text);
}
h1 { font-size: clamp(2.125rem, 5.5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.375rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--c-text-muted); line-height: 1.75; }

.display-text {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* Utils */
.text-center    { text-align: center; }
.text-muted     { color: var(--c-text-muted); }
.text-sm        { font-size: .875rem; }
.text-xs        { font-size: .75rem; }
.text-lg        { font-size: 1.125rem; }
.text-xl        { font-size: 1.25rem; }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-display   { font-family: var(--font-display); }
.text-primary   { color: var(--c-primary); }
.text-success   { color: var(--c-success); }
.text-error     { color: var(--c-error); }
.text-navy      { color: var(--c-navy); }

/* --- Flex / Grid ------------------------------------------ */
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.justify-end    { justify-content: flex-end; }
.flex-wrap      { flex-wrap: wrap; }
.flex-1         { flex: 1; }
.flex-shrink-0  { flex-shrink: 0; }
.gap-1  { gap: .25rem; }
.gap-2  { gap: .5rem;  }
.gap-3  { gap: .75rem; }
.gap-4  { gap: 1rem;   }
.gap-5  { gap: 1.25rem;}
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem;   }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem;   }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Spacing ---------------------------------------------- */
.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}
.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}
.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}
.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}
.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}
.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}
.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}
.py-2{padding-block:.5rem}.py-4{padding-block:1rem}.py-6{padding-block:1.5rem}
.px-4{padding-inline:1rem}.px-6{padding-inline:1.5rem}
.w-full{width:100%}

/* --- Visibility ------------------------------------------- */
.hidden   { display: none !important; }
.invisible{ visibility: hidden; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--c-border-2);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem; color: var(--c-text);
  letter-spacing: -0.02em;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; letter-spacing: 0;
  box-shadow: 0 2px 8px var(--c-primary-ring);
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--c-text-muted);
  transition: color var(--dur-base) var(--ease-out);
  min-height: 44px; display: flex; align-items: center;
}
.nav-links a:hover { color: var(--c-text); }
.nav-actions { display: flex; align-items: center; gap: .625rem; }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center;
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: var(--r-full); padding: 3px;
  gap: 2px; cursor: pointer;
}
.lang-opt {
  padding: .2rem .6rem; border-radius: var(--r-full);
  font-size: .75rem; font-weight: 700; letter-spacing: .03em;
  color: var(--c-text-muted); transition: all var(--dur-base) var(--ease-out);
  cursor: pointer; min-height: 28px; display: flex; align-items: center;
}
.lang-opt.active {
  background: var(--c-primary); color: #fff;
  box-shadow: 0 1px 4px var(--c-primary-ring);
}
.lang-opt:hover:not(.active) { color: var(--c-text); background: var(--c-border-2); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: .625rem; cursor: pointer; border-radius: var(--r-sm);
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  transition: background var(--dur-base);
}
.nav-hamburger:hover { background: var(--c-bg); }
.nav-hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--c-text); border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base);
}

.mobile-menu {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: var(--c-white); z-index: 99;
  padding: 1.5rem var(--pad-x);
  flex-direction: column; gap: .25rem;
  border-top: 1px solid var(--c-border-2);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--c-text);
  padding: .875rem .75rem; border-radius: var(--r-md);
  min-height: 44px; display: flex; align-items: center;
  transition: background var(--dur-base);
}
.mobile-menu a:hover { background: var(--c-bg); }
.mobile-menu .mobile-divider { height: 1px; background: var(--c-border-2); margin-block: .5rem; }

/* ============================================================
   BUTTONS — min 44×44px touch targets
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .6875rem 1.375rem;
  font-size: .9rem; font-weight: 600; line-height: 1;
  border-radius: var(--r-md); border: 1.5px solid transparent;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap; cursor: pointer; text-decoration: none;
  min-height: 44px; touch-action: manipulation;
  font-family: var(--font-body);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background var(--dur-fast);
  border-radius: inherit;
}
.btn:active::after { background: rgba(0,0,0,.06); }
.btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--c-primary); color: #fff; border-color: var(--c-primary);
  box-shadow: 0 1px 3px var(--c-primary-ring), 0 1px 2px rgba(26,86,219,.2);
}
.btn-primary:hover {
  background: var(--c-primary-dark); border-color: var(--c-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,219,.28);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--c-white); color: var(--c-text-2); border-color: var(--c-border);
  box-shadow: var(--sh-xs);
}
.btn-secondary:hover {
  border-color: var(--c-primary); color: var(--c-primary);
  background: var(--c-primary-light); box-shadow: var(--sh-sm);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent; color: var(--c-text-muted); border-color: transparent;
}
.btn-ghost:hover { background: var(--c-bg); color: var(--c-text); }

.btn-success {
  background: var(--c-success); color: #fff; border-color: var(--c-success);
}
.btn-success:hover { background: #047857; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(5,150,105,.25); }

.btn-danger {
  background: var(--c-error-light); color: var(--c-error); border-color: rgba(220,38,38,.2);
}
.btn-danger:hover { background: var(--c-error); color: #fff; }

.btn-navy {
  background: var(--c-navy); color: #fff; border-color: var(--c-navy);
}
.btn-navy:hover { background: #1a2a40; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,23,38,.25); }

/* Sizes */
.btn-xs  { padding: .35rem .75rem; font-size: .78rem; min-height: 32px; border-radius: var(--r-sm); }
.btn-sm  { padding: .45rem 1rem; font-size: .84rem; min-height: 38px; }
.btn-lg  { padding: .875rem 2rem; font-size: .975rem; border-radius: var(--r-lg); }
.btn-xl  { padding: 1.0625rem 2.5rem; font-size: 1.0625rem; border-radius: var(--r-lg); min-height: 52px; }
.btn-full { width: 100%; }
.btn-icon { padding: .625rem; min-width: 44px; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .7rem; border-radius: var(--r-full);
  font-size: .75rem; font-weight: 600; line-height: 1;
}
.badge-blue   { background: var(--c-primary-light); color: var(--c-primary); }
.badge-green  { background: var(--c-success-light); color: var(--c-success); }
.badge-yellow { background: var(--c-warning-light); color: var(--c-warning); }
.badge-red    { background: var(--c-error-light); color: var(--c-error); }
.badge-gray   { background: var(--c-bg); color: var(--c-text-muted); border: 1px solid var(--c-border); }
.badge-navy   { background: var(--c-navy); color: #fff; }
.badge-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 1.5rem;
  box-shadow: var(--sh-sm);
}
.card-lg   { padding: 2rem; }
.card-xl   { padding: 2.5rem; border-radius: var(--r-xl); }
.card-hover {
  transition: box-shadow var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  cursor: default;
}
.card-hover:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }

/* ============================================================
   FORMS — accessible, labeled, feedback near field
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-size: .875rem; font-weight: 600; color: var(--c-text);
  display: flex; align-items: center; gap: .35rem;
}
.form-label .required { color: var(--c-error); }
.form-hint  { font-size: .8rem; color: var(--c-text-muted); line-height: 1.5; }

.form-input, .form-textarea, .form-select {
  width: 100%; padding: .6875rem .9375rem;
  border: 1.5px solid var(--c-border); border-radius: var(--r-md);
  background: var(--c-white); color: var(--c-text);
  font-size: .9375rem; line-height: 1.5;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  outline: none; min-height: 44px;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--c-text-light); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-ring);
}
.form-input.error, .form-textarea.error {
  border-color: var(--c-error);
  box-shadow: 0 0 0 3px rgba(220,38,38,.15);
}
.form-input.success { border-color: var(--c-success); }
.form-textarea { resize: vertical; min-height: 160px; }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%235E7491' stroke-width='1.5'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }

.form-error {
  font-size: .8rem; color: var(--c-error); display: flex; align-items: center; gap: .3rem;
  animation: slideDown var(--dur-base) var(--ease-out);
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-4px); } }

/* Upload area */
.upload-area {
  border: 2px dashed var(--c-border); border-radius: var(--r-lg);
  padding: 2.5rem 1.5rem; text-align: center; cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  background: var(--c-bg); position: relative;
}
.upload-area:hover, .upload-area.dragover {
  border-color: var(--c-primary); background: var(--c-primary-light);
}
.upload-area input[type=file] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.upload-icon { font-size: 2.25rem; margin-bottom: .75rem; line-height: 1; }
.upload-title { font-weight: 600; font-size: .9375rem; color: var(--c-text); margin-bottom: .25rem; }
.upload-subtitle { font-size: .8rem; color: var(--c-text-muted); }
.upload-subtitle strong { color: var(--c-primary); }
.upload-file-info {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; background: var(--c-success-light);
  border: 1px solid rgba(5,150,105,.2); border-radius: var(--r-md);
  font-size: .875rem; color: var(--c-success); font-weight: 500;
}
.upload-file-remove {
  margin-left: auto; cursor: pointer; opacity: .6; padding: .25rem;
  transition: opacity var(--dur-fast); min-width: 28px; min-height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.upload-file-remove:hover { opacity: 1; }

/* Tabs (input mode switch) */
.tab-group {
  display: flex; gap: 0; border: 1.5px solid var(--c-border);
  border-radius: var(--r-md); overflow: hidden; background: var(--c-bg);
}
.tab-option {
  flex: 1; padding: .5625rem 1rem; text-align: center;
  font-size: .875rem; font-weight: 500; cursor: pointer;
  transition: all var(--dur-base) var(--ease-out); color: var(--c-text-muted);
  min-height: 44px; display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.tab-option.active {
  background: var(--c-white); color: var(--c-primary);
  font-weight: 600; box-shadow: var(--sh-xs);
}
.tab-option:hover:not(.active) { color: var(--c-text); background: var(--c-border-2); }

/* Toggle group */
.toggle-group {
  display: flex; border: 1.5px solid var(--c-border);
  border-radius: var(--r-md); overflow: hidden; background: var(--c-bg);
}
.toggle-option {
  flex: 1; padding: .5625rem .75rem; text-align: center;
  font-size: .875rem; font-weight: 500; cursor: pointer;
  transition: all var(--dur-base) var(--ease-out); color: var(--c-text-muted);
  min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.toggle-option.active { background: var(--c-primary); color: #fff; font-weight: 600; }
.toggle-option:hover:not(.active) { color: var(--c-text); background: var(--c-border-2); }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  display: flex; align-items: flex-start; gap: .875rem;
  padding: 1rem 1.125rem; border-radius: var(--r-md);
  font-size: .9rem; line-height: 1.6; border: 1px solid transparent;
}
.alert-icon { flex-shrink: 0; margin-top: .1rem; }
.alert-success { background: var(--c-success-light); color: #065F46; border-color: rgba(5,150,105,.2); }
.alert-error   { background: var(--c-error-light);   color: #991B1B; border-color: rgba(220,38,38,.2);  }
.alert-warning { background: var(--c-warning-light); color: #92400E; border-color: rgba(217,119,6,.2);  }
.alert-info    { background: var(--c-primary-light); color: #1E3A8A; border-color: rgba(26,86,219,.2);  }

/* ============================================================
   PROGRESS / LOADING
   ============================================================ */
.progress-bar {
  height: 6px; border-radius: var(--r-full);
  background: var(--c-border); overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-accent) 100%);
  transition: width .5s var(--ease-out);
}

.spinner {
  width: 1.25rem; height: 1.25rem;
  border: 2px solid var(--c-border);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin .65s linear infinite;
  flex-shrink: 0;
}
.spinner-lg { width: 2rem; height: 2rem; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  background: linear-gradient(90deg, var(--c-border) 25%, var(--c-border-2) 50%, var(--c-border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-primary); margin-bottom: .875rem;
}
.section-header h2 { margin-bottom: .875rem; }
.section-header p  { max-width: 540px; margin-inline: auto; font-size: 1.0625rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-block: 5.5rem 4.5rem;
  background: linear-gradient(170deg, #fff 0%, #EEF4FF 55%, #E8F0FE 100%);
  border-bottom: 1px solid var(--c-border-2);
  text-align: center; overflow: hidden; position: relative;
}
/* Decorative blobs */
.hero::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.06) 0%, transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.06) 0%, transparent 70%);
  bottom: -150px; left: -100px; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(26,86,219,.08); color: var(--c-primary);
  border: 1px solid rgba(26,86,219,.18);
  border-radius: var(--r-full); padding: .4rem 1.125rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .03em;
  margin-bottom: 1.75rem; text-transform: uppercase;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-primary); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero h1 { max-width: 800px; margin-inline: auto; margin-bottom: 1.375rem; }
.hero-subtitle { max-width: 580px; margin-inline: auto; font-size: 1.125rem; margin-bottom: 2.75rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats {
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
  border: 1px solid var(--c-border); border-radius: var(--r-xl);
  background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
  max-width: 600px; margin-inline: auto; overflow: hidden;
}
.hero-stat {
  flex: 1; text-align: center; padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--c-border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-value {
  font-family: var(--font-display); font-size: 1.625rem; font-weight: 800;
  color: var(--c-text); line-height: 1; margin-bottom: .3rem;
  letter-spacing: -0.02em;
}
.hero-stat-label { font-size: .78rem; color: var(--c-text-muted); font-weight: 500; }

/* ============================================================
   STEPS
   ============================================================ */
.step-card {
  padding: 2rem; background: var(--c-white);
  border: 1px solid var(--c-border); border-radius: var(--r-xl);
  box-shadow: var(--sh-sm); position: relative;
  transition: all var(--dur-slow) var(--ease-out);
}
.step-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.step-num {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .9rem; font-weight: 800;
  margin-bottom: 1.25rem; box-shadow: 0 3px 10px var(--c-primary-ring);
}
.step-connector {
  position: absolute; right: -1.25rem; top: 2.25rem; z-index: 1;
  width: 1.5rem; display: flex; align-items: center; justify-content: center;
  color: var(--c-text-light);
}
.step-title { margin-bottom: .625rem; font-size: 1.125rem; }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ba-panel {
  border-radius: var(--r-xl); padding: 1.75rem;
  background: var(--c-bg); border: 1px solid var(--c-border);
  position: relative; overflow: hidden;
}
.ba-panel.after {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border-color: rgba(5,150,105,.2);
}
.ba-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.ba-panel.after::before { background: linear-gradient(90deg, var(--c-success) 0%, #34D399 100%); }
.ba-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 1.25rem;
}
.ba-label.before { color: var(--c-text-muted); }
.ba-label.after  { color: var(--c-success); }
.ba-content { font-size: .9rem; line-height: 1.75; color: var(--c-text-2); }
.ba-content strong { color: var(--c-text); font-weight: 700; }
.ba-content .highlight {
  background: rgba(5,150,105,.15); border-radius: 3px; padding: .05rem .25rem;
  font-weight: 500;
}

/* ============================================================
   PRICING CARD
   ============================================================ */
.pricing-card {
  background: var(--c-white); border: 2px solid var(--c-primary);
  border-radius: var(--r-2xl); padding: 2.75rem;
  box-shadow: var(--sh-xl), 0 0 0 8px var(--c-primary-light);
  max-width: 460px; margin-inline: auto; text-align: center;
  position: relative; overflow: hidden;
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-accent) 100%);
}
.pricing-price { margin-block: 1.75rem; }
.pricing-amount {
  font-family: var(--font-display); font-size: 3.25rem; font-weight: 800;
  color: var(--c-text); line-height: 1; letter-spacing: -0.03em;
}
.pricing-currency {
  font-size: 1.375rem; font-weight: 700; vertical-align: super;
  margin-right: .15rem; color: var(--c-text-muted);
}
.pricing-cents {
  font-size: 1.75rem; font-weight: 800; color: var(--c-text);
}
.pricing-period {
  display: block; font-size: .875rem; color: var(--c-text-muted); margin-top: .375rem;
  font-weight: 500;
}
.pricing-credits-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--c-primary-light); color: var(--c-primary);
  padding: .375rem 1rem; border-radius: var(--r-full);
  font-size: .85rem; font-weight: 700; margin-bottom: 1.75rem;
}
.pricing-features { text-align: left; display: flex; flex-direction: column; gap: 1rem; margin-block: 1.75rem; }
.pricing-feature {
  display: flex; align-items: center; gap: .875rem;
  font-size: .9rem; color: var(--c-text-2);
}
.pricing-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-success-light); color: var(--c-success);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pricing-footer { font-size: .8rem; color: var(--c-text-muted); margin-top: 1.25rem; }
.pricing-footer + .pricing-footer { margin-top: .5rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--r-xl); padding: 1.875rem;
  box-shadow: var(--sh-sm);
  transition: all var(--dur-slow) var(--ease-out);
}
.testimonial-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.testimonial-stars { color: #F59E0B; font-size: 1rem; margin-bottom: 1.125rem; letter-spacing: .1em; }
.testimonial-text {
  font-size: .9375rem; line-height: 1.75; color: var(--c-text-2);
  margin-bottom: 1.375rem; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .875rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: .875rem; flex-shrink: 0;
}
.testimonial-name  { font-weight: 700; font-size: .9rem; color: var(--c-text); }
.testimonial-role  { font-size: .8rem; color: var(--c-text-muted); margin-top: .1rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: .5rem; max-width: 740px; margin-inline: auto; }
.faq-item { border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; background: var(--c-white); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.125rem 1.375rem; background: transparent;
  font-size: .9375rem; font-weight: 600; color: var(--c-text); text-align: left;
  cursor: pointer; gap: 1rem; min-height: 56px;
  transition: background var(--dur-base), color var(--dur-base);
}
.faq-question:hover { background: var(--c-bg); }
.faq-question.open { color: var(--c-primary); }
.faq-chevron {
  flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out);
  color: var(--c-text-muted);
}
.faq-question.open .faq-chevron { transform: rotate(180deg); color: var(--c-primary); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.faq-answer.open { max-height: 480px; }
.faq-answer-inner {
  padding: 0 1.375rem 1.25rem;
  font-size: .9375rem; color: var(--c-text-muted); line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-navy); color: #94A3B8;
  padding-block: 3.5rem 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3.5rem; }
.footer-logo { display: flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-logo-icon { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; color: #fff; }
.footer-desc { font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer-col-title { color: #E2E8F0; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.125rem; }
.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-links a { font-size: .875rem; color: #64748B; transition: color var(--dur-base); padding-block: .15rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid #1E2D3F;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: #475569;
}

/* ============================================================
   AUTH PAGE
   ============================================================ */
.auth-page { min-height: 100svh; background: var(--c-bg); display: flex; flex-direction: column; }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem var(--pad-x); }
.auth-card {
  width: 100%; max-width: 460px;
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--r-2xl); padding: 2.5rem;
  box-shadow: var(--sh-lg);
}
.auth-logo {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  color: var(--c-text); margin-bottom: 2rem;
}
.auth-logo-icon {
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 800; color: #fff;
}
.auth-title { font-size: 1.625rem; font-weight: 800; text-align: center; margin-bottom: .5rem; }
.auth-subtitle { text-align: center; color: var(--c-text-muted); font-size: .9375rem; margin-bottom: 2rem; }
.auth-divider {
  display: flex; align-items: center; gap: 1rem; margin-block: 1.5rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--c-border);
}
.auth-divider span { font-size: .8rem; color: var(--c-text-muted); white-space: nowrap; font-weight: 500; }
.auth-footer-link { text-align: center; margin-top: 1.5rem; font-size: .9rem; color: var(--c-text-muted); }
.auth-footer-link a { color: var(--c-primary); font-weight: 600; }
.auth-footer-link a:hover { text-decoration: underline; }

.btn-google {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: .875rem; padding: .8125rem 1.5rem; min-height: 48px;
  border: 1.5px solid var(--c-border); border-radius: var(--r-md);
  background: var(--c-white); font-size: .9375rem; font-weight: 600;
  color: var(--c-text-2);
  transition: all var(--dur-base) var(--ease-out); cursor: pointer;
}
.btn-google:hover { border-color: var(--c-primary); background: var(--c-primary-light); color: var(--c-primary); transform: translateY(-1px); box-shadow: var(--sh-sm); }

/* Password visibility toggle */
.input-wrapper { position: relative; }
.input-wrapper .form-input { padding-right: 2.75rem; }
.toggle-password {
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  color: var(--c-text-muted); cursor: pointer; padding: .25rem;
  min-width: 32px; min-height: 32px; display: flex; align-items: center; justify-content: center;
  transition: color var(--dur-base);
}
.toggle-password:hover { color: var(--c-text); }

/* ============================================================
   APP LAYOUT (authenticated)
   ============================================================ */
.app-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100svh - var(--nav-h)); }

.sidebar {
  background: var(--c-white); border-right: 1px solid var(--c-border-2);
  padding: 1.25rem .875rem; display: flex; flex-direction: column;
  position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h));
  overflow-y: auto;
}
.sidebar-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .6875rem .875rem; border-radius: var(--r-md);
  font-size: .9rem; font-weight: 500; color: var(--c-text-muted);
  transition: all var(--dur-base) var(--ease-out); cursor: pointer;
  text-decoration: none; min-height: 44px;
}
.sidebar-item:hover { background: var(--c-bg); color: var(--c-text); }
.sidebar-item.active {
  background: var(--c-primary-light); color: var(--c-primary); font-weight: 600;
}
.sidebar-item.active svg { color: var(--c-primary); }
.sidebar-divider { height: 1px; background: var(--c-border-2); margin-block: .625rem; }
.sidebar-section-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--c-text-light);
  padding: .625rem .875rem .375rem;
}

.main-content { padding: 2rem 2.5rem; max-width: 960px; }

/* Page header */
.page-header { margin-bottom: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.page-header h1 { font-size: 1.625rem; }
.page-header p { margin-top: .25rem; font-size: .9375rem; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 1.375rem;
  box-shadow: var(--sh-xs); transition: all var(--dur-base);
}
.stat-card:hover { box-shadow: var(--sh-md); }
.stat-icon { font-size: 1.5rem; margin-bottom: .875rem; }
.stat-label {
  font-size: .75rem; font-weight: 700; color: var(--c-text-muted);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .375rem;
}
.stat-value {
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 800;
  color: var(--c-text); line-height: 1; letter-spacing: -0.02em;
}
.stat-sub { font-size: .8rem; color: var(--c-text-muted); margin-top: .3rem; }

/* Credit bar */
.credit-bar-wrap { margin-top: .625rem; }
.credit-bar-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--c-text-muted); margin-bottom: .375rem; font-weight: 500; }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--c-border); }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead th {
  padding: .875rem 1.125rem; text-align: left;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border); white-space: nowrap;
  background: var(--c-bg);
}
tbody td { padding: 1rem 1.125rem; border-bottom: 1px solid var(--c-border-2); color: var(--c-text-2); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--c-bg); }
.table-empty { text-align: center; padding: 4rem 2rem; color: var(--c-text-muted); }
.table-empty-icon { font-size: 2.5rem; margin-bottom: .75rem; opacity: .4; }

/* ============================================================
   OPTIMIZE PAGE
   ============================================================ */
.optimize-layout { display: grid; grid-template-columns: 1fr 380px; gap: 1.75rem; align-items: start; }
.optimize-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }

.credit-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: var(--r-full); padding: .375rem 1rem;
  font-size: .8rem; font-weight: 700; border: 1px solid transparent;
}
.credit-pill.ok     { background: var(--c-success-light); color: var(--c-success); border-color: rgba(5,150,105,.2); }
.credit-pill.low    { background: var(--c-warning-light); color: var(--c-warning); border-color: rgba(217,119,6,.2); }
.credit-pill.empty  { background: var(--c-error-light); color: var(--c-error); border-color: rgba(220,38,38,.2); }

.generate-summary {
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.generate-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .875rem; color: var(--c-text-muted);
}
.generate-row strong { color: var(--c-text); }
.generate-divider { height: 1px; background: var(--c-border); }

/* ============================================================
   RESULT PAGE
   ============================================================ */
.result-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.result-panel {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--sh-sm);
}
.result-panel-header {
  padding: 1rem 1.375rem; border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--c-bg); flex-wrap: wrap; gap: .5rem;
}
.result-panel-title { font-size: .9rem; font-weight: 700; color: var(--c-text); display: flex; align-items: center; gap: .5rem; }
.result-panel-body {
  padding: 1.75rem; font-size: .9rem; line-height: 1.85; color: var(--c-text-2);
  white-space: pre-wrap; flex: 1; overflow-y: auto; max-height: 600px;
}
.result-panel-body h3 {
  font-family: var(--font-display); font-size: .875rem; font-weight: 800;
  color: var(--c-primary); margin-top: 1.5rem; margin-bottom: .25rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.result-panel-body h3:first-child { margin-top: 0; }

.copy-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .375rem .875rem; border-radius: var(--r-full);
  font-size: .78rem; font-weight: 600; cursor: pointer;
  background: var(--c-white); border: 1px solid var(--c-border);
  color: var(--c-text-muted); transition: all var(--dur-base);
  min-height: 32px;
}
.copy-btn:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-light); }
.copy-btn.copied { border-color: var(--c-success); color: var(--c-success); background: var(--c-success-light); }

/* Generation steps animation */
.generation-overlay {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3rem; text-align: center;
}
.generation-steps { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.gen-step {
  display: flex; align-items: center; gap: 1rem;
  padding: .9375rem 1.25rem; border-radius: var(--r-md);
  font-size: .9rem; font-weight: 500; transition: all var(--dur-slow) var(--ease-out);
  background: var(--c-bg); border: 1px solid var(--c-border); color: var(--c-text-light);
}
.gen-step.done    { background: var(--c-success-light); border-color: rgba(5,150,105,.2); color: var(--c-success); font-weight: 600; }
.gen-step.active  { background: var(--c-primary-light); border-color: rgba(26,86,219,.25); color: var(--c-primary); font-weight: 600; box-shadow: 0 0 0 3px var(--c-primary-ring); }
.gen-step-icon    { flex-shrink: 0; width: 22px; display: flex; align-items: center; justify-content: center; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--c-navy) 0%, #1a3560 50%, #0f2447 100%);
  color: #fff; text-align: center; padding-block: 6rem; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; width: 700px; height: 700px;
  border-radius: 50%; background: radial-gradient(circle, rgba(26,86,219,.18) 0%, transparent 70%);
  top: -300px; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 1.125rem; }
.cta-section p  { color: rgba(255,255,255,.7); font-size: 1.125rem; margin-bottom: 2.75rem; max-width: 540px; margin-inline: auto; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}
.animate-fadeup   { animation: fadeUp .55s var(--ease-out) both; }
.animate-fadein   { animation: fadeIn .4s var(--ease-out) both; }
.animate-scalein  { animation: scaleIn .4s var(--ease-spring) both; }
.delay-1  { animation-delay: .1s; }
.delay-2  { animation-delay: .2s; }
.delay-3  { animation-delay: .32s; }
.delay-4  { animation-delay: .44s; }
.delay-5  { animation-delay: .56s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .optimize-layout { grid-template-columns: 1fr; }
  .optimize-sidebar { position: static; }
}

@media (max-width: 1024px) {
  .app-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main-content { padding: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --pad-x: 1.125rem; }
  .section { padding-block: 4rem; }
  .section-lg { padding-block: 5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding-block: 4rem 3.5rem; }
  .hero-stats { flex-direction: column; max-width: 320px; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--c-border); }
  .hero-stat:last-child { border-bottom: none; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .result-layout { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .pricing-card { padding: 2rem 1.5rem; }
  .auth-card { padding: 2rem 1.5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .main-content { padding: 1.25rem; max-width: 100%; }
  .page-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  .btn-xl { padding: .9375rem 2rem; font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 1.75rem 1.25rem; }
}
