/* ── Thespio Marketing Site — Shared Styles ── */

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

:root {
  --bg:          #0d0e12;
  --bg2:         #15161b;
  --bg3:         #1c1e25;
  --bg4:         #22242e;
  --border:      #28292f;
  --border2:     #34363f;
  --text:        #e8eaf0;
  --text2:       #9ca0ad;
  --text3:       #555a6e;
  --accent:      #EF9F27;
  --accent2:     #c97d10;
  --accent-dim:  rgba(239,159,39,0.10);
  --accent-dim2: rgba(239,159,39,0.20);
  --green:       #34c77b;
  --radius:      8px;
  --radius-lg:   14px;
  --font:        'Outfit', sans-serif;

  /* Pricing component compatibility */
  --color-text-primary:       #e8eaf0;
  --color-text-secondary:     #9ca0ad;
  --color-background-primary: #15161b;
  --color-background-secondary: #1c1e25;
  --color-border-secondary:   #28292f;
  --color-border-tertiary:    #22242e;
  --border-radius-md:         8px;
  --border-radius-lg:         14px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Layout ─────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; background: var(--accent); border: none;
  border-radius: var(--radius); color: #0d0e12; font-family: var(--font);
  font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: background .15s, transform .1s;
}
.btn-primary:hover { background: #f5ac38; }
.btn-primary:active { transform: scale(.98); }
.btn-primary.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; background: none; border: 1px solid var(--border2);
  border-radius: var(--radius); color: var(--text2); font-family: var(--font);
  font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--text2); color: var(--text); }
.btn-ghost.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 10px; }

/* ── Navigation ──────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,14,18,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 62px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 30px; height: 30px; background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-name { font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: -.3px; }
.logo-name em { color: var(--accent); font-style: normal; font-weight: 300; }

.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { font-size: 14px; color: var(--text2); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; margin-left: auto; }

.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px; margin-left: auto;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; }
.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 16px; border-top: 1px solid var(--border); }
.nav-mobile a { padding: 10px 0; font-size: 15px; color: var(--text2); border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── Section shared ──────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.section-header p { font-size: 17px; color: var(--text2); max-width: 520px; margin: 0 auto; }
.section-eyebrow { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }

/* ── Hero ────────────────────────────────── */
.hero { padding: 90px 0 0; text-align: center; overflow: hidden; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent-dim2);
  border-radius: 20px; padding: 5px 14px; font-size: 13px; font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge i { font-size: 14px; }
.hero-headline {
  font-size: clamp(38px, 7vw, 68px); font-weight: 800; line-height: 1.08;
  letter-spacing: -1.5px; margin-bottom: 22px;
  background: linear-gradient(135deg, #e8eaf0 40%, #9ca0ad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--text2); max-width: 580px; margin: 0 auto 36px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-social-proof { font-size: 13px; color: var(--text3); margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.proof-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }

/* Hero mockup */
.hero-mockup-wrap { padding-top: 56px; }
.hero-mockup {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px 16px 0 0; overflow: hidden;
  box-shadow: 0 -8px 60px rgba(239,159,39,.06), 0 0 0 1px var(--border);
  max-width: 900px; margin: 0 auto;
}
.mockup-bar {
  background: var(--bg3); padding: 10px 16px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 6px; flex-shrink: 0; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mockup-url { font-size: 11px; color: var(--text3); font-family: monospace; flex: 1; text-align: center; }
.mockup-progress { width: 120px; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.mockup-progress-fill { height: 100%; background: var(--accent); border-radius: 2px; }
.mockup-body { display: grid; grid-template-columns: 1fr 280px; min-height: 340px; }
.mockup-screen { position: relative; background: #1a1d26; overflow: hidden; }
.mockup-skeleton-header { position: absolute; top: 0; left: 0; right: 0; height: 44px; background: var(--bg4); border-bottom: 1px solid var(--border); }
.mockup-skeleton-row { position: absolute; height: 8px; background: var(--border); border-radius: 4px; left: 8%; }
.mockup-highlight {
  position: absolute; border: 2px solid var(--accent); border-radius: 6px;
  background: rgba(239,159,39,.06);
  display: flex; align-items: flex-start; padding: 4px 8px;
}
.mockup-highlight.accent2 { border-color: var(--green); background: rgba(52,199,123,.06); }
.mockup-highlight-label { font-size: 10px; font-weight: 600; color: var(--accent); background: var(--bg); padding: 1px 5px; border-radius: 3px; margin-top: -10px; }
.mockup-highlight.accent2 .mockup-highlight-label { color: var(--green); }
.mockup-panel { background: var(--bg2); border-left: 1px solid var(--border); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mockup-panel-title { font-size: 14px; font-weight: 600; color: var(--text); }
.mockup-panel-section { display: flex; gap: 10px; align-items: flex-start; }
.mockup-annotation-bar { width: 3px; height: 100%; min-height: 40px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.mockup-annotation-text { font-size: 12px; color: var(--text2); line-height: 1.5; }
.mockup-nav { margin-top: auto; display: flex; gap: 8px; }
.mockup-btn-back, .mockup-btn-next {
  padding: 6px 10px; border-radius: 6px; font-size: 11px; cursor: pointer;
  border: 1px solid var(--border2); background: none; color: var(--text2); font-family: var(--font);
}
.mockup-btn-next { background: var(--accent); color: #0d0e12; border-color: var(--accent); font-weight: 600; flex: 1; text-align: center; }

@media (max-width: 600px) {
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-panel { display: none; }
}

/* ── Logos ───────────────────────────────── */
.logos-section { padding: 48px 0; border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; font-size: 12px; color: var(--text3); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 24px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 48px; }
.logo-placeholder { font-size: 14px; font-weight: 600; color: var(--text3); opacity: .5; letter-spacing: .5px; }

/* ── Features ────────────────────────────── */
.features-section { padding: 96px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: border-color .15s;
}
.feature-card:hover { border-color: var(--border2); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  font-size: 20px; color: var(--accent);
}
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.65; }

@media (max-width: 860px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ── How it works teaser ─────────────────── */
.how-teaser { padding: 80px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-teaser-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.how-teaser-text h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.how-teaser-text p { color: var(--text2); font-size: 16px; line-height: 1.65; }
.how-teaser-steps { display: flex; flex-direction: column; gap: 24px; }
.how-step { display: flex; gap: 18px; align-items: flex-start; }
.how-step-num { font-size: 28px; font-weight: 800; color: var(--accent); opacity: .35; min-width: 42px; line-height: 1; }
.how-step-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.how-step-desc { font-size: 13px; color: var(--text2); line-height: 1.55; }

@media (max-width: 720px) { .how-teaser-inner { grid-template-columns: 1fr; } }

/* ── Use cases ───────────────────────────── */
.usecases-section { padding: 96px 0; }
.usecases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.usecase-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; text-align: center;
}
.usecase-icon { font-size: 32px; color: var(--accent); margin-bottom: 16px; }
.usecase-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.usecase-card p { font-size: 14px; color: var(--text2); line-height: 1.65; }
@media (max-width: 720px) { .usecases-grid { grid-template-columns: 1fr; } }

/* ── CTA banner ──────────────────────────── */
.cta-section { padding: 96px 0; }
.cta-inner {
  background: linear-gradient(135deg, var(--bg2) 0%, rgba(239,159,39,.06) 100%);
  border: 1px solid var(--border2); border-radius: 20px;
  padding: 64px 48px; text-align: center;
}
.cta-inner h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; margin-bottom: 14px; }
.cta-inner p { font-size: 17px; color: var(--text2); margin-bottom: 32px; }

/* ── Footer ──────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; padding-bottom: 48px; }
.footer-brand { max-width: 260px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--text3); line-height: 1.6; margin-top: 10px; }
.footer-links { display: flex; gap: 48px; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-size: 11px; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 4px; }
.footer-links a { font-size: 13px; color: var(--text2); transition: color .15s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; font-size: 12px; color: var(--text3); }
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ── Page hero (inner pages) ─────────────── */
.page-hero { padding: 80px 0 64px; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--text2); max-width: 500px; margin: 0 auto; }

/* ── Pricing page overrides ──────────────── */
.pw { padding: 80px 0; }
.plan-tab.active { background: var(--accent) !important; color: #0d0e12 !important; border-color: var(--accent) !important; }
.toggle.on .tknob { background: var(--accent) !important; }
.abadge { background: var(--accent-dim) !important; color: var(--accent) !important; }
.pbadge { background: var(--accent-dim) !important; color: var(--accent) !important; }
.card.feat { border-color: var(--accent) !important; }
.card.feat .cta-btn { background: var(--accent) !important; color: #0d0e12 !important; border-color: var(--accent) !important; font-weight: 600; }
.tier-icon { color: var(--accent) !important; }
.flist li i.ok { color: var(--accent) !important; }
.pill { background: var(--accent-dim) !important; color: var(--accent) !important; }
.ent-card button { background: var(--accent) !important; color: #0d0e12 !important; border-color: var(--accent) !important; }
.ti.ti-building { color: var(--accent) !important; }
.ph h1 { color: var(--text) !important; }

/* ── How it works page ───────────────────── */
.hiw-steps { display: flex; flex-direction: column; gap: 0; padding: 80px 0; }
.hiw-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 32px;
  padding: 48px 0; border-bottom: 1px solid var(--border); align-items: start;
}
.hiw-step:last-child { border-bottom: none; }
.hiw-step-num { font-size: 48px; font-weight: 800; color: var(--accent); opacity: .25; text-align: center; padding-top: 4px; }
.hiw-step-content h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.hiw-step-content p { font-size: 15px; color: var(--text2); line-height: 1.7; max-width: 560px; }
.hiw-step-content .chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim); color: var(--accent); border-radius: 20px;
  padding: 4px 12px; font-size: 12px; font-weight: 500; margin-bottom: 12px;
}

/* ── Support/FAQ page ────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; padding: 80px 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 22px 0; font-family: var(--font); font-size: 16px; font-weight: 500;
  color: var(--text); cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.faq-q i { font-size: 18px; color: var(--text3); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q i { transform: rotate(45deg); color: var(--accent); }
.faq-a { display: none; padding-bottom: 22px; font-size: 15px; color: var(--text2); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

.contact-section { padding: 80px 0; border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; max-width: 900px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 12px; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: .5px; }
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--radius);
  color: var(--text); font-family: var(--font); font-size: 14px; padding: 10px 12px; outline: none;
  transition: border-color .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 100px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
