/* ===== Variables & Reset ===== */
:root{
  --bg: #05080a;
  --bg-alt: #0a100e;
  --card: rgba(255,255,255,0.035);
  --card-border: rgba(57,255,136,0.16);
  --green: #39ff88;
  --green-2: #0af0c4;
  --green-dim: #1c8f5a;
  --text: #eafff4;
  --text-dim: #93ab9f;
  --text-dimmer: #5f7669;
  --radius: 18px;
  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,.logo,.btn,.eyebrow,.section-tag,.stat-num,.price-main,.process-num{
  font-family: 'Unbounded', 'Inter', sans-serif;
}

h1,h2,h3{ margin:0; font-weight:600; color:var(--text); }

p{ margin:0; }

a{ color: inherit; text-decoration:none; }

ul{ margin:0; padding:0; list-style:none; }

img,svg{ display:block; max-width:100%; }

.container{
  width:100%;
  max-width: var(--container);
  margin:0 auto;
  padding: 0 24px;
}

::selection{ background: var(--green); color:#04140b; }

/* ===== Background FX ===== */
.bg-fx{
  position:fixed;
  inset:0;
  z-index:-1;
  overflow:hidden;
  background: var(--bg);
}

.orb{
  position:absolute;
  filter: blur(90px);
  opacity:0.38;
  will-change: transform;
  mix-blend-mode: screen;
  transform: translateZ(0);
  contain: strict;
}
.orb-1{
  width:560px; height:560px;
  top:-160px; left:-120px;
  background: radial-gradient(circle at 30% 30%, var(--green), transparent 70%);
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  animation: float1 28s var(--ease-soft) infinite;
}
.orb-2{
  width:480px; height:480px;
  bottom:-140px; right:-100px;
  background: radial-gradient(circle at 60% 40%, var(--green-2), transparent 70%);
  border-radius: 55% 45% 40% 60% / 50% 40% 60% 50%;
  animation: float2 32s var(--ease-soft) infinite;
}
.orb-3{
  width:420px; height:420px;
  top:36%; left:44%;
  background: radial-gradient(circle at 50% 50%, rgba(10,240,196,0.7), transparent 70%);
  border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%;
  animation: float3 36s var(--ease-soft) infinite;
  opacity:0.22;
}

@keyframes float1{
  0%,100%{ transform: translate(0,0) scale(1); }
  33%{ transform: translate(70px,50px) scale(1.12); }
  66%{ transform: translate(30px,90px) scale(0.96); }
}
@keyframes float2{
  0%,100%{ transform: translate(0,0) scale(1); }
  33%{ transform: translate(-60px,-40px) scale(1.1); }
  66%{ transform: translate(-20px,-80px) scale(0.94); }
}
@keyframes float3{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-40px,60px) scale(1.15); }
}

@media (prefers-reduced-motion: reduce){
  .orb{ animation: none !important; }
}

.grid-overlay{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(57,255,136,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,136,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight:500;
  letter-spacing: 0.01em;
  cursor:pointer;
  border: 1px solid transparent;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.5) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
  z-index:1;
  mix-blend-mode: overlay;
}
.btn:hover::before{ transform: translateX(120%); }
.btn-primary{
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color:#04140b;
  box-shadow: 0 0 0 rgba(57,255,136,0);
}
.btn-primary:hover{
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 12px 36px rgba(57,255,136,0.4);
}
.btn-ghost{
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  color: var(--text);
  border-color: rgba(255,255,255,0.14);
}
.btn-ghost:hover{
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 10px 30px rgba(57,255,136,0.15);
}
.btn-block{ width:100%; margin-top: 20px; }
.btn:active{ transform: translateY(0) scale(0.98); transition-duration: .15s; }

/* ===== Header ===== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5,8,10,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 76px;
}
.logo{
  font-size: 19px;
  font-weight:600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.logo-y{
  color: var(--green);
  text-shadow: 0 0 18px rgba(57,255,136,0.6);
}
.nav{
  display:flex;
  gap: 34px;
}
.nav a{
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color .4s var(--ease);
  position:relative;
  padding-bottom: 3px;
}
.nav a::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:100%; height:1px;
  background: linear-gradient(90deg, var(--green), var(--green-2));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover{ color: var(--text); }
.nav a:hover::after{ transform: scaleX(1); transform-origin: left; }
.btn-nav{ padding: 11px 22px; }

.burger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width: 30px; height:30px;
  background:none; border:none; cursor:pointer;
  padding:0;
}
.burger span{
  width:100%; height:2px;
  background: var(--text);
  border-radius:2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.burger.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2){ opacity:0; }
.burger.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero{
  padding: 200px 0 120px;
  text-align:center;
}
.eyebrow{
  display:inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--card-border);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  background: rgba(57,255,136,0.05);
}
.hero h1{
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 900px;
  margin: 0 auto;
}
.grad-text{
  background: linear-gradient(135deg, var(--green), var(--green-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub{
  max-width: 620px;
  margin: 26px auto 0;
  color: var(--text-dim);
  font-size: 17px;
}
.hero-cta{
  display:flex;
  justify-content:center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats{
  display:flex;
  justify-content:center;
  gap: 64px;
  margin-top: 90px;
  flex-wrap: wrap;
}
.stat{ display:flex; flex-direction:column; gap:6px; }
.stat-num{
  font-size: 28px;
  font-weight:600;
  color: var(--text);
}
.stat-label{
  font-size: 13.5px;
  color: var(--text-dimmer);
}

/* ===== Section shared ===== */
section{ padding: 120px 0; position:relative; }
.section-tag{
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  display:block;
}
.section-title{
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 640px;
}
.section-sub{
  color: var(--text-dim);
  max-width: 560px;
  margin-top: 16px;
  font-size: 16px;
}

/* ===== Services ===== */
.cards-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.card{
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover{
  transform: translateY(-6px) scale(1.012);
}
.card-icon{
  width: 46px; height:46px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  color: var(--green);
  background: rgba(57,255,136,0.08);
  margin-bottom: 20px;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.card:hover .card-icon{
  transform: scale(1.08) rotate(-4deg);
  background: rgba(57,255,136,0.16);
}
.card-icon svg{ width:22px; height:22px; }
.card h3{ font-size: 18px; margin-bottom: 10px; }
.card p{ color: var(--text-dim); font-size: 14.5px; }

/* stagger reveal for grid children */
.cards-grid .reveal:nth-child(1){ transition-delay: .05s; }
.cards-grid .reveal:nth-child(2){ transition-delay: .12s; }
.cards-grid .reveal:nth-child(3){ transition-delay: .19s; }
.cards-grid .reveal:nth-child(4){ transition-delay: .26s; }
.cards-grid .reveal:nth-child(5){ transition-delay: .33s; }
.cards-grid .reveal:nth-child(6){ transition-delay: .4s; }
.pricing-grid .reveal:nth-child(1){ transition-delay: .05s; }
.pricing-grid .reveal:nth-child(2){ transition-delay: .13s; }
.pricing-grid .reveal:nth-child(3){ transition-delay: .21s; }
.pricing-grid .reveal:nth-child(4){ transition-delay: .29s; }
.process-grid .reveal:nth-child(1){ transition-delay: .05s; }
.process-grid .reveal:nth-child(2){ transition-delay: .13s; }
.process-grid .reveal:nth-child(3){ transition-delay: .21s; }
.process-grid .reveal:nth-child(4){ transition-delay: .29s; }

/* ===== Liquid glass ===== */
.glass{
  position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02) 40%, rgba(57,255,136,0.05));
  backdrop-filter: blur(34px) saturate(200%) brightness(1.08);
  -webkit-backdrop-filter: blur(34px) saturate(200%) brightness(1.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    inset 0 0 50px rgba(57,255,136,0.05),
    0 16px 46px rgba(0,0,0,0.4);
  overflow: hidden;
  contain: layout style paint;
  transition: transform .6s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease);
}

/* specular highlight, like light catching the top edge of glass */
.glass::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius: inherit;
  background:
    radial-gradient(420px circle at var(--mx,50%) var(--my,20%), rgba(57,255,136,0.28), transparent 60%),
    linear-gradient(115deg, rgba(255,255,255,0.22) 0%, transparent 24%);
  opacity:.55;
  transition: opacity .5s var(--ease);
  pointer-events:none;
}
.glass::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius: inherit;
  padding:1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.05) 30%, transparent 55%, rgba(57,255,136,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .8;
  pointer-events:none;
}
.glass:hover::before{ opacity:1; }
.glass:hover{
  border-color: rgba(57,255,136,0.4);
  background: linear-gradient(165deg, rgba(255,255,255,0.13), rgba(255,255,255,0.03) 40%, rgba(57,255,136,0.08));
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    inset 0 0 60px rgba(57,255,136,0.1),
    0 22px 60px rgba(0,0,0,0.45),
    0 0 60px rgba(57,255,136,0.12);
}

@media (max-width: 760px), (pointer: coarse){
  .glass{ backdrop-filter: blur(20px) saturate(170%) brightness(1.05); -webkit-backdrop-filter: blur(20px) saturate(170%) brightness(1.05); }
}

/* ===== Pricing ===== */
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}
.price-card{
  border-radius: var(--radius);
  padding: 32px 26px;
  display:flex;
  flex-direction:column;
}
.price-card:hover{ transform: translateY(-6px) scale(1.012); }
.price-card--accent{
  border-color: rgba(57,255,136,0.35) !important;
  background: linear-gradient(180deg, rgba(57,255,136,0.09), rgba(255,255,255,0.02)) !important;
  padding-top: 44px;
}
.price-badge{
  position:absolute;
  top: 18px; left: 26px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color:#04140b;
  font-size: 11.5px;
  font-weight:600;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  z-index: 2;
}
.price-card h3{ font-size: 17px; margin-bottom: 8px; }
.price-desc{ color: var(--text-dimmer); font-size: 13.5px; min-height: 34px; }
.price-value{
  margin: 22px 0 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display:flex;
  flex-direction:column;
  gap: 4px;
}
.price-main{ font-size: 22px; font-weight:600; color: var(--green); }
.price-alt{ font-size: 13.5px; color: var(--text-dimmer); }
.price-list{ flex-grow:1; }
.price-list li{
  color: var(--text-dim);
  font-size: 13.5px;
  padding: 7px 0;
  padding-left: 20px;
  position:relative;
}
.price-list li::before{
  content:'';
  position:absolute;
  left:0; top:14px;
  width:6px; height:6px;
  border-radius:50%;
  background: var(--green);
}
.price-note{
  margin-top: 36px;
  color: var(--text-dimmer);
  font-size: 13.5px;
  max-width: 620px;
}

/* ===== Process ===== */
.process-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.process-step{
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 22px;
}
.process-num{
  color: var(--green);
  font-size: 14px;
  font-weight:600;
  letter-spacing: 0.05em;
}
.process-step h3{ font-size:17px; margin: 14px 0 10px; }
.process-step p{ color: var(--text-dim); font-size: 14px; }

/* ===== Contacts ===== */
.contacts-inner{ text-align:center; }
.contacts .section-sub{ margin-left:auto; margin-right:auto; }
.contact-cards{
  display:flex;
  justify-content:center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.contact-card{
  display:flex;
  align-items:center;
  gap: 16px;
  border-radius: var(--radius);
  padding: 22px 30px;
  min-width: 280px;
  text-align:left;
}
.contact-card:hover{
  transform: translateY(-6px) scale(1.012);
}
.contact-card h3{ font-size: 15px; margin-bottom:4px; }
.contact-card span{ color: var(--text-dim); font-size: 14px; }

/* ===== Footer ===== */
.site-footer{
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner p{ color: var(--text-dimmer); font-size: 13.5px; }
.footer-links{ display:flex; gap:22px; }
.footer-links a{ color: var(--text-dim); font-size: 13.5px; transition: color .2s ease; }
.footer-links a:hover{ color: var(--green); }

/* ===== Reveal animation ===== */
.reveal{
  opacity:0;
  transform: translateY(28px) scale(0.98);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; opacity:1; transform:none; }
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .cards-grid{ grid-template-columns: repeat(2,1fr); }
  .pricing-grid{ grid-template-columns: repeat(2,1fr); }
  .process-grid{ grid-template-columns: repeat(2,1fr); }
  .hero{ padding: 160px 0 90px; }
}

@media (max-width: 760px){
  .nav{
    position:absolute;
    top: 76px; left:0; right:0;
    background: rgba(5,8,10,0.97);
    backdrop-filter: blur(14px);
    flex-direction:column;
    align-items:center;
    padding: 24px 0;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-14px) scale(0.98);
    opacity:0;
    pointer-events:none;
    transition: transform .5s var(--ease), opacity .4s var(--ease);
  }
  .nav.is-open{
    transform: translateY(0);
    opacity:1;
    pointer-events:auto;
  }
  .btn-nav{ display:none; }
  .burger{ display:flex; }
  .hero-stats{ gap: 36px; }
  .cards-grid,.pricing-grid,.process-grid{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction:column; text-align:center; }
}
