/* rAIdio.bot marketing site — shared stylesheet
   Palette sourced from src/lib/theme.css. Do not import additional fonts. */

:root {
  --bg-darkest: #0D0D0F;
  --bg-darker: #141418;
  --bg-dark: #1A1A22;
  --bg-medium: #222230;
  --bg-light: #2A2A3A;
  --bg-lighter: #353548;

  --accent: #7C4FE0;
  --accent-hover: #A78BFA;
  --accent-active: #6A3FCC;
  --accent-glow: rgba(124, 79, 224, 0.3);

  --text-primary: #F0F0F0;
  --text-secondary: #9898B0;
  --text-muted: #606070;

  --status-success: #22C55E;
  --status-warning: #F59E0B;
  --status-error: #EF4444;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.15);

  --ff-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --container: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--bg-darkest); color: var(--text-primary); font-family: var(--ff-sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--accent-hover); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
code, kbd, samp { font-family: var(--ff-mono); font-size: .9em; }

/* -------- Container & sections -------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
section + section { border-top: 1px solid var(--border-subtle); }
.section-narrow { padding: 3.5rem 0; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.01em; color: var(--text-primary); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: .5rem; }
p { color: var(--text-secondary); }
p + p { margin-top: .75rem; }
.eyebrow { font-family: var(--ff-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-hover); margin-bottom: .75rem; }

/* -------- Header / nav -------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 13, 15, 0.72);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: var(--container); margin: 0 auto; gap: 1.25rem;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: .95rem; letter-spacing: .01em; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-primary); }
.nav-cta { margin-left: auto; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.25rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .1s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 0 0 0 var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 10px 30px -10px var(--accent-glow); }
.btn-primary:active { background: var(--accent-active); transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--accent-hover); color: var(--accent-hover); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }

/* -------- Hero -------- */
.hero {
  position: relative; padding: 6rem 0 5rem; overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(13,13,15,.55) 0%, rgba(13,13,15,.75) 60%, var(--bg-darkest) 100%),
    url("/assets/img/hero.jpg");
  background-size: cover; background-position: center;
  min-height: 70vh; display: flex; align-items: center;
}
.hero-inner { max-width: 820px; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 1rem; }
.hero-sub { font-size: 1.15rem; color: var(--text-primary); opacity: .9; max-width: 640px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

/* -------- Trust strip -------- */
.trust {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-darker);
  padding: 1rem 0;
  font-family: var(--ff-mono); font-size: .85rem; color: var(--text-secondary);
}
.trust-inner { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; text-align: center; }
.trust span { white-space: nowrap; }

/* -------- 3-column pitch -------- */
.pitch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pitch-card { padding: 1.5rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-darker); }
.pitch-card h3 { color: var(--accent-hover); margin-bottom: .75rem; font-size: 1.1rem; }

/* -------- Feature grid (home) -------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature-card {
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: var(--bg-darker);
  transition: border-color .15s ease, transform .15s ease;
}
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-icon { font-size: 1.75rem; margin-bottom: .5rem; line-height: 1; }
.feature-card h3 { font-size: .98rem; margin-bottom: .25rem; }
.feature-card p { font-size: .88rem; color: var(--text-secondary); }

/* -------- Feature long-form (/features) -------- */
.feature-long { padding: 2rem 0; border-bottom: 1px solid var(--border-subtle); display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; }
.feature-long:last-child { border-bottom: none; }
.feature-long .icon { font-size: 2.25rem; line-height: 1; }
.feature-long h3 { font-size: 1.3rem; color: var(--accent-hover); margin-bottom: .5rem; }
.feature-long p { color: var(--text-primary); opacity: .88; max-width: 680px; }

/* -------- Comparison table -------- */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%; border-collapse: collapse; background: var(--bg-darker);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden;
}
.compare th, .compare td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--border-subtle); }
.compare thead th { background: var(--bg-dark); font-weight: 600; color: var(--text-primary); font-size: .95rem; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td.val { text-align: center; width: 14%; white-space: nowrap; }
.compare td.yes { color: var(--status-success); font-weight: 600; }
.compare td.no { color: var(--status-error); }
.compare td.meh { color: var(--text-muted); }

/* -------- Social proof band (Doomscroll) -------- */
.proof {
  background:
    radial-gradient(ellipse at top left, rgba(124,79,224,.12), transparent 60%),
    var(--bg-darker);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center;
}
.proof p { color: var(--text-primary); font-size: 1.08rem; max-width: 720px; margin: 0 auto 1.25rem; }

/* -------- Requirements strip -------- */
.reqs {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  background: var(--bg-darker);
  font-family: var(--ff-mono); font-size: .92rem; color: var(--text-secondary);
  flex-wrap: wrap;
}
.reqs a { white-space: nowrap; }

/* -------- Final CTA -------- */
.final-cta { text-align: center; padding: 5rem 0; }
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }

/* -------- Audio hero (single player + cycling metadata) -------- */
.audio-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top right, rgba(124,79,224,.10), transparent 60%),
    var(--bg-darker);
  align-items: center;
}
.audio-meta .audio-eyebrow { margin-bottom: .4rem; }
.audio-meta h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.audio-meta .audio-tags { font-family: var(--ff-mono); font-size: .82rem; color: var(--accent-hover); letter-spacing: .02em; margin-bottom: .85rem; }
.audio-meta p { color: var(--text-primary); opacity: .88; margin-bottom: 1rem; }
.audio-specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .4rem 1.5rem; font-family: var(--ff-mono); font-size: .82rem; }
.audio-specs div { display: flex; gap: .45rem; }
.audio-specs dt { color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.audio-specs dd { color: var(--text-primary); }
.audio-player { display: flex; flex-direction: column; gap: 1rem; }
.audio-player audio { width: 100%; }
.audio-nav { display: flex; gap: .75rem; }
.audio-nav .btn { flex: 1; justify-content: center; }
@media (max-width: 700px) {
  .audio-hero { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; }
  .audio-specs { grid-template-columns: repeat(2, auto); }
}

/* -------- Screenshots gallery -------- */
.shots {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.shots figure {
  margin: 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-darker);
  transition: transform .15s ease, border-color .15s ease;
}
.shots figure:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.shots figure img { width: 100%; height: auto; display: block; background: var(--bg-darkest); }
.shots figcaption { padding: .9rem 1.1rem 1rem; font-size: .9rem; color: var(--text-secondary); }
.shots figcaption strong { color: var(--text-primary); display: block; font-weight: 600; margin-bottom: .15rem; }

/* A single focused screenshot with caption (inline on content pages) */
.shot-single {
  margin: 1.5rem 0 2rem; max-width: 100%;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-darker);
}
.shot-single img { width: 100%; height: auto; display: block; }
.shot-single figcaption { padding: .75rem 1rem; font-size: .85rem; color: var(--text-secondary); font-family: var(--ff-mono); }

@media (max-width: 700px) {
  .shots { grid-template-columns: 1fr; }
}

/* -------- Generic content pages (transparency, support, check) -------- */
.content { padding: 4rem 0; }
.content .lede { font-size: 1.15rem; color: var(--text-primary); opacity: .88; max-width: 680px; margin-bottom: 2.5rem; }
.content h2 { margin-top: 2.5rem; }
.content h2:first-of-type { margin-top: 0; }
.content p { max-width: 720px; margin-bottom: 1rem; color: var(--text-primary); opacity: .85; }
.content ul { list-style: none; padding: 0; margin: .5rem 0 1rem; max-width: 720px; }
.content ul li { padding-left: 1.25rem; position: relative; color: var(--text-primary); opacity: .85; margin-bottom: .35rem; }
.content ul li::before { content: "›"; color: var(--accent-hover); position: absolute; left: 0; top: 0; }
.content blockquote { border-left: 3px solid var(--accent); padding: .25rem 0 .25rem 1.25rem; color: var(--text-primary); margin: 1.5rem 0; }

/* -------- Support cards -------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 2rem 0; }
.support-card { padding: 1.5rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-darker); }
.support-card h3 { color: var(--accent-hover); margin-bottom: .5rem; }
.support-card p { margin-bottom: 1rem; font-size: .95rem; }

/* -------- Check page -------- */
.check-callout {
  display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
  padding: 2rem; border: 1px solid var(--accent); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(124,79,224,.08), transparent);
  margin-bottom: 3rem;
}
.check-list { list-style: none; padding: 0; }
.check-list li { padding: .6rem 0; border-bottom: 1px solid var(--border-subtle); font-family: var(--ff-mono); font-size: .95rem; }
.check-list li:last-child { border-bottom: none; }
.result-key li { color: var(--text-primary); opacity: .9; font-family: var(--ff-mono); padding: .35rem 0; }
.result-key .pass { color: var(--status-success); }
.result-key .warn { color: var(--status-warning); }
.result-key .fail { color: var(--status-error); }

/* -------- Footer -------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-darker);
  padding: 2.5rem 1.5rem 2rem;
  color: var(--text-muted);
  font-size: .88rem;
}
.site-footer .footer-inner { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.site-footer .footer-extras { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--text-primary); }
.site-footer .footer-copyright { color: var(--text-muted); }
.site-footer .footer-copyright a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.site-footer .footer-copyright a:hover { color: var(--text-primary); }
.site-footer .sep { color: var(--text-muted); opacity: .6; }

/* -------- Mobile -------- */
@media (max-width: 960px) {
  .pitch-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .reqs { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .nav { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; gap: 1rem; justify-content: center; padding-top: .5rem; border-top: 1px solid var(--border-subtle); }
  .nav-cta { margin-left: auto; }
  .nav-brand img { height: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-long { grid-template-columns: 44px 1fr; gap: 1rem; }
  .hero { min-height: 60vh; padding: 4rem 0 3rem; background-image:
    linear-gradient(180deg, rgba(13,13,15,.55) 0%, rgba(13,13,15,.85) 60%, var(--bg-darkest) 100%),
    url("/assets/img/hero-mobile.jpg"); }
  .compare td, .compare th { padding: .7rem .6rem; font-size: .9rem; }
}
