/* ============================================
   Marsen Live – Eventagentur One Pager
   Dark cinematic theme with gold accents
   ============================================ */

/* ---- Local fonts ---- */

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/bebas-neue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #030303;
  --black-soft: #0a0a0c;
  --black-card: rgba(14, 14, 16, 0.75);
  --black-elevated: #1a1a1e;
  --gold: #d4af37;
  --gold-light: #f5d76e;
  --gold-dark: #a67c00;
  --gold-glow: rgba(212, 175, 55, 0.45);
  --gold-glow-strong: rgba(240, 208, 96, 0.3);
  --white: #ffffff;
  --gray-100: #f0f0f0;
  --gray-300: #c8c8d0;
  --gray-500: #9494a0;
  --gray-700: #5c5c68;
  --glass-border: rgba(212, 175, 55, 0.12);
  --glass-shine: rgba(255, 255, 255, 0.04);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-height: 72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 14px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212, 175, 55, 0.03) 0%, transparent 45%);
  color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Background particles ---- */

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ---- Header ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(3, 3, 3, 0.96);
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.12), 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 769px) {
  .header.scrolled {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.nav-logo:hover {
  color: inherit;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 0.88;
  gap: 0.05em;
}

.brand-mark-marsen {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.brand-mark-live {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.48em;
  text-indent: 0.48em;
  text-transform: uppercase;
  color: #f2f2f2;
}

.brand-mark-footer {
  margin-bottom: 0.35rem;
}

.brand-mark-footer .brand-mark-marsen {
  font-size: 2rem;
}

.brand-mark-footer .brand-mark-live {
  font-size: 0.95rem;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--gray-100);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}

.nav-menu a.active {
  color: var(--gold-light);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.35rem !important;
  border: none !important;
  border-radius: 999px;
  color: var(--black) !important;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%) !important;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  text-shadow: none !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%) !important;
  color: var(--black) !important;
}

.nav-menu a.nav-cta.active {
  color: var(--black) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1102;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: -8%;
  z-index: 0;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0.88;
}

.hero-beams {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-beam {
  position: absolute;
  top: -15%;
  width: min(420px, 48vw);
  height: 130%;
  background: linear-gradient(
    180deg,
    rgba(255, 230, 160, 0.18) 0%,
    rgba(212, 175, 55, 0.1) 30%,
    rgba(212, 175, 55, 0.04) 58%,
    transparent 85%
  );
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen;
  opacity: 0.45;
  filter: blur(18px);
}

.hero-beam-1 {
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 58vw);
  animation: beamPulseCenter 10s ease-in-out infinite;
}

.hero-beam-2 {
  left: 12%;
  transform: rotate(-14deg);
  transform-origin: top center;
  animation: beamPulse 12s ease-in-out 1s infinite;
}

.hero-beam-3 {
  right: 10%;
  left: auto;
  transform: rotate(14deg);
  transform-origin: top center;
  animation: beamPulse 11s ease-in-out 1.6s infinite;
}

.hero-haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 42%, rgba(212, 175, 55, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 18% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 82% 22%, rgba(212, 175, 55, 0.06) 0%, transparent 55%);
}

.hero-fog {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 18%, #000 40%, transparent 82%);
  mask-image: linear-gradient(to top, transparent 0%, #000 18%, #000 40%, transparent 82%);
}

.hero-fog-video {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 150vh;
  height: 150vw;
  max-width: none;
  object-fit: cover;
  opacity: 0.55;
  filter: sepia(1) saturate(2.2) hue-rotate(5deg) brightness(1.15);
  transform: translate(-50%, 50%) rotate(-90deg);
  transform-origin: center center;
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.42; }
}

@keyframes beamPulseCenter {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.5; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 20%, rgba(0, 0, 0, 0.22) 75%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  backface-visibility: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  margin: 0;
  line-height: 0.9;
}

.hero-title-brand {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title-live {
  font-family: var(--font-body);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  text-transform: uppercase;
  color: #f2f2f2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-sub {
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  color: var(--gray-300);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  color: var(--black);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .btn-primary {
    background-size: 200% 200%;
    animation: btnGradientShift 5s ease-in-out infinite;
  }
}

@keyframes btnGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: var(--black);
}

.btn-outline {
  background: rgba(212, 175, 55, 0.04);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

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

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

/* ---- Glow spotlight cards (CodePen style, gold) ---- */

.glow-card {
  --xPos: 50%;
  --yPos: 50%;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: radial-gradient(
    32rem circle at var(--xPos) var(--yPos),
    rgba(255, 240, 180, 0.95) 0%,
    rgba(245, 215, 110, 0.55) 6%,
    rgba(212, 175, 55, 0.28) 14%,
    transparent 26%
  );
  overflow: hidden;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.55),
    0 0 72px rgba(212, 175, 55, 0.2);
  animation: glowCardShadow 4.5s ease-in-out infinite;
}

@keyframes glowCardShadow {
  0%, 100% {
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.5),
      0 0 60px rgba(212, 175, 55, 0.16);
  }
  50% {
    box-shadow:
      0 28px 72px rgba(0, 0, 0, 0.62),
      0 0 110px rgba(212, 175, 55, 0.34);
  }
}

@media (hover: hover) and (pointer: fine) {
  .glow-card {
    transition: transform 0.15s ease, box-shadow 0.2s ease;
  }

  .glow-card:hover {
    transform: scale(0.985);
    animation: none;
    box-shadow:
      0 32px 80px rgba(0, 0, 0, 0.65),
      0 0 120px rgba(212, 175, 55, 0.38);
  }

  .glow-card:hover::before,
  .glow-card:hover::after {
    opacity: 1;
  }
}

.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    26rem circle at var(--xPos) var(--yPos),
    rgba(255, 248, 210, 0.65) 0%,
    rgba(245, 215, 110, 0.35) 12%,
    rgba(212, 175, 55, 0.12) 28%,
    transparent 50%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.glow-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background: radial-gradient(
    18rem circle at var(--xPos) var(--yPos),
    rgba(255, 242, 190, 0.22) 0%,
    rgba(245, 215, 110, 0.1) 22%,
    transparent 55%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

@media (hover: hover) and (pointer: fine) {
  .glow-card::before,
  .glow-card::after {
    transition: opacity 0.12s ease-in-out;
  }
}

.glow-card-inner {
  position: relative;
  z-index: 2;
  background: #0c0c0e;
  border-radius: calc(var(--radius-lg) - 1px);
  width: 100%;
  height: 100%;
  transition: background 0.25s ease;
}

/* ---- Stats ---- */

.stats {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.stat .glow-card-inner {
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat:hover {
  box-shadow: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--gold);
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Sections ---- */

.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
  opacity: 0.6;
}

.section:last-of-type::after,
.hero::after,
.stats::after,
.section-cta::after {
  display: none;
}

.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.02) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-bottom: 1rem;
  padding: 0.5rem 1.25rem;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.06);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.08);
}

.section-header p {
  color: var(--gray-300);
  font-size: 1.0625rem;
}

/* ---- Services ---- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card.glow-card {
  border: none;
  backdrop-filter: none;
}

.service-card-inner {
  padding: 2rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  background: rgba(212, 175, 55, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.08);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-300);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---- About ---- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.about-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, 0.22) 0%, rgba(184, 134, 11, 0.08) 40%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.about-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 40%;
}

.about-content .section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.about-text p {
  color: var(--gray-300);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-text a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212, 175, 55, 0.45);
}

.about-text a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.about-features {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-300);
  font-size: 0.9375rem;
}

.about-features svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---- Reference ---- */

.reference-card.glow-card {
  border: none;
  display: block;
}

.reference-card-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 1px);
}

.reference-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.reference-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(100, 180, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.reference-content {
  padding: 3rem;
  position: relative;
  z-index: 1;
}

.reference-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.reference-content h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1rem;
}

.reference-desc {
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.reference-desc a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reference-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.reference-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.reference-link:hover svg {
  transform: translateX(4px);
}

.reference-visual {
  position: relative;
  background: #0a1628;
  min-height: 360px;
  overflow: hidden;
}

.reference-media {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
}

.reference-media-hero {
  width: 100%;
  height: 52%;
  min-height: 190px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.reference-media-grid {
  flex: 1;
  min-height: 140px;
}

.reference-media-grid img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.reference-media-logo {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  width: min(200px, 55%);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.65));
}

.reference-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.15) 45%, transparent 70%);
  pointer-events: none;
}

/* ---- CTA ---- */

.section-cta {
  padding: 4rem 0;
}

.cta-box.glow-card {
  padding: 1px;
  max-width: 900px;
  margin-inline: auto;
}

.cta-inner {
  padding: 4rem 2.5rem;
  text-align: center;
}

.cta-box {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-box p {
  color: var(--gray-300);
  margin-bottom: 2rem;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

/* ---- Contact ---- */

.section-contact {
  text-align: center;
}

.container-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
}

.container-contact .section-header {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
  line-height: 1;
}

.contact-info {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.contact-inner {
  padding: 2.5rem 2rem;
  text-align: center;
}

.contact-info address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
  align-items: start;
  width: 100%;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin-bottom: 0;
  width: 100%;
  min-width: 0;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.contact-item-text p {
  text-align: center;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-bottom: 0.875rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.1);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item strong {
  display: block;
  color: var(--white);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--gray-300);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-item a {
  color: var(--gray-300);
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--black-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-700);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

/* ---- Footer ---- */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-legal {
  text-align: right;
}

.footer-legal p {
  font-size: 0.75rem;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-left: 1rem;
}

.footer-legal a:first-of-type {
  margin-left: 0;
}

/* ---- Legal pages ---- */

.legal-page {
  background: var(--black);
}

.legal-main {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: calc(var(--header-height) + 3rem) 1.5rem 4rem;
}

.legal-main h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.legal-main h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin: 2rem 0 0.75rem;
}

.legal-main h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 1.25rem 0 0.5rem;
}

.legal-main p,
.legal-main li {
  color: var(--gray-300);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-main ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-main a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.legal-back a {
  text-decoration: none;
}

.legal-back a:hover {
  color: var(--gold-light);
}

/* ---- Scroll Reveal ---- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.stats-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.stats-grid .reveal:nth-child(3) { transition-delay: 0.3s; }

/* ---- Responsive ---- */

@media (max-width: 968px) {
  .about-grid,
  .reference-card-inner {
    grid-template-columns: 1fr;
  }

  .contact-info address {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container-contact {
    max-width: 560px;
  }

  .about-content {
    order: -1;
  }

  .reference-visual {
    min-height: 280px;
  }

  .reference-media {
    min-height: 280px;
  }

  .reference-media-hero {
    min-height: 160px;
  }

  .about-content .section-header {
    text-align: center;
  }

  .about-features {
    align-items: center;
  }

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

  .footer-brand {
    align-items: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-legal {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-logo {
    position: relative;
    z-index: 1102;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
    list-style: none;
    background: #030303;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
    max-width: 360px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  }

  .nav-menu li:last-child {
    border-bottom: none;
    margin-top: 1.5rem;
  }

  .nav-menu a {
    display: block;
    width: 100%;
    padding: 1.35rem 1rem;
    font-size: 1.625rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #ffffff;
    text-shadow: none;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--gold-light);
  }

  .nav-menu a.nav-cta,
  .nav-menu a.nav-cta:hover,
  .nav-menu a.nav-cta.active {
    color: var(--black) !important;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-cta {
    display: inline-block;
    width: auto !important;
    min-width: 220px;
    padding: 1.1rem 2.25rem !important;
    border-radius: 999px;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%) !important;
    border: none !important;
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35);
  }

  .nav-cta:hover,
  .nav-cta.active {
    color: var(--black) !important;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%) !important;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  #particles {
    display: none;
  }

  .hero-beam {
    animation: none;
    opacity: 0.9;
  }

  .hero-fog-video {
    opacity: 0.6;
  }

  .about-glow {
    animation: none;
    opacity: 0.75;
  }

  .hero-title-brand {
    font-size: clamp(3.75rem, 18vw, 5.5rem);
  }

  .hero-title-live {
    font-size: clamp(2.1rem, 11vw, 3.25rem);
    letter-spacing: 0.42em;
    text-indent: 0.42em;
  }

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

  .hero-actions .btn {
    width: min(100%, 280px);
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .section {
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .glow-card:hover {
    transform: none;
  }

  .glow-card::before {
    opacity: 0.25;
  }

  .hero-bg,
  .hero-content {
    transform: none !important;
  }

  .hero-beam {
    animation: none !important;
  }

  .hero-fog {
    display: none;
  }

  #particles {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}
