/*
Theme Name: Simple Video Capture
Theme URI: https://simple-video-capture.com
Description: Landing page for the Simple Video 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: 100vw;
  height: 140px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 0 48px;
  display: block;
  background: transparent;
  cursor: crosshair;
}

/* 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; }

/* Site nav (inner pages) */
.site-nav {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav-logo {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.site-nav-logo:hover { opacity: 0.8; }
.site-nav-links {
  display: flex;
  gap: 24px;
}
.site-nav-links a {
  color: var(--text-muted);
  font-size: 14px;
}

/* Inner page content */
.inner-content {
  max-width: 680px;
  margin: 60px auto;
  padding: 0 24px;
}
.inner-content h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.inner-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}
.inner-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 8px;
}
.inner-content p {
  color: var(--text-muted);
  margin-bottom: 12px;
}
.inner-content ul, .inner-content ol {
  color: var(--text-muted);
  margin-left: 20px;
  margin-bottom: 12px;
}
.inner-content li { margin-bottom: 6px; }
.inner-content code {
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.inner-content strong { color: var(--text); }

/* Pro nav link */
.site-nav-links a.pro-link,
.footer-links a.pro-link {
  color: #f59e0b;
  font-weight: 600;
}

/* Pro comparison page */
.pro-hero {
  text-align: center;
  padding: 80px 0 60px;
}
.pro-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.pro-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 64px;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
}
.plan-card.pro {
  border-color: #f59e0b;
  position: relative;
}
.plan-card.pro::before {
  content: 'BEST VALUE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.plan-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}
.plan-card .price {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.plan-card .price-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.plan-card ul {
  list-style: none;
  margin-bottom: 28px;
}
.plan-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-card li::before {
  content: '';
  width: 18px; height: 18px;
  background: rgba(76,209,55,0.15);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='%234cd137' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-card li.disabled {
  color: var(--text-dim);
  text-decoration: line-through;
}
.plan-card li.disabled::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='%23555' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-color: rgba(85,85,85,0.15);
}

.pro-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(245,158,11,0.3);
  text-decoration: none;
  width: 100%;
  justify-content: center;
}
.pro-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,158,11,0.4);
  opacity: 1;
}

.plan-card .current-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: default;
}

/* Pro FAQ */
.pro-faq {
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 80px;
}
.pro-faq h2 {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
}
.faq-item {
  margin-bottom: 24px;
}
.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 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; }
  .site-nav-inner { flex-direction: column; gap: 12px; }
  .site-nav-links { gap: 16px; }
  .inner-content { margin: 40px auto; }
  .plan-cards { grid-template-columns: 1fr; }
}
