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

:root {
  --red: #E53935;
  --red-light: #FFEBEE;
  --red-dark: #B71C1C;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-400: #BDBDBD;
  --gray-600: #757575;
  --gray-800: #424242;
  --gray-900: #212121;
  --white: #FFFFFF;
  --max-width: 1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

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

section {
  padding: 96px 0;
}

section:nth-child(even) {
  background: var(--gray-50);
}

/* ── Navigation ──────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
  padding: 16px 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

.nav-links a {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gray-900);
  text-decoration: none;
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: 180px 0 120px;
  text-align: center;
  background: var(--white);
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 32px;
  box-shadow: 0 8px 30px rgba(229, 57, 53, 0.15);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--red);
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.app-store-badge {
  display: inline-block;
  transition: opacity 0.2s;
}

.app-store-badge:hover {
  opacity: 0.8;
}

.app-store-badge img {
  height: 54px;
}

/* ── Features ────────────────────────────────────── */
.features {
  background: var(--gray-50);
  text-align: center;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 56px;
}

/* ── Timeline Feed ────────────────────────────────── */
.timeline-feed {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.timeline-entry {
  display: flex;
  gap: 20px;
}

.timeline-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 14px;
  flex-shrink: 0;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: var(--red);
  opacity: 0.2;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.4;
  flex-shrink: 0;
}

.timeline-dot.pulse {
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.15);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(229, 57, 53, 0.08); }
}

.timeline-content {
  padding-bottom: 32px;
}

.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.timeline-timestamp {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
}

.timeline-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.1);
  color: var(--red);
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ── Screenshots ─────────────────────────────────── */
.screenshots {
  text-align: center;
}

.screenshots-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.screenshot-frame {
  width: 260px;
  height: 520px;
  background: var(--gray-100);
  border-radius: 28px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  overflow: hidden;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── How It Works ────────────────────────────────── */
.how-it-works {
  background: var(--gray-50);
  text-align: center;
}

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

.step-number {
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--gray-600);
  max-width: 280px;
  margin: 0 auto;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq {
  background: var(--white);
}

.faq .faq-inner {
  max-width: 680px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.faq-item summary {
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin-top: 12px;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gray-900);
}

footer .copyright {
  color: var(--gray-400);
  font-size: 0.85rem;
}

/* ── Privacy Page ────────────────────────────────── */
.privacy-page {
  padding: 140px 0 96px;
}

.privacy-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.privacy-page h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}

.privacy-page p,
.privacy-page ul {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.privacy-page ul {
  padding-left: 24px;
}

.privacy-page li {
  margin-bottom: 8px;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 140px 0 80px;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  section {
    padding: 64px 0;
  }

  .timeline-content {
    padding-bottom: 24px;
  }

  .screenshots-row {
    flex-direction: column;
    align-items: center;
  }

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}
