/* ============================================
   LEGACY CODE.AI — Premium Experience
   ============================================ */

:root{
  --bg:            #0a0820;
  --bg-2:          #120c2e;
  --panel:         rgba(28, 22, 60, 0.5);
  --panel-border:  rgba(160, 130, 255, 0.22);
  --text:          #f0eeff;
  --text-dim:      #b4b0d8;
  --text-mute:     #807bb0;

  --purple:        #a374ff;
  --purple-2:      #c9a8ff;
  --magenta:       #ff5cc7;
  --blue:          #4f8bff;
  --cyan:          #2fdfff;
  --pink:          #ff7ad9;

  --accent-grad:   linear-gradient(135deg, #a374ff 0%, #ff5cc7 50%, #2fdfff 100%);
  --accent-grad-2: linear-gradient(135deg, #ff5cc7 0%, #a374ff 50%, #2fdfff 100%);
  --accent-soft:   linear-gradient(135deg, rgba(163,116,255,0.22), rgba(47,223,255,0.18));

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-glow: 0 10px 60px -10px rgba(163,116,255,0.55);
  --shadow-card: 0 25px 70px -25px rgba(0,0,0,0.7), 0 1px 0 rgba(255,255,255,0.05) inset;

  --maxw: 1240px;
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  cursor: none;
}
@media (max-width: 980px){
  body{ cursor: auto; }
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
button{ font-family: inherit; cursor: none; border:none; background:none; color:inherit; }
@media (max-width: 980px){ button{ cursor: pointer; } }

h1,h2,h3,h4,h5{ font-family: 'Space Grotesk', sans-serif; font-weight:600; letter-spacing:-0.02em; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* ============================================
   AMBIENT BACKGROUND — Aurora + Particles
   ============================================ */
.bg-grid{
  position: fixed; inset:0;
  background-image:
    linear-gradient(rgba(163,116,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163,116,255,0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events:none; z-index:0;
}

.aurora{
  position: fixed; inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.5;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora-blob.a1{
  width: 700px; height: 700px;
  background: radial-gradient(circle, #a374ff 0%, transparent 70%);
  top: -200px; left: -150px;
  animation: auroraFloat1 22s ease-in-out infinite;
}
.aurora-blob.a2{
  width: 800px; height: 800px;
  background: radial-gradient(circle, #ff5cc7 0%, transparent 70%);
  top: 30%; right: -250px;
  animation: auroraFloat2 28s ease-in-out infinite;
  opacity: 0.4;
}
.aurora-blob.a3{
  width: 650px; height: 650px;
  background: radial-gradient(circle, #2fdfff 0%, transparent 70%);
  bottom: -200px; left: 20%;
  animation: auroraFloat3 25s ease-in-out infinite;
  opacity: 0.35;
}
.aurora-blob.a4{
  width: 500px; height: 500px;
  background: radial-gradient(circle, #4f8bff 0%, transparent 70%);
  top: 60%; left: -100px;
  animation: auroraFloat4 30s ease-in-out infinite;
  opacity: 0.4;
}
@keyframes auroraFloat1{
  0%,100%{ transform: translate(0,0) scale(1); }
  33%   { transform: translate(80px, 60px) scale(1.15); }
  66%   { transform: translate(-40px, 120px) scale(0.9); }
}
@keyframes auroraFloat2{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%   { transform: translate(-120px, 80px) scale(1.2); }
}
@keyframes auroraFloat3{
  0%,100%{ transform: translate(0,0) scale(1); }
  40%   { transform: translate(100px, -60px) scale(1.1); }
  80%   { transform: translate(-60px, -120px) scale(0.95); }
}
@keyframes auroraFloat4{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%   { transform: translate(140px, -100px) scale(1.25); }
}

.particles{
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-noise{
  position: fixed; inset:0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
  pointer-events:none; z-index:1; opacity:0.7;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot, .cursor-ring{
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot{
  width: 6px; height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transition: transform 0.08s ease-out, width .25s, height .25s, background .25s;
}
.cursor-ring{
  width: 36px; height: 36px;
  border: 1.5px solid rgba(201, 168, 255, 0.6);
  transition: transform 0.18s ease-out, width .3s, height .3s, border-color .3s, background .3s;
}
.cursor-ring.hover{
  width: 56px; height: 56px;
  border-color: rgba(255, 92, 199, 0.8);
  background: rgba(255, 92, 199, 0.08);
}
.cursor-dot.hover{
  background: var(--magenta);
  box-shadow: 0 0 18px var(--magenta);
}
@media (max-width: 980px){
  .cursor-dot, .cursor-ring{ display: none; }
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress{
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.05);
  z-index: 100;
}
.scroll-progress-bar{
  height: 100%;
  width: 0%;
  background: var(--accent-grad);
  box-shadow: 0 0 10px rgba(255,92,199,0.6);
  transition: width 0.1s linear;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-sm{ padding: 11px 20px; font-size: 14px; }
.btn-block{ width: 100%; }
.btn .arrow{
  display: inline-block;
  transition: transform .3s ease;
}
.btn:hover .arrow{ transform: translateX(4px); }

.btn-primary{
  background: var(--accent-grad);
  background-size: 200% 200%;
  color: #fff;
  box-shadow:
    0 8px 30px -8px rgba(163,116,255,0.7),
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 0 30px -5px rgba(255,92,199,0.4);
  animation: btnGrad 5s ease infinite;
}
@keyframes btnGrad{
  0%,100%{ background-position: 0% 50%; }
  50%    { background-position: 100% 50%; }
}
.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow:
    0 18px 50px -10px rgba(255,92,199,0.7),
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 0 50px -5px rgba(163,116,255,0.5);
}

.btn-ghost{
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(163,116,255,0.5);
  transform: translateY(-2px);
}

/* Button ripple */
.btn .ripple{
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: ripple 0.7s ease-out;
  pointer-events: none;
}
@keyframes ripple{
  to{ transform: scale(4); opacity: 0; }
}

/* ============================================
   NAV
   ============================================ */
.nav{
  position: fixed; top:0; left:0; right:0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  background: rgba(10,8,32,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background .3s, border-color .3s;
}
.nav.scrolled{
  background: rgba(10,8,32,0.85);
  border-bottom-color: rgba(163,116,255,0.18);
}
.nav-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand{
  display: flex; align-items: center; gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}
.brand-logo{
  width: auto;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(163,116,255,0.7));
  animation: logoPulse 4s ease-in-out infinite;
  transition: transform .4s ease, filter .4s ease;
}
.brand:hover .brand-logo{
  transform: scale(1.1) rotate(-3deg);
  filter: drop-shadow(0 0 22px rgba(255,92,199,0.9));
}
@keyframes logoPulse{
  0%,100%{ filter: drop-shadow(0 0 10px rgba(163,116,255,0.5)); }
  50%    { filter: drop-shadow(0 0 22px rgba(47,223,255,0.85)); }
}
.brand-name{
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-name .dot{ color: var(--cyan); }

.nav-links{ display: flex; gap: 32px; }
.nav-links a{
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  transition: color .2s;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-6px;
  width:0; height:1px; background: var(--accent-grad);
  transition: width .3s;
}
.nav-links a:hover{ color: var(--text); }
.nav-links a:hover::after{ width:100%; }

.nav-burger{ display:none; flex-direction:column; gap:5px; padding:8px; }
.nav-burger span{ width:22px; height:2px; background: var(--text); border-radius:2px; }

/* ============================================
   HERO
   ============================================ */
.hero{
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-beams{ position: absolute; inset:0; pointer-events:none; overflow: hidden; }
.beam{
  position: absolute;
  width: 2px; height: 120%;
  top: -10%;
  background: linear-gradient(180deg, transparent, rgba(163,116,255,0.55), transparent);
  filter: blur(1px);
  animation: beamSlide 8s linear infinite;
  opacity: 0.4;
}
.beam.b1{ left: 18%; animation-duration: 9s; }
.beam.b2{ left: 55%; animation-duration: 11s; animation-delay: -3s; background: linear-gradient(180deg, transparent, rgba(47,223,255,0.55), transparent); }
.beam.b3{ left: 82%; animation-duration: 13s; animation-delay: -6s; background: linear-gradient(180deg, transparent, rgba(255,92,199,0.5), transparent); }
@keyframes beamSlide{
  0%  { transform: translateY(-20%); opacity: 0; }
  20% { opacity: 0.7; }
  80% { opacity: 0.7; }
  100%{ transform: translateY(20%); opacity: 0; }
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow{
  display: inline-flex; align-items:center; gap:10px;
  padding: 8px 16px;
  border: 1px solid rgba(163,116,255,0.35);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(163,116,255,0.1);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
}
.pulse-dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(47,223,255,0.8);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot{
  0%   { box-shadow: 0 0 0 0 rgba(47,223,255,0.8); }
  100% { box-shadow: 0 0 0 12px rgba(47,223,255,0); }
}

.hero-title{
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
  font-weight: 600;
}
.hero-title .word{
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(-40deg);
  animation: wordIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  margin-right: 0.25em;
}
.hero-title .word:nth-child(1){ animation-delay: 0.15s; }
.hero-title .word:nth-child(2){ animation-delay: 0.30s; }
.hero-title .word:nth-child(3){ animation-delay: 0.45s; }
@keyframes wordIn{
  to{ opacity: 1; transform: translateY(0) rotateX(0); }
}

.grad-text{
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradShift 5s ease infinite, wordIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}
@keyframes gradShift{
  0%,100%{ background-position: 0% 50%; }
  50%    { background-position: 100% 50%; }
}

.hero-sub{
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-ctas{
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 24px;
}
.trust-line{
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* Griffin stage */
.hero-visual{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.griffin-stage{
  position: relative;
  width: 100%;
  max-width: 660px;
  aspect-ratio: 1 / 1;
  display: flex; align-items:center; justify-content:center;
}
.griffin-aura{
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(163,116,255,0.7) 0%, rgba(255,92,199,0.4) 25%, rgba(47,223,255,0.25) 50%, transparent 75%);
  filter: blur(70px);
  animation: auraPulse 6s ease-in-out infinite;
  z-index: 0;
}
@keyframes auraPulse{
  0%,100%{ transform: scale(0.95); opacity: 0.85; }
  50%    { transform: scale(1.15); opacity: 1; }
}
.griffin-rings{
  position: absolute; inset: 0;
  display: flex; align-items:center; justify-content:center;
  z-index: 1;
}
.griffin-rings span{
  position: absolute;
  border: 1px solid rgba(163,116,255,0.3);
  border-radius: 50%;
  animation: ringSpin 20s linear infinite;
}
.griffin-rings span:nth-child(1){ width: 72%; height: 72%; border-style: dashed; }
.griffin-rings span:nth-child(2){ width: 86%; height: 86%; border-color: rgba(47,223,255,0.22); animation-direction: reverse; animation-duration: 30s; }
.griffin-rings span:nth-child(3){ width: 100%; height: 100%; border-color: rgba(255,92,199,0.15); animation-duration: 45s; }
@keyframes ringSpin{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }

.griffin-wrap{
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items:center; justify-content:center;
  z-index: 2;
  animation: griffinFloat 7s ease-in-out infinite;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes griffinFloat{
  0%,100%{ transform: translateY(0); }
  50%    { transform: translateY(-22px); }
}
.griffin-img{
  width: 110%;
  height: 110%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 50px rgba(163,116,255,0.6))
    drop-shadow(0 0 100px rgba(255,92,199,0.35))
    drop-shadow(0 0 30px rgba(47,223,255,0.4));
  animation: griffinHue 12s ease-in-out infinite;
}
@keyframes griffinHue{
  0%,100%{ filter: drop-shadow(0 0 50px rgba(163,116,255,0.6)) drop-shadow(0 0 100px rgba(255,92,199,0.35)) drop-shadow(0 0 30px rgba(47,223,255,0.4)); }
  50%    { filter: drop-shadow(0 0 60px rgba(255,92,199,0.65)) drop-shadow(0 0 110px rgba(47,223,255,0.45)) drop-shadow(0 0 35px rgba(163,116,255,0.5)); }
}
.griffin-shimmer{
  position: absolute; inset:0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  mix-blend-mode: screen;
  animation: shimmerMove 6s ease-in-out infinite;
  pointer-events:none;
  z-index: 3;
}
@keyframes shimmerMove{
  0%,100%{ transform: translateX(-100%); }
  50%    { transform: translateX(100%); }
}

.scroll-hint{
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items:center; gap: 10px;
  color: var(--text-mute);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 3;
}
.scroll-track{
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.scroll-dot{
  position: absolute; top: 0; left: 50%;
  width: 1px; height: 14px;
  background: var(--purple-2);
  transform: translateX(-50%);
  animation: scrollDot 2.4s ease-in-out infinite;
}
@keyframes scrollDot{
  0%  { top:-14px; opacity:0; }
  30% { opacity:1; }
  100%{ top:48px; opacity:0; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-wrap{
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,8,32,0.4);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}
.marquee{
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.marquee-track{
  display: inline-flex;
  gap: 36px;
  animation: marqueeMove 40s linear infinite;
}
.marquee-track span{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.marquee-track .dot-sep{ color: var(--magenta); font-size: 8px; }
@keyframes marqueeMove{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section{ padding: 120px 0; position: relative; }

.section-head{
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-tag{
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(163,116,255,0.35);
  border-radius: 999px;
  background: rgba(163,116,255,0.08);
}
.section-head h2{
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.section-head p{
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* ============================================
   NEEDS
   ============================================ */
.needs-wrap{
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.needs-wrap::before{
  content:""; position:absolute; inset:-1px;
  background: linear-gradient(135deg, rgba(163,116,255,0.3), transparent 40%, rgba(47,223,255,0.25));
  border-radius: inherit;
  z-index:-1;
  opacity: 0.5;
}
.needs-options{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
}
.need-chip{
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: all .25s ease;
}
.need-chip:hover{
  color: var(--text);
  border-color: rgba(163,116,255,0.5);
  transform: translateY(-2px);
}
.need-chip.active{
  background: var(--accent-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 24px -6px rgba(255,92,199,0.7);
}

.needs-panel{
  min-height: 180px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(10,8,32,0.55);
  border: 1px solid rgba(255,255,255,0.07);
}
.needs-panel h4{
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text);
}
.needs-panel p{
  color: var(--text-dim);
  margin-bottom: 18px;
  line-height: 1.7;
}
.needs-panel ul{
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 10px;
}
.needs-panel li{
  color: var(--text-dim);
  font-size: 14px;
  padding-left: 22px;
  position: relative;
}
.needs-panel li::before{
  content:"→";
  position: absolute; left:0;
  color: var(--cyan);
  font-weight: 600;
}
.panel-fade{ animation: panelFade .45s ease both; }
@keyframes panelFade{
  from{ opacity:0; transform: translateY(8px); }
  to  { opacity:1; transform: translateY(0); }
}

/* ============================================
   CARDS — Tilt
   ============================================ */
.tilt{
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1), border-color .4s;
  will-change: transform;
}

/* SERVICES */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card{
  position: relative;
  padding: 36px 30px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.service-card:hover{ border-color: rgba(255,92,199,0.5); }
.service-glow{
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,92,199,0.45), transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.service-card:hover .service-glow{ opacity: 1; }
.service-num{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  font-weight: 600;
}
.service-card h3{ font-size: 1.6rem; margin-bottom: 10px; }
.service-lead{ color: var(--text-dim); margin-bottom: 20px; font-size: 15px; }
.service-card ul{ list-style:none; }
.service-card li{
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 10px;
}
.service-card li::before{
  content:"";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-grad);
  flex-shrink:0;
  box-shadow: 0 0 8px rgba(255,92,199,0.6);
}

/* RESULTS */
.results-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.result-card{
  padding: 40px 32px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.result-card::before{
  content:"";
  position: absolute; top:0; left:0;
  width: 100%; height: 2px;
  background: var(--accent-grad);
  opacity: 0.7;
}
.result-stat{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 10px;
  flex-wrap: wrap;
  background: var(--accent-grad);
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.result-stat small{
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mute);
  -webkit-text-fill-color: var(--text-mute);
}
.result-stat .arrow{
  -webkit-text-fill-color: var(--text-dim);
  color: var(--text-dim);
  font-size: 1.6rem;
}
.result-card h4{ font-size: 1.2rem; margin-bottom: 10px; color: var(--text); }
.result-card p{ color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* PROCESS */
.process-grid{
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 16px;
  align-items: stretch;
}
.step-card{
  padding: 36px 28px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
}
.step-num{
  display: inline-flex; align-items:center; justify-content:center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(163,116,255,0.4);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--purple-2);
  margin-bottom: 22px;
  font-weight: 600;
  box-shadow: 0 0 20px -5px rgba(163,116,255,0.5);
}
.step-card h3{ font-size: 1.3rem; margin-bottom: 10px; }
.step-card p{ color: var(--text-dim); font-size: 14px; line-height: 1.65; }
.step-line{
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, rgba(163,116,255,0.5), rgba(47,223,255,0.5));
  position: relative;
  opacity: 0.7;
}
.step-line::after{
  content:"";
  position: absolute; right: -4px; top: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse{
  0%,100%{ transform: scale(1); opacity: 1; }
  50%   { transform: scale(1.4); opacity: 0.6; }
}

/* CONTACT */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact-copy h2{
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin: 14px 0 18px;
}
.contact-copy p{ color: var(--text-dim); margin-bottom: 28px; }
.contact-meta{ display: flex; flex-direction: column; gap: 12px; }
.meta-item{
  display: inline-flex; align-items:center; gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.025);
  font-size: 14px;
  color: var(--text-dim);
  transition: all .25s ease;
  width: fit-content;
}
.meta-item:hover{
  color: var(--text);
  border-color: rgba(163,116,255,0.5);
  transform: translateX(4px);
}
.meta-ico{
  width: 30px; height: 30px;
  display: inline-flex; align-items:center; justify-content:center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--cyan);
  font-size: 14px;
}
.whatsapp-btn .meta-ico{ background: rgba(37,211,102,0.18); color:#25D366; }

.contact-form{
  padding: 36px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  overflow: hidden;
}
.contact-form::before{
  content:""; position: absolute; inset: -1px;
  background: linear-gradient(135deg, rgba(163,116,255,0.25), transparent 50%, rgba(255,92,199,0.2));
  border-radius: inherit;
  z-index: -1;
  opacity: 0.6;
}
.contact-form .row{
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.contact-form label{
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  padding: 13px 14px;
  background: rgba(10,8,32,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: rgba(255,92,199,0.6);
  background: rgba(10,8,32,0.8);
  box-shadow: 0 0 0 3px rgba(255,92,199,0.12);
}
.contact-form select{
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.contact-form select option{
  background: #0a0820;
  color: var(--text);
}

.form-status{
  font-size: 13px;
  min-height: 18px;
  color: var(--text-dim);
  text-align: center;
}
.form-status.success{ color: #4ade80; }
.form-status.error{ color: #f87171; }

/* ============================================
   FOOTER
   ============================================ */
.footer{
  padding: 70px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(163,116,255,0.06));
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .brand{ margin-bottom: 14px; }
.footer-tag{
  color: var(--text-mute);
  font-style: italic;
  font-size: 14px;
}
.footer-col h5{
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a{
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-dim);
  transition: color .2s, transform .2s;
}
.footer-col a:hover{ color: var(--text); transform: translateX(3px); }
.footer-bottom{
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-mute);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible{
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px){
  .nav-inner{
    gap: 12px;
  }
  /* Hide the navbar CTA on tablet/mobile — burger menu + hero CTA cover this */
  .nav .nav-inner > .btn-primary{
    display: none;
  }
  .nav-links{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,8,32,0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(163,116,255,0.18);
    padding: 24px 28px;
    gap: 18px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links.open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-burger{ display: flex; }
  .nav-burger span{ transition: transform .25s ease; }
  .nav-burger.active span:nth-child(1){ transform: translateY(4px) rotate(45deg); }
  .nav-burger.active span:nth-child(2){ transform: translateY(-3px) rotate(-45deg); }

  .hero{ padding: 120px 0 60px; min-height: auto; }
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .hero-visual{ order: -1; }
  .griffin-stage{ max-width: 420px; }
  .services-grid,
  .results-grid{ grid-template-columns: 1fr; }
  .process-grid{ grid-template-columns: 1fr; }
  .step-line{ display: none; }
  .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 30px; }
  .section{ padding: 90px 0; }
  .tilt{ transform: none !important; }
}

@media (max-width: 600px){
  .container{ padding: 0 20px; }
  .nav-inner{ padding: 12px 20px; gap: 10px; }
  .brand-name{ font-size: 15px; }
  .brand-logo{ height: 30px; }
  .needs-wrap{ padding: 24px; }
  .needs-panel{ padding: 20px; }
  .contact-form{ padding: 24px; }
  .contact-form .row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; gap: 8px; text-align: center; }
  .griffin-stage{ max-width: 320px; }

  /* Stack hero CTAs vertically so nothing is cut off */
  .hero-ctas{
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .hero-ctas .btn{
    width: 100%;
    flex: none;
    padding: 14px 20px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }

  .scroll-hint{ display: none; }
}

@media (max-width: 380px){
  .brand-name{ font-size: 14px; }
  .brand-logo{ height: 28px; }
  .hero-ctas .btn{
    font-size: 13px;
    padding: 13px 16px;
  }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .aurora-blob, .particles{ display: none; }
}
