@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary: #4F6CF9;
  --primary-dark: #3A56E4;
  --primary-light: #EEF2FF;
  --dark: #111827;
  --text: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --bg-alt: #F9FAFB;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAVBAR ─── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

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

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

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

/* ─── HERO ─── */

.hero {
  padding: 88px 0 100px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-app-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hero-text h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ─── PHONE FRAME ─── */

.phone-frame {
  position: relative;
  background: #1c1c1e;
  border-radius: 56px;
  padding: 13px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 50px 120px rgba(0, 0, 0, 0.22),
    0 20px 40px rgba(0, 0, 0, 0.12);
  display: inline-block;
}

.phone-frame img {
  display: block;
  border-radius: 44px;
  width: 268px;
}

.phone-frame.small img {
  width: 220px;
}

/* ─── APP STORE BUTTON ─── */

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  color: white;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-store:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn-store .btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.btn-store .btn-text small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.btn-store .btn-text strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* ─── FEATURES ─── */

.features {
  padding: 100px 0;
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-phone {
  display: flex;
  justify-content: center;
}

.feature-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.feature-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ─── CTA SECTION ─── */

.cta-section {
  padding: 100px 0;
  background: linear-gradient(140deg, #4F6CF9 0%, #7C3AED 100%);
  text-align: center;
}

.cta-inner h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.btn-store.on-color {
  background: white;
  color: var(--dark);
}

.btn-store.on-color:hover {
  background: #f3f4f6;
}

/* ─── FOOTER ─── */

.footer {
  padding: 52px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: #9CA3AF;
}

/* ─── LEGAL PAGES ─── */

.legal-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 48px;
}

.legal-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.75px;
  margin-bottom: 8px;
}

.legal-hero .last-updated {
  font-size: 0.9rem;
  color: var(--muted);
}

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

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 44px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 0.975rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-content ul li {
  font-size: 0.975rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content .contact-box {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 44px;
}

.legal-content .contact-box p {
  margin-bottom: 0;
  color: var(--dark);
}

.legal-content .contact-box a {
  font-weight: 600;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.3rem;
    letter-spacing: -1px;
  }

  .hero-text p {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-phone {
    order: -1;
  }

  .phone-frame img {
    width: 210px;
  }

  .phone-frame.small img {
    width: 190px;
  }

  .features {
    padding: 72px 0;
  }

  .features-list {
    gap: 64px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .feature-text h3 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .cta-section {
    padding: 72px 0;
  }

  .cta-inner h2 {
    font-size: 1.9rem;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .footer-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .legal-hero h1 {
    font-size: 1.75rem;
  }
}
