/*
Theme Name: Simple Audio Capture
Theme URI: https://simple-audio-capture.com
Description: Landing page for the Simple Audio Capture Chrome extension.
Version: 1.0.0
Author: Duncan Rawlinson
Author URI: https://duncan.co
*/

:root {
  --bg: #0f0f1a;
  --bg-card: #13131f;
  --bg-elevated: #1a1a2e;
  --border: #2a2a3e;
  --text: #e0e0e0;
  --text-muted: #9ca3af;
  --text-dim: #555;
  --accent: #ef4444;
  --accent-glow: rgba(239,68,68,0.15);
  --green: #4cd137;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* Layout */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--border); }

/* Hero */
.hero { padding: 100px 0 80px; text-align: center; position: relative; }
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 32px;
  color: #fff;
  position: relative;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
}
.hero h1 span { color: var(--accent); }

.hero .tagline {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(239,68,68,0.3);
  text-decoration: none;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(239,68,68,0.4); opacity: 1; }
.cta-btn svg { width: 20px; height: 20px; }

.cta-sub {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-dim);
}

/* Waveform animation (hero) */
.hero-waveform {
  width: 100%;
  max-width: 480px;
  height: 100px;
  margin: 0 auto 48px;
  display: block;
  border-radius: 16px;
  background: var(--bg-card);
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.feature-icon {
  width: 40px; height: 40px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Section headings */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-heading p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
}
.steps h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.steps p { font-size: 14px; color: var(--text-muted); }
.steps code {
  background: var(--bg-elevated);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 12px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--text);
  border: 1px solid var(--border);
}
.steps strong { color: var(--text); }

/* Privacy banner */
.privacy-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
}
.privacy-banner h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.privacy-banner p { color: var(--text-muted); font-size: 15px; max-width: 520px; margin: 0 auto 8px; }
.privacy-checks {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.privacy-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-links a { color: var(--text-muted); font-size: 13px; }

/* Responsive */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 48px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .privacy-checks { flex-direction: column; align-items: center; }
}
