*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080808;
  --bg1: #0e0e0e;
  --bg2: #141414;
  --accent: #e8ff47;
  --orange: #ff6b35;
  --purple: #a855f7;
  --text: #f0f0f0;
  --muted: #888888;
  --dim: #444444;
  --border: rgba(255,255,255,0.07);
  --r: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ── NOISE ── */
.noise {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}

/* ── CURSOR ── */
.cursor {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; position: fixed; pointer-events: none;
  z-index: 9999; transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s;
}
.cursor-follower {
  width: 32px; height: 32px;
  border: 1px solid rgba(232,255,71,0.3);
  border-radius: 50%; position: fixed; pointer-events: none;
  z-index: 9998; transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.3s, height 0.3s;
}
.cursor.hovered { width: 12px; height: 12px; background: var(--orange); }
.cursor-follower.hovered { width: 44px; height: 44px; border-color: rgba(255,107,53,0.4); }

/* ── UTILS ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: 'JetBrains Mono', monospace; }
.label-tag { font-size: 0.75rem; color: var(--accent); letter-spacing: 0.08em; display: block; margin-bottom: 20px; opacity: 0.8; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px;
  transition: background 0.4s, border-color 0.4s;
}
#navbar.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 48px;
  padding: 22px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700;
  color: #fff; text-decoration: none; letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 36px; list-style: none; margin-left: auto; }
.nav-links a {
  color: #aaaaaa; text-decoration: none; font-size: 0.875rem;
  font-weight: 400; position: relative; overflow: hidden;
  display: inline-block; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(232,255,71,0.3); color: var(--accent);
  padding: 10px 20px; border-radius: 6px; text-decoration: none;
  font-size: 0.85rem; font-weight: 600;
  transition: background 0.3s, border-color 0.3s;
}
.nav-cta:hover { background: rgba(232,255,71,0.08); border-color: var(--accent); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: 0.3s; }
.mobile-menu {
  display: none; flex-direction: column;
  background: rgba(8,8,16,0.98); border-top: 1px solid var(--border);
  padding: 8px 0;
}
.mobile-menu a { padding: 14px 32px; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.mobile-menu.open { display: flex; }

/* ── HERO ── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; z-index: 0; }
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 140px 32px 80px;
  display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 32px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }
.hero-eyebrow .mono { font-size: 0.75rem; color: #aaaaaa; }

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -0.03em; margin-bottom: 28px;
  color: #fff;
}
.hero-title .line {
  display: block;
  clip-path: inset(0 100% 0 0);
  animation: revealLine 0.8s cubic-bezier(0.77,0,0.18,1) forwards;
}
.hero-title .accent-line {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
.hero-title .dim-line { color: #666666; }
@keyframes revealLine {
  to { clip-path: inset(0 0% 0 0); }
}

.hero-sub {
  font-size: 1.05rem; color: #aaaaaa; max-width: 480px;
  margin-bottom: 44px; line-height: 1.75; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; align-items: center; }

/* ── BUTTONS ── */
.btn-main {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #000000;
  padding: 14px 28px; border-radius: 6px;
  text-decoration: none; font-size: 0.9rem; font-weight: 700;
  border: none; cursor: none; position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
  letter-spacing: 0.01em;
}
.btn-main:hover { box-shadow: 0 8px 40px rgba(232,255,71,0.3); background: #d4eb3a; transform: translateY(-1px); }
.btn-main.full-w { width: 100%; justify-content: center; }
.btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  color: #aaaaaa; text-decoration: none; font-size: 0.9rem;
  transition: color 0.2s; cursor: none;
}
.btn-line:hover { color: #fff; }

/* ── TERMINAL ── */
.hero-right { position: relative; }
.terminal {
  background: #0c0c0c; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(232,255,71,0.06);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green { background: #28c840; }
.t-title { font-size: 0.75rem; color: var(--muted); margin-left: 8px; }
.terminal-body { padding: 20px; min-height: 220px; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; line-height: 1.8; }
.t-line { display: block; }
.t-prompt { color: var(--accent); }
.t-cmd { color: #e8e8f0; }
.t-out { color: #777777; }
.t-success { color: #22c55e; }
.t-warn { color: #f59e0b; }
.t-cursor { display: inline-block; width: 7px; height: 14px; background: var(--accent); animation: blink 1s step-end infinite; vertical-align: middle; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-metric {
  position: absolute; background: rgba(10,10,10,0.95);
  backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 14px 18px;
  animation: floatMetric 4s ease-in-out infinite;
}
.m1 { bottom: -20px; left: -40px; animation-delay: 0s; }
.m2 { top: 20px; right: -30px; animation-delay: -1.5s; }
.m3 { bottom: 60px; right: -50px; animation-delay: -3s; }
@keyframes floatMetric {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)}
}
.metric-val {
  font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800;
  color: #fff; line-height: 1;
}
.metric-val span { font-size: 1rem; color: var(--accent); }
.metric-label { font-size: 0.7rem; color: #888888; margin-top: 4px; font-family: 'JetBrains Mono', monospace; }

.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  animation: scrollDrop 1.5s ease-in-out infinite;
}
@keyframes scrollDrop { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }
.scroll-hint .mono { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.15em; }

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0; background: var(--bg1);
}
.marquee-track {
  display: flex; gap: 32px; align-items: center; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--muted);
}
.marquee-track .sep { color: var(--orange); font-size: 0.6rem; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SERVICES ── */
.services { padding: 120px 0; background: var(--bg1); }
.section-intro { margin-bottom: 64px; }
.section-intro.centered { text-align: center; }
.section-intro h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.1;
}
.section-intro h2 em { font-style: italic; color: var(--accent); }

.services-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 2px;
}
.svc-card {
  background: var(--bg2); padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: background 0.4s;
  cursor: none;
}
.svc-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,255,71,0.04), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.svc-card:hover { background: #181818; }
.svc-card:hover::before { opacity: 1; }
.svc-card.large { grid-column: span 2; }
.svc-num { font-size: 0.7rem; color: var(--dim); margin-bottom: 24px; letter-spacing: 0.1em; }
.svc-icon-wrap {
  width: 56px; height: 56px; border: 1px solid var(--border);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: border-color 0.3s;
}
.svc-card:hover .svc-icon-wrap { border-color: rgba(232,255,71,0.4); }
.svc-card h3 {
  font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 700;
  color: #fff; margin-bottom: 12px; letter-spacing: -0.02em;
}
.svc-card p { color: #999999; font-size: 0.875rem; line-height: 1.7; margin-bottom: 24px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.svc-tags span {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: #777777; border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px; border-radius: 4px;
}
.svc-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%; color: #666666; text-decoration: none;
  transition: border-color 0.3s, color 0.3s, transform 0.3s, background 0.3s;
}
.svc-card:hover .svc-arrow { border-color: var(--accent); color: #000; background: var(--accent); transform: rotate(-45deg); }

/* ── NUMBERS ── */
.numbers { padding: 100px 0; background: var(--bg); }
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
}
.num-item {
  padding: 60px 40px; border-right: 1px solid var(--border);
  position: relative;
}
.num-item:last-child { border-right: none; }
.num-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s ease;
}
.num-item.visible::before { transform: scaleX(1); }
.num-val {
  font-family: 'Syne', sans-serif; font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800; color: #fff; line-height: 1; display: inline-block;
}
.num-plus { font-family: 'Syne', sans-serif; font-size: 1.5rem; color: var(--orange); display: inline-block; }
.num-label { font-size: 0.8rem; color: #888888; margin-top: 12px; font-family: 'JetBrains Mono', monospace; }

/* ── WHY ── */
.why { padding: 120px 0; background: var(--bg1); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.why-left h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; color: #fff; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 20px;
}
.why-left h2 em { font-style: italic; color: var(--purple); }
.why-left p { color: #aaaaaa; font-size: 0.95rem; line-height: 1.8; margin-bottom: 36px; }
.why-right { display: flex; flex-direction: column; gap: 0; }
.why-card {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
  padding: 28px 0; transition: background 0.3s;
}
.why-card:first-child { border-top: 1px solid var(--border); }
.wc-line {
  width: 2px; background: rgba(255,255,255,0.07); flex-shrink: 0; margin-right: 24px;
  transition: background 0.3s;
}
.why-card:hover .wc-line { background: var(--accent); }
.wc-num { font-size: 0.7rem; color: var(--dim); margin-bottom: 8px; }
.wc-content h4 {
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.wc-content p { color: #999999; font-size: 0.85rem; line-height: 1.7; }

/* ── PROCESS ── */
.process { padding: 120px 0; background: var(--bg); }
.process-track {
  position: relative; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px;
}
.process-line {
  position: absolute; top: 28px; left: 10%; right: 10%;
  height: 1px; background: var(--border); z-index: 0;
}
.process-step { position: relative; z-index: 1; padding: 0 24px; text-align: center; }
.ps-circle {
  width: 56px; height: 56px; border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; background: var(--bg);
  transition: border-color 0.3s, background 0.3s;
}
.ps-circle .mono { font-size: 0.75rem; color: #aaaaaa; }
.process-step:hover .ps-circle { border-color: var(--accent); background: rgba(232,255,71,0.06); }
.ps-content h4 {
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
  color: #fff; margin-bottom: 10px;
}
.ps-content p { color: #999999; font-size: 0.82rem; line-height: 1.7; }

/* ── CONTACT ── */
.contact { padding: 120px 0; background: var(--bg1); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: start; }
.contact-left h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; color: #fff; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 20px;
}
.contact-left h2 em { font-style: italic; color: var(--orange); }
.contact-left p { color: #aaaaaa; font-size: 0.95rem; line-height: 1.8; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.c-detail {
  display: flex; align-items: center; gap: 12px;
  color: #aaaaaa; text-decoration: none; font-size: 0.875rem;
  transition: color 0.2s;
}
.c-detail:hover { color: #fff; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 0.7rem; color: #aaaaaa; letter-spacing: 0.08em; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 6px; padding: 13px 16px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.875rem; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(232,255,71,0.4); background: rgba(232,255,71,0.03);
}
.field select option { background: #141414; }
.field textarea { resize: vertical; }

/* ── FOOTER ── */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.footer-logo { font-size: 1.1rem; }
.footer-nav { display: flex; gap: 32px; }
.footer-nav a { color: #888888; text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; }
.footer-bottom .mono { font-size: 0.75rem; color: #666666; }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { display: none; }
  .services-layout { grid-template-columns: 1fr 1fr; }
  .svc-card.large { grid-column: span 2; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num-item:nth-child(2) { border-right: none; }
  .num-item:nth-child(3) { border-top: 1px solid var(--border); }
  .process-track { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-line { display: none; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .services-layout { grid-template-columns: 1fr; }
  .svc-card.large { grid-column: span 1; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 24px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}
