:root {
  --grad-from: #667eea;
  --grad-to: #764ba2;
  --grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --bg: #0f1117;
  --bg-soft: #161923;
  --bg-card: #1a1e2b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef0f6;
  --text-secondary: #a3a8b8;
  --text-muted: #6f7588;
  --primary: #667eea;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(15, 17, 23, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand-mark { width: 26px; height: 26px; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.btn) { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.15s; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: transform 0.12s, box-shadow 0.12s, background 0.15s; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(118, 75, 162, 0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(118, 75, 162, 0.45); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: 110px 24px 90px; background: radial-gradient(800px 480px at 50% -10%, rgba(102, 126, 234, 0.22), transparent 70%); }
.hero-logo { display: inline-flex; width: 96px; height: 96px; border-radius: 24px; background: var(--grad); align-items: center; justify-content: center; color: #fff; box-shadow: 0 14px 40px rgba(118, 75, 162, 0.4); margin-bottom: 28px; }
.hero-logo svg { width: 54px; height: 54px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.1; margin: 0 0 20px; font-weight: 800; letter-spacing: -0.02em; }
.hero-sub { max-width: 640px; margin: 0 auto 34px; font-size: clamp(16px, 2.4vw, 19px); color: var(--text-secondary); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.badge { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--text-secondary); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--primary); font-weight: 700; margin: 0 0 12px; }
.section h2 { font-size: clamp(28px, 4.5vw, 40px); margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
.section h2 + p, .section h2 + .grid, .section h2 + ol { margin-top: 28px; }
.section .wrap > p:not(.eyebrow) { color: var(--text-secondary); font-size: 17px; max-width: 620px; }

/* ---------- Features grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform 0.15s, border-color 0.15s; }
.card:hover { transform: translateY(-3px); border-color: rgba(102, 126, 234, 0.4); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(102, 126, 234, 0.12); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.steps h3 { margin: 0 0 6px; font-size: 17px; }
.steps p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* ---------- Security ---------- */
.security-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; margin-top: 32px; }
.security-copy p { color: var(--text-secondary); font-size: 17px; }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text-secondary); font-size: 15px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 9px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.security-card { text-align: center; background: var(--grad); border-radius: var(--radius); padding: 40px; color: #fff; box-shadow: var(--shadow); }
.security-lock { width: 84px; height: 84px; margin-bottom: 16px; }
.security-quote { font-size: 18px; font-weight: 600; margin: 0; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; align-items: stretch; }
.price-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { border: 1px solid rgba(102, 126, 234, 0.6); box-shadow: 0 14px 44px rgba(102, 126, 234, 0.18); }
.price-card h3 { margin: 0 0 14px; font-size: 17px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 8px; font-size: 40px; font-weight: 800; margin: 0 0 20px; min-height: 68px; }
.price span { font-size: 15px; font-weight: 400; color: var(--text-muted); }
.price-note { font-size: 13px; font-weight: 700; color: var(--primary); background: rgba(102, 126, 234, 0.14); border: 1px solid rgba(102, 126, 234, 0.35); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.price-card .check-list { margin: 0 0 28px; flex: 1; }
.tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }

/* ---------- CTA ---------- */
.cta { padding: 100px 24px; text-align: center; background: radial-gradient(700px 360px at 50% 120%, rgba(118, 75, 162, 0.3), transparent 70%); }
.cta h2 { font-size: clamp(28px, 4.5vw, 42px); margin: 0 0 12px; font-weight: 800; }
.cta p { color: var(--text-secondary); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 34px 0; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-note { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links a:not(.btn):not(.brand) { display: none; }
  .security-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 80px 20px 70px; }
  .section { padding: 70px 0; }
}
