/* ========================================================================
   CVenIA Landing Page — Style Sheet
   Colors: Blue → Purple → Pink gradient (brand identity)
   ======================================================================== */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* === DESIGN TOKENS === */
:root {
  /* Brand Colors */
  --blue: #4F46E5;
  --indigo: #6366F1;
  --purple: #8B5CF6;
  --violet: #A78BFA;
  --pink: #D946EF;
  --magenta: #EC4899;
  --rose: #F472B6;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 40%, #D946EF 100%);
  --gradient-soft: linear-gradient(135deg, #EEF2FF 0%, #FAE8FF 50%, #FDF2F8 100%);
  --gradient-hero-bg: linear-gradient(160deg, #F0F0FF 0%, #F8F4FF 25%, #FFF5FA 50%, #F0F0FF 75%, #FDF8FF 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(168,85,247,0.2), rgba(236,72,153,0.15));
  --gradient-text: linear-gradient(135deg, #4F46E5, #8B5CF6, #D946EF);

  /* Surfaces */
  --color-bg: #F8F7FF;
  --color-surface: #FFFFFF;
  --color-surface-glass: rgba(255, 255, 255, 0.7);

  /* Text */
  --color-text: #1E1B4B;
  --color-text-secondary: #4B5563;
  --color-text-muted: #9CA3AF;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);
  --text-xl: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  --text-3xl: clamp(2rem, 1rem + 3vw, 3.25rem);

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(99,102,241,0.06), 0 1px 2px rgba(99,102,241,0.04);
  --shadow-md: 0 4px 16px rgba(99,102,241,0.08), 0 2px 6px rgba(99,102,241,0.04);
  --shadow-lg: 0 12px 40px rgba(99,102,241,0.12), 0 4px 12px rgba(99,102,241,0.06);
  --shadow-glow: 0 0 40px rgba(139,92,246,0.15);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; height: auto; }

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

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container--narrow {
  max-width: 780px;
}

/* === BACKGROUND DECORATIONS === */
.bg-decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}
.bg-blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
  top: -10%; left: -10%;
}
.bg-blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(217,70,239,0.12), transparent 70%);
  top: 30%; right: -10%;
}
.bg-blob--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.1), transparent 70%);
  bottom: 20%; left: 10%;
}
.bg-blob--4 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.1), transparent 70%);
  bottom: -5%; right: 20%;
}

/* Decorative diamonds */
.deco-diamond {
  position: absolute;
  transform: rotate(45deg);
  border-radius: 2px;
  pointer-events: none;
}

/* Sparkle stars */
.deco-sparkle {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.3;
}
.deco-sparkle::before,
.deco-sparkle::after {
  content: '';
  position: absolute;
  background: linear-gradient(135deg, #8B5CF6, #D946EF);
  border-radius: 50%;
}
.deco-sparkle::before {
  width: 2px;
  height: 16px;
  top: 2px;
  left: 9px;
}
.deco-sparkle::after {
  width: 16px;
  height: 2px;
  top: 9px;
  left: 2px;
}
.deco-sparkle--sm {
  width: 12px;
  height: 12px;
  opacity: 0.2;
}
.deco-sparkle--sm::before {
  width: 1.5px;
  height: 10px;
  top: 1px;
  left: 5.25px;
}
.deco-sparkle--sm::after {
  width: 10px;
  height: 1.5px;
  top: 5.25px;
  left: 1px;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,247,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(99,102,241,0.08);
  padding: var(--space-3) 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }

.header-nav {
  display: flex;
  gap: var(--space-6);
  margin-left: auto;
}
.header-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.header-nav a:hover {
  color: var(--indigo);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: none;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn--primary:hover {
  box-shadow: 0 6px 28px rgba(99,102,241,0.4);
  transform: translateY(-1px);
}

.btn--outline {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1.5px solid rgba(99,102,241,0.25);
}
.btn--outline:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: rgba(99,102,241,0.04);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-xs);
}

/* === HERO === */
.hero {
  position: relative;
  z-index: 1;
  padding: var(--space-16) 0 var(--space-10);
  background: var(--gradient-hero-bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

/* Hero logo - large, above the title */
.hero__logo {
  height: 140px;
  width: auto;
  margin-bottom: var(--space-6);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero__description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 480px;
}
.hero__description + .hero__description {
  margin-top: var(--space-3);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hero__tagline {
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(99,102,241,0.12);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Visual / App Mockup */
.hero__visual {
  position: relative;
  overflow: visible;
  padding-right: var(--space-6);
}

.app-mockup {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  border: 1px solid rgba(99,102,241,0.1);
}

.app-mockup__browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(248,247,255,0.95);
  border-bottom: 1px solid rgba(99,102,241,0.06);
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot--red { background: #FF6B6B; }
.dot--yellow { background: #FFD93D; }
.dot--green { background: #6BCB77; }

.app-mockup__url {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-left: 8px;
  font-family: var(--font-body);
}

.app-mockup__screenshot {
  width: 100%;
  display: block;
}

/* Floating Score Card */
.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(99,102,241,0.12);
  animation: floatUp 3s ease-in-out infinite alternate;
}

.floating-card--score {
  top: 10%;
  right: 2%;
  padding: 16px 20px;
  min-width: 210px;
  z-index: 10;
}

.score-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.score-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.score-percent {
  font-size: 1.5rem;
}
.score-items {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.score-item {
  font-size: 11px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.score-check {
  font-size: 12px;
  font-weight: 700;
}
.score-check--green { color: #10B981; }

@keyframes floatUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* Decorative Diamonds */
.diamond {
  position: absolute;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  border-radius: 2px;
}
.diamond--1 {
  top: 10%;
  right: -5%;
  background: var(--gradient-primary);
  opacity: 0.4;
  width: 16px; height: 16px;
}
.diamond--2 {
  bottom: 20%;
  right: -8%;
  background: var(--gradient-primary);
  opacity: 0.25;
  width: 10px; height: 10px;
}
.diamond--3 {
  top: 50%;
  left: -3%;
  background: var(--gradient-primary);
  opacity: 0.2;
  width: 8px; height: 8px;
}

/* === SECTIONS === */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.section__title--italic {
  font-style: italic;
}

.section__title--decorated {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.section__title--decorated::before,
.section__title--decorated::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.2), transparent);
}

.section__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section__highlight {
  font-size: var(--text-lg);
  font-weight: 500;
  text-align: center;
  color: var(--color-text);
  margin-top: var(--space-4);
  letter-spacing: 0.01em;
}

/* === STEPS SECTION === */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.step-card {
  flex: 1;
  max-width: 280px;
  background: var(--color-surface-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-5);
  border: 1px solid rgba(99,102,241,0.1);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-smooth);
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.2);
}

.step-card__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-1);
}

.step-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.step-card__illustration {
  width: 100%;
  max-width: 160px;
  margin: 0 auto;
}
.step-card__illustration svg {
  width: 100%;
  height: auto;
}

.step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.5;
}

/* === FEATURES SECTION === */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.feature-card {
  text-align: center;
  background: var(--color-surface-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-5);
  border: 1px solid rgba(99,102,241,0.1);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.2);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}
.feature-card__icon svg {
  width: 36px;
  height: 36px;
}

.feature-card__icon--blue {
  background: linear-gradient(135deg, #EEF2FF, #DBEAFE);
  color: #4F46E5;
}
.feature-card__icon--purple {
  background: linear-gradient(135deg, #F3E8FF, #EDE9FE);
  color: #7C3AED;
}
.feature-card__icon--indigo {
  background: linear-gradient(135deg, #E0E7FF, #EEF2FF);
  color: #6366F1;
}
.feature-card__icon--pink {
  background: linear-gradient(135deg, #FCE7F3, #FAE8FF);
  color: #D946EF;
}

.feature-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.feature-card__text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* === AUDIENCE SECTION === */
.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.audience-card {
  text-align: center;
  background: var(--color-surface-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  border: 1px solid rgba(99,102,241,0.1);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}
.audience-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.2);
}

.audience-card__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}
.audience-card__icon svg {
  width: 42px;
  height: 42px;
}

.audience-card__icon--blue {
  background: linear-gradient(135deg, #EEF2FF, #DBEAFE);
  color: #4F46E5;
}
.audience-card__icon--purple {
  background: linear-gradient(135deg, #F3E8FF, #EDE9FE);
  color: #7C3AED;
}
.audience-card__icon--gradient {
  background: linear-gradient(135deg, #E0E7FF, #FCE7F3);
  color: #6366F1;
}

.audience-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.audience-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* === AI SECTION === */
.section--ai {
  background: var(--gradient-soft);
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
  margin-top: var(--space-8);
}

.section--ai .section__title {
  font-size: var(--text-2xl);
}

/* === FOOTER === */
.site-footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.03));
  border-top: 1px solid rgba(99,102,241,0.08);
  padding: var(--space-12) 0 var(--space-8);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.footer__logo {
  height: 100px;
  width: auto;
  margin: 0 auto var(--space-4);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}
.footer__links a:hover {
  color: var(--indigo);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(99,102,241,0.12);
  box-shadow: 0 -4px 24px rgba(99,102,241,0.08);
  padding: var(--space-5) var(--space-6);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.cookie-banner--visible {
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.cookie-banner__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
  max-width: none;
}
.cookie-banner__text a {
  color: var(--indigo);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
  }
}

/* Footer legal link */
.footer__copy a {
  color: var(--indigo);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}
.footer__copy a:hover {
  color: var(--purple);
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for cards */
.step-card.reveal:nth-child(1) { transition-delay: 0ms; }
.step-card.reveal:nth-child(3) { transition-delay: 150ms; }
.step-card.reveal:nth-child(5) { transition-delay: 300ms; }

.feature-card.reveal:nth-child(1) { transition-delay: 0ms; }
.feature-card.reveal:nth-child(2) { transition-delay: 100ms; }
.feature-card.reveal:nth-child(3) { transition-delay: 200ms; }
.feature-card.reveal:nth-child(4) { transition-delay: 300ms; }

.audience-card.reveal:nth-child(1) { transition-delay: 0ms; }
.audience-card.reveal:nth-child(2) { transition-delay: 120ms; }
.audience-card.reveal:nth-child(3) { transition-delay: 240ms; }

/* Ensure content is visible without JS or when observer hasn't fired */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .floating-card--score {
    right: -5%;
    min-width: 170px;
    padding: 12px 16px;
  }
  .score-value { font-size: 2rem; }
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-10) 0 var(--space-8);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero__title {
    font-size: clamp(1.75rem, 1.2rem + 2.5vw, 2.5rem);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-card--score {
    top: auto;
    bottom: -10%;
    right: 5%;
    min-width: 160px;
    padding: 10px 14px;
  }
  .score-value { font-size: 1.75rem; }

  .header-nav { display: none; }

  .steps {
    flex-direction: column;
    gap: var(--space-4);
  }
  .step-card {
    max-width: 100%;
  }
  .step-arrow {
    transform: rotate(90deg);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .audience-cards {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .section__title--decorated {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
  }
  .section__title--decorated::before,
  .section__title--decorated::after {
    flex-basis: 30%;
    flex-grow: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .hero__title {
    font-size: 1.6rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .floating-card { animation: none; }
}

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* === SELECTION === */
::selection {
  background: rgba(99,102,241,0.2);
  color: var(--color-text);
}