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

:root {
  --blue:        #0077B6;
  --blue-dark:   #005a8a;
  --blue-deeper: #023e8a;
  --blue-light:  #00B4D8;
  --blue-pale:   #e8f4fd;
  --blue-border: #B3D9F2;
  --text:        #1a2740;
  --text-muted:  #5a6d85;
  --white:       #ffffff;
  --bg:          #f5faff;
  --radius:      14px;
  --shadow:      0 4px 24px rgba(0,119,182,.12);
  --shadow-lg:   0 12px 48px rgba(0,119,182,.18);
  --transition:  .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Utility ───────────────────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 4px 16px rgba(0,119,182,.35);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 6px 24px rgba(0,119,182,.45); }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-pale); }
.btn-white {
  background: var(--white); color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.btn-white:hover { background: var(--blue-pale); }

.tag {
  display: inline-block; background: var(--blue-pale);
  color: var(--blue); font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
  line-height: 1.2; color: var(--text); margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 620px; margin: 0 auto;
}

/* ── Scroll-reveal ─────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 10px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 800; color: var(--white);
  transition: color var(--transition);
}
.nav.scrolled .nav-logo { color: var(--blue); }
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow);
  transition: background var(--transition);
}
.nav.scrolled .nav-logo-icon { background: var(--blue-pale); }

.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  font-weight: 500; color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a { color: var(--text-muted); }
.nav.scrolled .nav-links a:hover { color: var(--blue); }

.nav-cta .btn { padding: 10px 22px; font-size: .88rem; }
.nav.scrolled .nav-cta .btn-white { background: var(--blue); color: var(--white); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav-burger span { background: var(--blue); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 50%, var(--blue-light) 100%);
  position: relative; overflow: hidden; padding: 120px 0 80px;
}

.hero-bg-circles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-bg-circles span {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.hero-bg-circles span:nth-child(1) { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-bg-circles span:nth-child(2) { width: 400px; height: 400px; bottom: -150px; left: -80px; }
.hero-bg-circles span:nth-child(3) { width: 200px; height: 200px; top: 40%; left: 30%; }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; position: relative; z-index: 1;
}

.hero-tag {
  background: rgba(255,255,255,.2); color: var(--white);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3);
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900;
  color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: #90e0ef; }

.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.85);
  max-width: 500px; margin-bottom: 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 1.8rem; font-weight: 900; color: var(--white); line-height: 1;
}
.hero-stat-label {
  font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 2px;
}

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

.phone-wrap {
  position: relative; width: 280px;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,.35));
}
.phone {
  width: 280px; height: 560px; border-radius: 40px;
  background: #0a1628;
  border: 3px solid rgba(255,255,255,.25);
  position: relative; overflow: hidden;
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #0a1628;
  border-radius: 0 0 16px 16px; z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  overflow: hidden;
}
.phone-map {
  flex: 1; background: linear-gradient(160deg, #1a3a5c 0%, #0d4a7a 100%);
  position: relative; overflow: hidden;
}
.phone-map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.phone-pin {
  position: absolute; transform: translate(-50%,-100%);
  font-size: 1.6rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
  animation: pin-bounce 2s ease-in-out infinite;
}
.phone-pin:nth-child(2) { top: 38%; left: 42%; animation-delay: .4s; }
.phone-pin:nth-child(3) { top: 55%; left: 65%; animation-delay: .8s; }
.phone-pin:nth-child(4) { top: 28%; left: 70%; animation-delay: 1.2s; }

@keyframes pin-bounce {
  0%, 100% { transform: translate(-50%,-100%); }
  50%       { transform: translate(-50%,-120%); }
}

.phone-card {
  background: rgba(255,255,255,.96); margin: 12px; border-radius: 14px;
  padding: 12px 14px; backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.phone-card-title { font-size: .78rem; font-weight: 700; color: var(--text); }
.phone-card-sub   { font-size: .7rem; color: var(--text-muted); margin-top: 2px; }
.phone-card-stars { color: #f59e0b; font-size: .75rem; margin-top: 4px; }

.phone-badge {
  position: absolute; right: -14px; top: 40px;
  background: var(--white); border-radius: 12px;
  padding: 10px 14px; box-shadow: var(--shadow-lg);
  font-size: .78rem; font-weight: 700; color: var(--blue);
  white-space: nowrap;
}
.phone-badge-icon { font-size: 1.1rem; display: block; margin-bottom: 2px; }

/* ── Features ──────────────────────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--bg); }

.features-header { text-align: center; margin-bottom: 64px; }

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

.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; box-shadow: var(--shadow);
  border: 1px solid var(--blue-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--blue-pale); display: flex; align-items: center;
  justify-content: center; font-size: 1.7rem; margin-bottom: 20px;
}
.feature-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-text  { font-size: .93rem; color: var(--text-muted); line-height: 1.65; }

/* ── Trust section ─────────────────────────────────────────────────────────── */
.trust {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-deeper), var(--blue));
  color: var(--white);
}

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

.trust-content .section-title { color: var(--white); }
.trust-content .section-sub   { color: rgba(255,255,255,.8); max-width: 480px; margin: 0; }

.trust-points { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }

.trust-point {
  display: flex; gap: 16px; align-items: flex-start;
}
.trust-point-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px; background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.trust-point-title  { font-weight: 700; margin-bottom: 4px; }
.trust-point-text   { font-size: .9rem; color: rgba(255,255,255,.75); line-height: 1.55; }

/* Network diagram */
.network-diagram {
  display: flex; justify-content: center; align-items: center;
  position: relative; height: 380px;
}

.network-ring {
  position: absolute; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.ring-1 { width: 80px;  height: 80px;  background: rgba(255,255,255,.15); border-style: solid; border-color: rgba(255,255,255,.5); }
.ring-2 { width: 170px; height: 170px; }
.ring-3 { width: 260px; height: 260px; }
.ring-4 { width: 350px; height: 350px; }

.ring-center {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--white); display: flex; flex-direction: column;
  align-items: center; justify-content: center; z-index: 5;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.ring-center-icon  { font-size: 1.5rem; }
.ring-center-label { font-size: .6rem; font-weight: 700; color: var(--blue); margin-top: 2px; }

.network-node {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: transform .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.network-node:hover { transform: scale(1.15); }
.node-sm { width: 36px; height: 36px; }
.node-md { width: 44px; height: 44px; }

.network-label {
  position: absolute; right: -8px; bottom: 12px;
  background: rgba(255,255,255,.15); border-radius: 20px;
  padding: 4px 12px; font-size: .72rem; color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
  white-space: nowrap;
}

/* ── How it works ──────────────────────────────────────────────────────────── */
.how { padding: 100px 0; background: var(--white); }
.how-header { text-align: center; margin-bottom: 64px; }

.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; position: relative;
}
.how-steps::before {
  content: '';
  position: absolute; top: 36px; left: calc(16.66% + 28px); right: calc(16.66% + 28px);
  height: 2px; background: linear-gradient(90deg, var(--blue-border), var(--blue), var(--blue-border));
  z-index: 0;
}

.how-step { text-align: center; position: relative; z-index: 1; }
.how-step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white); font-size: 1.5rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(0,119,182,.3);
}
.how-step-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.how-step-text  { font-size: .92rem; color: var(--text-muted); line-height: 1.65; }

/* ── Use-case strip ────────────────────────────────────────────────────────── */
.usecases { padding: 90px 0; background: var(--bg); }
.usecases-header { text-align: center; margin-bottom: 56px; }

.usecases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}

.usecase-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border-left: 5px solid var(--blue);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.usecase-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.usecase-emoji { font-size: 2.2rem; margin-bottom: 14px; }
.usecase-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.usecase-text  { font-size: .93rem; color: var(--text-muted); line-height: 1.65; }

/* ── CTA ───────────────────────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 0; text-align: center;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 60%, var(--blue-light) 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '🌍'; font-size: 280px; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  opacity: .04; pointer-events: none; line-height: 1;
}
.cta-section .section-title { color: var(--white); margin-bottom: 16px; }
.cta-section .section-sub   { color: rgba(255,255,255,.8); margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.15); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  padding: 12px 22px; border-radius: 12px;
  transition: background var(--transition), transform var(--transition);
  backdrop-filter: blur(6px);
}
.store-btn:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.store-btn-icon  { font-size: 1.8rem; }
.store-btn-sub   { font-size: .72rem; opacity: .8; display: block; }
.store-btn-name  { font-size: 1rem; font-weight: 700; display: block; line-height: 1; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
footer {
  background: var(--text); color: rgba(255,255,255,.6);
  padding: 40px 0; text-align: center; font-size: .88rem;
}
footer a { color: rgba(255,255,255,.8); }
footer a:hover { color: var(--white); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo  { font-size: 1.1rem; font-weight: 800; color: var(--white); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-sub     { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .hero-visual  { order: -1; }
  .phone-badge  { display: none; }
  .trust-inner  { grid-template-columns: 1fr; gap: 48px; }
  .network-diagram { height: 300px; }
  .ring-4       { width: 280px; height: 280px; }
  .ring-3       { width: 210px; height: 210px; }
  .ring-2       { width: 140px; height: 140px; }
  .how-steps::before { display: none; }
  .how-steps    { grid-template-columns: 1fr; gap: 32px; }
  .usecases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--blue-deeper); padding-top: 100px; z-index: 99;
    align-items: center;
  }
  .nav-mobile-open .nav-links a {
    font-size: 1.4rem; padding: 16px; color: var(--white);
  }
  .features-grid { grid-template-columns: 1fr; }
  .phone { width: 220px; height: 440px; }
  .phone-wrap { width: 220px; }
}
