/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --tangerine: #FF6B2C;
  --apricot: #FF8F5C;
  --peach-cream: #FFF0E6;
  --warm-white: #FFFBF7;
  --charcoal: #1A1A1A;
  --stone: #6B6B6B;
  --fog: #E8E4DF;
  --onyx: #2D2D2D;
  --success: #34C759;
  --info: #007AFF;
  --idea: #AF52DE;
  --radius: 18px;
  --shadow: 0 2px 16px rgba(26, 26, 26, 0.06);
  --shadow-lg: 0 8px 32px rgba(26, 26, 26, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --max-width: 1120px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--tangerine);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--apricot);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Utility ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tangerine);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--stone);
  max-width: 560px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--charcoal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--onyx);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--peach-cream);
  color: var(--tangerine);
}

.btn-secondary:hover {
  background: #ffe4d1;
  color: var(--tangerine);
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 251, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--fog);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--charcoal);
}

.nav-logo span {
  color: var(--tangerine);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--stone);
}

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

.nav-cta {
  padding: 10px 22px;
  border-radius: 12px;
  background: var(--charcoal);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-cta:hover {
  background: var(--onyx);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--peach-cream);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tangerine);
  margin-bottom: 32px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 24px;
}

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

.hero p {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--stone);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-mockup {
  max-width: 320px;
  margin: 0 auto;
}

.hero-mockup-img {
  border-radius: 28px;
  width: 100%;
  height: auto;
}

/* ===== How It Works ===== */
.how-it-works {
  background: #fff;
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.how-it-works .section-subtitle {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 40px 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--peach-cream);
  color: var(--tangerine);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.step p {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Features ===== */
.features .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.features .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.feature-icon.orange { background: var(--peach-cream); color: var(--tangerine); }
.feature-icon.green { background: #e8f9ed; color: var(--success); }
.feature-icon.blue { background: #e5f1ff; color: var(--info); }
.feature-icon.purple { background: #f3e8fc; color: var(--idea); }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.55;
}

/* ===== Demo / See It In Action ===== */
.demo {
  background: #fff;
}

.demo .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.demo .section-subtitle {
  margin: 0 auto;
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.demo-card {
  background: var(--warm-white);
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  overflow: hidden;
}

.demo-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--fog);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-card-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tangerine);
}

.demo-card-body {
  padding: 24px 20px;
}

.transcript-line {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal);
}

.sorted-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--fog);
}

.sorted-item:last-child {
  border-bottom: none;
}

.sorted-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sorted-tag.task { background: #e5f1ff; color: var(--info); }
.sorted-tag.idea { background: #f3e8fc; color: var(--idea); }
.sorted-tag.reminder { background: #fff3e0; color: #E6820E; }
.sorted-tag.grocery { background: #e8f9ed; color: #28a745; }
.sorted-tag.note { background: var(--peach-cream); color: var(--tangerine); }

.sorted-text {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.5;
  padding-top: 2px;
}

/* ===== Pricing ===== */
.pricing .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing .section-subtitle {
  margin: 0 auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border: 2px solid var(--fog);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--tangerine);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tangerine);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--stone);
}

.pricing-save {
  font-size: 0.85rem;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-trial {
  font-size: 0.85rem;
  color: var(--stone);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--charcoal);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2334C759'%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'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ===== Privacy Callout ===== */
.privacy-callout {
  background: #fff;
}

.privacy-callout .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.privacy-callout .section-subtitle {
  margin: 0 auto;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.privacy-point {
  text-align: center;
  padding: 32px 20px;
  background: var(--warm-white);
  border: 1px solid var(--fog);
  border-radius: var(--radius);
}

.privacy-point-icon {
  margin-bottom: 16px;
  color: var(--tangerine);
}

.privacy-point h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.privacy-point p {
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.55;
}

.privacy-callout .cta-center {
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--charcoal);
  color: #fff;
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-logo span {
  color: var(--tangerine);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Legal Pages ===== */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  font-size: 0.9rem;
  color: var(--stone);
  margin-bottom: 48px;
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 0.95rem;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--tangerine);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Dark Mode ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --warm-white: #1A1A1A;
    --charcoal: #F5F5F5;
    --stone: #A0A0A0;
    --fog: #333;
    --onyx: #111;
    --peach-cream: #2D2218;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

  body {
    background: #1A1A1A;
  }

  .nav {
    background: rgba(26, 26, 26, 0.85);
  }

  .how-it-works,
  .demo,
  .privacy-callout {
    background: #222;
  }

  .feature-card {
    background: #222;
    border-color: #333;
  }

  .pricing-card {
    background: #222;
    border-color: #333;
  }

  .pricing-card.featured {
    border-color: var(--tangerine);
  }

  .demo-card {
    background: #222;
    border-color: #333;
  }

  .demo-card-header {
    border-bottom-color: #333;
  }

  .privacy-point {
    background: #222;
    border-color: #333;
  }

  .btn-primary {
    background: var(--tangerine);
    color: #fff;
  }

  .btn-primary:hover {
    background: var(--apricot);
    color: #fff;
  }

  .nav-cta {
    background: var(--tangerine) !important;
  }

  .nav-cta:hover {
    background: var(--apricot) !important;
  }

  .footer {
    background: #111;
  }

  .sorted-item {
    border-bottom-color: #333;
  }

  .feature-icon.orange { background: rgba(255, 107, 44, 0.15); }
  .feature-icon.green { background: rgba(52, 199, 89, 0.15); }
  .feature-icon.blue { background: rgba(0, 122, 255, 0.15); }
  .feature-icon.purple { background: rgba(175, 82, 222, 0.15); }

  .sorted-tag.task { background: rgba(0, 122, 255, 0.15); }
  .sorted-tag.idea { background: rgba(175, 82, 222, 0.15); }
  .sorted-tag.reminder { background: rgba(230, 130, 14, 0.15); }
  .sorted-tag.grocery { background: rgba(40, 167, 69, 0.15); }
  .sorted-tag.note { background: rgba(255, 107, 44, 0.15); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 130px 0 72px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--warm-white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--fog);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .demo-container {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .privacy-points {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
