/* ========================================
   ALIN DESIGN SYSTEM — Dark Cinematic
   ======================================== */

/* ===== TOKENS ===== */
:root {
  --color-primary-400: #818cf8;
  --color-primary-500: #6366f1;
  --color-primary-600: #4f46e5;
  --color-primary-700: #4338ca;
  --color-primary: #6366f1;

  --color-secondary-500: #d946ef;
  --color-secondary-600: #c026d3;

  --color-accent-300: #67e8f9;
  --color-accent-400: #22d3ee;
  --color-accent-500: #06b6d4;

  --color-neutral-50: #fafafa;
  --color-neutral-100: #f5f5f5;
  --color-neutral-200: #e5e5e5;
  --color-neutral-300: #d4d4d4;
  --color-neutral-400: #a3a3a3;
  --color-neutral-500: #737373;
  --color-neutral-600: #525252;
  --color-neutral-700: #2a2a2e;
  --color-neutral-800: #1a1a1f;
  --color-neutral-900: #111114;
  --color-neutral-950: #09090b;

  --color-success: #34d399;
  --color-warning: #fbbf24;
  --color-error: #f87171;

  --color-bg: #09090b;
  --color-bg-elevated: #111114;
  --color-bg-card: #151518;
  --color-bg-input: #1a1a1f;

  --color-text-primary: #f0f0f2;
  --color-text-secondary: #a1a1aa;
  --color-text-tertiary: #71717a;
  --color-text-muted: #52525b;

  --color-border: rgba(255,255,255,0.06);
  --color-border-hover: rgba(255,255,255,0.12);
  --color-border-focus: var(--color-primary-500);

  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
  --gradient-hero: linear-gradient(135deg, #0f0f1a 0%, #1a1025 40%, #0d1117 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(99,102,241,0.15) 0%, transparent 70%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.6);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.15);
  --shadow-glow-lg: 0 0 80px rgba(99,102,241,0.2);

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --fw-light: 300; --fw-regular: 400; --fw-medium: 500;
  --fw-semibold: 600; --fw-bold: 700; --fw-extrabold: 800;

  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem;
  --radius-xl: 1rem; --radius-2xl: 1.25rem; --radius-full: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
  --nav-height-mobile: 60px;
  --z-sticky: 100; --z-modal-backdrop: 200; --z-modal: 300;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body); font-weight: var(--fw-regular);
  line-height: 1.6; color: var(--color-text-primary); background: var(--color-bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
@media (max-width: 768px) { .container { padding: 0 1.25rem; } }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(24px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 6px rgba(99,102,241,0.4); } 50% { box-shadow: 0 0 18px rgba(99,102,241,0.7); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes grain { 0%,100% { transform: translate(0,0); } 10% { transform: translate(-1%,-1%); } 30% { transform: translate(1%,2%); } 50% { transform: translate(-2%,1%); } 70% { transform: translate(2%,-1%); } 90% { transform: translate(-1%,2%); } }

.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .animate-on-scroll { opacity: 1; transform: none; } }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
  background: rgba(9,9,11,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border); z-index: var(--z-sticky);
  transition: all 0.3s var(--ease-out);
}
.nav.scrolled { background: rgba(9,9,11,0.92); box-shadow: 0 1px 0 var(--color-border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__logo {
  font-family: var(--font-display); font-size: 1.125rem; font-weight: var(--fw-bold);
  letter-spacing: 0.15em; color: var(--color-text-primary);
}
.nav__logo span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav__links { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  padding: 0.5rem 0.875rem; font-size: 0.875rem; font-weight: var(--fw-medium);
  color: var(--color-text-tertiary); border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.nav__link:hover { color: var(--color-text-primary); background: rgba(255,255,255,0.04); }
.nav__link--active { color: var(--color-text-primary); }
.nav__auth { display: flex; align-items: center; gap: 0.5rem; }
.nav__signin {
  padding: 0.5rem 1rem; font-size: 0.8125rem; font-weight: var(--fw-medium);
  color: var(--color-text-secondary); border-radius: var(--radius-md); transition: all 0.2s ease;
}
.nav__signin:hover { color: var(--color-text-primary); }
.nav__cta {
  padding: 0.5rem 1.25rem; font-size: 0.8125rem; font-weight: var(--fw-semibold);
  color: #fff; background: var(--color-primary-500); border: none;
  border-radius: var(--radius-md); transition: all 0.2s ease;
}
.nav__cta:hover { background: var(--color-primary-600); transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--color-text-secondary); margin: 5px 0; transition: all 0.3s ease; border-radius: 2px; }
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }
.nav__mobile { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: var(--z-modal-backdrop); }
.nav__mobile-inner { background: var(--color-bg-elevated); padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.nav__mobile-link { display: block; padding: 0.875rem 0; font-size: 1rem; font-weight: var(--fw-medium); color: var(--color-text-secondary); border-bottom: 1px solid var(--color-border); }
.nav__mobile-link:hover { color: var(--color-text-primary); }
.nav__mobile.open { display: block; }
@media (max-width: 768px) { .nav { height: var(--nav-height-mobile); } .nav__links, .nav__auth { display: none; } .nav__toggle { display: block; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: var(--fw-semibold);
  border-radius: var(--radius-lg); cursor: pointer; transition: all 0.2s ease;
  white-space: nowrap; border: none;
}
.btn--primary { padding: 0.8rem 1.75rem; font-size: 0.9375rem; background: var(--color-primary-500); color: #fff; }
.btn--primary:hover { background: var(--color-primary-600); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--secondary { padding: 0.8rem 1.75rem; font-size: 0.9375rem; background: transparent; color: var(--color-text-secondary); border: 1px solid var(--color-border-hover); }
.btn--secondary:hover { color: var(--color-text-primary); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn--outline { padding: 0.8rem 1.75rem; font-size: 0.9375rem; background: transparent; color: var(--color-primary-400); border: 1px solid rgba(99,102,241,0.3); }
.btn--outline:hover { background: rgba(99,102,241,0.08); border-color: var(--color-primary-500); transform: translateY(-2px); }
.btn--large { padding: 1rem 2.25rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }
.section--alt { background: var(--color-bg-elevated); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section__overline {
  display: inline-block; font-size: 0.6875rem; font-weight: var(--fw-semibold);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary-400);
  margin-bottom: 0.875rem;
}
.section__title {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-bold); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--color-text-primary); margin-bottom: 1rem;
}
.section__desc { font-size: 1.0625rem; line-height: 1.7; color: var(--color-text-tertiary); }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  margin-top: var(--nav-height); padding: 5rem 0 4rem;
  background: var(--gradient-hero); text-align: center; position: relative;
}
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--color-border); }
@media (max-width: 768px) { .page-hero { margin-top: var(--nav-height-mobile); padding: 3rem 0 2.5rem; } }
.page-hero__overline { display: inline-block; font-size: 0.6875rem; font-weight: var(--fw-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary-400); margin-bottom: 0.875rem; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: var(--fw-bold); line-height: 1.15; letter-spacing: -0.02em; color: var(--color-text-primary); margin-bottom: 1rem; }
.page-hero__desc { font-size: 1.0625rem; line-height: 1.7; color: var(--color-text-tertiary); max-width: 560px; margin: 0 auto; }

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - var(--nav-height)); margin-top: var(--nav-height);
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative; overflow: hidden; background: var(--gradient-hero); padding: 5rem 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 32px 32px; z-index: 1; pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 820px; padding: 0 2rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-full);
  color: var(--color-text-secondary); font-size: 0.8125rem; font-weight: var(--fw-medium);
  margin-bottom: 2rem; animation: fadeInUp 0.8s var(--ease-out);
}
.hero__badge-dot { width: 7px; height: 7px; background: var(--color-success); border-radius: 50%; animation: pulse-glow 2s ease-in-out infinite; }
.hero__title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6.5vw, 4rem);
  font-weight: var(--fw-bold); line-height: 1.08; letter-spacing: -0.03em;
  color: var(--color-text-primary); margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s var(--ease-out);
}
.hero__title-gradient {
  background: var(--gradient-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__subtitle {
  max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.125rem; line-height: 1.75;
  color: var(--color-text-tertiary); animation: fadeInUp 0.8s var(--ease-out) 0.15s both;
}
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; animation: fadeInUp 0.8s var(--ease-out) 0.3s both; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.2; z-index: 0; }
.hero__orb--1 { width: 500px; height: 500px; background: #6366f1; top: -15%; right: -10%; animation: float 12s ease-in-out infinite; }
.hero__orb--2 { width: 350px; height: 350px; background: #d946ef; bottom: -10%; left: -5%; animation: float 15s ease-in-out infinite 2s; }
.hero__orb--3 { width: 250px; height: 250px; background: #06b6d4; top: 40%; left: 55%; animation: float 10s ease-in-out infinite 4s; }
@media (max-width: 768px) { .hero { min-height: calc(100vh - var(--nav-height-mobile)); margin-top: var(--nav-height-mobile); padding: 3rem 0; } }

/* ===== CODE BLOCK ===== */
.code-block { background: var(--color-bg-card); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-border); max-width: 520px; margin: 2.5rem auto 0; }
.code-block__header { display: flex; align-items: center; gap: 6px; padding: 0.65rem 0.875rem; background: var(--color-bg-input); border-bottom: 1px solid var(--color-border); }
.code-block__dot { width: 10px; height: 10px; border-radius: 50%; }
.code-block__dot--red { background: #ef4444; } .code-block__dot--yellow { background: #eab308; } .code-block__dot--green { background: #22c55e; }
.code-block__body { padding: 1.25rem; font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.8; color: var(--color-text-tertiary); }
.code-block__body .kw { color: var(--color-primary-400); } .code-block__body .str { color: var(--color-accent-400); }
.code-block__body .fn { color: var(--color-secondary-500); } .code-block__body .cm { color: var(--color-text-muted); }

/* ===== STATS ===== */
.stats { padding: 3.5rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-bg-elevated); }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
@media (max-width: 768px) { .stats__grid { grid-template-columns: repeat(2,1fr); } }
.stat__value { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: var(--fw-bold); background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.stat__label { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 0.25rem; font-weight: var(--fw-medium); }

/* ===== FEATURE CARDS ===== */
.features__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .features__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .features__grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--color-bg-card); border-radius: var(--radius-2xl); padding: 1.75rem;
  border: 1px solid var(--color-border); transition: all 0.3s var(--ease-out);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--color-border-hover); box-shadow: var(--shadow-lg); }
.feature-card__icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg); margin-bottom: 1.25rem;
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.12);
  font-size: 1.125rem;
}
.feature-card__title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: var(--fw-semibold); margin-bottom: 0.5rem; color: var(--color-text-primary); }
.feature-card__desc { font-size: 0.875rem; line-height: 1.65; color: var(--color-text-tertiary); }

/* ===== STATION CARDS ===== */
.stations__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .stations__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .stations__grid { grid-template-columns: 1fr; } }
.station-card {
  position: relative; padding: 1.75rem; border-radius: var(--radius-2xl);
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out); overflow: hidden;
}
.station-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-primary); opacity: 0; transition: opacity 0.3s ease; }
.station-card:hover { border-color: var(--color-border-hover); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.station-card:hover::before { opacity: 1; }
.station-card__emoji { font-size: 1.75rem; margin-bottom: 0.875rem; }
.station-card__title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: var(--fw-semibold); color: var(--color-text-primary); margin-bottom: 0.375rem; }
.station-card__desc { font-size: 0.8125rem; line-height: 1.65; color: var(--color-text-tertiary); }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 26px; left: calc(16.66% + 20px); right: calc(16.66% + 20px); height: 1px; background: linear-gradient(90deg, var(--color-primary-500), var(--color-secondary-500), var(--color-accent-500)); opacity: 0.3; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; gap: 2rem; } .steps::before { display: none; } }
.step { text-align: center; position: relative; z-index: 1; }
.step__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-primary);
  color: #fff; font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 1.125rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-glow);
}
.step__title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: var(--fw-semibold); margin-bottom: 0.5rem; }
.step__desc { font-size: 0.875rem; line-height: 1.65; color: var(--color-text-tertiary); max-width: 280px; margin: 0 auto; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.pricing-card {
  background: var(--color-bg-card); border-radius: var(--radius-2xl); padding: 2.25rem 1.75rem;
  border: 1px solid var(--color-border); text-align: center; transition: all 0.3s var(--ease-out);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card--featured { border-color: rgba(99,102,241,0.3); box-shadow: var(--shadow-glow); position: relative; }
.pricing-card--featured::before {
  content: 'Most Popular'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-primary); color: #fff; font-size: 0.6875rem;
  font-weight: var(--fw-semibold); padding: 0.2rem 0.875rem; border-radius: var(--radius-full);
}
.pricing-card__name { font-family: var(--font-display); font-size: 1.125rem; font-weight: var(--fw-semibold); margin-bottom: 0.5rem; }
.pricing-card__price { font-family: var(--font-display); font-size: 2.75rem; font-weight: var(--fw-bold); color: var(--color-text-primary); margin-bottom: 0.25rem; }
.pricing-card__price span { font-size: 0.875rem; font-weight: var(--fw-regular); color: var(--color-text-muted); }
.pricing-card__desc { font-size: 0.8125rem; color: var(--color-text-muted); margin-bottom: 1.75rem; }
.pricing-card__features { text-align: left; margin-bottom: 1.75rem; }
.pricing-card__feature { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.8125rem; color: var(--color-text-secondary); margin-bottom: 0.625rem; line-height: 1.5; }
.pricing-card__feature::before { content: '✓'; color: var(--color-success); font-weight: var(--fw-bold); flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ===== FORM ===== */
.form { max-width: 520px; margin: 0 auto; }
.form__group { margin-bottom: 1.25rem; }
.form__label { display: block; font-size: 0.8125rem; font-weight: var(--fw-medium); margin-bottom: 0.375rem; color: var(--color-text-secondary); }
.form__input, .form__textarea, .form__select {
  width: 100%; padding: 0.7rem 0.875rem; font-family: var(--font-body); font-size: 0.9375rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  background: var(--color-bg-input); color: var(--color-text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease; outline: none;
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--color-text-muted); }
.form__input:focus, .form__textarea:focus, .form__select:focus { border-color: var(--color-primary-500); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.form__textarea { min-height: 130px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

/* ===== AUTH FORM ===== */
.auth { max-width: 400px; margin: 0 auto; }
.auth__card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); padding: 2.5rem 2rem; }
.auth__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--fw-bold); text-align: center; margin-bottom: 0.375rem; }
.auth__subtitle { font-size: 0.875rem; color: var(--color-text-tertiary); text-align: center; margin-bottom: 2rem; }
.auth__divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.5rem 0; font-size: 0.75rem; color: var(--color-text-muted); }
.auth__divider::before, .auth__divider::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }
.auth__social { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.auth__social-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.65rem; font-size: 0.8125rem; font-weight: var(--fw-medium);
  color: var(--color-text-secondary); background: var(--color-bg-input);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  cursor: pointer; transition: all 0.2s ease;
}
.auth__social-btn:hover { background: var(--color-bg-elevated); border-color: var(--color-border-hover); color: var(--color-text-primary); }
.auth__footer { text-align: center; margin-top: 1.5rem; font-size: 0.8125rem; color: var(--color-text-tertiary); }
.auth__footer a { color: var(--color-primary-400); font-weight: var(--fw-medium); }
.auth__footer a:hover { text-decoration: underline; }

/* ===== TESTIMONIALS ===== */
.testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .testimonials__grid { grid-template-columns: 1fr; } }
.testimonial { background: var(--color-bg-card); border-radius: var(--radius-2xl); padding: 1.75rem; border: 1px solid var(--color-border); }
.testimonial__stars { color: #fbbf24; font-size: 0.875rem; margin-bottom: 0.875rem; letter-spacing: 2px; }
.testimonial__quote { font-size: 0.9375rem; line-height: 1.7; color: var(--color-text-tertiary); margin-bottom: 1.25rem; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 0.625rem; }
.testimonial__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: var(--fw-semibold); font-size: 0.75rem; }
.testimonial__name { font-weight: var(--fw-semibold); font-size: 0.8125rem; }
.testimonial__role { font-size: 0.6875rem; color: var(--color-text-muted); }

/* ===== CTA ===== */
.cta { padding: 5rem 0; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--color-border); }
.cta::before { content: ''; position: absolute; inset: 0; background: var(--gradient-glow); pointer-events: none; }
.cta::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.02) 1px, transparent 0); background-size: 32px 32px; pointer-events: none; }
.cta__content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta__title { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: var(--fw-bold); color: var(--color-text-primary); margin-bottom: 0.875rem; line-height: 1.15; letter-spacing: -0.02em; }
.cta__desc { font-size: 1.0625rem; color: var(--color-text-tertiary); margin-bottom: 2rem; line-height: 1.7; }
.cta__actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

/* ===== PROSE ===== */
.prose { max-width: 700px; margin: 0 auto; }
.prose h2 { font-family: var(--font-display); font-size: 1.375rem; font-weight: var(--fw-semibold); margin: 2.5rem 0 0.875rem; color: var(--color-text-primary); }
.prose p { margin-bottom: 1rem; color: var(--color-text-tertiary); line-height: 1.75; }
.prose strong { font-weight: var(--fw-semibold); color: var(--color-text-secondary); }
.prose a { color: var(--color-primary-400); text-decoration: underline; text-underline-offset: 2px; }
.prose code { font-family: var(--font-mono); font-size: 0.875em; background: var(--color-bg-input); padding: 0.125rem 0.375rem; border-radius: var(--radius-sm); }

/* ===== CARDS GRID ===== */
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: var(--color-bg-card); border-radius: var(--radius-2xl); padding: 1.75rem; border: 1px solid var(--color-border); transition: all 0.3s var(--ease-out); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--color-border-hover); }
.card__title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: var(--fw-semibold); margin-bottom: 0.5rem; }
.card__desc { font-size: 0.875rem; line-height: 1.65; color: var(--color-text-tertiary); }

/* ===== FAQ ===== */
.faq { max-width: 640px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__q { display: flex; justify-content: space-between; align-items: center; padding: 1.125rem 0; cursor: pointer; font-weight: var(--fw-medium); font-size: 0.9375rem; color: var(--color-text-primary); background: none; border: none; width: 100%; text-align: left; font-family: var(--font-body); transition: color 0.2s ease; }
.faq__q:hover { color: var(--color-primary-400); }
.faq__icon { font-size: 1.125rem; color: var(--color-text-muted); transition: transform 0.3s ease; }
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__a-inner { padding-bottom: 1.125rem; font-size: 0.8125rem; color: var(--color-text-tertiary); line-height: 1.7; }
.faq__item.open .faq__a { max-height: 300px; }

/* ===== TIMELINE ===== */
.timeline { max-width: 640px; margin: 0 auto; }
.timeline__item { position: relative; padding-left: 2.25rem; padding-bottom: 2.25rem; }
.timeline__item::before { content: ''; position: absolute; left: 7px; top: 22px; bottom: 0; width: 1px; background: var(--color-border); }
.timeline__item:last-child::before { display: none; }
.timeline__dot { position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--gradient-primary); box-shadow: var(--shadow-glow); }
.timeline__date { font-size: 0.6875rem; font-weight: var(--fw-semibold); color: var(--color-primary-400); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.timeline__title { font-family: var(--font-display); font-size: 1rem; font-weight: var(--fw-semibold); margin-bottom: 0.375rem; }
.timeline__desc { font-size: 0.8125rem; color: var(--color-text-tertiary); line-height: 1.65; }

/* ===== FOOTER ===== */
.footer { background: var(--color-bg); border-top: 1px solid var(--color-border); padding: 3.5rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: var(--fw-bold); margin-bottom: 0.875rem; letter-spacing: 0.1em; color: var(--color-text-primary); }
.footer__brand-desc { color: var(--color-text-muted); line-height: 1.65; max-width: 280px; font-size: 0.8125rem; }
.footer__social { display: flex; gap: 0.625rem; margin-top: 1.25rem; }
.footer__social-link { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); border: 1px solid var(--color-border); color: var(--color-text-muted); transition: all 0.2s ease; font-size: 0.75rem; }
.footer__social-link:hover { color: var(--color-primary-400); border-color: rgba(99,102,241,0.3); }
.footer__col-title { font-size: 0.75rem; font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.875rem; color: var(--color-text-secondary); }
.footer__link { display: block; font-size: 0.8125rem; color: var(--color-text-muted); margin-bottom: 0.5rem; transition: color 0.2s ease; }
.footer__link:hover { color: var(--color-primary-400); }
.footer__bottom { border-top: 1px solid var(--color-border); padding: 1.5rem 0; margin-top: 2.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; color: var(--color-text-muted); }
@media (max-width: 640px) { .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; } }
.footer__bottom-links { display: flex; gap: 1.25rem; }
.footer__bottom-link { color: var(--color-text-muted); transition: color 0.2s ease; font-size: 0.8125rem; }
.footer__bottom-link:hover { color: var(--color-text-secondary); }

/* ===== JOB ===== */
.job { padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-2xl); margin-bottom: 0.875rem; transition: all 0.3s var(--ease-out); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.job:hover { border-color: var(--color-border-hover); box-shadow: var(--shadow-md); }
.job__title { font-family: var(--font-display); font-size: 1rem; font-weight: var(--fw-semibold); }
.job__meta { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 0.125rem; }
