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

:root {
  --primary:       #42A5F5;
  --primary-light: #64B5F6;
  --primary-dark:  #1C1C1E;
  --accent:        #42A5F5;
  --surface:       #F5F7FA;
  --card:          #FFFFFF;
  --text:          #1C1C1E;
  --text-muted:    #5a5a6e;
  --radius:        16px;
  --radius-sm:     10px;
  --shadow:        0 2px 16px rgba(28,28,30,.08);
  --shadow-lg:     0 8px 40px rgba(28,28,30,.14);
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(28,28,30,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

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

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

.nav-links a {
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.nav-links a:hover { color: var(--primary-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  background: linear-gradient(160deg, #1C1C1E 0%, #2a2a2c 40%, #1C1C1E 100%);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(66,165,245,.15), transparent),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(66,165,245,.08), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.7);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .25s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary-light);
  color: #fff;
}
.btn-primary:hover {
  background: #3a8fd9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66,165,245,.4);
}

.btn-outline {
  border-color: rgba(255,255,255,.4);
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  transform: translateY(-2px);
}

/* Phone mockup */
.hero-phone { display: flex; justify-content: center; }

.phone-frame {
  width: 280px;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.3);
}

.phone-screen {
  background: #1a2332;
  border-radius: 26px;
  padding: 24px 16px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-map {
  flex: 1;
  min-height: 180px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e2d3d 0%, #1a2a3a 50%, #1e2d3d 100%);
  position: relative;
  overflow: hidden;
}
.mock-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 30%, rgba(66,165,245,.2) 50%, transparent 70%),
    linear-gradient(-30deg, transparent 40%, rgba(66,165,245,.15) 60%, transparent 80%);
}
.mock-map::after {
  content: '🏔️';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  opacity: .6;
}

.mock-status {
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .85rem;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.green  { background: #42A5F5; box-shadow: 0 0 6px #42A5F5; }
.dot.yellow { background: #fdae61; box-shadow: 0 0 6px #fdae61; }

/* ── Features ────────────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 56px;
}

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ── Download ────────────────────────────────────────────────────────── */
.download {
  padding: 100px 0;
  background: linear-gradient(160deg, #f5f7fa, #f0f2f5);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.download-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.download-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.download-icon svg { width: 24px; height: 24px; }

.download-info {
  display: flex;
  flex-direction: column;
}

.download-label {
  font-size: .75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.download-store {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.download-platform {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── About ───────────────────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: #fff;
}

.about-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.75;
}

.about-content p:last-child {
  font-weight: 600;
  color: var(--text);
  font-size: 1.2rem;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: #1C1C1E;
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand .logo { color: #fff; margin-bottom: 8px; }
.footer-tagline { font-size: .9rem; opacity: .7; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .5;
  margin-bottom: 4px;
}
.footer-links a {
  font-size: .9rem;
  opacity: .8;
  transition: opacity .2s;
}
.footer-links a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: .85rem;
  opacity: .6;
}

.social-icons {
  display: flex;
  gap: 16px;
}
.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: background .2s;
}
.social-icons a:hover { background: rgba(255,255,255,.2); }
.social-icons svg { width: 18px; height: 18px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: #1C1C1E;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow-lg);
  }
  .nav-toggle { display: flex; }

  .hero { padding: 120px 0 60px; }
  .phone-frame { width: 240px; }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
}
