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

:root {
  --bg: #FFFFFF;
  --surface: #F5F0EB;
  --primary: #1A1A1A;
  --secondary: #888888;
  --border: #E8E0D8;
  --accent: #C8A96E;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  transition: opacity 0.15s;
}

.btn:hover { opacity: 0.8; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { background: var(--surface); opacity: 1; }

/* HERO */
.hero {
  text-align: center;
  padding: 96px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--surface);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 18px;
  color: var(--secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s;
}

.appstore-btn:hover { opacity: 0.8; }

.appstore-btn svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

.appstore-btn-text { text-align: left; }

.appstore-btn-text small {
  display: block;
  font-size: 10px;
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 2px;
}

.appstore-btn-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* MOCKUP */
.mockup-section {
  background: var(--surface);
  padding: 64px 24px;
  text-align: center;
}

.mockup-phones {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mockup-phone {
  width: 200px;
  height: 400px;
  background: var(--primary);
  border-radius: 32px;
  border: 6px solid #1A1A1A;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 13px;
  overflow: hidden;
}

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

/* FEATURES */
.features {
  padding: 96px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 56px;
}

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.6;
}

/* CTA SECTION */
.cta-section {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 96px 24px;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  opacity: 0.6;
  margin-bottom: 40px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.footer-logo img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--secondary);
  transition: color 0.15s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--secondary);
  width: 100%;
}

/* LEGAL PAGES */
.legal-hero {
  padding: 64px 24px 40px;
  max-width: 720px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.legal-hero p {
  color: var(--secondary);
  font-size: 15px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 10px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 20px;
  margin: 8px 0;
}

.legal-content li { margin-bottom: 4px; }

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

/* SUPPORT PAGE */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.support-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.support-card p { font-size: 14px; color: var(--secondary); margin-bottom: 16px; line-height: 1.6; }

/* RESPONSIVE */
@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .hero { padding: 64px 20px 56px; }
  .features { padding: 64px 20px; }
  footer { padding: 32px 20px; }
  .mockup-phone { width: 160px; height: 320px; }
}
