/* public/landing.css */
:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel-2: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --line-blueprint: rgba(37, 99, 235, 0.09);
  
  --text: #090d16;
  --text-muted: #334155;
  --text-dim: #64748b;

  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-light: #3b82f6;
  --accent-subtle: #eff6ff;
  --accent-border: #bfdbfe;
  --accent-glow: rgba(29, 78, 216, 0.2);
  --accent-ink: #ffffff;
  
  --radius: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 20px 45px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  color: var(--text);
  font: 15px/1.6 "Plus Jakarta Sans", -apple-system, sans-serif;
  letter-spacing: -0.015em;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Blueprint Grid Background */
.blueprint-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: 
    linear-gradient(var(--line-blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-blueprint) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-strong);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text);
}
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }
.brand-badge {
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 4px; background: var(--accent-subtle);
  color: var(--accent); border: 1px solid var(--accent-border);
  font-family: "JetBrains Mono", monospace;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  text-decoration: none; color: var(--text-muted); font-size: 14px; font-weight: 600;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius); font-size: 13.5px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none; border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.35);
}
.btn-primary:hover {
  background: var(--accent-hover); box-shadow: 0 4px 12px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-secondary {
  background: #fff; color: var(--text); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--panel-2); border-color: #94a3b8; transform: translateY(-1px);
}

.btn-hero {
  background: var(--accent); color: #fff; font-size: 15px; padding: 12px 24px;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.4);
}
.btn-hero:hover {
  background: var(--accent-hover); box-shadow: 0 6px 18px var(--accent-glow);
  transform: translateY(-1.5px);
}
.btn-hero-secondary {
  background: #fff; color: var(--text); border: 1.5px solid var(--line-strong);
  font-size: 15px; padding: 12px 24px; box-shadow: var(--shadow-sm);
}
.btn-hero-secondary:hover {
  background: var(--panel-2); border-color: #94a3b8; transform: translateY(-1.5px);
}

/* Hero Section */
.hero {
  position: relative; z-index: 1; max-width: 1080px; margin: 0 auto;
  padding: 70px 24px 50px; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-strong); padding: 5px 14px;
  border-radius: 20px; font-size: 12.5px; font-weight: 600; color: var(--text-muted);
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.hero-title {
  font-size: 52px; font-weight: 800; line-height: 1.15; letter-spacing: -0.035em;
  color: var(--text); margin-bottom: 20px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.highlight-blue {
  color: var(--accent); background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 18px; line-height: 1.55; color: var(--text-muted); max-width: 760px;
  margin: 0 auto 36px;
}
.hero-cta-group {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 50px;
}

/* Interactive Preview Card */
.hero-preview-wrapper { position: relative; max-width: 960px; margin: 0 auto; }
.hero-preview-card {
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); overflow: hidden; text-align: left;
}
.preview-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: #f8fafc; border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace; font-size: 11.5px;
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.preview-title { font-weight: 600; color: var(--text-muted); }
.preview-status { font-weight: 700; color: #16a34a; }

.preview-screen {
  padding: 24px; background: #fafafa;
  background-image: radial-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
}
.video-preview-canvas {
  background: #000; border: 1.5px solid var(--line-strong); border-radius: 8px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.preview-video-box {
  height: 180px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}
.preview-karaoke-caption {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  display: flex; gap: 8px; text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.preview-karaoke-caption .w.done { color: #ffffff; }
.preview-karaoke-caption .w.active {
  color: #fbbf24; background: #1d4ed8; padding: 2px 8px; border-radius: 4px;
}
.preview-karaoke-caption .w.next { color: rgba(255,255,255,0.7); }

.preview-timeline-dock {
  background: #ffffff; border-top: 1px solid var(--line-strong);
  padding: 14px 16px; display: flex; align-items: center; gap: 10px; position: relative;
}
.preview-track-label {
  font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700;
  background: var(--accent-subtle); color: var(--accent); padding: 3px 6px; border-radius: 4px;
}
.preview-block {
  padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line-strong); background: #ffffff; color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.preview-block.active {
  border-color: var(--accent); background: var(--accent-subtle); color: var(--accent);
}
.preview-playhead {
  position: absolute; left: 45%; top: 0; bottom: 0; width: 2px;
  background: var(--accent);
}
.preview-playhead::before {
  content: ""; position: absolute; top: 0; left: -5px;
  border: 4px solid transparent; border-top: 6px solid var(--accent);
}

/* Features Section */
.section {
  position: relative; z-index: 1; max-width: 1160px; margin: 40px auto 70px;
  padding: 0 24px;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.section-tag {
  font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em; display: inline-block; margin-bottom: 8px;
}
.section-header h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-muted); }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.feature-card {
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-sm); transition: all 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px); border-color: var(--accent-border);
  box-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.1);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 8px; background: var(--accent-subtle);
  border: 1px solid var(--accent-border); color: var(--accent); display: grid;
  place-items: center; margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* CTA Banner */
.cta-banner {
  position: relative; z-index: 1; max-width: 1080px; margin: 60px auto; padding: 0 24px;
}
.cta-inner {
  background: #ffffff; border: 2px solid var(--accent); border-radius: var(--radius-md);
  padding: 48px 32px; text-align: center; box-shadow: var(--shadow-card);
}
.cta-inner h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.cta-inner p { font-size: 16px; color: var(--text-muted); margin-bottom: 26px; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; }

/* Footer */
.footer {
  position: relative; z-index: 1; background: #fff; border-top: 1px solid var(--line-strong);
  padding: 24px 0;
}
.footer-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.brand-logo-small { width: 24px; height: 24px; object-fit: contain; }
.footer-title { font-weight: 800; font-size: 14px; }
.footer-copy { color: var(--text-dim); font-size: 13px; margin-left: 14px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .waveform-visualizer { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
