*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0f1e;
  --bg2: #0f172a;
  --bg3: #1e293b;
  --border: #1e293b;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --indigo: #6366f1;
  --purple: #8b5cf6;
  --indigo-light: #818cf8;
}

html { scroll-behavior: smooth; }

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

/* NAV */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 18px 24px;
}
.logo { font-size: 22px; font-weight: 900; text-decoration: none; color: var(--text); }
.logo span { color: var(--indigo); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; margin-left: auto; }
.mobile-menu { display: none; flex-direction: column; gap: 16px; padding: 20px 24px; border-top: 1px solid var(--border); }
.mobile-menu a { color: var(--muted); text-decoration: none; font-size: 16px; }
.mobile-menu.open { display: flex; }

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: white; padding: 12px 24px; border-radius: 12px;
  text-decoration: none; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: opacity 0.2s, transform 0.2s;
  display: inline-block; white-space: nowrap;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 14px; }
.btn-full { width: 100%; text-align: center; }
.btn-ghost {
  background: rgba(255,255,255,0.07); color: var(--text);
  padding: 12px 24px; border-radius: 12px; text-decoration: none;
  font-weight: 600; font-size: 15px; border: 1px solid var(--border);
  transition: background 0.2s; display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* HERO */
.hero {
  min-height: 100vh; padding: 140px 24px 80px;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden; gap: 64px; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(99,102,241,0.25), transparent),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(139,92,246,0.15), transparent);
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.badge {
  display: inline-block; padding: 6px 16px; border-radius: 99px;
  background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.4);
  color: var(--indigo-light); font-size: 14px; font-weight: 600; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 900; line-height: 1.1; margin-bottom: 24px; }
.gradient-text { background: linear-gradient(135deg, var(--indigo-light), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: clamp(16px,2vw,19px); color: var(--muted); max-width: 620px; margin: 0 auto 40px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; gap: 32px; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 28px; font-weight: 900; color: var(--text); }
.stat span { font-size: 13px; color: var(--muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-visual { position: relative; z-index: 1; width: 100%; max-width: 900px; }
.dashboard-frame {
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(99,102,241,0.3);
  box-shadow: 0 40px 120px rgba(99,102,241,0.25), 0 0 0 1px rgba(255,255,255,0.05);
}
.dashboard-frame img { width: 100%; display: block; }

/* SOCIAL PROOF */
.social-proof {
  text-align: center; padding: 40px 24px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.social-proof p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.proof-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.proof-badges span {
  padding: 8px 20px; border-radius: 99px;
  background: var(--bg3); border: 1px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--muted);
}

/* SECTIONS COMMON */
section { padding: 100px 24px; }
.section-label {
  display: inline-block; color: var(--indigo); font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
section > h2, .how-it-works h2, .features h2, .security-text h2, .pricing h2, .contact h2, .cta-banner h2 {
  font-size: clamp(28px,4vw,44px); font-weight: 900; margin-bottom: 16px; text-align: center;
}

/* HOW IT WORKS */
.how-it-works { background: var(--bg2); text-align: center; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 64px; }
.step { max-width: 260px; text-align: center; }
.step-num { font-size: 48px; font-weight: 900; color: transparent; -webkit-text-stroke: 2px var(--indigo); margin-bottom: 16px; }
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step-arrow { font-size: 32px; color: var(--indigo); padding-top: 60px; }

/* FEATURES */
.features { text-align: center; }
.features h2 { margin-bottom: 64px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.feature-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; text-align: left; transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: var(--indigo); transform: translateY(-4px); }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* SECURITY */
.security { background: var(--bg2); }
.security-inner { max-width: 1000px; margin: 0 auto; display: flex; gap: 64px; align-items: center; flex-wrap: wrap; }
.security-text { flex: 1; min-width: 280px; }
.security-text h2 { text-align: left; }
.security-text p { color: var(--muted); margin-bottom: 24px; font-size: 16px; }
.security-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.security-list li { font-size: 15px; color: var(--text); }
.security-visual { flex: 1; min-width: 240px; display: flex; justify-content: center; }
.lock-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.1));
  border: 1px solid rgba(99,102,241,0.3); border-radius: 20px;
  padding: 48px 40px; text-align: center;
}
.lock-icon { font-size: 64px; margin-bottom: 16px; }
.lock-label { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.lock-url { font-size: 16px; font-weight: 700; color: var(--indigo-light); margin-bottom: 16px; word-break: break-all; }
.lock-badge { display: inline-block; padding: 6px 14px; background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); color: #86efac; border-radius: 99px; font-size: 13px; font-weight: 600; }

/* PRICING */
.pricing { text-align: center; }
.pricing-sub { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 auto 64px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.plan-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 20px;
  padding: 40px 32px; text-align: left; position: relative;
  display: flex; flex-direction: column; transition: border-color 0.3s;
}
.plan-card:hover { border-color: var(--indigo); }
.plan-featured { border-color: var(--indigo); background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.08)); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  color: white; padding: 4px 16px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.plan-name { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.plan-price { font-size: 52px; font-weight: 900; color: var(--text); line-height: 1; margin-bottom: 8px; }
.plan-price span { font-size: 18px; font-weight: 500; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; flex: 1; }
.plan-features li { font-size: 14px; color: var(--text); }
.plan-features li.off { color: var(--muted); opacity: 0.5; }
.btn-plan {
  display: block; text-align: center; padding: 14px; border-radius: 12px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  background: var(--bg3); color: var(--text); border: 1px solid var(--border);
  transition: background 0.2s, transform 0.2s;
}
.btn-plan:hover { background: var(--border); transform: translateY(-2px); }
.btn-plan-featured { background: linear-gradient(135deg, var(--indigo), var(--purple)); border: none; color: white; }
.btn-plan-featured:hover { opacity: 0.9; background: linear-gradient(135deg, var(--indigo), var(--purple)); }

/* CTA BANNER */
.cta-banner {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.15));
  border-top: 1px solid rgba(99,102,241,0.2); border-bottom: 1px solid rgba(99,102,241,0.2);
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { color: var(--muted); font-size: 17px; margin-bottom: 32px; }

/* CONTACT */
.contact { max-width: 720px; margin: 0 auto; }
.contact h2 { text-align: center; }
.contact-sub { text-align: center; color: var(--muted); font-size: 16px; margin: 0 auto 48px; max-width: 520px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; color: var(--text); font-size: 15px; font-family: inherit;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--indigo); }
.form-group select option { background: var(--bg2); }
.form-success { text-align: center; padding: 16px; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); border-radius: 10px; color: #86efac; font-weight: 600; }
.hidden { display: none; }

/* FOOTER */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 60px 24px 0; }
.footer-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; line-height: 1.7; }
.footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-links a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; }
.footer-bottom p { color: var(--muted); font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links, #navbar .btn-primary { display: none; }
  .hamburger { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .security-inner { flex-direction: column; }
  .security-text h2 { text-align: center; }
  .hero { padding: 120px 16px 60px; }
}

/* SCROLL ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
