:root {
  --bg: #faf9f6; /* soft off-white */
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --accent: #3ab4ff; /* sky blue */
  --accent-dark: #2a9ae7;
  --border: #e8e6e1;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-logo {
  margin-bottom: 24px;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.1;
  color: var(--text);
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(58, 180, 255, 0.4);
}

.button.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 180, 255, 0.5);
  text-decoration: none;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  transition: opacity 0.2s ease;
  text-decoration: none;
  height: 60px;
}

.app-store-button:hover {
  opacity: 0.85;
  text-decoration: none;
}

.apple-logo {
  width: 45px;
  height: 45px;
  fill: currentColor;
  flex-shrink: 0;
}

.app-store-label {
  font-size: 0.85rem;
  line-height: 1.2;
}

.app-store-name {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.social-proof {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.screenshots {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.screenshot-placeholder {
  width: 280px;
  height: 600px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: var(--surface);
}

.features-section h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 48px;
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 24px;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--bg);
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 32px;
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

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

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.footer-tagline {
  color: var(--muted);
  margin: 0 0 40px;
  max-width: 500px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-group h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-group a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-group a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-copyright {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Doc Pages */
.doc-page {
  padding: 60px 0 80px;
}

.doc-header {
  text-align: center;
  margin-bottom: 48px;
}

.doc-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.doc-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.doc-header h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.doc-date {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.doc-content {
  max-width: 800px;
  margin: 0 auto;
}

.doc-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}

.doc-content p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.7;
}

.doc-content ul {
  color: var(--muted);
  margin: 0 0 16px;
  padding-left: 24px;
  line-height: 1.7;
}

.doc-content li {
  margin-bottom: 8px;
}

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

/* Responsive */
@media (max-width: 768px) {
  nav {
    gap: 16px;
  }

  nav a {
    font-size: 0.9rem;
  }

  .screenshots {
    gap: 16px;
  }

  .screenshot-placeholder {
    width: 200px;
    height: 430px;
  }

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