/* =========================================================
   NIGGABOT.CC — core styles
   ========================================================= */

:root {
  --bg:          #05060a;
  --bg-2:        #08090f;
  --surface:     #0b0d14;
  --surface-2:   #101320;
  --border:      #1a1e2e;
  --border-lit:  #2a3350;

  --primary:     #2b7fff;
  --primary-2:   #5aa0ff;
  --primary-hi:  #78b6ff;
  --primary-lo:  #0a2f66;
  --glow:        rgba(43, 127, 255, 0.55);
  --glow-soft:   rgba(43, 127, 255, 0.18);

  --text:        #ffffff;
  --text-dim:    #8a92a6;
  --text-mute:   #565c72;

  --radius:      14px;
  --radius-lg:   22px;

  --ease:        cubic-bezier(.22,.61,.36,1);
  --ease-out:    cubic-bezier(.16,1,.3,1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--primary); color: #000; }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor-dot,
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--primary-hi);
  box-shadow: 0 0 8px var(--primary), 0 0 16px var(--glow);
  transition: transform .08s var(--ease-out), width .2s var(--ease), height .2s var(--ease);
}
.cursor-glow {
  width: 36px; height: 36px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  transition: transform .35s var(--ease-out), width .3s var(--ease), height .3s var(--ease), opacity .3s var(--ease);
  mix-blend-mode: screen;
}
.cursor-dot.hover { width: 12px; height: 12px; }
.cursor-glow.hover { width: 80px; height: 80px; }

@media (pointer: coarse) {
  body, button { cursor: auto; }
  .cursor-dot, .cursor-glow { display: none; }
}

/* =========================================================
   BACKGROUND FX
   ========================================================= */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, rgba(43,127,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43,127,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  z-index: -3;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .55;
  z-index: -2;
  pointer-events: none;
  animation: float 18s ease-in-out infinite;
}
.bg-glow-1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, #1e5ec4 0%, transparent 65%);
  top: -180px; left: -180px;
}
.bg-glow-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #0e3faa 0%, transparent 65%);
  bottom: -160px; right: -140px;
  animation-delay: -9s;
}

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(60px,-40px) scale(1.15); }
}

.bg-noise {
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.6 0 0 0 0 1 0 0 0 0.15 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .35;
  mix-blend-mode: overlay;
  z-index: -1;
  pointer-events: none;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: transform .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(5,6,10,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav.hidden { transform: translateY(-110%); }

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .01em;
}
.logo-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  box-shadow: 0 0 12px var(--glow), inset 0 0 6px rgba(255,255,255,.35);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.5px solid rgba(255,255,255,.85);
  border-radius: 3px;
}
.logo-dot { color: var(--primary); }

.nav-links {
  display: flex; gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}
.nav-links a {
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), color .2s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn .arrow {
  display: inline-block;
  transition: transform .3s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-nav {
  background: rgba(43,127,255,.08);
  color: var(--text);
  border-color: var(--border-lit);
  padding: 10px 18px;
  font-size: 13px;
}
.btn-nav:hover {
  background: rgba(43,127,255,.18);
  border-color: var(--primary);
  box-shadow: 0 0 24px var(--glow-soft);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary-2) 0%, var(--primary-hi) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -6px var(--glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
  color: var(--text);
  border-color: var(--border-lit);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(43,127,255,.06);
  border-color: var(--primary);
}

.btn-outline {
  color: var(--text);
  background: rgba(255,255,255,.02);
  border-color: var(--border-lit);
  width: 100%;
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(43,127,255,.08);
  box-shadow: 0 0 24px var(--glow-soft);
}

.btn-block { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 32px 100px;
  position: relative;
  text-align: center;
}

.hero-inner {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(43,127,255,.08);
  border: 1px solid var(--border-lit);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--text-dim);
  margin-bottom: 36px;
}

.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2eff8f;
  box-shadow: 0 0 8px #2eff8f, 0 0 16px rgba(46,255,143,.5);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.85); }
}

.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.title-line {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 10vw, 128px);
  line-height: .95;
  letter-spacing: -.035em;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #6690d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(43,127,255,.15);
  position: relative;
  max-width: 100%;
}
/* shimmer pseudo removed — the split-char animation renders the title on its own */

.title-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-dim);
  letter-spacing: -.005em;
}

.hero-lead {
  max-width: 620px;
  margin: 32px 0 40px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.stat-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--text);
  letter-spacing: -.02em;
}
.stat-lbl {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--text-mute);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: .5; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.features, .pricing, .faq {
  padding: 140px 32px;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}
.section-head {
  text-align: center;
  margin-bottom: 72px;
}
.eyebrow {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .3em;
  margin-bottom: 16px;
}
.section-title {
  margin: 0 auto;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.025em;
  max-width: 860px;
}
.section-lead {
  color: var(--text-dim);
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 16px;
}

/* =========================================================
   FEATURES
   ========================================================= */
.features-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.5fr;
  gap: 80px;
  align-items: center;
}

.features-head { text-align: left; }
.features-head .eyebrow {
  display: block;
  margin-bottom: 20px;
}
.features-head .section-title-left {
  max-width: 100%;
  margin: 0;
  text-align: left;
  font-size: clamp(34px, 3.6vw, 52px);
}
.features-head .section-lead-left {
  max-width: 100%;
  margin: 22px 0 0;
  text-align: left;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .35s var(--ease), transform .3s var(--ease-out);
}
.feature-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(43,127,255,.10), transparent 40%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.feature-card:hover { border-color: var(--border-lit); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover .feature-glow { opacity: 1; }
.feature-card:hover .feature-icon {
  background: rgba(43,127,255,.16);
  border-color: var(--primary);
  color: var(--primary-hi);
  box-shadow: 0 0 24px var(--glow-soft);
}

.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(43,127,255,.08);
  border: 1px solid var(--border-lit);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 22px;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-icon svg {
  width: 22px; height: 22px;
  display: block;
}

.feature-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
  letter-spacing: -.015em;
}
.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.feature-glow {
  position: absolute;
  bottom: -100px; right: -100px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}

/* =========================================================
   PRICING
   ========================================================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease-out), border-color .3s var(--ease);
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-lit);
}

.price-featured {
  border-color: transparent;
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%) padding-box,
    linear-gradient(180deg, var(--primary) 0%, var(--primary-lo) 100%) border-box;
  border: 1px solid transparent;
  box-shadow: 0 20px 60px -20px var(--glow);
}
.price-glow-border {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0%, var(--primary-hi) 25%, transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: rotate-border 6s linear infinite;
  pointer-events: none;
}
@keyframes rotate-border {
  to { transform: rotate(360deg); }
}

.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.price-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--text-dim);
}
.price-flag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--text-dim);
}
.flag-hot {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--glow);
}

.price-cost {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}
.price-currency {
  font-family: 'Unbounded', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dim);
}
.price-amount {
  font-family: 'Unbounded', sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff 0%, #6690d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-per {
  font-size: 15px;
  color: var(--text-mute);
  margin-left: 6px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-dim);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 880px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.faq-item:hover { border-color: var(--border-lit); }
.faq-item[open] {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(43,127,255,.04) 100%);
  box-shadow: 0 0 30px -10px var(--glow-soft);
}

.faq-item summary {
  list-style: none;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .35s var(--ease);
}
.faq-icon::before {
  top: 7px; left: 0;
  width: 16px; height: 2px;
}
.faq-icon::after {
  left: 7px; top: 0;
  width: 2px; height: 16px;
}
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }

.faq-body {
  padding: 0 26px 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  animation: faq-fade .35s var(--ease-out);
}
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 32px 40px;
  margin-top: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(43,127,255,.03) 100%);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  margin: 18px 0 0;
  color: var(--text-dim);
  font-size: 14px;
  max-width: 300px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--primary); }

.footer-base {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Split-text: hero title (per char) ===== */
.title-line[data-split] { display: block; text-align: center; white-space: normal; }
.title-line .char {
  display: inline-block;
  transform: translateY(115%) rotate(6deg);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity .8s var(--ease-out);
  will-change: transform, opacity;
}
.title-line .char[data-c]::before {
  content: attr(data-c);
}
.title-line .char-space { display: inline-block; width: .35em; }
.title-line.visible .char {
  transform: translateY(0) rotate(0);
  opacity: 1;
}
.title-line .char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1;
  padding-bottom: .08em;
}

/* ===== Split-text: section titles (per word) ===== */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.1;
  padding-bottom: .08em;
}
.word {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform .85s var(--ease-out), opacity .7s var(--ease-out);
  will-change: transform, opacity;
}
[data-split-words].visible .word {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Magnetic buttons ===== */
.magnetic {
  transition: transform .4s var(--ease-out), background .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), color .2s var(--ease);
}

/* ===== Card reveal uses base .reveal fade/slide ===== */

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%),
    linear-gradient(180deg, rgba(43,127,255,.04), rgba(43,127,255,0));
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-row {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -.01em;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-lit);
  white-space: nowrap;
}
.marquee-row span:not(.mq-dot) {
  transition: color .35s var(--ease), -webkit-text-stroke-color .35s var(--ease);
}
.marquee-row span:not(.mq-dot):hover {
  color: var(--text);
  -webkit-text-stroke-color: transparent;
}
.mq-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--glow);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .bg-glow,
  .title-line::before,
  .scroll-line,
  .price-glow-border { animation: none !important; }
  .reveal, .title-line .char, .word { transition: none !important; }
}

/* =========================================================
   SHOWCASE
   ========================================================= */
.showcase {
  padding: 140px 32px;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-card {
  position: relative;
  margin: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 16 / 9;
  transition:
    transform .5s var(--ease-out),
    border-color .35s var(--ease),
    box-shadow .5s var(--ease);
}
.showcase-card:hover {
  border-color: var(--primary);
  box-shadow: 0 30px 80px -30px var(--glow);
  transform: translateY(-4px);
}
.showcase-card.showcase-wide { aspect-ratio: 2011 / 782; }

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s var(--ease-out), filter .5s var(--ease);
  filter: saturate(1.05) contrast(1.02);
  display: block;
}
.showcase-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.15) contrast(1.06);
}

/* soft frame + shine on hover */
.showcase-frame {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 0 60px rgba(0,0,0,.35);
}
.showcase-shine {
  position: absolute;
  top: 0; left: -60%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent 30%, rgba(120,182,255,.14) 50%, transparent 70%);
  transform: skewX(-18deg);
  transition: left 1s var(--ease-out);
  pointer-events: none;
  mix-blend-mode: screen;
}
.showcase-card:hover .showcase-shine { left: 120%; }

/* fallback state when image is missing */
.showcase-card img:not([src]),
.showcase-card img[src=""] { opacity: 0; }

/* =========================================================
   NOTE CARD
   ========================================================= */
.note-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 44px 36px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.note-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px circle at 100% 0%, rgba(43,127,255,.10), transparent 55%),
    radial-gradient(500px circle at 0% 100%, rgba(43,127,255,.06), transparent 55%);
  pointer-events: none;
}

.note-corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--primary);
  opacity: .8;
}
.note-corner-tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.note-corner-tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.note-corner-bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.note-corner-br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.note-text {
  position: relative;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  font-weight: 400;
}
.note-text::first-line { color: var(--primary-hi); font-weight: 500; }

.note-links {
  position: relative;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.note-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(43,127,255,.08);
  border: 1px solid var(--border-lit);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: transform .35s var(--ease-out), background .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease);
}
.note-chip:hover {
  background: rgba(43,127,255,.16);
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--glow-soft);
}
.note-chip .arrow {
  color: var(--primary);
  transition: transform .3s var(--ease-out);
}
.note-chip:hover .arrow { transform: translate(3px, -3px); }

.note-chip-icon {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--glow);
}

.note-handle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  border: 1px dashed var(--border-lit);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
}
.note-handle-label {
  color: var(--text-mute);
  letter-spacing: .2em;
  font-weight: 600;
}
.note-handle-tag {
  color: var(--primary-hi);
  font-weight: 700;
  letter-spacing: .01em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .features-wrap { grid-template-columns: 1fr; gap: 40px; }
  .features-head { text-align: center; }
  .features-head .section-title-left,
  .features-head .section-lead-left { text-align: center; margin-left: auto; margin-right: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid   { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }
  .hero { padding: 120px 20px 80px; }
  .hero-stats { gap: 32px; margin-top: 60px; padding-top: 30px; }
  .stat-num { font-size: 24px; }
  .features, .pricing, .faq, .showcase { padding: 90px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer { padding: 60px 20px 30px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .marquee-row { font-size: 26px; gap: 28px; padding-right: 28px; }
  .note-card { padding: 32px 24px 26px; }
  .note-text { font-size: 15px; }
  .showcase-card.showcase-wide { aspect-ratio: 16 / 9; }
}
