:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-muted: #555;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-surface: #fff;
  --color-border: #e5e5e5;
  --color-pro: #7c3aed;
  --max-width: 960px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

/* Buttons */
.btn-primary,
.btn-app-store {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn-primary:hover,
.btn-app-store:hover {
  background: var(--color-accent-hover);
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.tagline {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-phones {
  flex-shrink: 0;
}

/* Phone Frame */
.phone-frame {
  width: 320px;
  background: #000;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

/* Features */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.features h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

/* Pro Features */
.pro-features .feature {
  border-color: var(--color-pro);
  border-width: 1.5px;
}

.pro-features h2 {
  color: var(--color-pro);
}

.pro-subtitle {
  text-align: center;
  color: var(--color-muted);
  margin-top: -1.25rem;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* CTA */
.cta {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta p {
  color: var(--color-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Page content (privacy, etc.) */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  margin-bottom: 1rem;
  color: var(--color-muted);
}

.page-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--color-muted);
}

.page-content li {
  margin-bottom: 0.35rem;
}

.page-content a {
  color: var(--color-accent);
}

/* Footer */
footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--color-muted);
}

footer a:hover {
  color: var(--color-text);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 2rem;
    gap: 2rem;
  }

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

  .tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .phone-frame {
    width: 260px;
  }

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