/* ============================================================
   LSANinja — Shared Design System
   Dark Premium: Deep Slate + Burnt Orange + Space Grotesk
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:        #0d1b2a;
  --bg-mid:    #111f2e;
  --bg-card:   #162032;
  --bg-subtle: #1e2d3d;
  --bg-deep:   #070f16;
  --ink:       #ffffff;
  --muted:     #8d9fab;
  --subtle:    #4e6478;
  --line:      #1e2d3d;
  --accent:    #f97316;
  --accent-dk: #ea580c;
  --ok:        #10b981;
  --warn:      #f59e0b;
  --danger:    #ef4444;

  --font-head: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);

  --wrap: 1160px;
  --wrap-narrow: 780px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; } /* scroll handled by Lenis */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
p  { color: var(--muted); line-height: 1.7; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
}
.text-center { text-align: center; }
.text-center .lead { margin: 0 auto; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(249,115,22,0.35);
}
.btn-primary:hover {
  background: var(--accent-dk);
  box-shadow: 0 6px 28px rgba(249,115,22,0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--muted);
  background: rgba(255,255,255,0.04);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ── ANNOUNCE BAR ─────────────────────────────────────────── */
.announce {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  color: var(--muted);
}
.announce strong { color: var(--accent); }
.announce a { color: var(--accent); text-decoration: underline; margin-left: 8px; }
.announce a:hover { color: var(--ink); }

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(13,27,42,0.96);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img, .nav-logo svg { height: 32px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .site-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--line);
    padding: 16px;
    gap: 4px;
  }
  .site-nav.open .nav-cta { display: block; }
  .site-nav { position: relative; }
  .site-nav.open { position: sticky; }
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--subtle);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-sm { padding: 20px 24px; }
.card-icon {
  width: 44px;
  height: 44px;
  background: rgba(249,115,22,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

/* ── FEATURE BLOCKS ──────────────────────────────────────── */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feat.rev { direction: rtl; }
.feat.rev > * { direction: ltr; }
@media (max-width: 860px) {
  .feat, .feat.rev { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
}
.feat-txt h3 { font-size: 30px; margin-bottom: 16px; }
.feat-txt p { font-size: 16px; margin-bottom: 24px; }
.feat-txt ul { display: flex; flex-direction: column; gap: 12px; }
.feat-txt ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}
.feat-txt ul li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23f97316' fill-opacity='.15'/%3E%3Cpath d='M5.5 9.5l2.5 2.5 4.5-5' stroke='%23f97316' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}
.feat-shot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  border: 1px solid var(--line);
}
.feat-shot .bar {
  height: 32px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.feat-shot .bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--subtle);
}
.feat-shot img { width: 100%; display: block; }
.feat-shot-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(249,115,22,0.15);
  pointer-events: none;
}

/* ── STAT TILES ──────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-tile {
  background: var(--bg-card);
  padding: 36px 28px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── COMPARISON TABLE ────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.compare-table th:first-child, .compare-table td:first-child {
  text-align: left;
  color: var(--muted);
}
.compare-table th {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-card);
  position: sticky;
  top: 64px;
}
.compare-table th.col-good { color: var(--accent); }
.compare-table th.col-bad  { color: var(--subtle); }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.check { color: var(--ok); font-size: 18px; }
.cross { color: var(--subtle); font-size: 18px; }

/* ── PRICING CARDS ───────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 48px rgba(249,115,22,0.2);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}
.price-period { font-size: 16px; font-weight: 400; color: var(--muted); }
.price-desc { font-size: 14px; color: var(--muted); margin: 12px 0 28px; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.price-features li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  align-items: flex-start;
}
.price-features li::before {
  content: '✓';
  color: var(--ok);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── TESTIMONIAL ─────────────────────────────────────────── */
.testimonial-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.testimonial-block::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: 16px;
  left: 40px;
}
.testimonial-text {
  font-size: clamp(19px, 2.5vw, 26px);
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.testimonial-attr {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 2px solid var(--line);
  overflow: hidden;
}
.testimonial-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* ── HOW IT WORKS ────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step h4 { margin-bottom: 10px; }
.step p { font-size: 14px; }

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: var(--subtle); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--subtle);
  transition: transform 0.3s ease, color 0.2s ease;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 28px 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── FOOTER CTA BAND ─────────────────────────────────────── */
.footer-cta {
  background: linear-gradient(120deg, #ea580c 0%, #f97316 40%, #fb923c 100%);
  padding: 80px 0;
  text-align: center;
}
.footer-cta h2 {
  color: #fff;
  margin-bottom: 16px;
}
.footer-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  margin-bottom: 36px;
}
.footer-cta .btn-white {
  background: #fff;
  color: var(--accent-dk);
  font-weight: 700;
}
.footer-cta .btn-white:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 28px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--subtle); max-width: 260px; }
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--subtle);
}
.footer-bottom a { color: var(--subtle); }
.footer-bottom a:hover { color: var(--muted); }

/* ── UTILITY ─────────────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .grid-4 { grid-template-columns: 1fr; }
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(249,115,22,0.12);
  color: var(--accent);
  border: 1px solid rgba(249,115,22,0.25);
  margin-bottom: 16px;
}
.tag-soon {
  background: rgba(245,158,11,0.12);
  color: var(--warn);
  border-color: rgba(245,158,11,0.25);
}
.divider { height: 1px; background: var(--line); margin: 0; }

/* ── ANIMATIONS — initial states set by JS, not CSS ──────── */
/* .gsap-* classes are markers only; JS sets opacity/transform after GSAP loads */
