/* ============================================================
   The Peptide App — Landing Page Design System V2
   World-class redesign: Clash Display + Satoshi, custom buttons,
   glassmorphism cards, premium hero backgrounds
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Backgrounds (defaults — overridden per variant) */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #020617;
  --bg-surface: #334155;

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-disabled: #64748b;

  /* Brand (defaults — overridden per variant) */
  --brand-primary: #06b6d4;
  --brand-primary-hover: #0891b2;
  --brand-primary-muted: #164e63;
  --brand-secondary: #8b5cf6;
  --brand-secondary-muted: #4c1d95;

  /* Semantic */
  --success: #10b981;
  --success-bg: #065f46;
  --warning: #f59e0b;
  --warning-bg: #78350f;
  --error: #ef4444;
  --error-bg: #7f1d1d;
  --info: #3b82f6;
  --info-bg: #1e3a8a;

  /* Borders */
  --border-default: #334155;
  --border-subtle: #1e293b;
  --border-strong: #475569;

  /* Typography */
  --font-display: 'Clash Display', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-primary: 'Satoshi', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Spacing (base: 4px) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ============================================================
   Reset / Normalize
   ============================================================ */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  line-height: 1.15;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--brand-primary-hover); }
a:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   Accessibility
   ============================================================ */

.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--brand-primary);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--transition-fast);
}
.skip-to-content:focus { top: 0; color: var(--bg-primary); }
:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   Typography — Clash Display (display) + Satoshi (body)
   ============================================================ */

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-wrap: balance;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-wrap: balance;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--text-primary);
}

.body-lg { font-size: 18px; line-height: 1.7; }
.body-sm { font-size: 14px; line-height: 1.5; }
.caption { font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: 0.02em; }
.mono { font-family: var(--font-mono); }
.text-brand { color: var(--brand-primary); }
.text-muted { color: var(--text-tertiary); }

.text-gradient {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   Layout Utilities
   ============================================================ */

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
.container--narrow { max-width: 720px; }

.section { padding: var(--space-3xl) 0; }
.section--tight { padding: var(--space-2xl) 0; }
.section--spacious { padding: var(--space-4xl) 0; }
.section--alt { background: var(--bg-secondary); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.text-center { text-align: center; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

@media (max-width: 767px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
  .md\:grid-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Components — Buttons (Premium Custom)
   ============================================================ */

.btn--primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary) 0%, color-mix(in srgb, var(--brand-primary) 70%, #000) 100%);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 60%, transparent);
  border-radius: 10px;
  box-shadow: 0 0 0 0 transparent, inset 0 1px 0 rgba(255,255,255,0.12), 0 4px 16px color-mix(in srgb, var(--brand-primary) 30%, transparent);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}
.btn--primary:hover {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 25%, transparent), inset 0 1px 0 rgba(255,255,255,0.15), 0 8px 24px color-mix(in srgb, var(--brand-primary) 40%, transparent);
  transform: translateY(-1px);
  color: #fff;
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.btn--primary:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.btn--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: rgba(255,255,255,0.8);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}
.btn--secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
}
.btn--secondary:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.btn--xl { padding: 16px 32px; font-size: 16px; }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--primary svg, .btn--secondary svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--xl svg { width: 22px; height: 22px; }

.btn--pulse { animation: pulse-glow 2s ease-in-out infinite; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 transparent, inset 0 1px 0 rgba(255,255,255,0.12), 0 4px 16px color-mix(in srgb, var(--brand-primary) 30%, transparent); }
  50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 15%, transparent), inset 0 1px 0 rgba(255,255,255,0.12), 0 4px 16px color-mix(in srgb, var(--brand-primary) 30%, transparent); }
}

/* ============================================================
   Components — Badge (Brand-tinted pill)
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-primary) 30%, transparent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
  line-height: 1.4;
}
.badge--lg { padding: 6px 16px; font-size: 12px; }

/* ============================================================
   Components — Hero Section (Premium)
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
}

/* Noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero--showcase {
  padding-top: calc(64px + var(--space-lg));
  padding-bottom: var(--space-lg);
  text-align: center;
  background: var(--bg-primary);
}

.hero__badge { margin-bottom: var(--space-lg); }
.hero--showcase .hero__title { margin-bottom: var(--space-sm); }

.hero--showcase .hero__subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-md);
}

.hero--showcase .hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero--showcase .hero__proof {
  font-size: 14px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.hero__proof svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

/* ============================================================
   Hero Screenshots — Mobile horizontal scroll
   ============================================================ */

.hero__screenshots {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 16px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero__screenshots::-webkit-scrollbar { display: none; }

.hero__screenshots .screenshot-item {
  flex: 0 0 auto;
  width: 140px;
  scroll-snap-align: start;
  text-align: center;
}

.hero__screenshots .screenshot-item img {
  width: 140px;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

.hero__screenshots .screenshot-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 6px 0 0;
  font-weight: 500;
}

/* ============================================================
   Hero — Desktop 2-column layout
   ============================================================ */

@media (min-width: 1024px) {
  .hero--showcase .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 48px;
    overflow: hidden;
  }
  .hero--showcase .hero__copy { text-align: left; min-width: 0; }
  .hero--showcase .hero__subtitle { margin-left: 0; margin-right: 0; }
  .hero--showcase .hero__cta { justify-content: flex-start; }
  .hero--showcase .hero__proof { justify-content: flex-start; }

  .hero__screenshots-wrapper {
    width: 400px;
    max-width: 400px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .hero__screenshots {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px;
    overflow: hidden !important;
    padding: 0 !important;
    width: 100% !important;
    scroll-snap-type: none !important;
  }
  .hero__screenshots .screenshot-item {
    flex: none !important;
    width: auto !important;
    scroll-snap-align: unset !important;
    min-width: 0;
  }
  .hero__screenshots .screenshot-item:first-child {
    grid-column: 1;
    grid-row: span 2;
  }
  .hero__screenshots .screenshot-item img {
    width: 100% !important;
    max-width: none !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) !important;
  }
  .hero__screenshots .screenshot-item:nth-child(n+6) { display: none; }
}

/* ============================================================
   Components — Social Proof / Stats Bar
   ============================================================ */

.social-proof { padding: var(--space-xl) 0; }

.social-proof__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.stat-block { text-align: center; min-width: 80px; }

.stat-block__value {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-block__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.stat-block--bordered {
  padding: 0 var(--space-lg);
  border-right: 1px solid var(--border-subtle);
}
.stat-block--bordered:last-child { border-right: none; }

@media (max-width: 480px) {
  .social-proof__stats { gap: var(--space-md); }
  .stat-block--bordered { padding: 0 var(--space-sm); }
}

/* ============================================================
   Components — Feature Grid (Glassmorphism)
   ============================================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 767px) { .feature-grid { grid-template-columns: 1fr; gap: var(--space-sm); } }
@media (min-width: 768px) and (max-width: 1023px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }

.feature-grid__item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s;
}
.feature-grid__item:hover {
  background: rgba(255,255,255,0.05);
  border-color: color-mix(in srgb, var(--brand-primary) 30%, transparent);
}

.feature-grid__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--brand-primary);
}
.feature-grid__icon--secondary {
  background: color-mix(in srgb, var(--brand-secondary, var(--brand-primary)) 12%, transparent);
  color: var(--brand-secondary, var(--brand-primary));
}

.feature-grid__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.feature-grid__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-tertiary);
}

/* ============================================================
   Components — Testimonials
   ============================================================ */

.testimonial {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonial__stars { color: var(--warning); font-size: 18px; letter-spacing: 2px; }
.testimonial__quote { font-size: 15px; line-height: 1.6; color: var(--text-secondary); font-style: normal; flex: 1; }
.testimonial__footer { display: flex; align-items: center; gap: var(--space-sm); }
.testimonial__avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.testimonial__author { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.testimonial__role { font-size: 12px; color: var(--text-tertiary); }

/* ============================================================
   Components — FAQ
   ============================================================ */

.faq { max-width: 680px; margin: 0 auto; }
.faq__heading { margin-bottom: var(--space-xl); }
.faq__item { border-bottom: 1px solid var(--border-subtle); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}
.faq__question:hover { color: var(--brand-primary); }

.faq__icon {
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform var(--transition-base);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.faq__item.is-open .faq__answer { max-height: 300px; padding-bottom: var(--space-md); }

/* ============================================================
   Components — Store Buttons
   ============================================================ */

.store-buttons { display: flex; justify-content: center; gap: var(--space-md); flex-wrap: wrap; }

.store-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
.store-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-btn__label { display: block; font-size: 10px; color: var(--text-tertiary); line-height: 1.2; }
.store-btn__name { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }

/* ============================================================
   Components — Trust Bar
   ============================================================ */

.trust-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-lg); }
.trust-bar--card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: var(--space-md) var(--space-lg);
}
.trust-item { display: flex; align-items: center; gap: var(--space-sm); font-size: 13px; font-weight: 500; color: var(--text-tertiary); }
.trust-item svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 480px) {
  .trust-bar { gap: var(--space-md); }
  .trust-bar--card { padding: var(--space-sm) var(--space-md); }
  .trust-item { font-size: 12px; }
}

/* ============================================================
   Components — Final CTA Section
   ============================================================ */

.final-cta { text-align: center; position: relative; }
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, color-mix(in srgb, var(--brand-primary) 12%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   Components — Top Bar
   ============================================================ */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar--fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.topbar__logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.topbar__logo span { color: var(--brand-primary); }

/* ============================================================
   Components — Sticky CTA (Mobile)
   ============================================================ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-sm) var(--space-md);
}
.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}
.sticky-cta__text { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ============================================================
   Components — Footer
   ============================================================ */

.footer { padding: var(--space-2xl) 0; border-top: 1px solid var(--border-subtle); }
.footer__content { text-align: center; }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.footer__links a { font-size: 14px; color: var(--text-tertiary); }
.footer__links a:hover { color: var(--text-primary); }
.footer__text { font-size: 13px; color: var(--text-disabled); margin-bottom: var(--space-md); }
.footer__disclaimer { font-size: 11px; line-height: 1.6; color: var(--text-disabled); max-width: 640px; margin: 0 auto; }

/* ============================================================
   Animations
   ============================================================ */

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.is-visible { opacity: 1; transform: translateX(0); }
.fade-in-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in-stagger > *.is-visible { opacity: 1; transform: translateY(0); }
.fade-in-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.fade-in-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.fade-in-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.fade-in-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.fade-in-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.fade-in-stagger > *:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .fade-in, .fade-in-left, .fade-in-stagger > * { opacity: 1; transform: none; }
}
