/*
 * SongBounty — Music Royalty Intelligence Platform
 * Shared stylesheet  |  Indigo + Rose Gold dark theme
 * ===================================================*/

/* ─── Google Fonts ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ─── Custom Properties ────────────────────────────── */
:root {
  /* palette */
  --bg:             #08091A;
  --bg-surface:     #10132A;
  --bg-card:        #141640;
  --accent:         #4F6AFF;
  --accent-light:   #7B8FFF;
  --highlight:      #E8A0BF;
  --cta:            #FF6B8A;
  --success:        #00C48C;
  --error:          #FF4757;
  --text:           #F0F4FF;
  --text-secondary: #E8E0F0;
  --text-muted:     #7878A0;
  --border:         rgba(79, 106, 255, .12);

  /* derived */
  --glow-accent:    0 0 32px rgba(79, 106, 255, .35);
  --glow-cta:       0 0 32px rgba(255, 107, 138, .30);
  --gradient-brand:  linear-gradient(135deg, var(--accent), var(--highlight));
  --gradient-cta:    linear-gradient(135deg, var(--cta), var(--highlight));
  --gradient-hero:   radial-gradient(ellipse at 30% 0%, rgba(79, 106, 255, .18) 0%, transparent 60%),
                     radial-gradient(ellipse at 70% 100%, rgba(232, 160, 191, .10) 0%, transparent 50%),
                     var(--bg);

  /* typography */
  --font-heading:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  /* spacing scale (rem) */
  --space-xs:  .25rem;
  --space-sm:  .5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* layout */
  --max-width:  1200px;
  --nav-height: 72px;

  /* radii */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-full: 9999px;

  /* transitions */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --duration: .35s;
}

/* ─── CSS Reset ────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

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

ul, ol { list-style: none; }

/* ─── Typography ───────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  color: var(--text-secondary);
  max-width: 65ch;
}

.mono, [data-mono] {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum';
}

small { font-size: .85rem; color: var(--text-muted); }

/* ─── Layout / Container ──────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

section {
  padding-block: var(--space-2xl);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header p {
  margin-inline: auto;
  margin-top: var(--space-md);
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-sm);
}

/* ─── Navigation ───────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              backdrop-filter var(--duration) var(--ease-out);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav.scrolled {
  background: rgba(8, 9, 26, .85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease-out);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 1px;
  transition: width var(--duration) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease-out),
              opacity var(--duration) var(--ease-out);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 9, 26, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: var(--space-lg);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* hero decorative grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 106, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 106, 255, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  pointer-events: none;
}

/* ─── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: .8rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out);
  white-space: nowrap;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--glow-accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 48px rgba(79, 106, 255, .45);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(79, 106, 255, .06);
}

.btn-cta {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: var(--glow-cta);
}

.btn-cta:hover {
  box-shadow: 0 0 48px rgba(255, 107, 138, .45);
  filter: brightness(1.08);
}

.btn-sm {
  padding: .55rem 1.2rem;
  font-size: .85rem;
}

.btn-lg {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
}

/* ─── Cards (Glassmorphism) ────────────────────────── */
.card {
  background: rgba(20, 22, 64, .55);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
  border-color: rgba(79, 106, 255, .25);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(79, 106, 255, .10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.4rem;
}

.card h3 { margin-bottom: var(--space-sm); }

.card p {
  font-size: .95rem;
  color: var(--text-muted);
}

/* ─── Feature Grid ─────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

/* ─── Stats / Counters ─────────────────────────────── */
.stats {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-item .stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-item .stat-label {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ─── Logo / Partner Marquee ───────────────────────── */
.marquee-wrapper {
  overflow: hidden;
  padding-block: var(--space-lg);
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--space-xl);
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track img {
  height: 28px;
  opacity: .45;
  filter: grayscale(1) brightness(2);
  transition: opacity var(--duration) var(--ease-out);
}

.marquee-track img:hover { opacity: .8; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ─── Timeline / How It Works ──────────────────────── */
.timeline {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding-left: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--highlight));
  border-radius: 2px;
}

.timeline-step {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-step:last-child { padding-bottom: 0; }

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: calc(-1 * var(--space-xl) + 6px);
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(79, 106, 255, .4);
}

.timeline-step h3 { margin-bottom: var(--space-xs); }

.timeline-step p {
  font-size: .95rem;
  color: var(--text-muted);
}

/* ─── Testimonials ─────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background: rgba(20, 22, 64, .45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonial-card .quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  padding-left: var(--space-md);
  border-left: 2px solid var(--highlight);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.testimonial-author .author-name {
  font-weight: 600;
  font-size: .95rem;
}

.testimonial-author .author-role {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ─── Forms ────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(16, 19, 42, .8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .95rem;
  transition: border-color var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 106, 255, .15);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, .12);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237878A0'%3E%3Cpath d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-hint {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.form-error {
  font-size: .78rem;
  color: var(--error);
  margin-top: var(--space-xs);
}

/* ─── Footer ───────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-block: var(--space-2xl) var(--space-lg);
}

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

.footer-brand p {
  margin-top: var(--space-sm);
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: .9rem;
  color: var(--text-secondary);
  padding-block: var(--space-xs);
  transition: color var(--duration) var(--ease-out);
}

.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.footer-socials a {
  color: var(--text-muted);
  transition: color var(--duration) var(--ease-out);
}

.footer-socials a:hover { color: var(--accent-light); }

/* ─── Nav Waveform Bars ──────────────────────────────── */
.nav-mark-group {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 30px;
}
.nav-wave.L { flex-direction: row-reverse; }
.nav-wbar {
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(to top, var(--accent, #4F6AFF), var(--highlight, #E8A0BF));
  animation: sb-bp var(--d,1s) ease-in-out infinite alternate var(--dl,0s);
}
.nav-wave .nav-wbar:nth-child(1) { --hmin:4px; --hmax:10px; --d:.72s; --dl:0s; }
.nav-wave .nav-wbar:nth-child(2) { --hmin:8px; --hmax:18px; --d:1s; --dl:.14s; }
.nav-wave .nav-wbar:nth-child(3) { --hmin:12px; --hmax:24px; --d:.86s; --dl:.04s; }

@keyframes sb-bp {
  0%   { height: var(--hmin, 4px); }
  100% { height: var(--hmax, 24px); }
}

/* ─── Floating Music Notes ─────────────────────────── */
.music-notes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.music-note {
  position: absolute;
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0;
  animation: float-note 12s ease-in-out infinite;
  color: var(--accent);
  /* ensure Font Awesome <i> tags inherit colour and sizing */
}

.music-note i {
  display: inline-block;
  font-size: inherit;
  color: inherit;
}

.music-note:nth-child(1) { left: 8%;  animation-delay: 0s;   }
.music-note:nth-child(2) { left: 22%; animation-delay: 2.5s; }
.music-note:nth-child(3) { left: 45%; animation-delay: 5s;   }
.music-note:nth-child(4) { left: 65%; animation-delay: 7.5s; }
.music-note:nth-child(5) { left: 85%; animation-delay: 10s;  }
.music-note:nth-child(6) { left: 35%; animation-delay: 1.5s; color: var(--highlight); }
.music-note:nth-child(7) { left: 55%; animation-delay: 4s;   color: var(--highlight); }
.music-note:nth-child(8) { left: 75%; animation-delay: 8.5s; }

@keyframes float-note {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg) scale(.7);
  }
  10% { opacity: .12; }
  90% { opacity: .12; }
  100% {
    opacity: 0;
    transform: translateY(-10vh) rotate(45deg) scale(1);
  }
}

/* ─── Utility: Text Gradient ──────────────────────── */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Utility: Glow ────────────────────────────────── */
.glow {
  box-shadow: var(--glow-accent);
}

.glow-cta {
  box-shadow: var(--glow-cta);
}

/* ─── Utility: Misc ────────────────────────────────── */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.mx-auto      { margin-inline: auto; }
.relative     { position: relative; }
.overflow-hidden { overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Animation Helpers (AOS / JS triggers) ────────── */
.fade-in,
.slide-up,
.slide-left,
.slide-right {
  opacity: 0;
  transition: opacity .7s var(--ease-out),
              transform .7s var(--ease-out);
  will-change: opacity, transform;
}

.fade-in              { transform: none; }
.slide-up             { transform: translateY(40px); }
.slide-left           { transform: translateX(40px); }
.slide-right          { transform: translateX(-40px); }

.fade-in.visible,
.slide-up.visible,
.slide-left.visible,
.slide-right.visible,
/* AOS compatibility */
.fade-in[data-aos].aos-animate,
.slide-up[data-aos].aos-animate,
.slide-left[data-aos].aos-animate,
.slide-right[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0);
}

/* stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * .1s); }

/* ─── Responsive: Tablet (768px) ──────────────────── */
@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero {
    min-height: auto;
    padding-block: calc(var(--nav-height) + var(--space-xl)) var(--space-xl);
    text-align: center;
  }

  .hero p { margin-inline: auto; }
  .hero-actions { justify-content: center; }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    padding-left: var(--space-lg);
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-step::before {
    left: calc(-1 * var(--space-lg) + 1px);
  }
}

/* ─── Responsive: Mobile (480px) ──────────────────── */
@media (max-width: 480px) {
  :root {
    --space-2xl: 3rem;
    --space-xl: 2.5rem;
  }

  .container { padding-inline: var(--space-md); }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn { width: 100%; }
}

/* ─── Reduced Motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html { scroll-behavior: auto; }
}

/* ─── Selection ────────────────────────────────────── */
::selection {
  background: rgba(79, 106, 255, .3);
  color: var(--text);
}

/* ─── Scrollbar (Webkit) ──────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(79, 106, 255, .25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(79, 106, 255, .4);
}
