@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --pill-3d-bg: linear-gradient(180deg, #1a1a1e 0%, #070709 100%);
  --pill-3d-border: rgba(255, 255, 255, 0.07);
  --pill-3d-shadow: 0 6px 20px rgba(0,0,0,0.55), 0 1.5px 5px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.08), inset 0 -1px 2px rgba(0,0,0,0.75);
  --pill-3d-shadow-hover: 0 10px 28px rgba(0,0,0,0.6), 0 3px 8px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.10), inset 0 -1px 2px rgba(0,0,0,0.75);
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; width: 0; height: 0; }
html, body { height: 100%; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; background: transparent; }
* { scrollbar-width: none; -ms-overflow-style: none; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow: auto;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

/* Background video */
.bg { position: fixed; inset: 0; background: #000; overflow: hidden; z-index: 0; }
.bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px);
  overflow: visible;
  gap: clamp(10px, 1.4vh, 14px);
}

/* ---------- Header ---------- */
.header {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
  width: 100%;
  max-width: 720px;
  animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-btn {
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  box-shadow: var(--pill-3d-shadow);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}
.logo-btn img { width: 72%; height: 72%; object-fit: contain; }
.logo-btn:hover { transform: scale(1.04) translateY(-1px); filter: brightness(1.08); box-shadow: var(--pill-3d-shadow-hover); }

.nav-pill {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  align-items: center;
  background:
    radial-gradient(ellipse 180px 70px at 22% 28%, rgba(255,255,255,0.07) 0%, transparent 58%),
    radial-gradient(ellipse 160px 60px at 84% 72%, rgba(255,255,255,0.05) 0%, transparent 58%),
    var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  height: clamp(44px, 5.2vw, 48px);
  max-width: 430px;
  flex: 1;
  padding: 4px;
  border-radius: 999px;
  box-shadow: var(--pill-3d-shadow);
  isolation: isolate;
}
.nav-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 20px) / 4);
  border-radius: 999px;
  background:
    radial-gradient(ellipse 90px 45px at 30% 22%, rgba(255,255,255,0.28) 0%, transparent 58%),
    radial-gradient(ellipse 110px 55px at 78% 78%, rgba(0,0,0,0.22) 0%, transparent 62%),
    linear-gradient(180deg, #ff4a4d 0%, #e31b22 56%, #9f0f14 100%);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 3px 14px rgba(159,15,20,0.38), 0 1px 4px rgba(227,27,34,0.28), inset 0 1px 1px rgba(255,255,255,0.26), inset 0 -1px 1.5px rgba(0,0,0,0.45);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: left 0.38s cubic-bezier(0.22,1,0.36,1), width 0.38s cubic-bezier(0.22,1,0.36,1), opacity 0.2s ease;
}
.nav-pill.has-indicator .nav-indicator { opacity: 1; }
.nav-pill.has-indicator .nav-link.active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  color: #fff;
  opacity: 0.72;
  padding: 0 8px;
  border-radius: 999px;
  z-index: 1;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.nav-link.is-indicator-active { opacity: 1; }
.nav-link:hover { opacity: 0.92; }
.nav-link.active {
  opacity: 1;
  background:
    radial-gradient(ellipse 90px 45px at 30% 22%, rgba(255,255,255,0.28) 0%, transparent 58%),
    radial-gradient(ellipse 110px 55px at 78% 78%, rgba(0,0,0,0.22) 0%, transparent 62%),
    linear-gradient(180deg, #ff4a4d 0%, #e31b22 56%, #9f0f14 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 3px 14px rgba(159,15,20,0.38), 0 1px 4px rgba(227,27,34,0.28), inset 0 1px 1px rgba(255,255,255,0.26), inset 0 -1px 1.5px rgba(0,0,0,0.45);
}
.nav-link.active::after { display: none; }

.sign-in {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(18px, 2.2vw, 24px);
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  color: var(--trust-text);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  border-radius: 999px;
  box-shadow: var(--pill-3d-shadow);
  transition: filter 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.sign-in:hover { filter: brightness(1.12); color: #fff; transform: translateY(-1px); box-shadow: var(--pill-3d-shadow-hover); }
.sign-in::before,
.sign-in::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1.5px;
  background:
    radial-gradient(ellipse 32px 14px at 50% 28%, rgba(255,255,255,0.26) 0%, transparent 62%),
    repeating-linear-gradient(90deg, transparent 0px, transparent 36px, #9f0f14 40px, #e31b22 48px, #ff8fab 52px, #e31b22 56px, #9f0f14 60px, transparent 64px, transparent 100px);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.sign-in::before {
  clip-path: inset(0 0 50% 0);
  background-position: 0 0, 0 0;
}
.sign-in::after {
  clip-path: inset(50% 0 0 0);
  background-position: 0 0, 50px 0;
}
.sign-in:hover::before,
.sign-in:hover::after { opacity: 1; }
.sign-in:hover::before { animation: snakeTop 1.2s linear infinite; }
.sign-in:hover::after { animation: snakeBottom 1.2s linear infinite; }
@keyframes snakeTop { to { background-position: 0 0, 100px 0; } }
@keyframes snakeBottom { to { background-position: 0 0, -50px 0; } }

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22,1,0.36,1), filter 0.32s ease;
}
.hero.is-switching { opacity: 0; transform: translateY(10px) scale(0.98); filter: blur(4px); }

.trust-row {
  --trust-size: clamp(36px, 4.5vw, 42px);
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}

.avatar-ring {
  width: var(--trust-size);
  height: var(--trust-size);
  padding: 5px;
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--pill-3d-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.a1 { z-index: 1; }
.a2 { z-index: 2; margin-left: calc(var(--trust-size) * -0.42); }
.a3 { z-index: 4; margin-left: calc(var(--trust-size) * -0.42); }
.a1:hover { transform: translateY(-2px); }
.a2:hover { transform: translateY(-4px); }
.a3:hover { transform: translateY(-2px); }

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(18,18,20,0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.07);
  color: #fff;
  line-height: 1;
  font-size: calc(var(--trust-size) * 0.34);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
}
.avatar-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: calc(var(--trust-size) * 0.34);
  color: #111;
  line-height: 1;
  letter-spacing: -0.02em;
}
.avatar-logo {
  width: 68%;
  height: 68%;
  object-fit: contain;
  display: block;
}

.trust-pill {
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: var(--trust-size);
  margin-left: calc(var(--trust-size) * -0.42);
  padding: 0 calc(var(--trust-size) * 0.42) 0 calc(var(--trust-size) * 0.58);
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  border-radius: 999px;
  color: var(--trust-text);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  white-space: nowrap;
  box-shadow: var(--pill-3d-shadow);
}

.headline {
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
  font-size: clamp(28px, 6.2vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
}
.headline .txt {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
/* typewriter tagline — rotates through 3 stages, JS-driven */
.tagline {
  margin-top: clamp(8px, 1.6vh, 16px);
  min-height: 1.4em;
  font-family: var(--font-display);
  color: #cfcfcf;
  font-size: clamp(15px, 2vw, 22px);
  letter-spacing: -0.04em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
}

.caret {
  display: inline-block;
  width: 0.55ch;
  height: 0.72em;
  margin-left: 0.08em;
  background: #fff;
  transform: translateY(0.08em);
  animation: caretBlink 0.9s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

.subhead {
  max-width: min(500px, 92%);
  margin-top: clamp(12px, 2vh, 20px);
  color: #d0d0d0;
  opacity: 0.8;
  font-weight: 400;
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  line-height: 1.55;
}

.cta-wrap { display: inline-block; margin-top: clamp(20px, 4vh, 34px); }
.cta {
  display: inline-block;
  background:
    radial-gradient(ellipse 120px 60px at 30% 22%, rgba(255,255,255,0.26) 0%, transparent 58%),
    radial-gradient(ellipse 140px 70px at 78% 78%, rgba(0,0,0,0.22) 0%, transparent 62%),
    linear-gradient(180deg, #ff4a4d 0%, #e31b22 56%, #9f0f14 100%);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(159,15,20,0.42), 0 2px 8px rgba(227,27,34,0.32), inset 0 1px 1px rgba(255,255,255,0.24), inset 0 -1px 1.5px rgba(0,0,0,0.45), 0 0 22px rgba(227,27,34,0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.cta:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(159,15,20,0.48), 0 4px 12px rgba(227,27,34,0.38), inset 0 1px 1px rgba(255,255,255,0.28), inset 0 -1px 1.5px rgba(0,0,0,0.45), 0 0 32px rgba(227,27,34,0.32);
}

/* ---------- Stats footer ---------- */
.stats {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 36px);
  width: 100%;
  max-width: 920px;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.stat-icon {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 33px);
  line-height: 1;
  color: #fff;
}
.stat-value {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 14px;
  width: 100%;
  max-width: 920px;
  align-items: start;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-height: 46vh;
  overflow-y: auto;
  padding: 2px 4px 2px 2px;
}
.faq-contact { display: flex; flex-direction: column; gap: 10px; }
.contact-card {
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--pill-3d-shadow);
  text-align: left;
}
.contact-head { font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.contact-card h3 { font-size: 16px; color: #fff; margin: 8px 0 6px; }
.contact-card p { font-size: 12.5px; color: #c4c2c3; line-height: 1.5; }
.contact-rows { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 14px; }
.contact-rows a { font-size: 12.5px; color: #c4c2c3; display: flex; align-items: center; gap: 8px; transition: color 0.2s ease; }
.contact-rows a:hover { color: #fff; }
.contact-rows i { width: 16px; text-align: center; color: #8e8e8e; }
.contact-note { font-size: 11.5px; color: #8e8e8e; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 10px 12px; line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }

/* Legal / Contact / Code views */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 920px;
  align-items: start;
}
.legal-card {
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--pill-3d-shadow);
  text-align: left;
}
.legal-num { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.legal-card h3 { font-size: 14.5px; color: #fff; margin: 6px 0; }
.legal-card p { font-size: 12.5px; color: #c4c2c3; line-height: 1.55; }
.legal-card ul, .contact-card ul {
  list-style: none; padding: 0; margin: 10px 0 0;
  display: flex; flex-direction: column; gap: 7px;
}
.legal-card li, .contact-card ul li {
  font-size: 12.5px; color: #d0d0d3; line-height: 1.5;
  padding-left: 16px; position: relative;
}
.legal-card li::before, .contact-card ul li::before {
  content: "·"; position: absolute; left: 4px; color: #e31b22; font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 920px;
  align-items: start;
}
.contact-grid .contact-card { display: flex; flex-direction: column; height: 100%; }
.contact-grid .cta { margin-top: auto; align-self: flex-start; }

.code-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 920px;
  align-items: start;
}
.code-grid > .code-card { min-width: 0; }
.legal-grid > .legal-card, .contact-grid > .contact-card, .pricing-grid > .pricing-card, .feature-grid > .feature-card, .faq-grid > .faq-list, .faq-grid > .faq-contact { min-width: 0; }
.code-card {
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--pill-3d-shadow);
  text-align: left;
}
.code-head {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.code-head i { color: #e31b22; }
.code-card h3 { font-size: 14.5px; color: #fff; margin: 8px 0 4px; }
.code-card p { font-size: 12.5px; color: #c4c2c3; line-height: 1.5; }
.code-card pre {
  margin: 10px 0 0;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px;
  overflow-x: auto;
}
.code-card code { font-family: "Consolas", "Monaco", monospace; font-size: 11.5px; color: #d8d8dc; line-height: 1.6; white-space: pre; }
.code-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.code-tags span { font-size: 11px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); padding: 4px 8px; border-radius: 999px; color: #d0d0d0; }
.code-foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%; max-width: 920px; }
.code-foot span { font-size: 11.5px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); padding: 7px 12px; border-radius: 999px; color: #c4c2c3; }
.code-foot i { color: #e31b22; margin-right: 4px; }
.faq-item {
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--pill-3d-shadow);
  text-align: left;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  color: #8e8e8e;
  font-size: 14px; line-height: 1;
  transition: transform 0.22s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: rgba(255,255,255,0.10); color: #fff; }
#view-faq { align-items: center; }
#view-faq .view-head { width: 100%; max-width: 720px; }
.faq-item { width: 100%; box-sizing: border-box; }
.faq-item p { margin-top: 10px; font-size: 12.5px; color: #c4c2c3; line-height: 1.6; }

.stat-label { font-size: clamp(11px, 1.2vw, 12.5px); color: var(--muted); }

/* ---------- Views — distinct layouts, not flat text swap ---------- */
.views {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 920px;
  display: flex;
  min-height: 0;
}
.view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vh, 20px);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.22,1,0.36,1), transform 0.42s cubic-bezier(0.22,1,0.36,1), filter 0.42s ease;
}
.view.is-active {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
  position: relative;
}
.view-head { text-align: center; max-width: 640px; }
.view-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.view-title { font-family: var(--font-display); font-size: clamp(22px, 4vw, 40px); color: #fff; letter-spacing: -0.03em; margin-top: 6px; }
.view-sub { font-size: 13px; color: #c4c2c3; margin-top: 8px; line-height: 1.5; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.feature-card {
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--pill-3d-shadow);
  text-align: left;
}
.f-num { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; }
.feature-card h3 { font-size: 14px; color: #fff; margin: 6px 0 8px; }
.feature-card p { font-size: 12.5px; color: #c4c2c3; line-height: 1.55; }
.feature-card p span { color: #fff; font-weight: 500; }
.f-tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.f-tags span { font-size: 11px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.08); padding: 4px 8px; border-radius: 999px; color: #e8e8e8; }
.feature-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.feature-bar span { font-size: 11.5px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); padding: 6px 10px; border-radius: 999px; color: #d0d0d0; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 920px; align-items: stretch; }
.pricing-card {
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-pro {
  border-color: rgba(255,255,255,0.14);
  box-shadow: var(--pill-3d-shadow), 0 0 20px rgba(255,255,255,0.07);
}
.pricing-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pricing-card h3 { font-size: 16px; color: #fff; margin: 8px 0; }
.pricing-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.pricing-price .was { font-size: 13px; color: #8e8e8e; text-decoration: line-through; }
.pricing-price .now { font-size: 18px; font-weight: 700; color: #fff; }
.pricing-price .now span { font-size: 12px; font-weight: 400; color: #c4c2c3; }
.pricing-price .hint { font-size: 12px; color: #8e8e8e; }
.pricing-desc { font-size: 12.5px; color: #c4c2c3; margin: 10px 0; line-height: 1.5; min-height: 38px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pricing-card li { font-size: 12.5px; color: #d0d0d0; padding-left: 16px; position: relative; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: #22c55e; font-size: 11px; top: 1px; }
.pricing-card .cta { margin-top: auto; align-self: flex-start; }
.cta--small { padding: 10px 18px; font-size: 13px; }
.cta--ghost {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: none;
  overflow: visible;
}
.cta--ghost:hover { background: rgba(255,255,255,0.10); box-shadow: none; filter: none; transform: none; }

.site-footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 100%;
  max-width: 920px;
  margin-top: clamp(10px, 1.6vh, 16px);
  background: var(--pill-3d-bg);
  border: 1px solid var(--pill-3d-border);
  border-radius: 20px;
  box-shadow: var(--pill-3d-shadow);
  padding: 16px 16px 12px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr auto;
  gap: 18px;
  align-items: start;
}
.footer-brand { display: flex; gap: 10px; align-items: center; }
.footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.footer-title { font-weight: 600; font-size: 13.5px; color: #fff; }
.footer-tagline { font-size: 11.5px; color: #8e8e8e; margin-top: 2px; line-height: 1.4; max-width: 220px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.footer-head { font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer-col a { display: block; font-size: 12.5px; color: #c4c2c3; margin-bottom: 6px; transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.footer-social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%; color: #c4c2c3; transition: background 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { background: rgba(255,255,255,0.10); color: #fff; }
.footer-bottom { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 11px; color: #8e8e8e; text-align: center; }
.cta--ghost::before,
.cta--ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1.5px;
  background:
    radial-gradient(ellipse 32px 14px at 50% 28%, rgba(255,255,255,0.26) 0%, transparent 62%),
    repeating-linear-gradient(90deg, transparent 0px, transparent 36px, #9f0f14 40px, #e31b22 48px, #ff8fab 52px, #e31b22 56px, #9f0f14 60px, transparent 64px, transparent 100px);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cta--ghost::before {
  clip-path: inset(0 0 50% 0);
  background-position: 0 0, 0 0;
}
.cta--ghost::after {
  clip-path: inset(50% 0 0 0);
  background-position: 0 0, 50px 0;
}
.cta--ghost:hover::before,
.cta--ghost:hover::after { opacity: 1; }
.cta--ghost:hover::before { animation: snakeTop 1.2s linear infinite; }
.cta--ghost:hover::after { animation: snakeBottom 1.2s linear infinite; }

/* ---------- Shared entrance animations ---------- */
.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}
.anim.reveal-pulse { animation-name: revealPulse; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes revealPulse {
  0%   { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.02); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px) scale(0.97); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes linkIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Mobile ---------- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: overlayIn 0.28s ease both;
}
.mobile-overlay[hidden] { display: none; }

.mobile-menu {
  position: fixed;
  z-index: 51;
  left: 50%;
  top: calc(clamp(16px, 2.4vh, 28px) + 60px);
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 360px);
  background: linear-gradient(180deg, #2e2e32 0%, #1a1a1c 100%);
  border: 1px solid var(--pill-3d-border);
  border-radius: 28px;
  padding: 22px 18px 20px;
  box-shadow: var(--pill-3d-shadow), 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  isolation: isolate;
}
.m-indicator {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 44px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse 90px 45px at 30% 22%, rgba(255,255,255,0.26) 0%, transparent 58%),
    radial-gradient(ellipse 110px 55px at 78% 78%, rgba(0,0,0,0.20) 0%, transparent 62%),
    linear-gradient(180deg, #ff4a4d 0%, #e31b22 56%, #9f0f14 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 3px 10px rgba(0,0,0,0.38), inset 0 1px 1px rgba(255,255,255,0.22);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: top 0.36s cubic-bezier(0.22,1,0.36,1), opacity 0.2s ease;
}
.mobile-menu.has-indicator .m-indicator { opacity: 1; }
.mobile-menu.has-indicator .m-link.active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.mobile-menu[hidden] { display: none; }

.m-link {
  position: relative;
  display: block;
  padding: 13px 12px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: #fff;
  opacity: 0.72;
  border-radius: 999px;
  text-align: center;
  z-index: 1;
  animation: linkIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
  transition: opacity 0.25s ease, color 0.25s ease;
}
.m-link:hover { opacity: 0.92; }
.m-link.is-indicator-active { opacity: 1; }
.m-link.active { opacity: 1; }
.mobile-menu.has-indicator .m-link.active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.m-link.active::after { display: none; }

.m-signin {
  position: relative;
  display: block;
  margin-top: 10px;
  padding: 13px;
  background: rgba(0,0,0,0.22);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  text-align: center;
  opacity: 0;
  animation: linkIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
  transition: filter 0.25s ease;
}
.m-signin::before,
.m-signin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1.5px;
  background:
    radial-gradient(ellipse 32px 14px at 50% 28%, rgba(255,255,255,0.26) 0%, transparent 62%),
    repeating-linear-gradient(90deg, transparent 0px, transparent 36px, #9f0f14 40px, #e31b22 48px, #ff8fab 52px, #e31b22 56px, #9f0f14 60px, transparent 64px, transparent 100px);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.m-signin::before {
  clip-path: inset(0 0 50% 0);
  background-position: 0 0, 0 0;
}
.m-signin::after {
  clip-path: inset(50% 0 0 0);
  background-position: 0 0, 50px 0;
}
.m-signin:hover::before,
.m-signin:hover::after { opacity: 1; }
.m-signin:hover::before { animation: snakeTop 1.2s linear infinite; }
.m-signin:hover::after { animation: snakeBottom 1.2s linear infinite; }
.m-signin:hover { filter: brightness(1.08); }

@media (max-width: 720px) {
  body { overflow: auto; height: auto; min-height: 100dvh; }
  .page { height: auto; min-height: 100dvh; overflow: visible; }
  .views { overflow: visible; flex: none; min-height: auto; flex-direction: column; gap: 44px; }
  .view {
    position: relative; inset: auto; overflow: visible;
    opacity: 1; transform: none; filter: none; pointer-events: auto;
    min-height: calc(100dvh - 88px);
    scroll-margin-top: 16px;
  }
  /* Nobody Code, TOS, Privacy, Contact dikecualikan dari stack mobile — muncul via footer (tab-style) */
  #view-code, #view-terms, #view-privacy, #view-contact { display: none; }
  #view-code.is-active, #view-terms.is-active, #view-privacy.is-active, #view-contact.is-active { display: flex; }

  .header { justify-content: space-between; }
  .nav-pill, .sign-in { display: none; }

  .logo-btn { width: 48px; height: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 340px; }

  .burger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pill-3d-bg);
    border: 1px solid var(--pill-3d-border);
    box-shadow: var(--pill-3d-shadow);
    transition: filter 0.25s ease, box-shadow 0.25s ease;
  }
  .burger span {
    width: 18px;
    height: 1.5px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  }
  body.menu-open .burger { background: #fff; }
  body.menu-open .burger span { background: #000; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .headline { letter-spacing: -0.08em; line-height: 1.05; }

  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
}

@media (max-height: 700px) {
  .trust-row { margin-bottom: 14px; }
  .cta-wrap { margin-top: 18px; }
}

@media (max-width: 420px) {
  .headline { letter-spacing: -0.09em; line-height: 1.04; }
  .trust-row { --trust-size: 34px; }
  .subhead { font-size: 12px; }
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .footer-social { justify-content: flex-start; }
  .faq-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .code-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
  .anim, .anim.reveal-pulse { opacity: 1; transform: none; filter: none; animation: none; }
  .headline .line { opacity: 1; transform: none; animation: none; }
  .headline { color: #fff; }
  .caret { display: none; }
  .m-link, .m-signin { opacity: 1; animation: none; }
}
