/* Talk Back Marketing Site — dark theme with purple accents */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(0, 0, 0, 0.45);
  --bg-card-hover: rgba(82, 26, 140, 0.15);
  --purple-dark: #521a8c;
  --purple-mid: #73249e;
  --purple-light: #9b4fd4;
  --purple-glow: rgba(115, 36, 158, 0.35);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --gradient-hero: linear-gradient(135deg, #521a8c 0%, #73249e 50%, #3d1570 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-height: 96px;
  --transition: 0.25s ease;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--purple-glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(82, 26, 140, 0.12), transparent);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--purple-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #c084fc;
}

/* ── Header & Navigation ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  color: var(--text-primary);
  text-decoration: none;
  min-width: 0;
}

.logo:hover {
  color: var(--text-primary);
}

/* Square asset — lock both axes so tagline width cannot flatten it */
.logo img {
  width: 56px;
  height: 56px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  flex-shrink: 0;
  align-self: flex-start;
  display: block;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.15rem;
}

/* Desktop horizontal nav hidden — hamburger is primary nav at all breakpoints */
.nav-inner > nav {
  display: none;
}

.nav-desktop {
  display: none;
  gap: 2rem;
  list-style: none;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text-primary);
}

/* Hamburger */

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition);
  z-index: 1001;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-out menu */

.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  width: min(320px, 85vw);
  height: calc(100vh - var(--nav-height));
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile ul {
  list-style: none;
  padding: 1.5rem;
}

.nav-mobile li {
  border-bottom: 1px solid var(--border-subtle);
}

.nav-mobile a {
  display: block;
  padding: 1rem 0.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--purple-light);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay:not(.open) {
  pointer-events: none;
}

/* ── Layout ── */

main {
  padding-top: var(--nav-height);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ── Hero ── */

.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(115, 36, 158, 0.2);
  border: 1px solid rgba(115, 36, 158, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--purple-light);
  margin-bottom: 1.5rem;
}

.hero-logo {
  display: block;
  width: min(420px, 85vw);
  height: auto;
  margin: 0 auto 1rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 4px 24px var(--purple-glow);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(115, 36, 158, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 1.25rem;
  border: 3px solid var(--purple-light);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(155, 79, 212, 0.35),
    0 24px 64px rgba(82, 26, 140, 0.45);
  overflow: hidden;
}

.hero-visual-inner {
  width: 100%;
  line-height: 0;
  background: transparent;
  overflow: hidden;
}

.hero-visual-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: contain;
}

/* ── Feature cards ── */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(115, 36, 158, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.feature-card h2,
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-list {
  list-style: none;
  margin-top: 0.75rem;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--purple-light);
}

/* ── Option details ── */

.options-section {
  background: rgba(18, 18, 26, 0.65);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.option-group {
  margin-top: 2.75rem;
}

.option-group-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.option-group-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 1.25rem;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.option-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}

.option-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--purple-light);
}

.option-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ── Pricing ── */

.pricing-section {
  background: rgba(82, 26, 140, 0.08);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 720px;
  margin: 2rem auto 0;
}

@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--purple-mid);
  box-shadow: 0 0 40px var(--purple-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-hero);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
}

.pricing-card h2,
.pricing-card h3 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-trial {
  font-size: 0.95rem;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  text-align: center;
}

/* ── AI Disclosure ── */

.disclosure-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--purple-mid);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-top: 2rem;
}

.disclosure-box h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.disclosure-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ── About ── */

.about-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ── Contact ── */

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  max-width: 480px;
  margin: 2rem auto 0;
}

.contact-box p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.contact-email {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--purple-light);
}

/* ── Legal pages ── */

.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-content {
  padding: 3rem 0 4rem;
}

.legal-content .container {
  max-width: 760px;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-section ul li {
  margin-bottom: 0.5rem;
}

/* Age ratings */

.rating-cards {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .rating-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.rating-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.rating-badge.age-18 {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.rating-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.rating-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ── Footer ── */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-links h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--purple-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Feature showcase (screenshot + copy rows) ── */

.features-hero {
  padding-bottom: 1.5rem;
}

.feature-showcase {
  padding-top: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    margin-bottom: 4.5rem;
  }

  .feature-row-reverse .feature-row-media {
    order: 2;
  }

  .feature-row-reverse .feature-row-copy {
    order: 1;
  }
}

.feature-row-media {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 1.25rem;
  border: 3px solid var(--purple-light);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(155, 79, 212, 0.35),
    0 20px 48px rgba(82, 26, 140, 0.4);
  overflow: hidden;
  line-height: 0;
}

@media (min-width: 768px) {
  .feature-row-media {
    max-width: 300px;
    margin: 0;
  }

  .feature-row-reverse .feature-row-media {
    margin-left: auto;
  }
}

.feature-row-media img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 0.65rem;
}

.feature-row-copy h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.feature-row-copy p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 36rem;
  line-height: 1.65;
}

