:root {
  --bg: #f4f7fa;
  --bg-soft: #ffffff;
  --text: #14202b;
  --text-muted: #56697a;
  --border: rgba(20, 32, 43, 0.1);
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(20, 32, 43, 0.08);
  --accent: #0088cc;
  --accent-soft: rgba(0, 136, 204, 0.1);
  --accent2: #e08600;
  --accent2-soft: rgba(224, 134, 0, 0.12);
  --header-bg: rgba(244, 247, 250, 0.85);
  --radius: 16px;
}

:root[data-theme="dark"] {
  --bg: #0d1520;
  --bg-soft: #121c29;
  --text: #eaf1f8;
  --text-muted: #93a4b5;
  --border: rgba(255, 255, 255, 0.09);
  --card: #16212f;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --accent: #00b1ff;
  --accent-soft: rgba(0, 177, 255, 0.15);
  --accent2: #ffa000;
  --accent2-soft: rgba(255, 160, 0, 0.15);
  --header-bg: rgba(13, 21, 32, 0.85);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

img { max-width: 100%; display: block; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.brand img { height: 60px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav-actions { display: flex; align-items: center; gap: 12px; }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.icon-btn:hover { border-color: var(--accent); }

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  color: var(--text);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0066a3);
  color: #fff;
  box-shadow: 0 6px 18px var(--accent-soft);
}

.btn-primary:hover { filter: brightness(1.08); }

.btn-ghost {
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 56px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

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

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-meta {
  display: flex;
  gap: 22px;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.hero-meta span { display: flex; align-items: center; gap: 6px; }

/* Phone mockup */
.mock-wrap { display: flex; justify-content: center; }

.phone {
  width: 280px;
  border-radius: 34px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 14px;
}

.phone-screen {
  border-radius: 22px;
  background: var(--card);
  overflow: hidden;
  border: 1px solid var(--border);
}

.phone-bar {
  background: linear-gradient(135deg, var(--accent-soft), transparent 65%);
  padding: 16px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-bar .dot { display: flex; gap: 6px; }
.phone-bar .dot i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  opacity: 0.35;
}
.phone-bar .dot i:first-child { opacity: 1; }

.phone-title { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); }

.phone-body { padding: 14px 16px 20px; }

.mock-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.mock-card .k { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
.mock-card .v { font-size: 1.3rem; font-weight: 800; margin-top: 2px; }
.mock-card .v small { font-size: 0.7rem; font-weight: 600; color: var(--accent); margin-left: 6px; }

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin: 10px 0 16px;
}

.mock-bars i {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  border-radius: 4px 4px 0 0;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed var(--border);
  font-size: 0.8rem;
}

.mock-row .badge {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent2-soft); color: var(--accent2); font-size: 0.85rem;
}

.mock-row .t1 { font-weight: 700; }
.mock-row .t2 { color: var(--text-muted); font-size: 0.72rem; }

/* Sections */
section { padding: 76px 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: none; }

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }

.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; }
.section-head p { color: var(--text-muted); margin: 0; font-size: 1.02rem; }

.kicker {
  display: inline-block;
  color: var(--accent2);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}

.step .num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.step h3 { margin: 0 0 8px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.card .ic.blue { background: var(--accent-soft); color: var(--accent); }
.card .ic.orange { background: var(--accent2-soft); color: var(--accent2); }

.card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* Compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare .card ul { margin: 0; padding-left: 18px; color: var(--text-muted); font-size: 0.92rem; }
.compare .card ul li { margin-bottom: 8px; }
.compare .card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }

/* Security */
.security {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.security .card { text-align: left; }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--accent), #0a5f8f 60%, var(--accent2));
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}

.cta-band h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 0 0 26px; opacity: 0.92; max-width: 52ch; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--accent); box-shadow: none; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); font-size: 1.05rem; }
.footer-brand img { height: 30px; width: auto; }

/* Mobile */
@media (max-width: 880px) {
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .mock-wrap { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .security { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 18px 24px;
    gap: 16px;
  }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .security { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .hero-ctas .btn { flex: 1; }
}
