/* ════════════════════════════════════════════════════
   STUDIO FLASH — PREMIUM PORTFOLIO
   Dark Navy Theme · Glassmorphism · 3D Assembly Hero
   ════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────── */
:root {
  /* "Navy" palette mapped to Luxury Obsidian & Platinum */
  --navy-950: #0a0a0a; /* Obsidian */
  --navy-900: #111111;
  --navy-800: #1a1a1a;
  --navy-700: #242424;
  --navy-600: #333333;
  --navy-500: #555555;
  --navy-400: #888888;
  --navy-300: #aaaaaa;
  --navy-200: #cccccc;
  --navy-100: #ebebeb;

  /* Accent mapped to Platinum/Silver */
  --accent: #e2e8f0;
  --accent-light: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.1);

  /* Cyan accent swapped to subtle champagne/silver */
  --cyan: #d4d4d4;
  --cyan-glow: rgba(255, 255, 255, 0.05);

  /* Neutrals */
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #a3a3a3;
  --gray-400: #737373;
  --gray-500: #525252;

  /* Glass - Liquid Glass UI (blur reduced from 40px to 16px for GPU perf) */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --glass-blur: 16px;
  --glass-inner-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
  --glass-outer-glow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 80px rgba(255, 255, 255, 0.02);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Playfair Display', serif;

  /* Spacing - Luxury breathes */
  --section-padding: clamp(120px, 15vw, 200px);
  --container-max: 1200px;

  /* Animation - Cinematic pacing */
  --ease-out-expo: cubic-bezier(0.83, 0, 0.17, 1);
  --ease-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-slow: 1.2s;
  --duration-medium: 0.8s;
  --duration-fast: 0.4s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: #050505;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.015) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.01) 0%, transparent 40%);
  color: var(--gray-200);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
  contain: layout style;
}

/* ── SECTION HEADERS ───────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-300);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  padding: 8px 20px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

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

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--gray-300);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── NAVBAR ────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--duration-medium) var(--ease-out-quart);
}

.site-nav.scrolled {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.8);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.8);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-inner-shadow), 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  /* Entrance animation */
  animation: logoDropIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  transform: translateY(-20px);
}

@keyframes logoDropIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Magnetic Wrapper for custom cursor attraction */
.magnetic-wrap {
  display: inline-block;
  position: relative;
  /* Extra padding to trigger hover area early */
  padding: 10px;
  margin: -10px;
}

.magnetic-item {
  display: inline-block;
  will-change: transform;
  /* Smooth return to 0,0 when mouse leaves */
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.magnetic-item.magnetized {
  transition: none; /* Disable transition while actively following cursor for instant physics */
}

.nav-logo:hover {
  opacity: 0.85;
}

.site-logo-img, .footer-logo-img {
  height: 38px;
  width: auto;
  transition: opacity var(--duration-fast) ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--duration-fast) var(--ease-out-expo);
}

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

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

.nav-cta-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--duration-fast) var(--ease-out-quart);
  box-shadow: var(--glass-inner-shadow);
}

.nav-cta-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: var(--glass-inner-shadow), 0 8px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration-fast) ease;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO SECTION ──────────────────────────────────── */
.hero-section {
  height: 100vh;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(212, 212, 212, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

/* Subtle dot grid overlay */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

#webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto; /* WebGL needs to interact with mouse */
}

/* ── HERO TEXT OVERLAY ─────────────────────────────── */
.hero-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 40px);
  pointer-events: none; /* Let clicks pass through to canvas when not on buttons */
}

.hero-text-overlay > * {
  pointer-events: auto; /* Re-enable clicks for text/buttons inside */
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.04em;
  max-width: 800px;
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(2, 6, 23, 0.8);
}

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

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--gray-300);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
  text-shadow: 0 2px 20px rgba(2, 6, 23, 0.7);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 18px 40px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--duration-medium) var(--ease-out-quart);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.6s var(--ease-out-quart);
}

.hero-cta:hover::after {
  left: 100%;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 60px rgba(0, 0, 0, 0.4);
}

.hero-cta svg {
  transition: transform var(--duration-fast) ease;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* ── SCROLL HINT ───────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  opacity: 1;
  transition: opacity 0.6s ease;
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-arrow {
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── PRICING SECTION ───────────────────────────────── */
.pricing-section {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind the cards */
.pricing-section::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}


/* ── Pricing Card Base ──────────────────────────────── */
.pricing-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: clamp(36px, 4vw, 52px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-medium) var(--ease-out-quart);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.04),
    0 8px 40px rgba(0, 0, 0, 0.35);
}

.pricing-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 120px rgba(255, 255, 255, 0.02);
}

/* ── Primary Card (Launch Package) — Glow Accent ──── */
.pricing-card--primary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.06),
    0 8px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 255, 255, 0.015);
}

.pricing-card--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
}

.pricing-card--primary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(255, 255, 255, 0.03);
}

/* ── Secondary Card (Growth) ──── */
.pricing-card--secondary {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
}
.pricing-card--secondary:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

/* ── Badge ─────────────────────────────────────────── */
.pricing-card__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ── Card Header ───────────────────────────────────── */
.pricing-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pricing-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
}

.pricing-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
  opacity: 0.85;
}

.pricing-card__title {
  font-family: var(--font-main);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* ── Description ───────────────────────────────────── */
.pricing-card__desc {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── Features List ─────────────────────────────────── */
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-200);
  line-height: 1.5;
}

.pricing-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.pricing-check svg {
  width: 12px;
  height: 12px;
  color: var(--white);
  opacity: 0.8;
}

/* ── Delivery Notice ───────────────────────────────── */
.pricing-card__delivery {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-300);
  letter-spacing: 0.02em;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 28px;
}

/* ── Price Block ───────────────────────────────────── */
.pricing-card__price-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-bottom: 28px;
  margin-top: auto;
}

.pricing-card__price-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.pricing-card__price-range {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.pricing-card__price-note {
  font-size: 0.82rem;
  color: var(--gray-400);
  letter-spacing: 0.01em;
}

.pricing-card__price-amount {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.pricing-card__price-amount span {
  font-size: 1rem;
  color: var(--gray-400);
  font-weight: 400;
  margin-left: 4px;
  letter-spacing: 0;
}

/* ── CTA Buttons ───────────────────────────────────── */
.pricing-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--duration-medium) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pricing-card__cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transition: left 0.6s var(--ease-out-quart);
}

.pricing-card__cta:hover::after {
  left: 100%;
}

.pricing-card__cta svg {
  transition: transform var(--duration-fast) ease;
}

.pricing-card__cta:hover svg {
  transform: translateX(4px);
}

/* Primary CTA */
.pricing-card__cta--primary {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
  box-shadow:
    0 4px 24px rgba(255, 255, 255, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.3);
}

.pricing-card__cta--primary:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow:
    0 8px 40px rgba(255, 255, 255, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.3);
}

.pricing-card__cta--primary::after {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
}

/* Secondary CTA */
.pricing-card__cta--secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 20px rgba(0, 0, 0, 0.3);
}

.pricing-card__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ── Trust Statement ───────────────────────────────── */
.pricing-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
  position: relative;
  z-index: 1;
}

.pricing-trust__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.pricing-trust__text {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ── Pricing Responsive ────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .pricing-trust__text {
    white-space: normal;
    max-width: 320px;
  }

  .pricing-trust {
    flex-direction: column;
    gap: 16px;
  }

  .pricing-trust__line {
    width: 60px;
    flex: none;
  }
}

/* ── TESTIMONIALS ──────────────────────────────────── */
.testimonials-section {
  background: var(--navy-900);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: clamp(32px, 4vw, 40px);
  transition: all var(--duration-medium) var(--ease-out-quart);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-inner-shadow), var(--glass-outer-glow);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.35),
    0 0 80px rgba(255, 255, 255, 0.02);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-200);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ── CONTACT ───────────────────────────────────────── */
.contact-section {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 12px;
}

.contact-info p {
  font-size: 1rem;
  color: var(--gray-300);
  margin-bottom: 28px;
  line-height: 1.75;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-200);
}

.contact-feat svg {
  color: var(--cyan);
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: clamp(32px, 4vw, 44px);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-inner-shadow), var(--glass-outer-glow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--white);
  font-family: var(--font-main);
  transition: all var(--duration-fast) ease;
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--white);
  box-shadow: none;
  background: transparent;
}

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

.form-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all var(--duration-medium) var(--ease-out-quart);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.form-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left 0.6s var(--ease-out-quart);
}

.form-submit:hover::after {
  left: 100%;
}

.form-submit:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 32px rgba(0,0,0,0.4);
}

.form-submit:active {
  transform: translateY(0);
}

/* ── FOOTER ────────────────────────────────────────── */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color var(--duration-fast) ease;
}

.footer-links a:hover {
  color: var(--white);
}

/* ── SCROLL REVEAL ANIMATIONS ──────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.pricing-grid .reveal-up:nth-child(2) { transition-delay: 0.15s; }

.testimonials-grid .reveal-up:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal-up:nth-child(3) { transition-delay: 0.2s; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 17, 40, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 36px 40px;
    gap: 24px;
    transition: right var(--duration-medium) var(--ease-out-expo);
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.open {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .assembly-wrapper {
    transform: scale(0.75) !important;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  /* Simplify 3D on mobile */
  .mock-navbar.scattered {
    transform: translate3d(0, -40px, 0);
  }
  .mock-hero-content.scattered {
    transform: translate3d(0, 30px, 0);
  }
  .mock-image-card.scattered {
    transform: translate3d(0, 20px, 0);
  }
  .mock-features.scattered {
    transform: translate3d(0, 50px, 0);
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 520px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .mock-features {
    grid-template-columns: 1fr !important;
  }

  .assembly-wrapper {
    transform: scale(0.65) !important;
  }

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

/* ── SUBTLE AMBIENT ANIMATION ──────────────────────── */
@keyframes softFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
}

/* ── AMBIENT FLOATING ORBS ─────────────────────────── */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.3;
  contain: strict;
}

.ambient-orb--1 {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.12);
  top: 10%;
  left: -5%;
  animation: orbFloat1 20s ease-in-out infinite;
}

.ambient-orb--2 {
  width: 250px;
  height: 250px;
  background: rgba(6, 182, 212, 0.08);
  top: 60%;
  right: -5%;
  animation: orbFloat2 25s ease-in-out infinite;
}

.ambient-orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(139, 92, 246, 0.06);
  bottom: 10%;
  left: 30%;
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(40px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-30px, 25px); }
  66% { transform: translate(25px, -35px); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(35px, -20px); }
}

/* ── STATS BAR ─────────────────────────────────────── */
.stats-bar {
  padding: 60px 0;
  background: var(--navy-950);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

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

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── GLOBE SECTION ─────────────────────────────────── */
.globe-section {
  padding: 100px 0 120px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  border-top: 1px solid var(--glass-border);
}

.globe-container {
  position: relative;
  width: 600px;
  height: 600px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.globe-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(200, 200, 200, 0.05) 40%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

.spinning-globe-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  cursor: grab;
}
.spinning-globe-canvas:active {
  cursor: grabbing;
}

@keyframes floatGlobe {
  0%, 100% { transform: translateY(0) rotateX(5deg) rotateY(-5deg); }
  50% { transform: translateY(-20px) rotateX(15deg) rotateY(10deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.globe-text {
  text-align: center;
  z-index: 3;
}

.globe-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

.hero-subheadline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  font-weight: 300;
}

/* ── CUSTOM CURSOR ─────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 15px rgba(255, 255, 255, 0.4);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  z-index: 9998;
  pointer-events: none;
  will-change: transform;
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

/* Cursor hover states */
body.hovering .cursor-ring {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  animation: none;
  opacity: 1;
}

body.hovering .cursor-dot {
  width: 12px;
  height: 12px;
  animation: none;
  box-shadow: 0 0 12px rgba(255,255,255,1), 0 0 30px rgba(255,255,255,0.5);
}

body.mouse-down .cursor-dot {
  width: 5px;
  height: 5px;
}

/* Click Ripple Animation */
.cursor-click-ripple {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 9998;
  animation: cursorRipple 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes cursorRipple {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

@media (max-width: 768px) {
  body {
    cursor: auto !important; /* Restore default cursor on mobile devices */
  }
  .cursor-dot, .cursor-ring {
    display: none !important; 
  }
}


/* ── 10x ENHANCEMENTS ────────────────────────────── */
/* Preloader */
.preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #050505;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
}
.loader-logo {
  height: 60px;
  filter: invert(1) brightness(2) contrast(1.2);
  mix-blend-mode: screen;
  margin-bottom: 30px;
  animation: pulseGlow 2s infinite ease-in-out;
}
.loading-bar {
  width: 240px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto;
}
.loading-progress {
  width: 0%;
  height: 100%;
  background: var(--white);
  transition: width 0.1s linear;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.6s var(--ease-out-expo);
  pointer-events: none;
}
.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px) scale(1.05);
}
.cta-pulse {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseGlow 2s infinite ease-in-out;
}

/* Demo Showcase Grid */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

@media (max-width: 960px) {
  .demo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 650px) {
  .demo-grid {
    grid-template-columns: 1fr !important;
  }
}

.demo-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  cursor: none;
  transition: transform 0.4s var(--ease-out-quart), border-color 0.4s ease;
}

.demo-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.05);
}

.demo-image-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #111;
}

.demo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease-out-quart), filter 0.6s ease;
}

.demo-card:hover .demo-img {
  transform: scale(1.05);
}

.demo-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}

.demo-card:hover .demo-overlay {
  opacity: 1;
}

.demo-cta-btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out-expo), background 0.3s ease, color 0.3s ease;
  backdrop-filter: blur(8px);
}

.demo-card:hover .demo-cta-btn {
  transform: translateY(0);
}

.demo-cta-btn:hover {
  background: var(--white);
  color: var(--navy-950);
}

.demo-content {
  padding: 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.demo-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.demo-desc {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* Tilt Card Base mechanics */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px) translateZ(0);
  position: relative;
  will-change: transform;
  backface-visibility: hidden;
}
.tilt-card::before {
  /* Dynamic glare layer setup */
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
  mix-blend-mode: overlay;
}
.tilt-card:hover::before {
  opacity: 1;
}

/* Performance hints — only on elements that actually animate */
.hero-text-overlay {
  will-change: transform;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .ambient-orb {
    display: none;
  }
}
