/* ==========================================================================
   Veltour Storefront - High-Conversion Editorial Obsidian Design System
   ========================================================================== */

:root {
  --bg: #08090C;
  --bg-elev: #0F1117;
  --bg-card: #141720;
  --bg-card-hover: #1A1E2A;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F8FAFC;
  --text-dim: #C4CEE0;
  --text-muted: #94A3B8;
  --accent: #FF5432;
  --accent-hover: #FF6A4D;
  --accent-soft: rgba(255, 84, 50, 0.14);
  --accent-border: rgba(255, 84, 50, 0.38);
  --mint: #10B981;
  --mint-soft: rgba(16, 185, 129, 0.14);
  --amber: #F59E0B;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
  --max-w: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Sticky Top Navigation ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
}
.nav-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: transform 120ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15.5px; border-radius: 12px; }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 28px rgba(255, 84, 50, 0.34);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 14px 36px rgba(255, 84, 50, 0.44);
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 78px 0 64px;
  background:
    radial-gradient(ellipse 68% 45% at 50% 0%, rgba(255, 84, 50, 0.16), transparent 68%),
    linear-gradient(180deg, #0A0B0F 0%, var(--bg) 100%);
}
.hero-content {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 48px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #FF8970;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: #FAF9F6;
}
.hero h1 .accent-text {
  color: var(--accent);
}
.hero-sub {
  margin: 0 auto 30px;
  max-width: 680px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.58;
  color: var(--text-dim);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-proof strong { color: var(--text-dim); }

.hero-visual-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 84, 50, 0.14);
  background: #0B0C0F;
}
.hero-visual-wrap img {
  width: 100%;
  height: auto;
}

/* ── Section Commons ────────────────────────────────────────────────────── */
section { padding: 84px 0; }
.section-alt {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
}
.section-head p {
  margin: 0;
  font-size: 16.5px;
  color: var(--text-dim);
}

/* ── Live Self-Proving Interactive Demo Playground ──────────────────────── */
.abm-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px 14px 0 0;
  background: #131620;
  border: 1px solid var(--border-strong);
  border-bottom: none;
}
.abm-inputs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.abm-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mint);
  background: var(--mint-soft);
  padding: 4px 10px;
  border-radius: 99px;
}
.abm-input {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #090B0F;
  color: var(--text);
  font-size: 13px;
  width: 165px;
}
.abm-input:focus {
  outline: none;
  border-color: var(--accent);
}
.preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.preset-pill {
  height: 28px;
  padding: 0 10px;
  border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.preset-pill:hover, .preset-pill.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #FFFFFF;
}

#live-demo .container { max-width: 1280px; }
.live-demo-shell {
  width: 100%;
  height: 760px;
  border: 1px solid var(--border-strong);
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.65);
  background: #0A0B0E;
}
.live-demo-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-demo-shell {
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 740px;
  align-items: center;
  justify-content: center;
  background: #07090F;
  border-radius: 18px;
}
.video-demo-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #07090F;
}
.demo-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}
.demo-caption code {
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 5px;
}

/* ── 5-in-1 Outputs Showcase ────────────────────────────────────────────── */
.showcase-diagram {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  margin-bottom: 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.outputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.output-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.output-card.wide { grid-column: span 2; }
.output-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.output-card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.015em;
}
.output-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.replaces-tag {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--mint);
}

/* ── Interactive SaaS Savings Calculator ────────────────────────────────── */
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.calc-panel {
  padding: 28px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
}
.calc-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.calc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 11px;
  background: #0D0F15;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 140ms ease;
}
.calc-check:has(input:checked) {
  border-color: var(--accent-border);
  background: rgba(255, 84, 50, 0.07);
}
.calc-check input {
  accent-color: var(--accent);
  margin-top: 3px;
  width: 16px;
  height: 16px;
}
.calc-check strong { display: block; font-size: 13.5px; }
.calc-check span { display: block; font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }

.calc-summary {
  padding: 30px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,84,50,0.22), transparent 55%),
    #131620;
  border: 1px solid var(--accent-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.calc-big-num {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--mint);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.calc-breakdown {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
}
.calc-row strong {
  color: var(--text);
  font-family: var(--font-mono);
}

/* ── Competitor Teardown Table ──────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 820px;
}
table.compare th, table.compare td {
  padding: 14px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.compare th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: #10131A;
}
table.compare th.hl, table.compare td.hl {
  background: rgba(255, 84, 50, 0.08);
  color: #FFFFFF;
  font-weight: 700;
}
table.compare th.hl { color: var(--accent); }
.yes { color: var(--mint); font-weight: 700; }
.no { color: #6E7585; }
.warn { color: var(--amber); font-weight: 600; }

/* ── Pricing Tiers ──────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  padding: 30px 26px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 84, 50, 0.16), transparent 55%),
    #161A25;
  border-color: var(--accent);
  box-shadow: 0 26px 70px rgba(255, 84, 50, 0.15);
}
.popular-pill {
  position: absolute;
  top: -12px;
  right: 22px;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tier-name { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.tier-sub { font-size: 13.5px; color: var(--text-dim); margin: 0 0 20px; min-height: 42px; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
}
.price-val {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-term {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mint);
  font-weight: 600;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  color: var(--text-dim);
  flex: 1;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mint);
  font-weight: 800;
}
.feature-list code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
}
.feature-list strong {
  color: var(--text);
}
.guarantee-strip {
  margin-top: 28px;
  text-align: center;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dim);
}
.guarantee-strip strong { color: var(--text); }

/* ── FAQ Accordion ──────────────────────────────────────────────────────── */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
details.faq-item {
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 18px 22px;
}
details.faq-item[open] {
  border-color: var(--border-strong);
}
details.faq-item summary {
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  font-weight: 400;
}
details.faq-item[open] summary::after { content: '−'; }
details.faq-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 960px) {
  .outputs-grid, .calc-grid, .pricing-grid { grid-template-columns: 1fr; }
  .output-card.wide { grid-column: span 1; }
  .nav-links { display: none; }
  .live-demo-shell { height: 520px; }
}
@media (max-width: 600px) {
  .calc-tools { grid-template-columns: 1fr; }
  .abm-input { width: 100%; }
}


/* ── Embedded Checkout Preview & Payhip Overlay Connector Modal ────────── */
.co-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 7, 11, 0.82);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.co-modal-backdrop.open {
  display: flex;
}
.co-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #12151E;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  color: var(--text);
}
.co-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.co-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.co-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5EEAD4;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.co-header h3 {
  font-size: 22px;
  margin: 0 0 8px;
}
.co-price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}
.co-price {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}
.co-term {
  font-size: 13px;
  color: var(--text-dim);
}
.co-trust-list {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.co-connect-box {
  background: rgba(255, 107, 74, 0.08);
  border: 1px solid rgba(255, 107, 74, 0.28);
  border-radius: 12px;
  padding: 16px;
}
.co-connect-title {
  font-weight: 700;
  font-size: 13.5px;
  color: #FF8970;
  margin-bottom: 6px;
}
.co-connect-box p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 12px;
  line-height: 1.5;
}
.co-input-row {
  display: flex;
  gap: 8px;
}


/* ── Hero 4-Slide Product Gallery & 3-Mode Playground Tabs ─────────────── */
.hero-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px auto 14px;
  max-width: 1040px;
}
.hg-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease;
}
.hg-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}
.hg-tab.active {
  background: rgba(255, 84, 50, 0.16);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 84, 50, 0.22);
}
.playground-mode-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(18, 21, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
}
.pm-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pm-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 150ms ease;
}
.pm-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}
.pm-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 22px rgba(255, 84, 50, 0.32);
}
.studio-sandbox-shell iframe {
  height: 760px !important;
}
.price-anchor {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: line-through;
  opacity: 0.7;
}
