/*
 * oksp-site.css
 * Okay Spielberg — new marketing site stylesheet
 * Applies ONLY to: index.html, pickup.html, pricing.html, tutorials/*.html
 * Does NOT affect: admin.html, signup.html, download.html, or any existing pages.
 */

/* ─── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Variables ────────────────────────────────────────────────────────────── */
:root {
  --bg:        #0a0a0f;
  --bg-card:   #111118;
  --bg-input:  #16161f;
  --border:    #1e1e2e;
  --purple:    #7c3aed;
  --purple-h:  #6d28d9;
  --green:     #10b981;
  --text:      #e8e8f0;
  --text-dim:  #8888a8;
  --text-mute: #444460;
  --radius:    10px;
  --radius-lg: 16px;
}

/* ─── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.3px;
}

.nav-logo span { color: var(--purple); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--purple);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--purple-h) !important; color: #fff !important; }

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

/* ─── Sections & layout ────────────────────────────────────────────────────── */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

.section-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
}

.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  margin-top: 14px;
  max-width: 560px;
  line-height: 1.65;
}

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 22px;
  padding: 5px 14px;
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.08;
  color: var(--text);
  max-width: 820px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 580px;
  margin: 20px auto 0;
  line-height: 1.6;
}

.hero-pricing {
  margin: 24px auto 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--purple-h); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: var(--text-dim); color: var(--text); }

.btn-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.btn-text:hover { color: var(--text); }

.hero-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-mute);
}

.hero-screenshot {
  margin-top: 64px;
  width: 100%;
  max-width: 960px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}

.hero-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Pipeline (tab flip) ───────────────────────────────────────────────────── */
.pipeline-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pipeline-tabs::-webkit-scrollbar { display: none; }

.pipeline-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-mute);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 22px 12px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
.pipeline-tab:hover { color: var(--text-dim); }
.pipeline-tab.active {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

.pipeline-panels { position: relative; }

.pipeline-panel {
  display: none;
}
.pipeline-panel.active { display: block; }

.pipeline-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pipeline-panel-text h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text);
}
.pipeline-panel-text p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.65;
}

.pipeline-screenshot {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.pipeline-screenshot img { width: 100%; }

.pipeline-tagline {
  margin-top: 48px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dim);
  font-style: italic;
}

/* ─── Who it's for ──────────────────────────────────────────────────────────── */
.for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.for-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.for-card:hover { border-color: rgba(124,58,237,0.3); }

.for-card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.for-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.for-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ─── Pricing columns (homepage) ───────────────────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.price-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}

.price-col.featured {
  border-color: var(--purple);
  position: relative;
}

.price-col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}

.price-value {
  font-size: 40px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
  margin: 8px 0;
}

.price-value.green { color: var(--green); }

.price-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 8px;
}

.price-honest {
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--green);
  text-align: center;
  line-height: 1.6;
}

/* ─── Tutorial cards ────────────────────────────────────────────────────────── */
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.tutorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.tutorial-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-2px); }

.tutorial-thumb {
  aspect-ratio: 16/9;
  background: #0d0d18;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutorial-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutorial-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a0a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(124,58,237,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}

.tutorial-card:hover .play-icon {
  background: var(--purple);
  transform: scale(1.1);
}

.play-icon svg { margin-left: 3px; }

.tutorial-card-body {
  padding: 22px 24px 24px;
}

.tutorial-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 6px;
}

.tutorial-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.tutorial-card-body p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 18px;
}

.tutorial-card-body .btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  transition: color 0.15s;
}
.tutorial-card-body .btn-watch:hover { color: #a78bfa; }

/* ─── AD Carousel ────────────────────────────────────────────────────────────── */
.ad-carousel {
  margin: 0 auto 56px;
}

.ad-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: adFadeIn 0.35s ease;
}
.ad-slide.active { display: flex; }

@keyframes adFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Portrait (chat) screenshots — phone-width so they don't blow up */
.ad-slide.narrow { max-width: 420px; margin-left: auto; margin-right: auto; }

/* Landscape (casting result) — full container width */
.ad-slide.wide   { max-width: 860px; margin-left: auto; margin-right: auto; }

.ad-slide-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  padding: 5px 16px;
  border-radius: 100px;
}

.ad-slide img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 28px 72px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.03);
  display: block;
}

.ad-slide-caption {
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.65;
  max-width: 480px;
}

.ad-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.ad-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.ad-dot.active {
  background: var(--purple);
  transform: scale(1.35);
}
.ad-dot:hover:not(.active) { background: var(--text-mute); }

/* ─── AD Feature grid ────────────────────────────────────────────────────────── */
.ad-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ad-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: border-color 0.2s;
}
.ad-feature:hover { border-color: rgba(124,58,237,0.35); }

.ad-feature-icon {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1;
}

.ad-feature h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.ad-feature p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.footer-brand span { color: var(--purple); }
.footer-tagline {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: border-color 0.15s, color 0.15s;
}
.social-icon:hover { border-color: var(--text-dim); color: var(--text); }

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 0 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-mute);
}

/* ─── Pickup page ────────────────────────────────────────────────────────────── */
.pickup-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.pickup-headline {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 12px;
}

.pickup-sub {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 40px;
  line-height: 1.6;
}

.pickup-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  padding: 14px 16px;
  min-height: 120px;
  resize: vertical;
  transition: border-color 0.15s;
  width: 100%;
}
.form-textarea:focus { outline: none; border-color: var(--purple); }
.form-textarea::placeholder { color: var(--text-mute); }

.form-input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  transition: border-color 0.15s;
  width: 100%;
}
.form-input:focus { outline: none; border-color: var(--purple); }

.form-select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  transition: border-color 0.15s;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238888a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-select:focus { outline: none; border-color: var(--purple); }

.aspect-row {
  display: flex;
  gap: 10px;
}

.aspect-btn {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.aspect-btn.selected {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(124,58,237,0.08);
}
.aspect-btn:hover:not(.selected) { border-color: var(--text-mute); color: var(--text); }

.btn-render {
  width: 100%;
  background: var(--purple);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: not-allowed;
  opacity: 0.6;
  position: relative;
  text-align: center;
}

.btn-render-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
  margin-top: -8px;
}

.coming-soon-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: #a78bfa;
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.pickup-post-form {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.pickup-post-form h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 10px;
}

.pickup-post-form p {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ─── Pricing page ──────────────────────────────────────────────────────────── */
.pricing-hero {
  padding: 120px 24px 80px;
  text-align: center;
}

.pricing-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 14px;
}

.pricing-hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.pricing-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
}

.pricing-col.featured {
  border-color: var(--purple);
  background: rgba(124,58,237,0.04);
}

.pricing-col-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
}

.pricing-big {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--text);
  line-height: 1;
}
.pricing-big.green { color: var(--green); }
.pricing-big.purple { color: var(--purple); }

.pricing-unit {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 6px;
  font-weight: 500;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.pricing-check {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-markup {
  margin-top: 40px;
  padding: 24px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: var(--radius-lg);
  font-size: 15px;
  color: var(--green);
  text-align: center;
  line-height: 1.65;
}

/* ─── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: var(--bg-card);
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.faq-q:hover { background: rgba(255,255,255,0.02); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-mute);
  transition: transform 0.2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  background: var(--bg-card);
}
.faq-item.open .faq-a { display: block; }

/* ─── Tutorial pages ─────────────────────────────────────────────────────────── */
.tutorial-page {
  padding-top: 80px;
}

.tutorial-embed-wrap {
  width: 100%;
  background: #000;
  position: relative;
}

.tutorial-embed-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.tutorial-embed-ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tutorial-embed-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tutorial-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.tutorial-body h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 18px;
  margin-top: 48px;
}
.tutorial-body h2:first-child { margin-top: 0; }

.tutorial-learn-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tutorial-learn-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

.tutorial-learn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
  margin-top: 8px;
}

.tutorial-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tutorial-cta-box p {
  flex: 1;
  font-size: 15px;
  color: var(--text-dim);
  min-width: 200px;
}

.tutorial-next {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.15s;
}
.tutorial-next:hover { border-color: rgba(124,58,237,0.4); }

.tutorial-next-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 4px;
}

.tutorial-next-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.arrow-icon { color: var(--purple); font-size: 20px; }

/* ─── Tutorials index ────────────────────────────────────────────────────────── */
.tutorials-hero {
  padding: 120px 24px 64px;
  text-align: center;
}

.tutorials-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 12px;
}

.tutorials-hero p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
}

/* ─── Divider ────────────────────────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pipeline-panel-inner { grid-template-columns: 1fr; gap: 28px; }
  .pipeline-panel-inner .pipeline-screenshot { order: -1; }
  .for-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .tutorial-grid { grid-template-columns: 1fr; }
  .ad-section-inner { grid-template-columns: 1fr; gap: 40px; }
  .pricing-table { grid-template-columns: 1fr; }
  .ad-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .pickup-form { padding: 24px 18px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .tutorial-cta-box { flex-direction: column; }
  .tutorial-next { flex-direction: column; align-items: flex-start; }
}

/* ─── Utility ────────────────────────────────────────────────────────────────── */
.text-green { color: var(--green); }
.text-purple { color: var(--purple); }
.text-dim { color: var(--text-dim); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
