/*
Theme Name: Nexon Limited
Theme URI: https://nexonnz.com
Author: Nexon Limited
Author URI: https://nexonnz.com
Description: Nexon Limited — Performance-based lead generation partner for home services, home improvement, construction, and beauty businesses. New Zealand. Light theme with electric purple accents, aurora mesh backgrounds, hero video, services grid, four-phase process, principles grid, testimonials, and a lead capture form wired to GoHighLevel via webhook.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: All Rights Reserved
License URI:
Text Domain: nexon
Tags: business, one-page, light, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   NEXON LIMITED — Main Stylesheet (Light + purple/indigo aurora)
   ============================================================ */

:root {
  --bg: #fdfcff;
  --bg-2: #f7f6fd;
  --bg-3: #efeafc;
  --surface: #ffffff;
  --surface-2: #f5f3ff;
  --border: #e6e9f0;
  --border-strong: #d4c9ee;
  --text: #0f172a;
  --text-dim: #334155;
  --text-mute: #64748b;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-2: #6d28d9;
  --accent-3: #a78bfa;
  --accent-deep: #4c1d95;
  --accent-soft: rgba(124, 58, 237, 0.10);
  --accent-glow: rgba(124, 58, 237, 0.22);
  --dark-1: #120818;
  --dark-2: #1b0e2a;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(109, 40, 217, 0.18), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 44px rgba(124, 58, 237, 0.28);
  --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  --gradient-purple-3: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #6d28d9 100%);
  --gradient-dark: linear-gradient(135deg, #120818 0%, #1b0e2a 100%);
  --display: 'Fraunces', serif;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Sections stack above the fixed video */
section, .logos-strip, footer {
  position: relative;
  z-index: 2;
}
/* Nav above everything */
nav { z-index: 100; }

/* Full-page aurora mesh — soft slow-moving color blobs for life */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 15% 10%, rgba(168, 85, 247, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(99, 102, 241, 0.20), transparent 50%),
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(139, 92, 246, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 50% at 90% 80%, rgba(168, 85, 247, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 40% at 40% 100%, rgba(99, 102, 241, 0.14), transparent 50%);
}

body.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar nav { top: 46px; }
}

::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.accent { color: var(--accent); }

/* Section-level orb decorators — subtle floating blurred circles */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ─────────── NAV ─────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(253, 252, 255, 0.75);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.logo-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 20px var(--accent); }
  50% { opacity: 0.6; transform: scale(0.85); box-shadow: 0 0 8px var(--accent); }
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: var(--text-dim);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  padding: 10px 20px;
  background: var(--gradient-purple);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 1;
}

/* ─────────── SITE-WIDE FIXED VIDEO BACKDROP ─────────── */
/* Fixed to viewport — persists as user scrolls until the final CTA video covers it */
.site-video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}
.site-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  filter: saturate(1.5) hue-rotate(230deg);
}
.site-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(253,252,255,0.4) 0%, rgba(253,252,255,0.65) 55%, rgba(253,252,255,0.82) 100%),
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(168, 85, 247, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(124, 58, 237, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(139, 92, 246, 0.14), transparent 60%);
}
/* Mobile: position:fixed on video is janky in iOS Safari — pin to hero only */
@media (max-width: 900px) {
  .site-video-bg { position: absolute; height: 100vh; }
  body { position: relative; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 33, 182, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 33, 182, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black, transparent 80%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  width: 100%;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
h1.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin-bottom: 28px;
  color: var(--text);
}
h1.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--gradient-purple-3);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 56ch;
  margin-bottom: 44px;
  line-height: 1.6;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  padding: 16px 28px;
  background: var(--gradient-purple);
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-primary svg { transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  padding: 16px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 15px;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.hero-stats {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero-stat-num {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--text);
}
.hero-stat-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding: 140px 0 80px; }
}

/* ─────────── SECTION SHARED ─────────── */
section { padding: 120px 0; position: relative; }
.section-head {
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: end;
}
.section-tag {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
}
.section-tag-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.section-tag-line::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gradient-purple);
}
h2.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}
h2.section-title em {
  font-style: italic;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0.55;
}
.section-lede {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 50ch;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ─────────── LOGOS STRIP ─────────── */
.logos-strip {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: transparent;
  position: relative;
}
.logos-track {
  display: flex;
  gap: 80px;
  align-items: center;
  animation: scroll 30s linear infinite;
  width: max-content;
}
.logos-track span {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-style: italic;
  opacity: 0.55;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ─────────── CAPABILITIES ─────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.cap {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}
.cap:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cap-1 { grid-column: span 7; min-height: 360px; }
.cap-2 { grid-column: span 5; min-height: 360px; }
.cap-3 { grid-column: span 4; min-height: 280px; }
.cap-4 { grid-column: span 4; min-height: 280px; }
.cap-5 { grid-column: span 4; min-height: 280px; }
@media (max-width: 900px) {
  .cap-1, .cap-2, .cap-3, .cap-4, .cap-5 { grid-column: span 12; }
}
.cap-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 28px;
  display: block;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.cap-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
  color: var(--text);
}
.cap-1 .cap-title { font-size: 36px; }
.cap-desc {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.cap-art {
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
  opacity: 0.65;
}
.cap-1 .cap-art {
  width: 360px; height: 360px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent-3), transparent 55%),
    radial-gradient(circle at 70% 70%, var(--accent-2), transparent 55%);
  filter: blur(50px);
  opacity: 0.5;
}
.cap-2 .cap-art {
  width: 240px; height: 240px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  transform: translate(40%, 40%);
  opacity: 0.35;
}
.cap-2 .cap-art::after {
  content: '';
  position: absolute; inset: 30px;
  border: 1px solid var(--accent-2);
  border-radius: 50%;
}
.cap-3::after, .cap-4::after, .cap-5::after {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
  filter: blur(30px);
  opacity: 0.4;
  pointer-events: none;
}
.cap-4::after { background: radial-gradient(circle, var(--accent-2), transparent 70%); }
.cap-5::after { background: radial-gradient(circle, var(--accent), transparent 70%); }

/* ─────────── INDUSTRIES CARD ─────────── */
.voice-section {
  background: transparent;
  position: relative;
  overflow: hidden;
}
.voice-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}
.voice-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
}
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .voice-grid { grid-template-columns: 1fr; gap: 48px; }
}
.industries-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
.industry-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 10px;
  transition: background 0.25s, transform 0.25s;
  cursor: default;
}
.industry-row:hover {
  background: var(--surface-2);
  transform: translateX(4px);
}
.industry-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(99, 102, 241, 0.10));
  flex-shrink: 0;
}
.industry-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  color: var(--text);
}
.industry-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ─────────── PROCESS ─────────── */
.process {
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}
.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.phase {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.phase:hover { background: var(--surface-2); }
.phase-num {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 32px;
  display: block;
}
.phase-name {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-weight: 500;
}
.phase-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  line-height: 1.2;
  color: var(--text);
}
.phase-desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .phase-grid { grid-template-columns: 1fr; }
}

/* ─────────── PRINCIPLES ─────────── */
#principles { position: relative; overflow: hidden; }
#principles::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
  filter: blur(70px);
  opacity: 0.28;
  pointer-events: none;
}
#principles::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  filter: blur(70px);
  opacity: 0.22;
  pointer-events: none;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}
.principle {
  background: var(--surface);
  padding: 48px 36px;
  transition: background 0.3s;
}
.principle:hover { background: var(--surface-2); }
.principle-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 28px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(99, 102, 241, 0.10));
}
.principle-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--text);
}
.principle-desc {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr; }
}

/* ─────────── TESTIMONIALS ─────────── */
#voices {
  background: transparent;
  position: relative;
  overflow: hidden;
}
#voices::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: 16px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  box-shadow: var(--shadow-sm);
}
.quote:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.quote-mark {
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.5;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  display: block;
}
.quote-text {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--text);
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.quote-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-purple-3);
  box-shadow: 0 4px 12px var(--accent-glow);
}
.quote-name { font-size: 14px; font-weight: 500; color: var(--text); }
.quote-role { font-size: 12px; color: var(--text-mute); font-family: var(--mono); }
@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr; }
}

/* ─────────── FINAL CTA / CONTACT ─────────── */
.final {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(139, 92, 246, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(168, 85, 247, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(99, 102, 241, 0.14), transparent 60%);
  z-index: 0;
}
.final-inner { position: relative; z-index: 1; }
.final h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text);
}
.final h2 em {
  font-style: italic;
  background: var(--gradient-purple-3);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.final p {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 52ch;
  margin: 0 auto 44px;
  line-height: 1.6;
}

/* CONTACT FORM */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.form-row .form-field { margin-bottom: 0; }
.form-field label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238b5cf6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  padding: 18px 28px;
  font-size: 16px;
}
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--accent);
  color: var(--accent-deep);
}
.form-status.error {
  display: block;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--accent-2);
  color: #4338ca;
}

/* GHL EMBEDDED FORM (kept in case iframe is re-used later) */
.ghl-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  min-height: 720px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ghl-form-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 700px;
  border: none;
  border-radius: 12px;
  display: block;
}
@media (max-width: 640px) {
  .ghl-form-wrap { min-height: 860px; }
  .ghl-form-wrap iframe { min-height: 840px; }
}

/* ─────────── FOOTER ─────────── */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 300px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  max-width: 36ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-base {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--text-mute);
  font-size: 12px;
  font-family: var(--mono);
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-base { flex-direction: column; gap: 12px; }
}

/* ─────────── ENTRANCE ANIMATIONS ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.reveal-1 { animation-delay: 0.1s; }
.reveal-2 { animation-delay: 0.25s; }
.reveal-3 { animation-delay: 0.4s; }
.reveal-4 { animation-delay: 0.55s; }
.reveal-5 { animation-delay: 0.7s; }
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ─────────── NEW: LOGO IMAGE OVERRIDE ─────────── */
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.footer-brand .logo-img { height: 28px; }
@media (max-width: 480px) {
  .logo-img { height: 26px; }
}

/* ─────────── NEW: HERO CONTAINER (stacks inner + stats) ─────────── */
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ─────────── NEW: HERO WITH SIDE VISUAL ─────────── */
.hero-inner.has-visual {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-visual {
  position: relative;
  z-index: 3;
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(76, 29, 149, 0.28);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 900px) {
  .hero-inner.has-visual { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
}

/* ─────────── NEW: FINAL CTA VIDEO BACKGROUND ─────────── */
.final.has-video {
  padding: 160px 0;
  z-index: 3;
}
.final-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.final-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.final-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 8, 24, 0.55) 0%, rgba(18, 8, 24, 0.75) 60%, rgba(18, 8, 24, 0.92) 100%),
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(124, 58, 237, 0.35), transparent 70%);
  z-index: 1;
}
.final.has-video::before { display: none; }
.final.has-video .final-inner {
  position: relative;
  z-index: 2;
}
.final.has-video h2 {
  color: #fff;
}
.final.has-video h2 em {
  background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.final.has-video p {
  color: rgba(255, 255, 255, 0.82);
}
.final.has-video .contact-form {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
