/* ═══════════════════════════════════════════
   Transcript Studio — Landing Page
   Dark theme, modern SaaS style
   ═══════════════════════════════════════════ */

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a25;
  --border: #2a2a3a;
  --border-hover: #3a3a50;
  --text: #e8e8f0;
  --text-dim: #8888a0;
  --text-muted: #555570;
  --accent: #e8a84c;
  --accent-hover: #f0ba64;
  --accent-glow: rgba(232, 168, 76, 0.15);
  --gradient: linear-gradient(135deg, #e8a84c 0%, #f0ba64 50%, #e8a84c 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  background: var(--gradient); color: #0a0a0f;
  font-weight: 900; font-size: 14px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.logo-text { font-weight: 700; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.2s;
  border: none; text-decoration: none;
}
.btn-primary {
  background: var(--gradient); color: #0a0a0f;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(232, 168, 76, 0.3);
  color: #0a0a0f;
}
.btn-ghost {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }
.btn-nav { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; padding: 14px; }

/* ── Hero ── */
.hero {
  max-width: var(--max-w); margin: 0 auto;
  padding: 140px 24px 80px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px; border-radius: 100px;
  background: var(--accent-glow);
  border: 1px solid rgba(232, 168, 76, 0.2);
  color: var(--accent); font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 640px; margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Hero Mockup ── */
.hero-visual { margin-top: 60px; perspective: 1000px; }
.hero-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 750px; margin: 0 auto;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5), 0 0 40px var(--accent-glow);
}
.mockup-header {
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.mockup-title { margin-left: 8px; font-size: 12px; color: var(--text-muted); }
.mockup-body { padding: 30px; }
.mockup-prompt {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.prompt-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.prompt-text { font-size: 14px; color: var(--accent); font-style: italic; line-height: 1.6; }
.mockup-arrow { text-align: center; font-size: 24px; color: var(--text-muted); padding: 16px 0; }
.mockup-result {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.result-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.result-preview {
  background: #000;
  border-radius: 8px;
  height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.preview-placeholder { color: var(--text-muted); font-size: 14px; }

/* ── Sections ── */
section { padding: 100px 24px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block;
  padding: 5px 14px; border-radius: 100px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-dim); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ── Features ── */
.features { max-width: var(--max-w); margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-dim); font-size: 14px; line-height: 1.7; }

/* ── How it works ── */
.how-it-works { max-width: var(--max-w); margin: 0 auto; }
.steps { display: flex; align-items: flex-start; gap: 20px; }
.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.step-number {
  font-size: 48px; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.step-arrow {
  font-size: 28px; color: var(--text-muted);
  padding-top: 60px; flex-shrink: 0;
}

/* ── Pricing ── */
.pricing { max-width: var(--max-w); margin: 0 auto; }
.pricing-note { color: var(--text-dim); font-size: 14px; margin-top: 12px; }
.pricing-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 700px; margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}
.popular-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--gradient); color: #0a0a0f;
  padding: 4px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
}
.pricing-name { font-size: 16px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; }
.pricing-price { font-size: 48px; font-weight: 900; margin-bottom: 4px; }
.currency { font-size: 28px; vertical-align: super; }
.period { font-size: 18px; font-weight: 500; color: var(--text-dim); }
.pricing-desc { color: var(--text-dim); font-size: 13px; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  padding: 8px 0; font-size: 14px; color: var(--text-dim);
  border-bottom: 1px solid rgba(42,42,58,0.5);
}
.pricing-features li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* ── Requirements ── */
.requirements { max-width: var(--max-w); margin: 0 auto; }
.req-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; max-width: 600px; margin: 0 auto;
}
.req-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.req-icon { font-size: 24px; }
.req-item strong { font-size: 14px; display: block; }
.req-item p { font-size: 12px; color: var(--text-dim); margin: 0; }

/* ── FAQ ── */
.faq { max-width: 700px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600; font-size: 15px;
  cursor: pointer; list-style: none;
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::marker { display: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item p {
  padding: 18px 24px;
  color: var(--text-dim); font-size: 14px; line-height: 1.7;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: 13px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 12px; width: 100%; text-align: center; margin-top: 16px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .pricing-cards { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero-sub, .hero-cta, .hero-visual {
  animation: fadeUp 0.8s ease-out forwards;
}
.hero-sub { animation-delay: 0.1s; }
.hero-cta { animation-delay: 0.2s; }
.hero-visual { animation-delay: 0.3s; }

/* ═══════════════════════════════════════════
   Signup / Login Modal
   ═══════════════════════════════════════════ */
.signup-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}
.signup-card {
  background: #1a1a1e; border: 1px solid #333;
  border-radius: 16px; padding: 40px; width: 100%; max-width: 420px;
  position: relative;
}
.signup-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: #888; font-size: 24px;
  cursor: pointer; line-height: 1;
}
.signup-close:hover { color: #fff; }
.signup-card h3 {
  font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.signup-plan-label {
  color: #e8a84c; font-size: 14px; font-weight: 600; margin-bottom: 24px;
}
.signup-card input {
  width: 100%; padding: 12px 16px; margin-bottom: 12px;
  background: #111; border: 1px solid #333; border-radius: 8px;
  color: #fff; font-size: 14px; font-family: inherit;
  box-sizing: border-box;
}
.signup-card input:focus {
  outline: none; border-color: #e8a84c;
}
.signup-card input::placeholder { color: #666; }
.signup-error {
  background: rgba(224,85,85,0.1); border: 1px solid #e05555;
  border-radius: 8px; padding: 10px 14px; margin-bottom: 12px;
  color: #e05555; font-size: 13px;
}
.signup-card .btn-block {
  width: 100%; margin-top: 8px; padding: 14px; font-size: 15px;
}
.signup-login {
  text-align: center; margin-top: 16px; font-size: 13px; color: #888;
}
.signup-login a { color: #e8a84c; text-decoration: none; }
.signup-login a:hover { text-decoration: underline; }
