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

:root {
  --blue:    #1565C0;
  --blue-l:  #1E88E5;
  --accent:  #00B0FF;
  --green:   #22C55E;
  --purple:  #8B5CF6;
  --orange:  #F59E0B;
  --red:     #EF4444;
  --cyan:    #06B6D4;

  --bg:      #0A0A0F;
  --bg2:     #0F0F1A;
  --bg3:     #141428;
  --card:    #13131F;
  --border:  rgba(255,255,255,0.07);
  --text:    #F0F0FF;
  --text2:   #9090B0;
  --text3:   #5A5A78;

  --radius:  14px;
  --shadow:  0 8px 40px rgba(0,0,0,0.6);
}

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

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

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

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

h1, h2, h3 { line-height: 1.15; font-weight: 800; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--blue-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: #fff;
  box-shadow: 0 4px 24px rgba(21,101,192,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(21,101,192,0.55);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-lg  { padding: 14px 28px; font-size: 1rem; }
.btn-xl  { padding: 18px 36px; font-size: 1.1rem; flex-direction: column; gap: 4px; border-radius: 16px; }
.btn-sub { font-size: 0.72rem; font-weight: 400; opacity: 0.7; }

.section-tag {
  display: inline-block;
  background: rgba(0,176,255,0.12);
  color: var(--accent);
  border: 1px solid rgba(0,176,255,0.25);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-header p  { color: var(--text2); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* ── NAV ──────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.nav-logo { width: 34px; height: 34px; border-radius: 8px; }
.nav-links {
  display: flex; gap: 8px; list-style: none;
  margin-left: auto;
}
.nav-links a {
  color: var(--text2); text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: 0.88rem; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.25s;
}
.nav-mobile {
  display: none; flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
  background: rgba(10,10,15,0.95);
}
.nav-mobile a {
  color: var(--text2); text-decoration: none;
  padding: 12px 0; font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--text); }
.nav-mobile.open { display: flex; }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.18;
}
.glow-1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -200px; left: -100px;
}
.glow-2 {
  width: 500px; height: 500px;
  background: var(--accent);
  bottom: -100px; right: -100px;
}
.dots-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--green);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin-bottom: 20px;
}
.hero-sub {
  color: var(--text2);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}
.meta-item { display: flex; flex-direction: column; }
.meta-item strong { font-size: 1rem; font-weight: 700; color: var(--text); }
.meta-item span  { font-size: 0.78rem; color: var(--text3); }
.meta-divider { width: 1px; height: 32px; background: var(--border); }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup { position: relative; }
.phone-frame {
  width: 260px;
  background: var(--bg3);
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative; z-index: 1;
}
.phone-screen { padding: 0 0 16px; }
.mock-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px 8px;
  font-size: 0.72rem; color: var(--text2);
}
.mock-icons { display: flex; gap: 6px; font-size: 0.65rem; }
.mock-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(21,101,192,0.9);
  font-size: 0.82rem;
}
.mock-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  flex-shrink: 0;
}
.mock-name { font-weight: 600; font-size: 0.85rem; color: #fff; }
.mock-status { font-size: 0.68rem; color: rgba(255,255,255,0.7); }
.mock-lock { margin-left: auto; font-size: 0.9rem; }
.mock-msgs {
  padding: 12px 10px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 180px;
}
.mock-msg {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.4;
}
.mock-msg.received {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.mock-msg.sent {
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.mock-input {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 10px;
  padding: 8px 12px;
  background: var(--bg2);
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text3);
}
.mock-send {
  width: 24px; height: 24px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: #fff; flex-shrink: 0;
}
.phone-glow {
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(21,101,192,0.4) 0%, transparent 70%);
  bottom: -80px; left: 50%; transform: translateX(-50%);
  filter: blur(40px);
}

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ── FEATURES ─────────────────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--bg2);
  position: relative;
}
.features::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.feat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-blue   { background: rgba(21,101,192,0.18);  color: var(--blue-l); }
.feat-green  { background: rgba(34,197,94,0.15);   color: var(--green); }
.feat-purple { background: rgba(139,92,246,0.15);  color: var(--purple); }
.feat-orange { background: rgba(245,158,11,0.15);  color: var(--orange); }
.feat-red    { background: rgba(239,68,68,0.15);   color: var(--red); }
.feat-cyan   { background: rgba(6,182,212,0.15);   color: var(--cyan); }

.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 0.88rem; color: var(--text2); line-height: 1.6; }
.feature-card strong { color: var(--accent); }

/* ── SECURITY ─────────────────────────────────────────────────────────────── */
.security {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.shield-wrapper {
  position: relative;
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,176,255,0.15);
  animation: ringPulse 4s ease-in-out infinite;
}
.ring-1 { width: 140px; height: 140px; animation-delay: 0s; }
.ring-2 { width: 200px; height: 200px; animation-delay: 0.6s; border-color: rgba(0,176,255,0.08); }
.ring-3 { width: 268px; height: 268px; animation-delay: 1.2s; border-color: rgba(0,176,255,0.04); }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.04); opacity: 1; }
}
.shield-core {
  width: 88px; height: 88px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(0,176,255,0.3);
  position: relative; z-index: 1;
}
.shield-core svg { width: 42px; height: 42px; stroke: #fff; }

.security-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.security-desc { color: var(--text2); font-size: 1rem; line-height: 1.7; margin-bottom: 32px; }
.security-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 20px;
}
.security-list li {
  display: flex; gap: 14px; align-items: flex-start;
}
.sec-check {
  width: 24px; height: 24px; min-width: 24px;
  background: rgba(34,197,94,0.15);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  margin-top: 2px;
}
.security-list strong { display: block; font-size: 0.95rem; margin-bottom: 3px; }
.security-list span   { font-size: 0.85rem; color: var(--text2); }

/* ── DOWNLOAD ─────────────────────────────────────────────────────────────── */
.download {
  padding: 100px 0;
  background: var(--bg2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-bg { position: absolute; inset: 0; pointer-events: none; }
.dl-glow {
  position: absolute;
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(21,101,192,0.15) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.download-inner { position: relative; z-index: 1; }
.dl-logo {
  width: 88px; height: 88px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: 0 0 40px rgba(21,101,192,0.4);
}
.download h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.download > .container > .download-inner > p {
  color: var(--text2); font-size: 1.05rem; margin-bottom: 40px;
}
.dl-actions { display: flex; justify-content: center; margin-bottom: 56px; }

.dl-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(21,101,192,0.2);
  border: 1px solid rgba(21,101,192,0.4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--blue-l);
}
.step p { font-size: 0.82rem; color: var(--text2); max-width: 100px; line-height: 1.4; }
.step-arrow { color: var(--text3); font-size: 1.2rem; margin-top: -16px; }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem;
}
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-copy    { font-size: 0.82rem; color: var(--text3); }
.footer-tagline { font-size: 0.78rem; color: var(--text3); }

/* ── Animations ──────────────────────────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-aos-delay="80"]  { transition-delay: 0.08s; }
[data-aos-delay="160"] { transition-delay: 0.16s; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-meta { margin: 0 auto; }
  .hero-visual { order: -1; }
  .security-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .security-list li { text-align: left; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .phone-frame { width: 220px; }
  .mock-msgs { min-height: 140px; }
  .dl-steps { gap: 8px; }
  .step-arrow { display: none; }
  .hero-meta { flex-direction: column; gap: 12px; }
  .meta-divider { display: none; }
}
