/* ═══════════════════════════════════════════════════════════
   QuickPly — Design System v2.0
   Fonts: Plus Jakarta Sans (headings/display) + DM Sans (body) + Outfit (logo)
   Dark electric navy / gold lightning theme
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,500;0,600;0,700;0,800;1,500&family=Outfit:wght@700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg:           #070b14;
  --bg-2:         #0c1220;
  --bg-3:         #101828;
  --border:       rgba(45,107,228,0.18);
  --border-warm:  rgba(245,166,35,0.2);
  --text:         #dce8f8;
  --text-2:       #7a93b8;
  --text-muted:   #3d5070;
  --accent:       #2d6be4;
  --accent-2:     #4d87f6;
  --accent-dim:   rgba(45,107,228,0.1);
  --warm:         #f5a623;
  --warm-dim:     rgba(245,166,35,0.12);
  --warm-2:       #f8c941;
  --success:      #34d399;
  --error:        #f87171;
  --radius:       12px;
  --radius-sm:    8px;
  --nav-h:        68px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overflow-x: hidden;
}
a { color: var(--accent-2); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--warm); }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }

/* ── Custom Cursor ───────────────────────────────────────── */
#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--warm);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(45,107,228,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}
body.cursor-hover #cursor-dot { width: 6px; height: 6px; opacity: 0.5; }
body.cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: var(--warm); }

/* ── Scroll Progress ─────────────────────────────────────── */
#scroll-progress {
  display: none; /* hidden — remove this line to re-enable */
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Layout ──────────────────────────────────────────────── */
.container    { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.container-md { max-width: 800px;  margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 560px;  margin: 0 auto; padding: 0 2rem; }
.section      { padding: 7rem 0; position: relative; }
.section-sm   { padding: 4rem 0; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(7,11,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  flex-shrink: 0;
  letter-spacing: -0.03em;
}
.nav-logo img { width: 42px; height: 42px; object-fit: contain; }
.nav-logo:hover { color: var(--text); }

.nav-links {
  display: flex;
  gap: 2rem;
  flex: 1;
}
.nav-links a {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--warm);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; gap: 0.75rem; margin-left: auto; align-items: center; }

.nav-burger { display: none; background: none; border: none; cursor: none; padding: 4px; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--text-2); border-radius: 2px; transition: all var(--transition); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: none;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(45,107,228,0.35);
}
.btn-primary:hover { 
  background: var(--accent-2); 
  color: #fff;
  box-shadow: 0 0 32px rgba(45,107,228,0.55);
  transform: translateY(-1px);
}
.btn-gold {
  background: transparent;
  color: var(--warm);
  border: 1.5px solid var(--warm);
}
.btn-gold:hover { 
  background: var(--warm-dim);
  color: var(--warm-2);
  border-color: var(--warm-2);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { 
  background: var(--accent-dim);
  color: var(--text);
  border-color: var(--accent);
}
.btn-sm  { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-lg  { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-xl  { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-2); }
.label-hint { font-size: 0.78rem; color: var(--text-muted); }

input[type="text"], input[type="email"], input[type="password"], textarea, select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,107,228,0.12);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }

.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border-left: 3px solid;
}
.alert-error   { background: rgba(248,113,113,0.08); color: var(--error); border-color: var(--error); }
.alert-success { background: rgba(52,211,153,0.08); color: var(--success); border-color: var(--success); }

/* ── Section labels ──────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--accent-2);
}

/* ── Scroll Reveal ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.35s; }
[data-reveal-delay="4"] { transition-delay: 0.5s; }
[data-reveal-delay="5"] { transition-delay: 0.65s; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 130% 110% at 50% 35%, rgba(45,107,228,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 85%, rgba(245,166,35,0.04) 0%, transparent 55%),
    var(--bg);
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(45,107,228,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,107,228,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--warm-dim);
  border: 1px solid var(--border-warm);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--warm);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--warm);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: word-rise 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes word-rise {
  to { opacity: 1; transform: none; }
}
.hero-title .line-break { display: block; height: 0.1em; }

.accent-line {
  background: linear-gradient(135deg, #93c5fd 0%, #38bdf8 40%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-footnote {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-img {
  width: 100%;
  max-width: 580px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  animation: float-hero 6s ease-in-out infinite;
  mix-blend-mode: lighten;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, rgba(0,0,0,0.55) 48%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, rgba(0,0,0,0.55) 48%, transparent 72%);
}
@keyframes float-hero {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(0.5deg); }
  66% { transform: translateY(-4px) rotate(-0.3deg); }
}
.hero-glow { display: none; }

/* ── Ticker strip ────────────────────────────────────────── */
.ticker {
  padding: 0.85rem 0;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker-scroll 22s linear infinite;
  width: max-content;
}
.ticker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 52px;
  margin: 0 1.25rem;
  font-size: 1.5rem;
  color: rgba(148,163,184,0.5);
  transition: color 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.ticker-icon:hover {
  color: rgba(203,213,225,0.8);
  transform: scale(1.2);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ── How It Works — Timeline ─────────────────────────────── */
.timeline-section { overflow: clip; }
.timeline-layout {
  position: relative;
  margin-top: 4rem;
}
/* Vertical connector line — sits on the step-text side */
.timeline-layout::before {
  content: '';
  position: absolute;
  left: calc(50% + 0.75rem);
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(45,107,228,0.22) 8%,
    rgba(45,107,228,0.22) 92%,
    transparent 100%);
  pointer-events: none;
}
.timeline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 2.5rem 0;
}
/* Step 2 gets a touch more vertical space so the observer has equal dwell time */
.timeline-row[data-step-idx="1"] { padding: 3.5rem 0; }

.timeline-visual-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
}
.timeline-visual {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, black 40%, transparent 100%);
  opacity: 0.15;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.timeline-row.active .timeline-visual {
  opacity: 1;
  transform: scale(1);
}

.timeline-step-text {
  position: relative;
  padding-left: 3.5rem;
}
.step-number {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.5s ease;
}
.timeline-row.active .step-number {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 18px rgba(45,107,228,0.5);
}
.step-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  transition: color 0.5s ease;
}
.timeline-row.active .step-title { color: var(--text); }
.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 380px;
  opacity: 0.45;
  transition: color 0.5s ease, opacity 0.5s ease;
}
.timeline-row.active .step-desc { color: var(--text-2); opacity: 1; }

/* ── Features — Alternating rows ─────────────────────────── */
.features-section { background: var(--bg-2); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text { display: flex; flex-direction: column; justify-content: center; }
.feature-title {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  margin-bottom: 1rem;
  font-weight: 800;
}
.feature-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  max-width: 400px;
}
.feature-stat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.feature-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-img-wrap {
  position: relative;
}
.feature-img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  transition: transform 0.6s ease;
  mix-blend-mode: lighten;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 72%, transparent 82%),
              linear-gradient(to bottom, transparent 0%, black 12%, black 78%, transparent 90%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 72%, transparent 82%),
                      linear-gradient(to bottom, transparent 0%, black 12%, black 78%, transparent 90%);
  -webkit-mask-composite: source-in;
}
.feature-img-wrap:hover .feature-img { transform: scale(1.04); }

/* Tone feature row (reverse) — image sits on left, fade bottom-left and bottom-right corners */
.feature-row.reverse .feature-img {
  mask-image:
    linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%),
    linear-gradient(to bottom, black 0%, black 58%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%),
    linear-gradient(to bottom, black 0%, black 58%, transparent 100%);
  -webkit-mask-composite: source-in;
}

/* ── Product Showcase ────────────────────────────────────── */
.showcase-section {
  background: var(--bg);
  overflow: hidden;
}
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.showcase-text { display: flex; flex-direction: column; justify-content: center; }
.showcase-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.showcase-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.showcase-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.showcase-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-2);
}
.showcase-bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 30%, transparent 70%);
  box-shadow: 0 0 8px rgba(45,107,228,0.5);
}

.showcase-mockup {
  position: relative;
  perspective: 1000px;
}
.showcase-mockup-img {
  width: 100%;
  border-radius: 20px;
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.5s ease;
  mix-blend-mode: lighten;
  /* Fade bottom-left and bottom-right corners completely before reaching the edge */
  mask-image:
    linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  -webkit-mask-composite: source-in;
}
.showcase-mockup:hover .showcase-mockup-img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* ── Stats Strip ─────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, rgba(45,107,228,0.06) 0%, transparent 60%),
              var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 3.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #e2eaf8 0%, #93c5fd 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Pricing Teaser ──────────────────────────────────────── */
.pricing-teaser {
  position: relative;
  overflow: hidden;
}
.pricing-teaser::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.05), transparent 70%);
  pointer-events: none;
}
.pricing-header { text-align: center; margin-bottom: 4rem; }
.pricing-header .section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; }
.pricing-header p { color: var(--text-2); font-size: 1rem; margin-top: 0.75rem; }

.pricing-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.pricing-tier {
  padding: 3rem 2.5rem;
}
.pricing-tier.featured {
  background: linear-gradient(160deg, rgba(45,107,228,0.1) 0%, transparent 80%);
  border-left: 1px solid rgba(45,107,228,0.2);
}
.pricing-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.vs-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}
.pricing-plan-name {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.pricing-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-amount.gold { color: var(--warm); }
.pricing-period { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-feat-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.pricing-feat-list li {
  font-size: 0.87rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pricing-feat-list .tick { color: var(--success); font-size: 0.7rem; }
.pricing-feat-list .cross { color: var(--text-muted); font-size: 0.7rem; }
.pricing-see-all { display: block; text-align: center; margin-top: 2.5rem; font-size: 0.85rem; color: var(--text-muted); }
.pricing-see-all:hover { color: var(--accent-2); }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(45,107,228,0.15) 0%, rgba(245,166,35,0.05) 100%);
  border-top: 1px solid var(--border);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(45,107,228,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.cta-sub { font-size: 1.05rem; color: var(--text-2); margin-bottom: 2.5rem; max-width: 460px; margin-left: auto; margin-right: auto; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.footer-logo img { width: 26px; object-fit: contain; }
.footer-logo:hover { color: var(--text); }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; max-width: 280px; }
.footer-col {}
.footer-col-heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col a { display: block; font-size: 0.875rem; color: var(--text-2); margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Auth pages ──────────────────────────────────────────── */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.auth-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(ellipse 50% 60% at 30% 40%, rgba(45,107,228,0.08), transparent),
    radial-gradient(ellipse 40% 40% at 70% 70%, rgba(245,166,35,0.04), transparent);
  pointer-events: none;
}
.auth-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
}
.auth-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 2rem;
}
.auth-logo-wrap img { width: 28px; }
.auth-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.4rem; }
.auth-sub { color: var(--text-2); font-size: 0.9rem; margin-bottom: 2rem; }
.auth-switch { font-size: 0.875rem; color: var(--text-2); text-align: center; margin-top: 1.25rem; }
.auth-legal  { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; line-height: 1.5; }

/* ── Dashboard ───────────────────────────────────────────── */
.dash-wrap {
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
}
.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.dash-title { font-size: 2rem; font-weight: 800; }
.dash-sub   { color: var(--text-2); font-size: 0.9rem; margin-top: 0.35rem; }

.dash-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.dash-metric {
  background: var(--bg-2);
  padding: 2rem 1.75rem;
}
.dash-metric-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.5rem; }
.dash-metric-value { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.dash-metric-sub   { font-size: 0.8rem; color: var(--text-2); margin-top: 0.4rem; }

.dash-panel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}
.dash-panel-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.dash-panel-sub   { font-size: 0.85rem; color: var(--text-2); margin-bottom: 1.25rem; }

.usage-bar {
  height: 3px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 0.75rem;
}
.usage-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 100px; transition: width 0.6s cubic-bezier(0.22,1,0.36,1); }

.token-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}
.token-box code { flex: 1; font-family: 'Courier New', monospace; font-size: 0.8rem; color: var(--accent-2); word-break: break-all; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-pro  { background: rgba(45,107,228,0.15); color: var(--accent-2); border: 1px solid rgba(45,107,228,0.25); }
.badge-free { background: rgba(122,147,184,0.1); color: var(--text-muted); border: 1px solid var(--border); }
.badge-active { background: rgba(52,211,153,0.12); color: var(--success); border: 1px solid rgba(52,211,153,0.2); }

.setup-steps { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--text-2); }
.setup-steps li { display: flex; align-items: flex-start; gap: 0.6rem; }
.setup-steps li::before { content: ''; display: block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 7px; }


.skeleton-card {
  height: 72px;
  border-radius: 12px;
  margin-bottom: 0.6rem;
  background: linear-gradient(90deg, var(--bg-2) 25%, rgba(255,255,255,0.04) 50%, var(--bg-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--success);
  color: #0a2010;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  animation: toast-in 0.25s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ── Prose ───────────────────────────────────────────────── */
.prose-wrap {
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
}
.prose h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.prose .updated { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 3rem; }
.prose h2 { font-size: 1.2rem; font-weight: 700; margin: 2.5rem 0 0.75rem; color: var(--text); }
.prose p, .prose li { font-size: 0.95rem; color: var(--text-2); line-height: 1.8; margin-bottom: 0.75rem; }
.prose ul { padding-left: 1.5rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent-2); text-decoration: underline; text-decoration-color: rgba(77,135,246,0.4); }

/* ── Pricing page ────────────────────────────────────────── */
.pricing-page { padding: calc(var(--nav-h) + 3rem) 0 5rem; }
.pricing-page-header { text-align: center; margin-bottom: 4rem; }
.pricing-page-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 0.75rem; }
.pricing-page-sub { color: var(--text-2); font-size: 1rem; }

.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 3rem;
}
.tier {
  padding: 2.5rem 2rem;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  position: relative;
}
.tier:last-child { border-right: none; }
.tier.pro-tier {
  background: linear-gradient(160deg, rgba(45,107,228,0.1) 0%, var(--bg-2) 80%);
}
.tier-name { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.tier-price { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.75rem; font-weight: 800; line-height: 1; margin-bottom: 0.25rem; }
.tier-price.gold-price { color: var(--warm); }
.tier-per { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.tier-save { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.5rem; background: var(--warm-dim); color: var(--warm); border-radius: 100px; margin-bottom: 1.5rem; }
.tier-feats { list-style: none; font-size: 0.875rem; color: var(--text-2); display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 2rem; }
.tier-feats li { display: flex; align-items: flex-start; gap: 0.5rem; }
.tier-feats .ck { color: var(--success); flex-shrink: 0; margin-top: 1px; }
.tier-feats .cx { color: var(--text-muted); flex-shrink: 0; margin-top: 1px; }

.faq-section { max-width: 680px; margin: 0 auto; }
.faq-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 2rem; text-align: center; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-chevron { flex-shrink: 0; width: 16px; height: 16px; transition: transform var(--transition); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-body {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-body { max-height: 200px; padding-bottom: 1.25rem; }

/* ── Admin ───────────────────────────────────────────────── */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-side {
  width: 240px;
  flex-shrink: 0;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.admin-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.admin-logo img { width: 24px; }
.admin-nav-link { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.75rem; border-radius: 8px; font-size: 0.875rem; font-weight: 500; color: var(--text-2); transition: all 0.15s; }
.admin-nav-link:hover, .admin-nav-link.active { background: var(--accent-dim); color: var(--accent-2); }
.admin-main { flex: 1; padding: 2rem 2.5rem; overflow: auto; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.admin-title { font-size: 1.4rem; font-weight: 800; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 2rem; }
.stat-box { background: var(--bg-2); padding: 1.25rem 1.5rem; }
.stat-box-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.35rem; }
.stat-box-val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.75rem; font-weight: 800; }

table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
thead tr { border-bottom: 1px solid var(--border); }
th { text-align: left; padding: 0.75rem 1rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; }
tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.15s; }
tbody tr:hover { background: rgba(255,255,255,0.02); }
td { padding: 0.85rem 1rem; color: var(--text-2); }
.admin-search { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.admin-search input { max-width: 300px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 2rem; text-align: center; }
  .hero-sub { margin: 0 auto 2.25rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .timeline-layout::before { display: none; }
  .timeline-row { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; }
  .timeline-row[data-step-idx="1"] { padding: 2.5rem 0; }
  .timeline-visual-wrap { height: 200px; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse { direction: ltr; }
  .showcase-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; border-radius: 16px; }
  .tier { border-right: none; border-bottom: 1px solid var(--border); }
  .tier:last-child { border-bottom: none; }
  .pricing-strip { grid-template-columns: 1fr; }
  .pricing-divider { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .dash-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-inner.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1rem;
    z-index: 999;
  }
  .section { padding: 4.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .admin-wrap { flex-direction: column; }
  .admin-side { width: 100%; border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ── Floating particles (JS-driven) ─────────────────────── */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particle-float linear infinite;
}
@keyframes particle-float {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(40px) scale(0); opacity: 0; }
}

/* ── Moving ambient lines ────────────────────────────────── */
.ambient-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.15;
  animation: line-drift linear infinite;
  pointer-events: none;
}
@keyframes line-drift {
  from { transform: translateX(-100%); }
  to   { transform: translateX(200%); }
}
