:root{
  --bg: #08080c;
  --bg-alt: #0e0e16;
  --surface: rgba(255,255,255,0.04);
  --surface-strong: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.1);
  --text: #f2f1f6;
  --text-dim: #a5a3b5;
  --accent: #9b6bff;
  --accent-2: #5eead4;
  --accent-glow: rgba(155,107,255,0.45);
  --radius: 18px;
  --maxw: 1180px;
  --ff-head: 'Space Grotesk', sans-serif;
  --ff-body: 'Inter', sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height:1.6;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
picture{ display:contents; }
.logo-protected{
  -webkit-user-select:none; user-select:none;
  -webkit-user-drag:none; user-drag:none;
  -webkit-touch-callout:none;
  pointer-events:none;
}
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
.container{ max-width: var(--maxw); margin:0 auto; padding: 0 24px; }

/* cursor glow */
.cursor-glow{
  position: fixed; top:0; left:0; width: 480px; height:480px;
  border-radius:50%; pointer-events:none; z-index:1;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  opacity:0; transition: opacity .4s ease;
  mix-blend-mode: screen;
}

/* reveal animation */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view{ opacity:1; transform: translateY(0); }

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 13px 28px; border-radius: 999px; font-weight:600; font-size:.95rem;
  font-family: var(--ff-head); letter-spacing:.2px; cursor:pointer; border:1px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), #6f3bff);
  color:#fff; box-shadow: 0 8px 30px -8px var(--accent-glow);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 14px 40px -8px var(--accent-glow); }
.btn-outline{ border-color: var(--border); color: var(--text); }
.btn-outline:hover{ border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-ghost{ border-color: var(--border); padding: 10px 22px; font-size:.85rem; }
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }

/* header */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  padding: 18px 0; transition: background .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(8,8,12,0.75); backdrop-filter: blur(16px);
  padding: 12px 0; border-color: var(--border);
}
.header-inner{ display:flex; align-items:center; gap:28px; }
.brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.brand-eye{ width:38px; height:38px; border-radius:50%; overflow:hidden; background: radial-gradient(circle, #fff 0%, #d8d3ea 100%); box-shadow: 0 0 0 2px var(--border), 0 0 18px var(--accent-glow); flex-shrink:0; }
.brand-eye.small{ width:30px; height:30px; }
.brand-eye img{ width:100%; height:100%; object-fit:cover; }
.brand-name{ font-family: var(--ff-head); font-weight:700; font-size:1.15rem; letter-spacing:.2px; }
.j-alt{ color: var(--accent); }

.nav{ display:flex; gap:26px; }
.nav a{ font-size:.92rem; color: var(--text-dim); transition: color .25s ease; position:relative; }
.nav a:hover{ color: var(--text); }
.nav a::after{
  content:''; position:absolute; left:0; bottom:-6px; width:0; height:1px; background: var(--accent);
  transition: width .3s ease;
}
.nav a:hover::after{ width:100%; }

.burger{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.burger span{ width:22px; height:2px; background: var(--text); display:block; }

/* HERO */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center; padding: 140px 0 80px; overflow:hidden; }
.hero-bg{ position:absolute; inset:0; z-index:0; }
.blob{ position:absolute; border-radius:50%; filter: blur(90px); opacity:.55; animation: float 14s ease-in-out infinite; }
.blob-a{ width:480px; height:480px; background: var(--accent); top:-120px; right:-100px; }
.blob-b{ width:420px; height:420px; background: var(--accent-2); bottom:-140px; left:-120px; animation-delay: -6s; opacity:.3; }
@keyframes float{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(30px,-30px); } }
.grid-overlay{
  position:absolute; inset:0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; opacity:.25;
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}

.hero-inner{ position:relative; z-index:2; text-align:center; display:flex; flex-direction:column; align-items:center; }
.eyebrow{ font-family: var(--ff-head); text-transform:uppercase; letter-spacing:2px; font-size:.78rem; color: var(--accent-2); margin-bottom:18px; }
.hero-title{ font-family: var(--ff-head); font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight:700; line-height:1.08; max-width:900px; margin:0 0 20px; }
.text-glow{ color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); }
.hero-sub{ max-width:600px; color: var(--text-dim); font-size:1.08rem; margin-bottom: 34px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-bottom:56px; }

.hero-eye{ position:relative; width:220px; height:220px; display:flex; align-items:center; justify-content:center; }
.eye-img{
  width: 78%; height:78%; object-fit:cover; border-radius:50%;
  box-shadow: 0 0 60px var(--accent-glow), 0 0 0 1px var(--border);
  animation: blink 6s ease-in-out infinite;
}
.eye-ring{ position:absolute; inset:0; border:1px solid var(--border); border-radius:50%; animation: spin 20s linear infinite; }
.eye-ring::before{ content:''; position:absolute; top:-3px; left:50%; width:6px; height:6px; background: var(--accent); border-radius:50%; box-shadow: 0 0 12px var(--accent); }
.ring2{ inset:-22px; animation-duration: 30s; animation-direction: reverse; opacity:.5; }
@keyframes spin{ to{ transform: rotate(360deg); } }
@keyframes blink{ 0%,92%,100%{ transform: scaleY(1); } 95%{ transform: scaleY(0.08); } }

.scroll-cue{
  position:absolute; bottom:28px; left:50%; transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size:.72rem; letter-spacing:1.5px; color: var(--text-dim); text-transform:uppercase;
}
.scroll-cue span{ width:1px; height:34px; background: linear-gradient(var(--accent), transparent); animation: scrolldown 1.8s ease infinite; }
@keyframes scrolldown{ 0%{ transform: scaleY(0); transform-origin: top; opacity:0; } 40%{ transform: scaleY(1); transform-origin: top; opacity:1; } 60%{ transform: scaleY(1); transform-origin: bottom; opacity:1; } 100%{ transform: scaleY(0); transform-origin: bottom; opacity:0; } }

/* marquee */
.marquee{ border-top:1px solid var(--border); border-bottom:1px solid var(--border); overflow:hidden; background: var(--bg-alt); position:relative; z-index:2; }
.marquee-track{ display:flex; gap:22px; white-space:nowrap; padding: 16px 0; animation: scrollx 26s linear infinite; width:max-content; }
.marquee-track span{ font-family: var(--ff-head); font-size:.85rem; letter-spacing:2px; color: var(--text-dim); }
.marquee-track span:nth-child(2n){ color: var(--accent); }
@keyframes scrollx{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* section generic */
section{ padding: 110px 0; position:relative; }
.section-tag{ font-family: var(--ff-head); text-transform:uppercase; letter-spacing:2px; font-size:.78rem; color: var(--accent-2); margin-bottom:12px; }
.section-title{ font-family: var(--ff-head); font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight:700; margin: 0 0 50px; max-width:640px; }

/* services */
.cards{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.card:hover{ transform: translateY(-8px); border-color: var(--accent); background: var(--surface-strong); }
.card-icon{ width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, rgba(155,107,255,.18), rgba(94,234,212,.12)); color: var(--accent); margin-bottom:22px; }
.card-icon svg{ width:26px; height:26px; }
.card h3{ font-family: var(--ff-head); font-size:1.25rem; margin: 0 0 12px; }
.card p{ color: var(--text-dim); font-size:.95rem; margin: 0 0 18px; }
.card-link{ font-size:.88rem; font-weight:600; color: var(--accent); }

/* stats */
.stats{ background: var(--bg-alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding: 70px 0; }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align:center; }
.stat-num{ font-family: var(--ff-head); font-size: clamp(2rem,4vw,3rem); font-weight:700; color: var(--accent); }
.stat-plus{ font-family: var(--ff-head); font-size: 1.4rem; color: var(--accent); }
.stat p{ color: var(--text-dim); margin: 6px 0 0; font-size:.9rem; }

/* process */
.timeline{ display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.tl-item{
  border-left:1px solid var(--border); padding: 6px 16px 6px 22px; margin-left:-16px;
  border-radius: 0 12px 12px 0; position:relative;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.tl-item::before{
  content:''; position:absolute; left:-4.5px; top:8px; width:8px; height:8px; border-radius:50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.tl-item:hover{ transform: translateX(6px); background: var(--surface); border-left-color: var(--accent); }
.tl-item:hover::before{ background: var(--accent-2); box-shadow: 0 0 16px var(--accent-2); transform: scale(1.35); }
.tl-num{ font-family: var(--ff-head); font-size:.85rem; color: var(--accent-2); margin-bottom:10px; letter-spacing:2px; transition: color .3s ease; }
.tl-item:hover .tl-num{ color: var(--accent); }
.tl-item h3{ font-family: var(--ff-head); margin: 0 0 10px; font-size:1.15rem; }
.tl-item p{ color: var(--text-dim); font-size:.9rem; margin:0; }

/* about */
.about-inner{ display:grid; grid-template-columns: auto 1fr; gap: 64px; align-items:center; }
.about-frame{
  border-radius: var(--radius); overflow:hidden; border:1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 40px -10px var(--accent-glow);
  aspect-ratio: 1/1;
  width: 280px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
}
.about-frame img{ width:100%; height:100%; object-fit:contain; filter: contrast(1.05); }
.about-text p{ color: var(--text-dim); }
.about-list{ margin-top:22px; display:flex; flex-direction:column; gap:12px; }
.about-list li{ padding-left:26px; position:relative; font-size:.95rem; }
.about-list li::before{ content:'✦'; position:absolute; left:0; color: var(--accent); }

/* contact */
.contact{ text-align:center; }
.contact-inner{ display:flex; flex-direction:column; align-items:center; }
.contact-sub{ color: var(--text-dim); margin-bottom: 40px; }
.contact-form{ width:100%; max-width:600px; display:flex; flex-direction:column; gap:16px; }
.form-row{ display:flex; gap:16px; }
.contact-form input, .contact-form textarea{
  width:100%; background: var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:14px 16px; color: var(--text); font-family: var(--ff-body); font-size:.95rem; resize:vertical;
  transition: border-color .25s ease, background .25s ease;
}
.contact-form input:focus, .contact-form textarea:focus{ outline:none; border-color: var(--accent); background: var(--surface-strong); }
.contact-form button{ align-self:center; margin-top:8px; }
.hp-field{ position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; pointer-events:none; }
.form-status{ min-height:1.4em; text-align:center; font-size:.9rem; margin:0; }
.form-status.ok{ color: var(--accent-2); }
.form-status.error{ color:#ff8080; }
.contact-alt{ margin-top: 26px; color: var(--text-dim); display:flex; gap:10px; align-items:center; }
.alt-link{ font-weight:600; color: var(--accent); }
.alt-link:hover{ text-decoration: underline; }
.service-area{ margin-top:18px; color: var(--text-dim); font-size:.82rem; }

/* footer */
.site-footer{ border-top:1px solid var(--border); padding: 34px 0; }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.footer-copy{ color: var(--text-dim); font-size:.85rem; margin:0; }

/* responsive */
@media (max-width: 900px){
  .nav, .nav-cta{ display:none; }
  .burger{ display:flex; }
  .cards, .timeline, .stats-grid{ grid-template-columns: 1fr 1fr; }
  .about-inner{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .cards, .timeline, .stats-grid{ grid-template-columns: 1fr; }
  .form-row{ flex-direction:column; }
  section{ padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}
