:root {
  --bg: #0a0b0e;
  --bg-2: #111318;
  --card: rgba(255, 255, 255, 0.04);
  --fg: #f3f5f8;
  --muted: #9aa1ad;
  --accent: #e11d2a;
  --accent-2: #b71722;
  --border: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.12);
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ambient glow blobs — give the glass something to refract */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background: radial-gradient(circle, rgba(225, 29, 42, 0.45), transparent 70%);
  top: -200px;
  right: -150px;
}
body::after {
  background: radial-gradient(circle, rgba(183, 23, 34, 0.3), transparent 70%);
  bottom: -250px;
  left: -150px;
}

.nav,
.hero,
.section,
.footer,
.legal {
  position: relative;
  z-index: 1;
}

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

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

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 11, 14, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
}
.brand:hover {
  text-decoration: none;
}

.logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--glass-border), 0 4px 16px rgba(225, 29, 42, 0.4);
}
.brand-by {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
}
.nav-links a {
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--fg);
  text-decoration: none;
}

.btn {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(37, 99, 235, 0.8));
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  overflow: hidden;
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  box-shadow:
    0 4px 24px rgba(59, 130, 246, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
/* glossy sheen across the top half */
.btn::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow:
    0 10px 34px rgba(59, 130, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn:active {
  transform: translateY(0);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--fg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* hero */
.hero {
  text-align: center;
  padding: 90px 24px 70px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 850;
  letter-spacing: -1px;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff, #b8c0cf);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.sub {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--muted);
  max-width: 620px;
  margin: 20px auto 34px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* feature grid */
.section {
  padding: 70px 0;
  border-top: 1px solid var(--border);
}
.section h2 {
  font-size: clamp(26px, 4vw, 36px);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section .lead {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 44px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 26px;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 29, 42, 0.4);
}
.feature .ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(225, 29, 42, 0.16);
  border: 1px solid rgba(225, 29, 42, 0.25);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 26px;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

/* legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal h1 {
  font-size: 34px;
  margin-bottom: 6px;
}
.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 20px;
  margin: 32px 0 10px;
}
.legal p,
.legal li {
  color: #cdd3dd;
  margin-bottom: 12px;
}
.legal ul {
  padding-left: 22px;
}
.legal .note {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
}

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

/* custom feature icons */
.feature .ico {
  color: #ff5d66;
}
.feature .ico svg {
  width: 22px;
  height: 22px;
}

/* hero badge pill */
.pill {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffb3b8;
  background: rgba(225, 29, 42, 0.12);
  border: 1px solid rgba(225, 29, 42, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* hero product mockup */
.hero-mock {
  max-width: 360px;
  margin: 56px auto 0;
  border-radius: 20px;
  padding: 18px;
  text-align: left;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}
.mock-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--glass-border), 0 4px 16px rgba(225, 29, 42, 0.4);
}
.mock-id {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.25;
}
.mock-name {
  font-weight: 800;
  font-size: 15px;
}
.mock-sub {
  font-size: 12px;
  color: var(--muted);
}
.mock-switch {
  width: 42px;
  height: 24px;
  border-radius: 24px;
  background: #22c55e;
  position: relative;
  flex: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}
.mock-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}
.mock-stat {
  padding-top: 18px;
  text-align: center;
}
.mock-count {
  display: block;
  font-size: 46px;
  font-weight: 850;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 22px rgba(225, 29, 42, 0.6);
  font-variant-numeric: tabular-nums;
}
.mock-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* glass utility shared by mockup */
.glass {
  background: var(--card);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
