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

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --bg: #FFFFFF;
  --bg-alt: #F9FAFB;
  --text: #111827;
  --muted: #6B7280;
  --border: #E5E7EB;
  --radius: 12px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

section { padding: 80px 0; }
section:nth-child(even) { background: var(--bg-alt); }

h1, h2, h3 { line-height: 1.2; font-weight: 700; }

/* ===== Nav ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* ===== Hero ===== */
#hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(160deg, #EFF6FF 0%, #FFFFFF 60%);
}

.hero-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(37,99,235,0.2));
}

#hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--text);
  margin-bottom: 16px;
}

#hero h1 span { color: var(--primary); }

.hero-tagline {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid var(--primary);
  text-decoration: none;
  transition: background 0.15s;
}
.btn-secondary:hover { background: #EFF6FF; }

.play-badge {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== How It Works ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step-card p { color: var(--muted); font-size: 0.95rem; }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-card p { color: var(--muted); font-size: 0.93rem; }

/* ===== Screenshots ===== */
#screenshots { background: var(--bg-alt); }

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

.phone-frame {
  width: 200px;
  height: 380px;
  border-radius: 28px;
  border: 2px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 20px;
  background: var(--border);
  border-radius: 0 0 12px 12px;
}

.phone-placeholder-icon { font-size: 2.5rem; opacity: 0.3; }

.phone-frame p {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  padding: 0 16px;
  line-height: 1.4;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

.screenshots-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* ===== Mission ===== */
#mission { background: var(--bg); }

.mission-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.mission-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.mission-inner p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.mission-highlight {
  background: #EFF6FF;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 20px 24px;
  text-align: left;
  margin-top: 32px;
  font-size: 1rem;
  color: var(--text);
  font-style: italic;
}

/* ===== Footer ===== */
footer {
  background: #111827;
  color: #9CA3AF;
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }

.footer-copy { font-size: 0.85rem; }

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

  .nav-links { display: none; }

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

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

  .screenshots-row { gap: 16px; }
  .phone-frame { width: 160px; height: 300px; }

  #hero { padding: 70px 0 60px; }
}
