/* TatvaIQ company site — shared styles. Dark, calm, indigo accent (matches the products). */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #09090b;
  --panel: #111113;
  --border: #27272a;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --green: #34d399;
  --amber: #fbbf24;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-hover); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 11, 0.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: #fff;
}
.logo span.co { color: var(--muted); font-weight: 400; }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 14px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff !important; font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 10px; transition: background 0.15s;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text) !important; }
.btn.ghost:hover { background: var(--panel); }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.hero h1 .grad { background: linear-gradient(90deg, #818cf8, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 640px; margin: 20px auto 0; color: var(--muted); font-size: 18px; }
.hero .cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 64px 0; }
.section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-hover); margin-bottom: 8px; }
h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.lead { color: var(--muted); max-width: 640px; }

/* Product cards */
.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; width: fit-content; }
.badge.live { background: rgba(52, 211, 153, 0.12); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.3); }
.badge.soon { background: rgba(251, 191, 36, 0.1); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.3); }
.card .links { display: flex; gap: 12px; margin-top: 8px; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.feature { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.feature h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 36px; }
.price-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price-card .plan { font-weight: 700; }
.price-card .amount { font-size: 32px; font-weight: 800; }
.price-card .amount span { font-size: 14px; font-weight: 400; color: var(--muted); }
.price-card ul { list-style: none; color: var(--muted); font-size: 14px; flex: 1; }
.price-card ul li { padding: 4px 0; }
.price-card ul li::before { content: '✓  '; color: var(--green); }

/* ---- Marketing page (audiobook landing) ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--accent-hover);
  background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
}
.hero.marketing { padding: 72px 0 56px; position: relative; }
.hero.marketing::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 360px; max-width: 100%;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.18), transparent);
  pointer-events: none; z-index: -1;
}
.trust-line { margin-top: 22px; color: var(--muted); font-size: 14px; display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap; }
.trust-line span { display: inline-flex; align-items: center; gap: 6px; }
.trust-line b { color: var(--green); font-weight: 700; }
.subhead { max-width: 680px; margin: 22px auto 0; color: var(--muted); font-size: 19px; }

/* Product preview (browser-framed app mockup) */
.product-band { padding: 8px 0 8px; }
.browser { max-width: 940px; margin: 44px auto 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: #0c0c0f; }
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.browser-bar .url { margin-left: 12px; font-size: 12px; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: 7px; padding: 4px 14px; }
.studio { display: grid; grid-template-columns: 176px 1fr 176px; background: var(--bg); text-align: left; }
.studio .col { padding: 14px; }
.studio .chapters { border-right: 1px solid var(--border); }
.studio .editor { border-right: 1px solid var(--border); }
.studio .label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.ch-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 7px 8px; border-radius: 7px; margin-bottom: 3px; }
.ch-item.active { background: rgba(99, 102, 241, 0.14); color: var(--text); }
.ch-item .tick { width: 14px; height: 14px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; background: rgba(52, 211, 153, 0.15); color: var(--green); flex-shrink: 0; }
.ch-item .tick.pending { background: var(--panel); color: var(--muted); border: 1px solid var(--border); }
.editor h5 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.editor .prose { font-size: 12.5px; line-height: 1.7; color: #c4c4cc; }
.editor .prose .hl { background: rgba(99, 102, 241, 0.16); border-radius: 3px; padding: 0 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mchip { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.mchip.on { background: rgba(99, 102, 241, 0.16); border-color: var(--accent); color: var(--accent-hover); }
.gen-btn { margin-top: 14px; font-size: 12px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 8px; padding: 8px 12px; text-align: center; }
.side-block { margin-bottom: 16px; }
.side-block .val { font-size: 13px; font-weight: 600; margin-top: 2px; }
.bar-mini { height: 5px; border-radius: 999px; background: var(--border); margin-top: 8px; overflow: hidden; }
.bar-mini i { display: block; height: 100%; width: 68%; background: var(--accent); border-radius: 999px; }
.exp { font-size: 11px; font-weight: 600; border: 1px solid var(--border); border-radius: 7px; padding: 6px 8px; margin-top: 6px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.product-caption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 16px; }
@media (max-width: 720px) { .studio { grid-template-columns: 1fr; } .studio .chapters, .studio .side { display: none; } }

/* Credibility strip */
.cred { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 8px; }
.cred-item { display: flex; align-items: flex-start; gap: 10px; }
.cred-item .ic { font-size: 20px; line-height: 1.2; }
.cred-item p { font-size: 13.5px; color: var(--muted); }
.cred-item b { color: var(--text); display: block; font-size: 14px; }

/* Founder */
.founder { display: flex; gap: 24px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin-top: 36px; flex-wrap: wrap; }
.founder .avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #a855f7); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: #fff; flex-shrink: 0; object-fit: cover; border: 2px solid var(--border); }
.founder .who { flex: 1; min-width: 240px; }
.founder .who .name { font-weight: 700; font-size: 17px; }
.founder .who .role { color: var(--accent-hover); font-size: 13px; margin-bottom: 8px; }
.founder .who p { color: var(--muted); font-size: 15px; }

/* Workflow flow (icon steps) */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 40px; }
.flow-step { text-align: center; padding: 8px; }
.flow-step .fico { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px; background: rgba(99, 102, 241, 0.12); border: 1px solid rgba(99, 102, 241, 0.3); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.flow-step h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.flow-step p { font-size: 12.5px; color: var(--muted); }

/* Hero sample player */
.sample-player { max-width: 620px; margin: 40px auto 0; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 20px; text-align: left; }
.sample-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.sample-head .t { font-weight: 700; font-size: 14px; }
.sample-head .c { color: var(--muted); font-size: 12px; }
.sample-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.sample-tab { flex: 1; min-width: 0; border: 1px solid var(--border); background: transparent; color: var(--muted); border-radius: 10px; padding: 8px 6px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.sample-tab:hover { border-color: var(--accent); color: var(--text); }
.sample-tab.active { background: rgba(99, 102, 241, 0.14); border-color: var(--accent); color: var(--accent-hover); }
.sample-tab small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); margin-top: 2px; }
.sample-body { display: flex; gap: 16px; align-items: center; }
.sample-play { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; border: none; background: var(--accent); color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.sample-play:hover { background: var(--accent-hover); }
.sample-text { flex: 1; min-width: 0; }
.sample-quote { color: var(--text); font-size: 14px; line-height: 1.5; font-style: italic; }
.sample-progress { height: 4px; background: var(--border); border-radius: 999px; margin-top: 12px; overflow: hidden; }
.sample-progress .bar { height: 100%; width: 0; background: var(--accent); }
.sample-note { color: var(--muted); font-size: 12px; margin-top: 14px; text-align: center; }

/* Differentiator pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 12px; }
.pillar {
  background: linear-gradient(180deg, rgba(99,102,241,0.06), transparent), var(--panel);
  border: 1px solid var(--border); border-radius: 16px; padding: 28px;
}
.pillar .ico { font-size: 28px; line-height: 1; margin-bottom: 14px; }
.pillar h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15px; }
.pillar strong { color: var(--text); }

/* Comparison table */
.compare-wrap { margin-top: 36px; overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
table.compare th, table.compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); }
table.compare thead th { font-weight: 700; color: var(--text); background: var(--panel); }
table.compare tbody th { text-align: left; font-weight: 500; color: var(--muted); white-space: nowrap; }
table.compare td.us { background: rgba(99, 102, 241, 0.08); }
table.compare thead th.us { background: rgba(99, 102, 241, 0.16); color: var(--accent-hover); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: none; }
.yes { color: var(--green); font-weight: 700; }
.no { color: #71717a; }
.pill-price { font-weight: 700; color: var(--text); }
.compare-note { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 40px; counter-reset: step; }
.step { position: relative; padding-left: 8px; }
.step .num {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(99,102,241,0.12);
  color: var(--accent-hover); border: 1px solid rgba(99,102,241,0.3);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { max-width: 780px; margin-top: 36px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; background: var(--panel); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); font-size: 15px; padding: 0 0 18px; }

/* CTA band */
.cta-band { text-align: center; padding: 72px 24px; background: linear-gradient(180deg, rgba(99,102,241,0.1), transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 12px auto 28px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.legal h1 { font-size: 34px; letter-spacing: -0.02em; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p, .legal li { color: #d4d4d8; font-size: 15px; }
.legal ul { padding-left: 22px; margin: 8px 0; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav-links { gap: 14px; }
  .hero { padding: 64px 0 48px; }
}
