/* ===========================================================
   RecapGPT — v2 stylesheet (matches app aesthetic)
   Clean, modern productivity-tool feel
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-cream: #fffaf3;
  --bg-peach: #fff4e6;

  --text: #1a1a1a;
  --text-2: #404040;
  --text-soft: #6b6b6b;
  --text-muted: #9a9a9a;

  --border: #ececec;
  --border-soft: #f4f4f4;

  --accent: #f5a623;
  --accent-hover: #e8961a;
  --accent-soft: #fff4e6;
  --accent-glow: rgba(245, 166, 35, 0.15);

  --success: #10b981;
  --error: #ef4444;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 8px 32px var(--accent-glow);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============ NAV ============ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 18px;
  height: 18px;
  color: white;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white !important;
  box-shadow: 0 1px 3px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: #ddd;
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
}

.btn-ghost:hover { color: var(--text); background: var(--bg-soft); }

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 10px;
}

/* ============ LAYOUT ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 80px 0; }

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

h1, .h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 .accent, .h1 .accent {
  color: var(--accent);
}

h2, .h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-soft);
  font-weight: 400;
  max-width: 600px;
}

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 80px 0 60px;
  text-align: center;
}

.page-header.left {
  text-align: left;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  justify-content: center;
}

.page-header.left .breadcrumbs {
  justify-content: flex-start;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumbs a:hover { color: var(--text-soft); }

.breadcrumbs .sep { color: var(--text-muted); opacity: 0.5; }

/* ============ CARDS ============ */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s;
}

.card:hover {
  border-color: var(--text-muted);
  box-shadow: var(--shadow);
}

/* ============ INPUT / FORMS ============ */
.input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: all 0.15s;
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.input::placeholder { color: var(--text-muted); }

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

select.input, textarea.input {
  font-family: inherit;
}

textarea.input { resize: vertical; min-height: 120px; }

/* ============ DEMO INPUT BAR ============ */
.demo-bar {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 32px auto 0;
}

.demo-bar input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
}

.demo-bar input::placeholder { color: var(--text-muted); }

.demo-bar button {
  padding: 12px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.demo-bar button:hover {
  background: var(--accent-hover);
}

.page-header.left .demo-bar { margin-left: 0; }

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  margin-top: 100px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--text-soft);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.5;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ FINAL CTA ============ */
.final-cta {
  background: linear-gradient(135deg, var(--bg-peach) 0%, #fffaf3 100%);
  border-radius: var(--radius-xl);
  padding: 80px 32px;
  text-align: center;
  margin: 80px 32px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.final-cta::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
}

.final-cta > * { position: relative; z-index: 1; }

.final-cta h2 {
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ PROSE ============ */
.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 680px;
}

.prose p { margin-bottom: 24px; }

.prose h2 {
  font-size: 28px;
  margin: 48px 0 16px;
  color: var(--text);
}

.prose h3 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--text);
}

.prose strong { color: var(--text); font-weight: 600; }

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 28px 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}

.prose ul, .prose ol {
  margin: 0 0 24px 24px;
}

.prose li { margin-bottom: 8px; }

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text);
}

/* ============ TAGS / PILLS ============ */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 500;
}

.tag-pill.accent {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-links { gap: 20px; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 60px 0; }
  .page-header { padding: 50px 0 40px; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .demo-bar { flex-direction: column; }
  .demo-bar button { width: 100%; }
}
