/* Goons Software — Futuristic neon theme */
:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --fg: #e6ecff;
  --muted: #9aa3b2;
  --primary: #6df2ff;
  --accent: #7a5cff;
  --pink: #ff4dd8;
  --card: rgba(255,255,255,0.04);
  --glass: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.15);
  --shadow: 0 10px 30px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--fg);
  background: radial-gradient(1200px 800px at 10% -10%, #101932 0%, transparent 60%),
              radial-gradient(1000px 700px at 100% 0%, #0f0b1f 0%, transparent 55%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow-x: hidden;
}

/* Background starfield canvas */
#starfield {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
  border-bottom: 1px solid var(--border);
  z-index: 20;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; font-weight: 700; letter-spacing: .3px; }
.brand img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(109,242,255,.4)); }
.nav a { color: var(--fg); text-decoration: none; margin-left: 18px; opacity: .8; }
.nav a:hover { opacity: 1; text-shadow: 0 0 10px var(--primary); }

.section { padding: 80px 0; position: relative; }
.hero { padding: 120px 0 100px; overflow: hidden; }
.hero-inner { text-align: center; }

/* Glitch title */
.glitch { position: relative; font-size: clamp(28px, 6vw, 72px); line-height: 1.05; font-weight: 800; letter-spacing: .5px; text-shadow: 0 0 12px rgba(122,92,255,.5), 0 0 28px rgba(109,242,255,.35); }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0; pointer-events: none;
}
.glitch::before { color: var(--accent); transform: translate(2px, 0); mix-blend-mode: screen; animation: glitch 3s infinite linear alternate-reverse; }
.glitch::after { color: var(--pink); transform: translate(-2px, 0); mix-blend-mode: screen; animation: glitch 2.6s infinite linear alternate; }
@keyframes glitch {
  0% { clip-path: inset(10% 0 80% 0); }
  20% { clip-path: inset(40% 0 40% 0); }
  40% { clip-path: inset(80% 0 5% 0); }
  60% { clip-path: inset(50% 0 30% 0); }
  80% { clip-path: inset(20% 0 60% 0); }
  100% { clip-path: inset(5% 0 85% 0); }
}

.tagline { margin: 16px auto 26px; max-width: 820px; opacity: .9; font-size: clamp(14px, 2.2vw, 18px); color: var(--muted); }
.cta { display: flex; gap: 14px; justify-content: center; }

.btn {
  --ring: rgba(109,242,255,.5);
  padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 700; letter-spacing: .2px; display: inline-flex; align-items: center; gap: 8px; position: relative;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { color: #041015; background: linear-gradient(135deg, var(--primary), #57d1ff 60%); box-shadow: 0 8px 24px rgba(87, 209, 255, .25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(109, 242, 255, .35); }
.btn-ghost { color: var(--fg); border: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); box-shadow: 0 4px 18px rgba(255,255,255,0.06); }

/* Orbs */
.orb { position: absolute; filter: blur(36px) saturate(140%); opacity: .65; z-index: -1; animation: float 16s ease-in-out infinite; }
.orb-1 { width: 380px; height: 380px; left: -90px; top: -60px; background: radial-gradient(circle at 30% 30%, var(--primary), transparent 60%); }
.orb-2 { width: 260px; height: 260px; right: 10%; top: 50%; background: radial-gradient(circle at 70% 30%, var(--accent), transparent 60%); animation-delay: -6s; }
.orb-3 { width: 220px; height: 220px; left: 15%; bottom: -40px; background: radial-gradient(circle at 40% 60%, var(--pink), transparent 60%); animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(8px); }
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.card, .product-card, .price-card, .video-card { background: linear-gradient(180deg, var(--glass), rgba(255,255,255,0.02)); border: 1px solid var(--border); padding: 20px; border-radius: 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card::before, .product-card::before, .price-card::before, .video-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(109,242,255,.6), rgba(122,92,255,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .35;
}

.product-card h3 { margin-top: 8px; margin-bottom: 8px; font-size: 22px; }
.product-card .badge, .price-card .badge { position: absolute; top: 12px; right: 12px; background: linear-gradient(135deg, var(--accent), var(--primary)); color: #041015; font-weight: 800; letter-spacing: .3px; padding: 6px 10px; border-radius: 999px; font-size: 12px; }
.product-card .bullets, .price-card .bullets { list-style: none; padding-left: 0; margin: 12px 0 16px; }
.product-card .bullets li, .price-card .bullets li { margin: 6px 0; color: var(--muted); }
.product-card { display: flex; flex-direction: column; }
.product-card .actions { display: flex; gap: 10px; margin-top: auto; }

.note { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.fineprint { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; }

.pricing .popular { transform: translateY(-4px); }
.price-card .price { margin: 8px 0 14px; color: var(--muted); }
.price-card .big { font-size: 32px; font-weight: 800; color: var(--fg); }
.price-card .per { margin-left: 4px; }

/* Keep pricing buttons aligned across cards */
.price-card { display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; align-self: flex-start; }

.features .card h3 { margin: 6px 0; }
.features .card p { color: var(--muted); }

.section-title { font-size: clamp(22px, 4vw, 36px); margin: 0 0 18px; letter-spacing: .3px; text-shadow: 0 0 16px rgba(109,242,255,.2); }

/* Video */
.video-frame { aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #0a0f1c; position: relative; display: grid; place-items: center; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-frame.placeholder { background: linear-gradient(135deg, rgba(109,242,255,0.18), rgba(122,92,255,0.18)); border: 1px dashed rgba(255,255,255,0.25); }
.product-card .video-frame { margin: 12px 0; }
.placeholder-inner { text-align: center; color: var(--fg); opacity: .9; }
.placeholder-inner small { display: block; color: var(--muted); margin-top: 4px; }
.video-caption { text-align: center; color: var(--muted); margin-top: 8px; font-size: 13px; }

/* Contact */
.contact-inner { text-align: center; }
.contact-actions { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }

.site-footer { padding: 28px 0; border-top: 1px solid var(--border); background: rgba(0,0,0,0.2); }
.site-footer .container { display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--muted); }
.site-footer a { color: var(--fg); text-decoration: none; opacity: .8; }
.site-footer a:hover { opacity: 1; }
.site-footer .sep { opacity: .4; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* Tilt hover (driven by JS via CSS vars) */
.tilt { transform-style: preserve-3d; perspective: 800px; --rx: 0deg; --ry: 0deg; --t: translateZ(0); transform: rotateX(var(--rx)) rotateY(var(--ry)) var(--t); transition: transform .12s ease; }
.tilt:hover { --t: translateZ(6px); }

/* Responsive */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
}
