/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #050510;
  --bg2:       #080818;
  --surface:   #0d0d22;
  --surface2:  #11112a;
  --border:    rgba(255,255,255,0.07);
  --text:      #e8e8f0;
  --muted:     #8888aa;
  --accent1:   #7c3aed;
  --accent2:   #2563eb;
  --accent3:   #06b6d4;
  --grad:      linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
  --grad-soft: linear-gradient(135deg, rgba(124,58,237,.15), rgba(37,99,235,.15));
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 20px 60px rgba(0,0,0,.6);
}

html { scroll-behavior: smooth; }

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

/* ─── CUSTOM CURSOR ─── */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent1);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .1s, height .1s, background .2s;
  mix-blend-mode: screen;
}
.cursor-follower {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(124,58,237,.6);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform .12s ease, width .2s, height .2s, opacity .2s;
}
body:has(a:hover) .cursor, body:has(button:hover) .cursor { width: 20px; height: 20px; background: var(--accent3); }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent1); border-radius: 99px; }

/* ─── UTILS ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent3);
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block;
  width: 20px; height: 2px;
  background: var(--accent3);
  border-radius: 2px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 540px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--grad);
  color: #fff; font-weight: 600; font-size: 15px;
  border: none; border-radius: 999px;
  cursor: pointer; text-decoration: none;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 0 30px rgba(124,58,237,.35);
}
.btn-primary:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 4px 40px rgba(124,58,237,.55); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text); font-weight: 500; font-size: 15px;
  border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-ghost:hover { border-color: var(--accent1); background: rgba(124,58,237,.1); transform: translateY(-2px); }

.play-icon {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--grad);
  border-radius: 50%;
  font-size: 9px;
}

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  background: #fff; color: var(--bg);
  font-weight: 700; font-size: 15px;
  border-radius: 999px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 4px 30px rgba(255,255,255,.3); }

.full-w { width: 100%; justify-content: center; }

/* form status message */
.form-status { font-size: 13px; margin-top: 12px; text-align: center; min-height: 20px; }
.form-status.success { color: #4ade80; }
.form-status.error   { color: #f87171; }

/* contact info links */
.cd-item a {
  color: var(--text); text-decoration: none;
  transition: color .2s;
}
.cd-item a:hover { color: var(--accent3); }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(5,5,16,.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-icon { font-size: 26px; filter: drop-shadow(0 0 8px var(--accent1)); }
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 20px; color: #fff;
}
.logo-text .accent { color: var(--accent3); }
.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  /* Logo has black bg — mix-blend-mode makes black transparent on dark bg */
  mix-blend-mode: screen;
  filter: brightness(1.1);
  transition: opacity .2s;
}
.nav-logo-img:hover { opacity: .85; }
.footer-brand .nav-logo-img { height: 52px; margin-bottom: 4px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.btn-nav {
  padding: 9px 22px !important;
  background: var(--grad) !important;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 0 20px rgba(124,58,237,.3);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  overflow: hidden;
  padding-top: 80px;
  display: flex; flex-direction: column; justify-content: center;
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
/* Two-column grid keeps text & visual separated */
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1180px; width: 100%;
  margin: 0 auto; padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  gap: 48px;
}
.hero-content {
  position: relative; z-index: 2;
  min-width: 0; /* prevent grid blowout */
}

/* CSS keyframe hero animations */
@keyframes heroSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.hero-anim {
  animation: heroSlideUp .7s cubic-bezier(.22,1,.36,1) both;
  animation-delay: var(--d, 0s);
}
.badge-pill.hero-anim { animation-name: heroSlideDown; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 999px;
  font-size: 13px; color: #c4b5fd;
  margin-bottom: 28px;
}
.pulse-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: #4ade80;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800; line-height: 1.15;
  color: #fff; margin-bottom: 4px;
}

/* Typed line — fixed height so text NEVER changes layout */
.typed-line {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800; line-height: 1.15;
  height: 1.2em;          /* locked: exactly one line tall, always */
  overflow: hidden;        /* clip anything that would cause a second line */
  white-space: nowrap;     /* prevent wrapping entirely */
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.cursor-blink { animation: blink .75s step-end infinite; color: var(--accent3); }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 560px; line-height: 1.7; margin-bottom: 36px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.stat { text-align: center; padding: 0 28px; }
.stat:first-child { padding-left: 0; }
.stat-num { font-size: 2rem; font-weight: 800; color: #fff; }
.stat span { font-size: 1.5rem; color: var(--accent3); font-weight: 700; }
.stat p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ─── HERO VISUAL / LOGO ─── */
.hero-visual {
  position: relative;
  width: 480px; height: 480px;
  z-index: 1;
  flex-shrink: 0;
}
.hero-logo-wrap {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo-img {
  width: 320px; height: 320px;
  object-fit: contain;
  position: relative; z-index: 3;
  animation: heroFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(124,58,237,.45)) drop-shadow(0 0 80px rgba(37,99,235,.25));
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-18px) scale(1.03); }
}
.hero-logo-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.25) 0%, rgba(37,99,235,.15) 40%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 1;
}
@keyframes glowPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1);   opacity: .8; }
  50%      { transform: translate(-50%,-50%) scale(1.15); opacity: 1; }
}
.hero-logo-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.12);
  transform: translate(-50%,-50%);
  z-index: 2;
}
.ring-outer { width: 420px; height: 420px; animation: rotateRing 28s linear infinite; }
.ring-inner { width: 300px; height: 300px; animation: rotateRing 18s linear infinite reverse; }
@keyframes rotateRing {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
/* ─── HUD CARDS around hero logo ─── */
.hud-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(8,8,24,.82);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 8px 32px rgba(0,0,0,.5),
              0 0 20px rgba(0,0,0,.3);
  white-space: nowrap;
  overflow: hidden;
}
/* corner bracket accents */
.hud-card .hud-tl, .hud-card .hud-tr,
.hud-card .hud-bl, .hud-card .hud-br {
  position: absolute; width: 8px; height: 8px;
  border-color: var(--hud-color);
  border-style: solid;
  opacity: .9;
}
.hud-tl { top: 3px;  left: 3px;  border-width: 1.5px 0 0 1.5px; border-radius: 2px 0 0 0; }
.hud-tr { top: 3px;  right: 3px; border-width: 1.5px 1.5px 0 0; border-radius: 0 2px 0 0; }
.hud-bl { bottom: 3px; left: 3px;  border-width: 0 0 1.5px 1.5px; border-radius: 0 0 0 2px; }
.hud-br { bottom: 3px; right: 3px; border-width: 0 1.5px 1.5px 0; border-radius: 0 0 2px 0; }

.hud-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--hud-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--hud-color) 30%, transparent);
}
.hud-icon svg { width: 18px; height: 18px; }

.hud-text { display: flex; flex-direction: column; gap: 1px; }
.hud-text strong { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .02em; }
.hud-text span   { font-size: 10px; color: var(--hud-color); opacity: .85; letter-spacing: .04em; }

/* animated scan line */
.hud-scan {
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hud-color), transparent);
  opacity: .4;
  animation: scanMove 3s ease-in-out infinite;
}
@keyframes scanMove {
  0%   { top: 0%;   opacity: 0; }
  20%  { opacity: .5; }
  80%  { opacity: .5; }
  100% { top: 100%; opacity: 0; }
}

/* positions — all inside the 480×480 container */
.hud-top    { top: 8px;    left: 50%; transform: translateX(-50%); animation: hudFloat 5s ease-in-out infinite .3s; }
.hud-right  { right: 8px;  top: 50%;  transform: translateY(-50%); animation: hudFloat 5s ease-in-out infinite .9s; }
.hud-bottom { bottom: 8px; left: 50%; transform: translateX(-50%); animation: hudFloat 5s ease-in-out infinite 1.5s; }
.hud-left   { left: 8px;   top: 50%;  transform: translateY(-50%); animation: hudFloat 5s ease-in-out infinite 2.1s; }

@keyframes hudFloat {
  0%,100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}
.hud-right { animation-name: hudFloatH; }
.hud-left  { animation-name: hudFloatH; animation-delay: 2.1s; }
@keyframes hudFloatH {
  0%,100% { translate: 0 0; }
  50%      { translate: -8px 0; }
}

/* mobile-only hero logo */
.hero-visual-mobile {
  display: none;
  position: relative;
  margin: 32px auto 0;
  width: 220px; height: 220px;
  align-items: center; justify-content: center;
}
.hero-logo-img-mobile {
  width: 200px; height: 200px; object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(124,58,237,.5));
  animation: heroFloat 5s ease-in-out infinite;
}

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 99px;
  display: flex; justify-content: center; padding-top: 8px;
  z-index: 2;
}
.scroll-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent3);
  animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce {
  0% { transform: translateY(0); opacity:1; }
  80% { transform: translateY(14px); opacity:0; }
  100% { transform: translateY(0); opacity:0; }
}

/* ─── MARQUEE ─── */
.marquee-strip {
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 32px;
  width: max-content;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.marquee-track span { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .05em; }
.marquee-track .sep { color: var(--accent3); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── ABOUT ─── */
.about { background: var(--bg2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.about-visual { position: relative; height: 480px; }

/* ── Spinning gradient border card ── */
.av-card {
  position: absolute; top: 0; left: 0; right: 0;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;                   /* clips the spinning ::before */
  background: #0b0b1e;
  box-shadow: 0 0 40px rgba(124,58,237,.25), 0 0 80px rgba(6,182,212,.1);
}
/* spinning gradient that creates the border */
.av-card::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 130%; height: 130%;          /* larger than card so it fills edges when rotated */
  transform: translate(-50%,-50%) rotate(0deg);
  transform-origin: center center;
  background: conic-gradient(#7c3aed 0%, #2563eb 25%, #06b6d4 50%, #10b981 75%, #7c3aed 100%);
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
}
/* dark inner fill — creates the "border" illusion */
.av-card::after {
  content: '';
  position: absolute;
  inset: 2px;                         /* 2 px = border width */
  border-radius: 18px;
  background: #0b0b1e;
  z-index: 1;
}
@keyframes rotateBorder {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}
.av-card-inner {
  position: relative; z-index: 2;
  background: #0b0b1e;
  border-radius: 18px;
  height: 100%;
  overflow: hidden;
}
/* sweep scan line */
.av-scan {
  position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(6,182,212,.6) 50%, transparent 100%);
  animation: scanDown 3s ease-in-out infinite;
  z-index: 10; pointer-events: none;
}
@keyframes scanDown {
  0%   { top: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .5; }
  100% { top: 100%; opacity: 0; }
}

/* Card header */
.av-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.av-dots { display: flex; gap: 5px; }
.av-dots span { width: 9px; height: 9px; border-radius: 50%; }
.av-dots span:nth-child(1) { background: #ff5f57; }
.av-dots span:nth-child(2) { background: #febc2e; }
.av-dots span:nth-child(3) { background: #28c840; }
.av-title { flex: 1; font-size: 11px; color: var(--muted); font-family: monospace; letter-spacing: .06em; }
.av-online { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #4ade80; font-weight: 600; }

/* Activity rows */
.av-body { padding: 12px 18px 14px; }
.av-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  opacity: 0;
  animation: rowFadeIn .5s ease forwards;
  animation-delay: var(--rd, 0s);
}
.av-row:last-of-type { border-bottom: none; }
@keyframes rowFadeIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}
.av-row-icon { width: 30px; height: 30px; flex-shrink: 0; }
.av-row-icon svg { width: 100%; height: 100%; }
.av-row-text { flex: 1; min-width: 0; }
.av-row-text strong { display: block; font-size: 12px; color: #fff; font-weight: 600; }
.av-row-text span   { font-size: 10px; color: var(--muted); }
.av-pill {
  font-size: 10px; font-weight: 700; letter-spacing: .05em;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.av-pill.green  { background: rgba(74,222,128,.12);  color: #4ade80; border: 1px solid rgba(74,222,128,.25); }
.av-pill.purple { background: rgba(168,85,247,.12);  color: #c084fc; border: 1px solid rgba(168,85,247,.25); }
.av-pill.amber  { background: rgba(251,191,36,.12);  color: #fbbf24; border: 1px solid rgba(251,191,36,.25); }
.av-pill.blue   { background: rgba(59,130,246,.12);  color: #60a5fa; border: 1px solid rgba(59,130,246,.25); }

/* Tech stack chips */
.av-stack {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 12px;
}
.av-stack span {
  font-size: 10px; font-weight: 600; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  transition: background .2s, color .2s;
}
.av-stack span:hover { background: rgba(124,58,237,.15); color: #c4b5fd; }

/* Floating stat chips */
.av-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: rgba(13,13,34,.9);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.av-chip-icon { font-size: 20px; }
.av-chip strong { display: block; font-size: 15px; font-weight: 800; color: #fff; line-height: 1; }
.av-chip span   { font-size: 10px; color: var(--muted); display: block; margin-top: 2px; }

.av-chip-1 { bottom: 90px; left: -20px; animation: float 5s ease-in-out infinite; }
.av-chip-2 { bottom: 20px; left: 50%; transform: translateX(-50%); animation: float 5s ease-in-out infinite .8s; }
.av-chip-3 { bottom: 90px; right: -20px; animation: float 5s ease-in-out infinite 1.6s; }
.about-desc { color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.about-list { list-style: none; margin-bottom: 32px; }
.about-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: var(--text); font-size: 14px; }
.check { color: var(--accent3); font-weight: 700; margin-top: 1px; }

/* ─── PRODUCTS ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.product-card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  cursor: default;
}
.product-card:hover {
  border-color: rgba(124,58,237,.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124,58,237,.2);
}
.product-glow {
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.product-card:hover .product-glow { opacity: 1; }
.product-num {
  position: absolute; top: 24px; right: 24px;
  font-size: 48px; font-weight: 900;
  color: rgba(255,255,255,.04);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
}
.product-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--ic, #7c3aed) 18%, transparent),
    color-mix(in srgb, var(--ic, #7c3aed) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--ic, #7c3aed) 35%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ic, #7c3aed) 30%, transparent);
  color: var(--ic, #7c3aed);
}
.product-icon svg { width: 28px; height: 28px; }
.product-card:hover .product-icon {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 0 24px color-mix(in srgb, var(--ic, #7c3aed) 45%, transparent);
}
.product-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem; font-weight: 700; color: #fff;
  margin-bottom: 10px;
}
.product-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.product-tags span {
  padding: 4px 12px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 999px;
  font-size: 11px; font-weight: 600; color: #c4b5fd;
  letter-spacing: .04em;
}
.product-link {
  font-size: 13px; font-weight: 600; color: var(--accent3);
  text-decoration: none;
  transition: gap .2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.product-link:hover { gap: 8px; }
.product-card.featured {
  border-color: rgba(124,58,237,.45);
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(37,99,235,.08));
}
.featured-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: var(--grad);
  border-radius: 999px;
  font-size: 11px; font-weight: 700; color: #fff;
  margin-bottom: 16px;
}

/* ─── SERVICES ─── */
.services { background: var(--bg2); }
.services-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-tile {
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.service-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(37,99,235,.5);
  box-shadow: 0 16px 50px rgba(37,99,235,.15);
}
.service-icon-wrap {
  width: 70px; height: 70px;
  border-radius: 20px;
  background: var(--grad-soft);
  border: 1px solid rgba(37,99,235,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin: 0 auto 20px;
  transition: transform .3s;
}
.service-tile:hover .service-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.service-tile h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.service-tile p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── WHY US ─── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-desc { color: var(--muted); line-height: 1.8; margin-bottom: 40px; }
.why-items { display: flex; flex-direction: column; gap: 28px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(124,58,237,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--accent3);
  font-family: 'Space Grotesk', sans-serif;
}
.why-item h4 { font-weight: 700; color: #fff; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── WHY CARD ─── */
.why-big-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.wbc-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.wbc-dots { display: flex; gap: 6px; }
.wbc-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.15); }
.wbc-dots span:nth-child(1) { background: #ff5f57; }
.wbc-dots span:nth-child(2) { background: #febc2e; }
.wbc-dots span:nth-child(3) { background: #28c840; }
.wbc-title { font-size: 13px; color: var(--muted); font-weight: 500; }
.wbc-body { padding: 24px; }
.wbc-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.wbc-label { font-size: 12px; color: var(--muted); width: 110px; flex-shrink: 0; }
.wbc-bar { flex: 1; height: 8px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; }
.wbc-fill {
  height: 100%; width: var(--w);
  background: var(--grad);
  border-radius: 99px;
  animation: fillBar 1.5s ease forwards;
  transform-origin: left;
}
@keyframes fillBar { from { width: 0; } to { width: var(--w); } }
.wbc-pct { font-size: 12px; font-weight: 600; color: var(--accent3); width: 34px; text-align: right; }
.wbc-stat-row { display: flex; gap: 0; margin-top: 24px; border-top: 1px solid var(--border); padding-top: 20px; }
.wbc-mini-stat { flex: 1; text-align: center; }
.wbc-mini-stat span { font-size: 1.3rem; font-weight: 800; color: #fff; display: block; }
.wbc-mini-stat p { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--bg2); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s, border-color .3s;
}
.testi-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,.4); }
.testi-stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-card p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; color: #fff; }
.testi-author span { font-size: 12px; color: var(--muted); }

/* Promise cards */
.promise-card { text-align: center; }
.promise-card p { font-style: normal; margin-bottom: 0; }
.promise-icon { font-size: 2.4rem; margin-bottom: 16px; }
.promise-card h4 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 12px; }

/* ─── CTA BAND ─── */
.cta-band {
  position: relative; overflow: hidden;
  padding: 100px 0; text-align: center;
  background: var(--bg);
}
.cta-band-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124,58,237,.2), transparent);
  pointer-events: none;
}
.cta-band h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: #fff; margin-bottom: 16px;
}
.cta-band p { font-size: 1.05rem; color: var(--muted); margin-bottom: 36px; }

/* ─── CONTACT ─── */
.contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info p { color: var(--muted); line-height: 1.8; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.cd-item { display: flex; gap: 14px; align-items: flex-start; }
.cd-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  flex-shrink: 0;
}
.cd-item strong { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.cd-item p { font-size: 14px; color: var(--text); }

.contact-form {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: 'Inter', sans-serif; font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-group select { cursor: pointer; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent1);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.form-group textarea { resize: vertical; }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 16px 0 24px; max-width: 280px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.social-links a:hover { background: var(--surface2); border-color: var(--accent1); color: #fff; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--accent3); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 24px 60px; }
  .hero-visual { display: none; }
  .hero-visual-mobile { display: flex; }
  .hero { text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .badge-pill { margin: 0 auto 28px; }
  .hero-sub { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 280px; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5,5,16,.97);
    backdrop-filter: blur(20px);
    align-items: center; justify-content: center;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; padding: 16px 0; color: var(--text); }
  .hamburger { display: flex; z-index: 1000; }

  /* Hero */
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stat { padding: 0 12px; }
  .stat-divider { display: none; }
  .hero-visual-mobile { width: 180px; height: 180px; }
  .hero-logo-img-mobile { width: 160px; height: 160px; }

  /* Sections */
  .section-pad { padding: 64px 0; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }

  /* Services */
  .services-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .service-tile { padding: 24px 18px; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; }

  /* Why us card */
  .why-big-card { margin-top: 16px; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* About */
  .about-circle { right: 0; width: 110px; height: 110px; }
  .about-circle span { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  /* Hero */
  .hero-cta { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats { gap: 12px; }

  /* Products */
  .product-card { padding: 24px; }

  /* Services */
  .services-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }

  /* Nav logo */
  .nav-logo-img { height: 38px; }

  /* Contact */
  .contact-form { padding: 20px 16px; }

  /* Marquee */
  .marquee-track { gap: 20px; }

  /* About cards */
  .acard-2 { left: 20px; }
}

/* ─── AOS (built-in lightweight) ─── */
[data-aos] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-aos].aos-animate { opacity: 1; transform: none; }
[data-aos][data-aos-delay="100"] { transition-delay: .1s; }
[data-aos][data-aos-delay="200"] { transition-delay: .2s; }
[data-aos][data-aos-delay="300"] { transition-delay: .3s; }
[data-aos][data-aos-delay="400"] { transition-delay: .4s; }
[data-aos="fade-down"] { transform: translateY(-28px); }
