:root {
  --bg: #0f0b15;
  --card: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f3f7;
  --muted: #a8a3b5;
  --cyan: #22d3ee;
  --purple: #a855f7;
  --pink: #fb7185;
  --gold: #f59e0b;
  --radius: 16px;
  --grad: linear-gradient(to right, var(--cyan), var(--purple), var(--pink));
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.glow-1 {
  width: 600px;
  height: 400px;
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
}
.glow-2 {
  width: 500px;
  height: 400px;
  top: 200px;
  right: -150px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
}

/* --- nav --- */
.l-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(15, 11, 21, 0.72);
  border-bottom: 1px solid var(--border);
}
.l-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.l-logo {
  font-family: 'Courier New', monospace;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.l-logo-sm { font-size: 17px; }
.l-nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.l-nav-links a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.l-nav-links a:hover { color: var(--text); }

/* --- buttons --- */
.l-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.l-btn:hover { transform: translateY(-1px); }
.l-btn-lg { padding: 16px 34px; font-size: 16px; }
.arrow { display: inline-block; transition: transform 0.15s ease; }
.l-btn:hover .arrow { transform: translate(2px, -2px); }

.l-btn-white {
  background: #fff;
  color: #0b0b0e;
}
.l-btn-white:hover { background: #eee; }

.l-btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.l-btn-outline:hover { background: var(--card); }

.l-btn-gradient {
  background: var(--grad);
  color: #0b0b0e;
  box-shadow: 0 8px 30px -8px rgba(168, 85, 247, 0.5);
  width: 100%;
}

.l-btn-ghost-gradient {
  position: relative;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--grad);
  color: #0b0b0e;
  font-weight: 700;
  font-size: 14px;
}

/* --- nav user chip (logged in) --- */
.l-user-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.l-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 13.5px;
  font-weight: 600;
}
.l-user-chip img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}
.l-logout-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.l-logout-btn:hover {
  color: var(--pink);
  border-color: var(--pink);
}
.hidden { display: none !important; }

/* --- hero --- */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 28px 40px;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 22px;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.hero-copy h1 {
  font-size: 50px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.hero-trust {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.price-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(10px);
}
.price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 16px;
}
.price-tag {
  background: var(--card-hover);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
}
.price-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-cyan { background: var(--cyan); }
.dot-purple { background: var(--purple); }
.dot-pink { background: var(--pink); }

/* --- product mockup --- */
.mockup-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 28px 90px;
  position: relative;
  z-index: 1;
}
.mockup {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b0810;
  box-shadow: 0 40px 100px -30px rgba(168, 85, 247, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #141019;
  border-bottom: 1px solid var(--border);
}
.mockup-bar span[class^="dot-"] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.mockup-url {
  margin-left: 14px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 12px;
  border-radius: 6px;
}
.mockup-body { padding: 18px; }
.mockup-body-img { padding: 0; line-height: 0; }
.mockup-screenshot {
  display: block;
  width: 100%;
  height: auto;
}
.mockup-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mockup-status {
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.5px;
}
.mockup-brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.mockup-rulers {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.mockup-rulers-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.mockup-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
}
.mockup-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-chip b {
  color: var(--gold);
  font-weight: 800;
  margin-left: 2px;
}
.mockup-map {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 260px;
  background: #0d0a13;
}
.mockup-map-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 3px;
  height: 260px;
  padding: 3px;
  opacity: 0.55;
}
.mockup-map-grid span {
  border-radius: 3px;
}
.mockup-stat {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(11, 8, 16, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  backdrop-filter: blur(6px);
}
.mockup-stat span {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.mockup-stat b {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

/* --- sections --- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 28px;
  position: relative;
  z-index: 1;
}
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 12px;
}
.section-head p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.feature-card:hover {
  background: var(--card-hover);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #0b0b0e;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }

.cta-band {
  max-width: 720px;
  margin: 20px auto 90px;
  padding: 52px 40px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.12), rgba(251, 113, 133, 0.08));
  position: relative;
  z-index: 1;
}
.cta-band h2 { font-size: 28px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.5px; }
.cta-band p { color: var(--muted); font-size: 14.5px; margin: 0 0 26px; }

.l-footer {
  border-top: 1px solid var(--border);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* --- responsive --- */
@media (max-width: 880px) {
  .l-nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-copy h1 { font-size: 36px; }
  .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .l-btn { width: 100%; }
  .l-footer { flex-direction: column; gap: 10px; text-align: center; }
}
