/* ================================================
   ILLITWRIT — CINEMATIC DESIGN SYSTEM v2
   Void staging + Shader FX + Scroll-as-camera
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Orbitron:wght@400;700;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Permanent+Marker&display=swap');

:root {
  --bg:           #080810;
  --bg-100:       #0d0d18;
  --bg-200:       #111120;
  --bg-glass:     rgba(255,255,255,0.035);
  --bg-glass-2:   rgba(255,255,255,0.06);
  --border:       rgba(0,245,255,0.12);
  --border-2:     rgba(0,245,255,0.25);

  --cyan:         #00f5ff;
  --teal:         #00e5c8;
  --green:        #39ff14;
  --violet:       #bf00ff;
  --orange:       #ff6b00;
  --pink:         #ff007f;
  --yellow:       #ffe600;

  --glow-cyan:    0 0 30px rgba(0,245,255,0.5), 0 0 80px rgba(0,245,255,0.2);
  --glow-teal:    0 0 30px rgba(0,229,200,0.5), 0 0 80px rgba(0,229,200,0.2);
  --glow-green:   0 0 30px rgba(57,255,20,0.5),  0 0 80px rgba(57,255,20,0.2);
  --glow-violet:  0 0 30px rgba(191,0,255,0.5),  0 0 80px rgba(191,0,255,0.2);
  --glow-orange:  0 0 30px rgba(255,107,0,0.5),  0 0 80px rgba(255,107,0,0.2);

  --f-display:  'Bebas Neue', sans-serif;
  --f-tech:     'Orbitron', monospace;
  --f-body:     'Space Grotesk', sans-serif;
  --f-tag:      'Permanent Marker', cursive;

  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-2xl: 48px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: #e8e8f4;
  font-family: var(--f-body);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  position: fixed;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s, box-shadow .2s;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0,245,255,0.4);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  transition: width .4s cubic-bezier(.25,.46,.45,.94),
              height .4s cubic-bezier(.25,.46,.45,.94),
              border-color .3s;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 20px; height: 20px; background: var(--violet); box-shadow: var(--glow-violet); }
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { width: 60px; height: 60px; border-color: rgba(191,0,255,0.6); }

/* ── CANVAS LAYERS ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, border-color .4s, padding .3s;
}
nav.scrolled {
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 14px 48px;
}
.nav-logo {
  font-family: var(--f-tech);
  font-size: 1rem;
  font-weight: 900;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: .12em;
  text-shadow: var(--glow-cyan);
}
.nav-logo span { color: rgba(255,255,255,.3); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--f-tech);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .2s, text-shadow .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); text-shadow: var(--glow-cyan); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: none; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--cyan); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; top: 65px; left: 0; right: 0;
  background: rgba(8,8,16,.97); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border); z-index: 999;
  padding: 28px 40px; flex-direction: column; gap: 22px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--f-tech); font-size: .85rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.mobile-nav a:hover { color: var(--cyan); }

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  background: rgba(0,245,255,0.04);
  border-top: 1px solid rgba(0,245,255,.08);
  border-bottom: 1px solid rgba(0,245,255,.08);
  padding: 10px 0;
  white-space: nowrap;
  position: relative; z-index: 10;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 35s linear infinite;
}
.ticker-track span {
  font-family: var(--f-tech);
  font-size: .6rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); padding: 0 40px; opacity: .6;
}
.ticker-track .dot { color: var(--teal); padding: 0; opacity: 1; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── GLASS CARDS ── */
.glass {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background .3s, border-color .3s, box-shadow .3s, transform .3s;
}
.glass:hover {
  background: var(--bg-glass-2);
  border-color: var(--border-2);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}
.glass-strong {
  background: rgba(0,245,255,.04);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  backdrop-filter: blur(32px);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal.up { transform: translateY(48px); }
.reveal.left { transform: translateX(-60px); }
.reveal.right { transform: translateX(60px); }
.reveal.scale { transform: scale(.9); }
.reveal.visible { opacity: 1; transform: translate(0) scale(1); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ── BENTO ── */
.bento { display: grid; gap: 16px; }
.b2 { grid-template-columns: repeat(2,1fr); }
.b3 { grid-template-columns: repeat(3,1fr); }
.b4 { grid-template-columns: repeat(4,1fr); }
.b-auto { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); }
.cs2 { grid-column: span 2; }
.cs3 { grid-column: span 3; }
.rs2 { grid-row: span 2; }

/* ── NEON TEXT ── */
.nc  { color: var(--cyan);   text-shadow: var(--glow-cyan); }
.nt  { color: var(--teal);   text-shadow: var(--glow-teal); }
.ng  { color: var(--green);  text-shadow: var(--glow-green); }
.nv  { color: var(--violet); text-shadow: var(--glow-violet); }
.no  { color: var(--orange); text-shadow: var(--glow-orange); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--r-md);
  font-family: var(--f-tech); font-size: .68rem;
  font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none; cursor: none; border: none;
  transition: all .3s; position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: translateX(-100%);
  transition: transform .5s;
}
.btn:hover::before { transform: translateX(100%); }
.btn-c { background: transparent; border: 1.5px solid var(--cyan); color: var(--cyan); box-shadow: var(--glow-cyan); }
.btn-c:hover { background: var(--cyan); color: var(--bg); box-shadow: 0 0 60px rgba(0,245,255,.7); }
.btn-g { background: var(--bg-glass); border: 1px solid var(--border); color: #e8e8f4; }
.btn-g:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-o { background: transparent; border: 1.5px solid var(--orange); color: var(--orange); box-shadow: var(--glow-orange); }
.btn-o:hover { background: var(--orange); color: var(--bg); }
.btn-v { background: transparent; border: 1.5px solid var(--violet); color: var(--violet); box-shadow: var(--glow-violet); }
.btn-v:hover { background: var(--violet); color: var(--bg); }
.btn-gr { background: transparent; border: 1.5px solid var(--green); color: var(--green); box-shadow: var(--glow-green); }
.btn-gr:hover { background: var(--green); color: var(--bg); }

/* ── SECTION LABELS ── */
.s-label {
  font-family: var(--f-tech); font-size: .6rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
  display: flex; align-items: center; gap: 14px;
}
.s-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--cyan); box-shadow: var(--glow-cyan); }
.s-title { font-family: var(--f-display); font-size: clamp(2.8rem,5.5vw,5rem); line-height: .95; letter-spacing: .01em; margin-bottom: 18px; }
.s-sub { font-size: 1rem; color: rgba(255,255,255,.5); max-width: 520px; line-height: 1.75; }

/* ── PRICE CARDS ── */
.p-card {
  padding: 36px; border-radius: var(--r-lg);
  background: var(--bg-glass); border: 1px solid var(--border);
  backdrop-filter: blur(20px); position: relative; overflow: hidden;
  transition: all .35s; display: flex; flex-direction: column;
}
.p-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--teal)); }
.p-card:hover { background: var(--bg-glass-2); border-color: var(--border-2); box-shadow: var(--glow-cyan); transform: translateY(-6px); }
.p-card.feat { border-color: rgba(0,245,255,.35); box-shadow: var(--glow-cyan); }
.p-card.feat::before { height: 4px; background: linear-gradient(90deg,var(--cyan),var(--green)); }
.p-tier { font-family: var(--f-tech); font-size: .58rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 8px; }
.p-name { font-family: var(--f-display); font-size: 1.8rem; letter-spacing: .02em; margin-bottom: 10px; }
.p-deal { font-family: var(--f-tag); font-size: .95rem; color: var(--green); text-shadow: var(--glow-green); transform: rotate(-2deg); display: inline-block; margin-bottom: 12px; }
.p-amount { font-family: var(--f-display); font-size: 3rem; line-height: 1; margin-bottom: 6px; }
.p-note { font-size: .8rem; color: rgba(255,255,255,.4); margin-bottom: 24px; }
.p-list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-list li { font-size: .84rem; color: rgba(255,255,255,.55); display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.p-list li::before { content: '▸'; color: var(--cyan); flex-shrink: 0; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, rgba(0,245,255,.06), rgba(191,0,255,.04));
  border-top: 1px solid rgba(0,245,255,.12); border-bottom: 1px solid rgba(0,245,255,.12);
  padding: 100px 40px; text-align: center;
}
.cta-band h2 { font-family: var(--f-display); font-size: clamp(2.5rem,6vw,5rem); line-height: 1; margin-bottom: 20px; }
.cta-band p { font-size: 1rem; color: rgba(255,255,255,.5); max-width: 500px; margin: 0 auto 44px; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--bg-100);
  border-top: 1px solid rgba(0,245,255,.08);
  padding: 72px 48px 36px;
  position: relative; z-index: 10;
}
.f-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 52px; }
.f-brand .logo { font-family: var(--f-tech); font-size: 1.1rem; font-weight: 900; color: var(--cyan); text-shadow: var(--glow-cyan); letter-spacing: .1em; margin-bottom: 18px; }
.f-brand p { font-size: .84rem; color: rgba(255,255,255,.4); line-height: 1.75; max-width: 260px; }
.f-col h4 { font-family: var(--f-tech); font-size: .58rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.f-col ul a { font-size: .84rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.f-col ul a:hover { color: var(--cyan); }
.f-bottom { max-width: 1200px; margin: 0 auto; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.04); display: flex; justify-content: space-between; align-items: center; }
.f-bottom p { font-size: .72rem; color: rgba(255,255,255,.2); font-family: var(--f-tech); letter-spacing: .1em; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid rgba(255,255,255,.05); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 24px 0; cursor: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--f-body); font-size: 1rem; font-weight: 600; color: #e8e8f4; transition: color .2s; }
.faq-q:hover { color: var(--cyan); }
.faq-icon { font-family: var(--f-tech); font-size: 1.2rem; color: var(--cyan); transition: transform .35s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 0 24px; font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.8; }

/* ── PARALLAX TEXT ── */
.parallax-text {
  font-family: var(--f-display);
  font-size: clamp(4rem, 18vw, 16rem);
  line-height: .85;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,245,255,.15);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: var(--glow-cyan);
  z-index: 9999; width: 0%;
  transition: width .1s linear;
}

/* ── SECTION CONTAINER ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
section { position: relative; z-index: 5; }
.section-pad { padding: 100px 48px; max-width: 1200px; margin: 0 auto; }

/* ── FORM STYLES ── */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.form-group label { font-family: var(--f-tech); font-size: .58rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md); padding: 14px 18px;
  color: #e8e8f4; font-family: var(--f-body); font-size: .9rem;
  transition: border-color .2s, box-shadow .2s; outline: none; width: 100%; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0,245,255,.1); }
.form-group select option { background: var(--bg-200); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .b4 { grid-template-columns: repeat(2,1fr); }
  .b3 { grid-template-columns: repeat(2,1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .cs2,.cs3 { grid-column: span 1; }
}
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .wrap, .section-pad { padding-left: 20px; padding-right: 20px; }
  .b2,.b3,.b4 { grid-template-columns: 1fr; }
  .cs2,.cs3 { grid-column: span 1; }
  .rs2 { grid-row: span 1; }
  .f-grid { grid-template-columns: 1fr; gap: 36px; }
  .f-bottom { flex-direction: column; gap: 12px; text-align: center; }
  footer { padding: 52px 20px 28px; }
  .form-row { grid-template-columns: 1fr; }
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
}
@media (max-width: 480px) {
  .s-title { font-size: 2.2rem; }
  .btn { padding: 12px 22px; font-size: .62rem; }
  .cta-band { padding: 72px 20px; }
}
