/* ============================================================
   GROOVALOT PRODUCTIONZ — Design Tokens & Component Styles
   Art direction: Dark, urban hip-hop aesthetic.
   Logo: monochrome/silver on black with graffiti lettering,
   mic, MPC pad, city skyline, music notes.
   ============================================================ */

/* --- Type Scale -------------------------------------------- */
:root {
  --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.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* --- Spacing (4px base) ---------------------------------- */
  --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;
  --space-32: 8rem;

  /* --- Fonts ----------------------------------------------- */
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Inter', 'Helvetica Neue', sans-serif;

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

  /* --- Easing ---------------------------------------------- */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Content widths -------------------------------------- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* === COLOR PALETTE — Dark hip-hop aesthetic ================= */
:root {
  --color-bg:           #0a0a0a;
  --color-surface:      #111111;
  --color-surface-2:    #1a1a1a;
  --color-surface-3:    #222222;
  --color-border:       rgba(255,255,255,0.08);
  --color-divider:      rgba(255,255,255,0.06);

  --color-text:         #e8e6e3;
  --color-text-muted:   #8a8a8a;
  --color-text-faint:   #555555;

  /* Accent: electric blue (from city/neon vibe) */
  --color-accent:       #00d4ff;
  --color-accent-hover: #00b8e0;
  --color-accent-glow:  rgba(0, 212, 255, 0.15);

  /* Secondary: metallic gold */
  --color-gold:         #d4a017;
  --color-gold-hover:   #b8891a;
  --color-gold-glow:    rgba(212, 160, 23, 0.15);

  /* Tertiary: hot pink / neon */
  --color-pink:         #ff2d78;
  --color-pink-hover:   #e0245a;

  /* Status */
  --color-success:      #22c55e;
  --color-error:        #ef4444;
  --color-warning:      #f59e0b;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 20px var(--color-accent-glow);
}

/* === GLOBAL LAYOUT ========================================= */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* === SKIP LINK ============================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-accent);
  color: #000;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 1000;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--space-2);
}

/* === NAVIGATION ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.navbar--hidden { transform: translateY(-100%); }
.navbar--scrolled { box-shadow: var(--shadow-md); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  max-width: var(--content-wide);
  margin-inline: auto;
}
.navbar__logo {
  height: 48px;
  width: auto;
}
.navbar__links {
  display: none;
  list-style: none;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 1024px) {
  .navbar__links { display: flex; }
}
.navbar__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--color-text);
}
.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

/* CTA button in nav */
.navbar__cta {
  background: var(--color-accent);
  color: #000;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.navbar__cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 200;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mobile-menu a:hover {
  color: var(--color-accent);
}

/* === HERO ================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--color-bg) 100%),
              radial-gradient(ellipse at 30% 20%, rgba(0,212,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(212,160,23,0.06) 0%, transparent 60%);
  z-index: 1;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: var(--space-8) var(--space-4);
}
.hero__logo {
  width: clamp(200px, 40vw, 420px);
  margin-inline: auto;
  margin-bottom: var(--space-8);
  filter: drop-shadow(0 0 30px rgba(0,212,255,0.2));
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(0,212,255,0.2)); }
  50% { filter: drop-shadow(0 0 50px rgba(0,212,255,0.35)); }
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}
.hero__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-inline: auto;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* === BUTTONS =============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text-muted);
}
.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}
.btn--gold {
  background: var(--color-gold);
  color: #000;
  border-color: var(--color-gold);
}
.btn--gold:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--color-gold-glow);
}
.btn:active {
  transform: translateY(0);
}

/* === SECTION HEADERS ======================================= */
.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}
.section-header__label {
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.section-header__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-header__line {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: var(--space-4) auto 0;
  border-radius: var(--radius-full);
}

/* === CARDS ================================================= */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,212,255,0.15);
}
.card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card__body {
  padding: var(--space-5);
}
.card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* === GRID LAYOUTS ========================================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === SERVICES / FEATURES LIST ============================== */
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: left;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,212,255,0.2);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* === BEAT STORE ============================================ */
.beat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  justify-content: center;
}
.beat-filter {
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.beat-filter:hover, .beat-filter.active {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}
.beat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: all 0.3s var(--ease-out);
}
.beat-card:hover {
  border-color: rgba(0,212,255,0.2);
  box-shadow: var(--shadow-md);
}
.beat-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.beat-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  color: var(--color-text);
}
.beat-card__price {
  font-weight: 700;
  color: var(--color-gold);
  font-size: var(--text-base);
}
.beat-card__meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.beat-card__meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
/* Waveform player */
.waveform {
  height: 48px;
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.waveform__bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 100%;
  padding: 8px;
}
.waveform__bar {
  width: 3px;
  background: var(--color-text-faint);
  border-radius: 2px;
  transition: background 0.2s;
}
.waveform.playing .waveform__bar {
  background: var(--color-accent);
  animation: waveAnim 0.6s ease-in-out infinite alternate;
}
@keyframes waveAnim {
  from { transform: scaleY(0.4); }
  to { transform: scaleY(1); }
}
.beat-card__actions {
  display: flex;
  gap: var(--space-2);
}
.beat-card__actions .btn {
  flex: 1;
  justify-content: center;
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-3);
}

/* Licensing tiers */
.license-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .license-tiers { grid-template-columns: repeat(3, 1fr); }
}
.license-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.license-card--featured {
  border-color: var(--color-gold);
}
.license-card--featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-gold);
  color: #000;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.license-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-transform: uppercase;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}
.license-card__price {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.license-card__price span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 400;
}
.license-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-6);
}
.license-card__features li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.license-card__features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
}

/* === ARTIST ROSTER ========================================= */
.artist-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.artist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-glow);
}
.artist-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.5s;
}
.artist-card:hover .artist-card__img {
  filter: grayscale(0%);
}
.artist-card__info {
  padding: var(--space-5);
}
.artist-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.artist-card__genre {
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.artist-card__socials {
  display: flex;
  gap: var(--space-3);
}
.artist-card__socials a {
  color: var(--color-text-muted);
  transition: color 0.2s, transform 0.2s;
}
.artist-card__socials a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* === MOVIE PORTFOLIO ======================================= */
.movie-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.movie-card__poster {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.movie-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
}
.movie-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  color: #fff;
}
.movie-card__type {
  font-size: var(--text-xs);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.movie-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  background: rgba(0,212,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s var(--ease-out);
}
.movie-card:hover .movie-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* === BLOG ================================================== */
.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
@media (min-width: 640px) {
  .blog-card--featured {
    grid-template-columns: 1fr 1fr;
  }
}
.blog-card:hover {
  border-color: rgba(0,212,255,0.15);
  transform: translateY(-2px);
}
.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  text-decoration: none;
}
.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.blog-card__read-more {
  margin-top: var(--space-3);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-card__read-more:hover {
  color: var(--color-accent-hover);
}

/* === SHOP / MERCH ========================================== */
.merch-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.merch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.merch-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--color-surface-2);
}
.merch-card__info {
  padding: var(--space-4);
}
.merch-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.merch-card__price {
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-weight: 700;
}

/* === CONTACT FORM ========================================== */
.form-group {
  margin-bottom: var(--space-4);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-base);
}
.form-input:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}
textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

/* === TIMELINE ============================================== */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 2px;
  background: var(--color-border);
}
.timeline__item {
  position: relative;
  margin-bottom: var(--space-8);
}
.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-8) + 8px);
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 3px solid var(--color-bg);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}
.timeline__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* === FOOTER ================================================ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0 var(--space-6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer__brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  line-height: 1.7;
}
.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}
.footer__links {
  list-style: none;
}
.footer__links li {
  margin-bottom: var(--space-2);
}
.footer__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
}
.footer__links a:hover {
  color: var(--color-accent);
}

/* Social icons */
.social-icons {
  display: flex;
  gap: var(--space-3);
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}
.social-icon:hover {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.social-icon svg {
  width: 18px;
  height: 18px;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
}
.newsletter-form .btn {
  white-space: nowrap;
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__bottom a {
  color: var(--color-text-faint);
  text-decoration: none;
}
.footer__bottom a:hover {
  color: var(--color-accent);
}

/* === ANIMATIONS ============================================ */
.fade-in { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: revealFade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}
@keyframes revealFade { to { opacity: 1; } }

.reveal-up { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .reveal-up {
    clip-path: inset(100% 0 0 0);
    animation: revealClip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}
@keyframes revealClip { to { clip-path: inset(0 0 0 0); } }

/* Fallback animations for browsers without scroll-timeline */
@supports not (animation-timeline: scroll()) {
  .fade-in, .reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }
  .fade-in.visible, .reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === MARQUEE ============================================== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) 0;
}
.marquee__inner {
  display: inline-flex;
  animation: marqueeScroll 30s linear infinite;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  padding: 0 var(--space-8);
}
.marquee__item .accent { color: var(--color-accent); }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === STATS BAR ============================================= */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  padding: var(--space-8) 0;
}
@media (min-width: 768px) {
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  text-align: center;
}
.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
}
.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === TESTIMONIALS ========================================== */
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}
.testimonial__quote {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-4);
}
.testimonial__quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}
.testimonial__author {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.testimonial__author strong {
  color: var(--color-text);
}

/* === PRICING TABLE ========================================= */
.pricing-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.pricing-compare th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}
.pricing-compare td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text-muted);
}
.pricing-compare tr:hover td {
  background: var(--color-surface);
}

/* === MODAL ================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-8);
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-out);
}
.modal-overlay.open .modal {
  transform: scale(1);
}
.modal__close {
  float: right;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.modal__close:hover {
  color: var(--color-text);
}

/* === MISC ================================================== */
.text-accent { color: var(--color-accent); }
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.py-2 { padding-block: var(--space-2); }
.bg-surface { background: var(--color-surface); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Page-specific: Legal pages */
.legal-content {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding: var(--space-8) var(--space-4);
}
.legal-content h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--color-accent);
}
.legal-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.legal-content ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}
.legal-content ul li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
