/* ============================================================
   HARMAT VR STUDIO — style.css
   Premium VR Model Agency — Futuristic Metaverse Aesthetic
   ============================================================ */

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

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

/* --- 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 --- */
  --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;

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

  /* --- TRANSITIONS --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- FONTS --- */
  --font-display: 'Clash Display', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Inter', 'Helvetica Neue', sans-serif;

  /* --- CONTENT WIDTHS --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ============================================================
   LIGHT THEME (default)
   ============================================================ */
:root, [data-theme="light"] {
  --color-bg: #f4f3f8;
  --color-surface: #ffffff;
  --color-surface-2: #f9f8fc;
  --color-surface-offset: #eeedf4;
  --color-surface-dynamic: #e4e2ed;
  --color-divider: #d6d4e0;
  --color-border: #c8c5d6;

  --color-text: #1a1628;
  --color-text-muted: #6b6580;
  --color-text-faint: #a9a3bf;
  --color-text-inverse: #f4f3f8;

  /* Primary: Cyber Violet */
  --color-primary: #7c3aed;
  --color-primary-hover: #6d28d9;
  --color-primary-active: #5b21b6;
  --color-primary-highlight: #ede9fe;

  /* Accent: Neon Cyan */
  --color-accent: #06b6d4;
  --color-accent-hover: #0891b2;
  --color-accent-glow: rgba(6, 182, 212, 0.15);

  /* Semantic */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 22, 40, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 22, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 22, 40, 0.12);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.15);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(124, 58, 237, 0.12);

  /* Hero overlay */
  --hero-overlay: linear-gradient(135deg, rgba(26, 22, 40, 0.75) 0%, rgba(124, 58, 237, 0.5) 100%);
}

/* ============================================================
   DARK THEME
   ============================================================ */
[data-theme="dark"] {
  --color-bg: #0c0a14;
  --color-surface: #141024;
  --color-surface-2: #1a1530;
  --color-surface-offset: #110e1e;
  --color-surface-dynamic: #221d3a;
  --color-divider: #2a2545;
  --color-border: #3a3460;

  --color-text: #e4e0f0;
  --color-text-muted: #9890b0;
  --color-text-faint: #5e567a;
  --color-text-inverse: #0c0a14;

  --color-primary: #a78bfa;
  --color-primary-hover: #c4b5fd;
  --color-primary-active: #8b5cf6;
  --color-primary-highlight: #1e1538;

  --color-accent: #22d3ee;
  --color-accent-hover: #67e8f9;
  --color-accent-glow: rgba(34, 211, 238, 0.12);

  --color-success: #34d399;
  --color-warning: #fbbf24;
  --color-error: #f87171;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.2);

  --glass-bg: rgba(20, 16, 36, 0.75);
  --glass-border: rgba(167, 139, 250, 0.15);

  --hero-overlay: linear-gradient(135deg, rgba(12, 10, 20, 0.8) 0%, rgba(124, 58, 237, 0.35) 100%);
}

/* System preference fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0c0a14;
    --color-surface: #141024;
    --color-surface-2: #1a1530;
    --color-surface-offset: #110e1e;
    --color-surface-dynamic: #221d3a;
    --color-divider: #2a2545;
    --color-border: #3a3460;
    --color-text: #e4e0f0;
    --color-text-muted: #9890b0;
    --color-text-faint: #5e567a;
    --color-text-inverse: #0c0a14;
    --color-primary: #a78bfa;
    --color-primary-hover: #c4b5fd;
    --color-primary-active: #8b5cf6;
    --color-primary-highlight: #1e1538;
    --color-accent: #22d3ee;
    --color-accent-hover: #67e8f9;
    --color-accent-glow: rgba(34, 211, 238, 0.12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.2);
    --glass-bg: rgba(20, 16, 36, 0.75);
    --glass-border: rgba(167, 139, 250, 0.15);
    --hero-overlay: linear-gradient(135deg, rgba(12, 10, 20, 0.8) 0%, rgba(124, 58, 237, 0.35) 100%);
  }
}

/* ============================================================
   BODY & GLOBAL
   ============================================================ */
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(124, 58, 237, 0.25);
  color: var(--color-text);
}

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

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

button { cursor: pointer; background: none; border: none; }

a, button, [role="button"], [role="link"], input, textarea, select {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--glass-bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.header--scrolled {
  background: color-mix(in srgb, var(--glass-bg) 96%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--glass-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.header__logo svg {
  width: 40px;
  height: 40px;
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.header__logo-text span {
  color: var(--color-primary);
}

.header__nav { display: flex; align-items: center; gap: var(--space-8); }

.header__links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.header__links a {
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.header__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.header__links a:hover { color: var(--color-primary); }
.header__links a:hover::after { width: 100%; }

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.theme-toggle:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}

.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease;
}

.mobile-menu-btn span::before { top: -7px; }
.mobile-menu-btn span::after { top: 7px; }

.mobile-menu-btn.active span { background: transparent; }
.mobile-menu-btn.active span::before { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span::after { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .header__links { display: none; }

  .header__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: var(--space-6);
    gap: var(--space-4);
  }

  .header__nav { gap: var(--space-3); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

/* Grid pattern overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-top: var(--space-24);
  padding-bottom: var(--space-16);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: #22d3ee;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 211, 238, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

.hero__title .accent {
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(228, 224, 240, 0.8);
  max-width: 48ch;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), #6d28d9);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-highlight);
}

.btn--hero-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--hero-outline:hover {
  border-color: #22d3ee;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.08);
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 54ch;
  margin-inline: auto;
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us { background: var(--color-surface); }

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.why-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.why-card:hover::before { opacity: 1; }

.why-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

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

.why-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.why-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .why-us__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--color-bg); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.service-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.service-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card { flex-direction: column; gap: var(--space-3); }
}

/* ============================================================
   PORTFOLIO / VISUAL SECTION
   ============================================================ */
.portfolio {
  background: var(--color-surface);
  overflow: hidden;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.portfolio__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.portfolio__item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio__item:hover img { transform: scale(1.05); }

.portfolio__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 10, 20, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio__item:hover .portfolio__item-overlay { opacity: 1; }

.portfolio__item-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-1);
}

.portfolio__item-desc {
  font-size: var(--text-xs);
  color: rgba(228, 224, 240, 0.7);
}

@media (max-width: 768px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
  }
  .portfolio__item:first-child {
    grid-row: span 1;
    aspect-ratio: 16/9;
  }
  .portfolio__item { aspect-ratio: 16/10; }
  .portfolio__item-overlay { opacity: 1; }
}

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.process { background: var(--color-bg); }

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + var(--space-3));
  right: calc(12.5% + var(--space-3));
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-5);
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
  z-index: 2;
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.step__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process__timeline {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .process__timeline::before { display: none; }
  .step { text-align: left; display: flex; gap: var(--space-5); align-items: flex-start; }
  .step__number { flex-shrink: 0; margin: 0; }
}

/* ============================================================
   APPLICATION / CTA
   ============================================================ */
.apply {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

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

.apply__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.apply__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apply__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(34, 211, 238, 0.1) 100%);
  pointer-events: none;
}

.apply__form-wrap h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.apply__form-wrap > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.form-callout {
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(34, 211, 238, 0.08));
  border: 1px solid color-mix(in srgb, var(--color-primary) 20%, var(--color-border));
  box-shadow: var(--shadow-sm);
}

.form-callout strong {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.form-callout p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}

.embedded-form-wrap {
  position: relative;
  width: 100%;
  min-height: 980px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.embedded-form {
  display: block;
  width: 100%;
  min-height: 980px;
  border: 0;
  background: transparent;
}

.form-alt-link {
  margin-top: var(--space-4);
  margin-bottom: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.form-alt-link a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.form-alt-link a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .apply__inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .embedded-form-wrap,
  .embedded-form {
    min-height: 1120px;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--color-bg); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact__info h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.contact__info > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.contact__details { display: flex; flex-direction: column; gap: var(--space-6); }

.contact__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact__item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact__item-icon svg { width: 20px; height: 20px; }

.contact__item-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.contact__item-value {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 500;
}

.contact__item-value a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact__item-value a:hover { text-decoration: underline; }

/* Social strip in contact */
.contact__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.contact__social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
}

.contact__social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-highlight);
}

/* "VR Stat" decorative cards */
.contact__cta-area {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-primary), #6d28d9);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.contact__cta-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.contact__cta-area h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  position: relative;
}

.contact__cta-area p {
  font-size: var(--text-base);
  opacity: 0.85;
  margin-bottom: var(--space-6);
  position: relative;
}

.btn--white {
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
  position: relative;
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12);
}

.footer__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-10);
  gap: var(--space-8);
  flex-wrap: wrap;
}

.footer__brand { max-width: 360px; }

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  text-decoration: none;
  color: var(--color-text);
}

.footer__brand-logo svg { width: 32px; height: 32px; }

.footer__brand-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
}

.footer__brand-logo-text span { color: var(--color-primary); }

.footer__brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer__links-group h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.footer__links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__links-group a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer__links-group a:hover { color: var(--color-primary); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  gap: var(--space-4);
  flex-wrap: wrap;
}

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

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.footer__bottom-links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .footer__top { flex-direction: column; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Staggered reveals */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.35s; }

/* ============================================================
   FLOATING PARTICLES (decorative)
   ============================================================ */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.4;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% { transform: translateY(100vh) scale(1); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(0.5); opacity: 0; }
}
