@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #08080a;
  --bg-2: #0d0d10;
  --card: #111114;
  --card-2: #16161a;
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #f2f2f4;
  --muted: #8b8b93;
  --dim: #55555d;
  --red: #ff5a52;
  --red-2: #e23b3b;
  --red-deep: #7a1414;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--text); text-decoration: none; transition: color 0.18s ease; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}

p { margin-bottom: 1rem; }

.mono {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1340px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.btn-white {
  background: #f4f4f5;
  color: #111;
  border-color: #f4f4f5;
}

.btn-white:hover { background: #fff; color: #000; transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.btn-red {
  background: var(--red-2);
  color: #fff;
  border-color: var(--red-2);
}

.btn-red:hover { background: #cf2e2e; color: #fff; }

.navwrap {
  position: sticky;
  top: 16px;
  z-index: 60;
  padding: 0 20px;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(18, 18, 22, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 18px;
}

.nav .brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--white);
}

.nav .brand img { height: 24px; }

.nav .brand .dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(140deg, var(--red), var(--red-2));
  transform: rotate(12deg);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0 auto;
}

.nav-menu a {
  color: #c4c4cc;
  font-size: 0.96rem;
  font-weight: 500;
}

.nav-menu a:hover, .nav-menu a.active { color: var(--white); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  text-align: center;
  padding: 130px 0 120px;
  overflow: hidden;
}

.hero .glow-1 {
  width: 760px;
  height: 540px;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) rotate(20deg);
  background: radial-gradient(closest-side, rgba(255,70,70,0.55), rgba(255,70,70,0.12) 60%, transparent);
  border-radius: 30%;
  filter: blur(70px);
  opacity: 0.6;
}

.hero-inner { position: relative; z-index: 2; }

.hero h1 {
  font-size: 5.2rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}

.hero .lede {
  color: #c8c8d0;
  font-size: 1.22rem;
  max-width: 540px;
  margin: 0 auto 44px;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-meta {
  margin-top: 22px;
  color: var(--dim);
  font-size: 0.86rem;
}

.hero-meta .sep { margin: 0 10px; opacity: 0.5; }

.float-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  background: rgba(20, 20, 24, 0.8);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 9px 18px;
  font-size: 0.9rem;
  color: #d4d4da;
  box-shadow: 0 0 40px rgba(255, 70, 70, 0.12);
}

.float-pill b { color: var(--white); font-weight: 600; }

.float-pill .arrow { color: var(--red); }

.section { padding: 110px 0; position: relative; }

.section-head { max-width: 560px; margin-bottom: 44px; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.section-head .sub { color: var(--muted); font-size: 1.2rem; margin: 0; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  color: var(--red);
  margin-bottom: 18px;
  display: block;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento .cell {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

.bento .cell.lit {
  background: linear-gradient(160deg, #1a1a1f, #121216);
  border-color: rgba(255, 255, 255, 0.14);
}

.bento .cell .key-ic {
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.bento .cell h4 {
  font-size: 1.05rem;
  font-weight: 700;
  display: inline;
}

.bento .cell .meta { color: var(--muted); font-size: 1.05rem; }

.bento .span-2 { grid-column: span 2; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.reveal-text {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--dim);
}

.reveal-text .bright { color: var(--white); }

.mock {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  overflow: hidden;
}

.mock .mock-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  top: -120px;
  left: -80px;
  background: radial-gradient(closest-side, rgba(255,60,60,0.5), transparent);
  filter: blur(50px);
  opacity: 0.7;
}

.mock-inner { position: relative; z-index: 2; }

.mock h3 { font-size: 1.5rem; margin-bottom: 8px; }

.mock .mline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
}

.mock .check {
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--red); flex: 0 0 18px;
}

.mock .check.on { background: var(--red); }

.tabs {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 30px;
  padding: 4px;
}

.tabs button {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 24px;
  cursor: pointer;
}

.tabs button.active { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.ext-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ext-panel { display: none; }
.ext-panel.active { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.ext-card {
  border-radius: 18px;
  padding: 24px;
  min-height: 300px;
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.ext-card.navy { background: linear-gradient(165deg, #1c2150, #0e1130); }
.ext-card.blue { background: linear-gradient(165deg, #123a63, #0c1c33); }
.ext-card.green { background: linear-gradient(165deg, #11502f, #0a2417); }
.ext-card.purple { background: linear-gradient(165deg, #2a1850, #140a2c); }
.ext-card.crimson { background: linear-gradient(165deg, #4a1320, #220a12); }
.ext-card.teal { background: linear-gradient(165deg, #0e4444, #082323); }

.ext-card .ext-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ext-card .ext-ic {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.ext-card h3 { font-size: 1.15rem; flex: 1; }

.ext-card .chev {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}

.ext-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.96rem; }

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.three-col .tc h4 { font-size: 1.15rem; display: inline; }
.three-col .tc .body { color: var(--dim); font-size: 1.05rem; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.feature-list .fl {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 26px 28px;
}

.feature-list .fl .fl-ic {
  font-size: 1.3rem; margin-bottom: 14px; color: var(--red);
}

.feature-list .fl h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-list .fl p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.price-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 34px 30px;
}

.price-card.featured {
  border-color: rgba(255, 90, 82, 0.5);
  background: linear-gradient(165deg, #1c1416, #111014);
  box-shadow: 0 0 50px rgba(255, 70, 70, 0.12);
  position: relative;
}

.price-card .pop {
  position: absolute; top: -12px; left: 30px;
  background: var(--red-2); color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.1em;
  padding: 5px 12px; border-radius: 20px; text-transform: uppercase;
}

.price-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price-card .price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0; }
.price-card .price span { font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.price-card ul { list-style: none; margin: 22px 0 28px; }
.price-card ul li { padding: 9px 0; border-top: 1px solid var(--border-soft); color: #c4c4cc; font-size: 0.95rem; }
.price-card .btn { width: 100%; justify-content: center; }

.log-list { max-width: 820px; }

.log-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  padding: 40px 0;
  border-top: 1px solid var(--border-soft);
}

.log-entry .log-meta { color: var(--dim); }
.log-entry .log-ver {
  font-family: 'JetBrains Mono', monospace;
  color: var(--red); font-weight: 500; margin-bottom: 4px;
}
.log-entry .log-date { font-size: 0.85rem; }
.log-entry h3 { font-size: 1.4rem; margin-bottom: 12px; }
.log-entry ul { list-style: none; }
.log-entry ul li {
  padding-left: 22px; position: relative; color: var(--muted); margin-bottom: 8px;
}
.log-entry ul li::before {
  content: "+"; position: absolute; left: 0; color: var(--red); font-family: 'JetBrains Mono', monospace;
}

.code-block {
  background: #0c0c0f;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #c9c9d2;
  line-height: 1.8;
  overflow-x: auto;
}

.code-block .k { color: var(--red); }
.code-block .s { color: #7fb88a; }
.code-block .c { color: var(--dim); }

.page-hero {
  position: relative;
  text-align: center;
  padding: 150px 0 70px;
  overflow: hidden;
}

.page-hero .glow-1 {
  width: 620px; height: 360px; top: 60px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,70,70,0.4), transparent 65%);
  filter: blur(70px); opacity: 0.5;
}

.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: 3.8rem; letter-spacing: -0.035em; margin-bottom: 18px; }
.page-hero p { color: var(--muted); font-size: 1.2rem; max-width: 620px; margin: 0 auto; }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 38px 0 12px; }
.prose p { color: var(--muted); }
.prose ul { margin: 0 0 1rem 1.4rem; color: var(--muted); }
.prose li { margin-bottom: 8px; }

.form-card {
  max-width: 560px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px;
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.92rem; color: #c4c4cc; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px;
  background: #0c0c0f; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--text);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.cta {
  position: relative;
  text-align: center;
  padding: 120px 0;
  overflow: hidden;
}

.cta .glow-1 {
  width: 700px; height: 420px; bottom: -120px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,70,70,0.5), transparent 65%);
  filter: blur(80px); opacity: 0.55;
}

.cta-inner { position: relative; z-index: 2; }
.cta h2 { font-size: 3.4rem; letter-spacing: -0.035em; margin-bottom: 18px; }
.cta p { color: var(--muted); font-size: 1.15rem; max-width: 540px; margin: 0 auto 30px; }

.footer { border-top: 1px solid var(--border-soft); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.15rem; color: var(--white); margin-bottom: 16px; }
.footer-brand .dot { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(140deg, var(--red), var(--red-2)); transform: rotate(12deg); }
.footer-col p { color: var(--muted); font-size: 0.94rem; }
.footer h4 { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--dim); margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: var(--muted); font-size: 0.95rem; }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding: 22px 0; font-size: 0.85rem; color: var(--dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal-links a { margin-left: 18px; color: var(--dim); }
.footer-bottom .legal-links a:hover { color: var(--white); }

.cookie-bar {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(18, 18, 22, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  z-index: 90; max-width: 620px; width: calc(100% - 36px);
  font-size: 0.88rem; color: var(--muted);
}
.cookie-bar a.settings-link { color: var(--white); text-decoration: underline; }
.cookie-bar .btn { padding: 8px 18px; font-size: 0.85rem; }

.reveal-on { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-on.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .bento, .ext-row, .ext-panel.active { grid-template-columns: repeat(2, 1fr); }
  .price-grid, .three-col { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav-menu { display: none; }
  .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 3.2rem; }
  .reveal-text { font-size: 1.6rem; }
  .cta h2, .page-hero h1 { font-size: 2.4rem; }
  .log-entry { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 560px) {
  .bento, .ext-row, .ext-panel.active, .footer-grid, .price-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.6rem; }
  .bento .span-2 { grid-column: span 1; }
}
