/* ═══════════════════════════════════════════
   REGISTERED CUSTOM PROPERTIES (@property)
   Enables smooth transitions on gradients and colors
   ═══════════════════════════════════════════ */
@property --glow-opacity {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

@property --card-border {
  syntax: '<color>';
  inherits: false;
  initial-value: rgba(255, 255, 255, 0.04);
}

@property --gradient-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 135deg;
}

/* ═══════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════ */
:root {
  --bg-deep: #050810;
  --bg-primary: #070b14;
  --bg-secondary: #0c1020;
  --bg-card: rgba(12, 16, 32, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.02);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(212, 175, 55, 0.2);

  --gold: #d4af37;
  --gold-light: #e8cc6a;
  --gold-dim: rgba(212, 175, 55, 0.1);
  --purple: #8b5cf6;
  --purple-dim: rgba(139, 92, 246, 0.08);
  --cyan: #4a9eff;
  --cyan-dim: rgba(74, 158, 255, 0.08);

  --text-bright: #f5f1e8;
  --text-primary: #e0dbd0;
  --text-secondary: #8a8498;
  --text-muted: #5a5470;

  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --section-pad: clamp(5rem, 12vw, 10rem);
  --container-max: 1280px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

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

body.loading { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.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;
}

/* ═══════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-expo), visibility 0.8s;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  border-top-color: var(--gold);
  animation: spin 1.2s linear infinite;
  margin-bottom: 2rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

.preloader__counter {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.preloader__brand {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}

/* ═══════════════════════════════════════════
   FILM GRAIN OVERLAY
   ═══════════════════════════════════════════ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

/* ═══════════════════════════════════════════
   STAR CANVAS & NEBULAE
   ═══════════════════════════════════════════ */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.nebula--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #6d28d9, transparent 70%);
  top: -15%; left: -15%;
}

.nebula--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #1d4ed8, transparent 70%);
  bottom: 15%; right: -10%;
}

.nebula--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  top: 45%; left: 25%;
  opacity: 0.04;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.5s, padding 0.5s, backdrop-filter 0.5s;
}

.header.scrolled {
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  z-index: 1001;
}

.logo__icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
}

.logo__icon svg {
  width: 26px; height: 26px;
  stroke: var(--gold);
}

.nav { display: flex; align-items: center; gap: 0; }

.nav__link {
  position: relative;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: color 0.4s;
}

.nav__link:hover { color: var(--text-bright); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out), left 0.4s var(--ease-out);
}

.nav__link:hover::after {
  width: 50%; left: 25%;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.header__cta:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.25);
}

.header__cta svg { width: 14px; height: 14px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px 0;
  z-index: 1001;
}

.burger__line {
  width: 100%; height: 1.5px;
  background: var(--text-bright);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}

.burger.active .burger__line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.active .burger__line:nth-child(2) { opacity: 0; }
.burger.active .burger__line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.97);
  backdrop-filter: blur(40px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.5s;
}

.mobile-nav.open { display: flex; opacity: 1; }

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-secondary);
  padding: 0.6rem 2rem;
  transition: color 0.3s;
}

.mobile-nav__link:hover { color: var(--gold); }

/* ═══════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════ */
.lang-switcher {
  position: relative;
  z-index: 1001;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  letter-spacing: 0.02em;
}

.lang-switcher__btn:hover {
  color: var(--text-bright);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

.lang-switcher__btn svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.lang-switcher__chevron {
  transition: transform 0.3s var(--ease-out);
}

.lang-switcher.open .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  background: rgba(10, 14, 28, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out), visibility 0.25s;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,175,55,0.3) transparent;
}

.lang-switcher.open .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__item {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.lang-switcher__item:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--text-bright);
}

.lang-switcher__item.active {
  color: var(--gold);
  font-weight: 500;
}

/* Mobile lang grid (inside mobile-nav) */
.mobile-lang {
  margin-top: 2rem;
  text-align: center;
}

.mobile-lang__label {
  font-size: 0.75rem;
  color: var(--text-muted, rgba(255,255,255,0.35));
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.mobile-lang__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  max-width: 320px;
  margin: 0 auto;
}

.mobile-lang__item {
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.mobile-lang__item:hover {
  color: var(--text-bright);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.mobile-lang__item.active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  font-weight: 500;
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .lang-switcher { display: none; }
  .burger { display: flex; }
}

/* ═══════════════════════════════════════════
   REVEAL SYSTEM
   ═══════════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}

.rv.vis {
  opacity: 1;
  transform: translateY(0);
}

.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }
.rv-d4 { transition-delay: 0.4s; }
.rv-d5 { transition-delay: 0.5s; }
.rv-d6 { transition-delay: 0.6s; }

/* Scale reveal */
.rv-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}

.rv-scale.vis {
  opacity: 1;
  transform: scale(1);
}

/* Horizontal slide */
.rv-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}

.rv-left.vis {
  opacity: 1;
  transform: translateX(0);
}

.rv-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}

.rv-right.vis {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════
   SECTION LABEL
   ═══════════════════════════════════════════ */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

/* ═══════════════════════════════════════════
   HERO — CINEMATIC FULL-SCREEN
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  z-index: 1;
  overflow: hidden;
}

.hero__bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__orb-container {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(400px, 50vw, 700px);
  height: clamp(400px, 50vw, 700px);
  pointer-events: none;
  opacity: 0.3;
}

.hero__orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.08);
  animation: orb-rotate 40s linear infinite;
}

.hero__orb-ring:nth-child(2) {
  inset: 15%;
  border-color: rgba(139, 92, 246, 0.06);
  animation-duration: 30s;
  animation-direction: reverse;
}

.hero__orb-ring:nth-child(3) {
  inset: 30%;
  border-color: rgba(74, 158, 255, 0.05);
  animation-duration: 22s;
}

@keyframes orb-rotate { to { transform: rotate(360deg); } }

.hero__orb-ring::after {
  content: '';
  position: absolute;
  top: -2.5px; left: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.hero__orb-ring:nth-child(2)::after { background: var(--purple); box-shadow: 0 0 12px var(--purple); }
.hero__orb-ring:nth-child(3)::after { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem 0.35rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 100px;
  margin-bottom: 2.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-bright);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, background 0.4s, border-color 0.4s;
}

.btn svg { width: 17px; height: 17px; }

.btn--primary {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.btn--ghost {
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.04);
  transform: translateY(-3px);
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float-scroll 3s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes float-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════
   MARQUEE STRIP
   ═══════════════════════════════════════════ */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(212, 175, 55, 0.015);
}

.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.marquee__dot {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   STATS / NUMBERS SECTION
   ═══════════════════════════════════════════ */
.stats {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-block {
  text-align: center;
  padding: 2.5rem 1rem;
  position: relative;
}

.stat-block::after {
  content: '';
  position: absolute;
  top: 20%; right: 0;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-glass), transparent);
}

.stat-block:last-child::after { display: none; }

.stat-block__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--text-bright);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-block__number .gold { color: var(--gold); }

.stat-block__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-block__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2)::after { display: none; }
}

@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat-block::after { display: none; }
  .stat-block { padding: 1.5rem 1rem; }
}

/* ═══════════════════════════════════════════
   SERVICES — CINEMATIC CARDS
   ═══════════════════════════════════════════ */
.services {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

.services__header {
  margin-bottom: 4rem;
}

.services__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--text-bright);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.services__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

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

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.6s var(--ease-expo), --card-border 0.6s, box-shadow 0.6s, --glow-opacity 0.6s;
  cursor: default;
  --glow-opacity: 0;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.015), transparent 50%);
  pointer-events: none;
}

/* Golden glow on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(212, 175, 55, 0.04), transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
}

.service-card:hover {
  transform: translateY(-8px);
  --card-border: rgba(212, 175, 55, 0.2);
  --glow-opacity: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(212, 175, 55, 0.03);
}

.service-card:hover::after { opacity: 1; }

.service-card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  margin-bottom: 1.75rem;
  position: relative;
}

.service-card__icon--gold { background: var(--gold-dim); }
.service-card__icon--purple { background: var(--purple-dim); }
.service-card__icon--cyan { background: var(--cyan-dim); }

.service-card__icon svg { width: 22px; height: 22px; }
.service-card__icon--gold svg { stroke: var(--gold); }
.service-card__icon--purple svg { stroke: var(--purple); }
.service-card__icon--cyan svg { stroke: var(--cyan); }

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-bright);
  margin-bottom: 0.85rem;
}

.service-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-card__tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s;
}

.service-card:hover .service-card__tag {
  border-color: var(--border-gold);
  color: var(--gold);
}

@media (max-width: 900px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services__grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   TECHNOLOGY — SPLIT LAYOUT
   ═══════════════════════════════════════════ */
.tech {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

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

.tech__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: var(--text-bright);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.tech__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.tech__list { display: flex; flex-direction: column; gap: 1.75rem; }

.tech__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.tech__item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--gold-dim);
  border: 1px solid rgba(212, 175, 55, 0.08);
}

.tech__item-icon svg { width: 20px; height: 20px; stroke: var(--gold); }

.tech__item-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-bright);
  margin-bottom: 0.3rem;
}

.tech__item-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Code block */
.tech__visual {
  position: relative;
  padding: 2.5rem;
  background: rgba(12, 16, 32, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.tech__visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.15;
}

.tech__code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tech__code-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
}

.tech__code-dot:nth-child(1) { background: #ef4444; opacity: 0.5; }
.tech__code-dot:nth-child(2) { background: #eab308; opacity: 0.5; }
.tech__code-dot:nth-child(3) { background: #22c55e; opacity: 0.5; }

.tech__code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.78rem;
  line-height: 2;
  color: var(--text-secondary);
  overflow-x: auto;
}

.tech__code .kw { color: var(--purple); }
.tech__code .str { color: var(--gold); }
.tech__code .cmt { color: var(--text-muted); font-style: italic; }
.tech__code .fn { color: var(--cyan); }

@media (max-width: 900px) {
  .tech__grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ═══════════════════════════════════════════
   HORIZONTAL SHOWCASE
   ═══════════════════════════════════════════ */
.showcase {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0 3rem;
}

.showcase__header {
  margin-bottom: 3rem;
}

.showcase__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.showcase__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.showcase__scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.showcase__scroll::-webkit-scrollbar { display: none; }
.showcase__scroll:active { cursor: grabbing; }

.showcase__card {
  flex-shrink: 0;
  width: clamp(300px, 30vw, 380px);
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.6s var(--ease-expo), border-color 0.6s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.showcase__card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
}

.showcase__card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-secondary), rgba(139, 92, 246, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.showcase__card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-card));
}

.showcase__card-image svg {
  width: 48px; height: 48px;
  stroke: var(--text-muted);
  opacity: 0.3;
}

.showcase__card-body { padding: 1.5rem; }

.showcase__card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.showcase__card-cat {
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.showcase__card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-bright);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.showcase__card-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

.faq__grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 5rem;
  align-items: start;
}

.faq__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
}

.faq__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

.faq__list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color 0.4s;
}

.faq-item.open { border-color: var(--border-gold); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-bright);
  text-align: left;
  transition: color 0.3s;
}

.faq-item__q:hover { color: var(--gold); }

.faq-item__chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  stroke: var(--text-muted);
  transition: transform 0.5s var(--ease-expo), stroke 0.4s;
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
  stroke: var(--gold);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-expo);
}

.faq-item.open .faq-item__a { max-height: 300px; }

.faq-item__a-inner {
  padding: 0 1.75rem 1.35rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ═══════════════════════════════════════════
   ABOUT + POLICY
   ═══════════════════════════════════════════ */
.about {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
}

.about__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.about__value {
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.4s;
}

.about__value:hover { border-color: var(--border-gold); }

.about__value-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
}

.about__value-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Policy */
.policy-section { margin-top: 1rem; }

.policy-section__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-bright);
  font-weight: 500;
}

.policy-block {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: border-color 0.4s;
}

.policy-block.open { border-color: var(--border-gold); }

.policy-block__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-bright);
  text-align: left;
  transition: color 0.3s;
}

.policy-block__header:hover { color: var(--gold); }

.policy-block__chevron {
  flex-shrink: 0;
  width: 18px; height: 18px;
  stroke: var(--text-muted);
  transition: transform 0.5s var(--ease-expo);
}

.policy-block.open .policy-block__chevron {
  transform: rotate(180deg);
  stroke: var(--gold);
}

.policy-block__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-expo);
}

.policy-block.open .policy-block__body { max-height: 800px; }

.policy-block__body-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.policy-block__body-inner ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.policy-block__body-inner li {
  list-style: disc;
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__values { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PLATFORMS
   ═══════════════════════════════════════════ */
.platforms {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

.platforms__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.platforms__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
  text-wrap: balance;
}

.platforms__subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.7;
}

.platforms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.platform-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.4s, background 0.4s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.platform-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.04);
  transform: translateY(-4px);
}

.platform-card--active {
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.06);
}

.platform-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.platform-card__icon svg {
  width: 24px;
  height: 24px;
}

.platform-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.platform-card__text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.platform-card__status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-top: 0.25rem;
}

.platform-card__status--live {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

.platform-card__status--soon {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
}

.platforms__sync {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.platforms__sync strong {
  color: var(--gold);
}

.platforms__sync-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--gold);
}

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

@media (max-width: 1024px) {
  .platforms__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .platforms__grid { grid-template-columns: 1fr; }
  .platforms__sync { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════
   CTA — DRAMATIC
   ═══════════════════════════════════════════ */
.cta {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta__inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 2rem;
}

.cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  border: 1px solid rgba(212, 175, 55, 0.08);
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.04), rgba(212, 175, 55, 0.03));
  pointer-events: none;
}

.cta__inner::after {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05), transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
  position: relative;
  text-wrap: balance;
}

.cta__text {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
  font-weight: 300;
  line-height: 1.8;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer__brand-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 1.25rem;
  max-width: 280px;
  font-weight: 300;
}

.footer__heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.65rem; }

.footer__link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s;
  font-weight: 300;
}

.footer__link:hover { color: var(--gold); }

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer__social-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: border-color 0.4s, color 0.4s, background 0.4s;
}

.footer__social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.footer__social-link svg { width: 16px; height: 16px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 1.75rem;
}

.footer__bottom-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__bottom-links a:hover { color: var(--text-secondary); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ═══════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════ */
.back-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 900;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, border-color 0.3s, color 0.3s;
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.back-top svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════════ */
.divider {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

/* ═══════════════════════════════════════════
   PARALLAX UTILITY
   ═══════════════════════════════════════════ */
[data-parallax] {
  will-change: transform;
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY — REDUCED MOTION
   ═══════════════════════════════════════════ */
@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;
  }

  .rv, .rv-scale, .rv-left, .rv-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee__track { animation: none; }
  .hero__orb-ring { animation: none; }
  .preloader { display: none; }
}

/* ═══════════════════════════════════════════
   SCROLL-DRIVEN ANIMATIONS (Progressive)
   Chrome 115+, Safari 18+ — graceful fallback
   ═══════════════════════════════════════════ */
@supports (animation-timeline: scroll()) {
  .header {
    animation: header-blur linear both;
    animation-timeline: scroll();
    animation-range: 0px 120px;
  }

  @keyframes header-blur {
    from {
      background: transparent;
      backdrop-filter: blur(0);
      -webkit-backdrop-filter: blur(0);
      border-bottom-color: transparent;
    }
    to {
      background: rgba(7, 11, 20, 0.9);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-bottom-color: var(--border-subtle);
    }
  }
}

/* ═══════════════════════════════════════════
   CONTAINER QUERIES — RESPONSIVE CARDS
   ═══════════════════════════════════════════ */
.services__grid {
  container-type: inline-size;
  container-name: services;
}

@container services (max-width: 680px) {
  .service-card {
    padding: 2rem 1.5rem;
  }
}

/* ═══════════════════════════════════════════
   MODERN FOCUS STYLES
   ═══════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════
   VIEW TRANSITIONS (Progressive)
   ═══════════════════════════════════════════ */
@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: 0.3s ease-out both fade-out;
}

::view-transition-new(root) {
  animation: 0.3s ease-in both fade-in;
}

@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* ═══════════════════════════════════════════
   RTL SUPPORT (Arabic, Farsi)
   ═══════════════════════════════════════════ */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .nav__links { flex-direction: row-reverse; }
[dir="rtl"] .hero__badge { direction: ltr; }
[dir="rtl"] .features__grid,
[dir="rtl"] .pricing__grid,
[dir="rtl"] .showcase__grid { direction: rtl; }
[dir="rtl"] .footer__grid { direction: rtl; }
[dir="rtl"] .step__number { margin-left: 1.5rem; margin-right: 0; }
[dir="rtl"] .cta-section__features li::before { margin-left: 0.75rem; margin-right: 0; }

/* ═══════════════════════════════════════════
   CJK / THAI / DEVANAGARI / ARABIC FONTS
   ═══════════════════════════════════════════ */
[lang="ar"] body, [lang="fa"] body {
  --font-body: 'Inter', 'Noto Sans Arabic', 'Tahoma', sans-serif;
  --font-heading: 'Playfair Display', 'Noto Sans Arabic', serif;
}

[lang="zh"] body {
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-heading: 'Playfair Display', 'Noto Sans SC', serif;
}

[lang="th"] body {
  --font-body: 'Inter', 'Noto Sans Thai', 'Tahoma', sans-serif;
  --font-heading: 'Playfair Display', 'Noto Sans Thai', serif;
}

[lang="hi"] body {
  --font-body: 'Inter', 'Noto Sans Devanagari', sans-serif;
  --font-heading: 'Playfair Display', 'Noto Sans Devanagari', serif;
}
