:root {
  --navy: #07111f;
  --blue: #0a7cff;
  --blue-2: #2b93ff;
  --ink: #122033;
  --muted: #5b6b7c;
  --line: #e6eef5;
  --paper: #f7fafc;
  --white: #ffffff;
  --max: 1120px;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.12; margin: 0 0 12px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; color: var(--navy); text-decoration: none; }
.brand img {
  width: auto;
  height: 64px;
  max-width: min(420px, 68vw);
  border-radius: 0;
  object-fit: contain;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.linkish {
  color: #3d4d5e;
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  padding: 8px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.nav a:hover, .nav a.is-on { color: var(--navy); background: #eef5fb; }
.nav a.btn,
.nav-cta .btn {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 9px 16px;
}
.nav a.btn:hover,
.nav-cta .btn:hover {
  background: #101b2c;
  color: #fff;
}
.nav a.btn-primary,
.nav-cta .btn-primary {
  background: var(--blue);
  color: #fff;
}
.nav a.btn-primary:hover,
.nav-cta .btn-primary:hover {
  background: var(--blue-2);
  color: #fff;
}
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.cart-link { position: relative; }
.cart-link em {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 10px;
  padding: 8px 10px;
}

.bell-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  color: #3d4d5e;
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}
.bell-btn:hover,
.bell-btn[aria-expanded="true"] { color: var(--navy); background: #eef5fb; }
.bell-btn em {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

.account-drop { position: relative; }
.account-drop-btn {
  color: #3d4d5e;
  background: none;
  border: 0;
  font: inherit;
  padding: 8px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.account-drop.is-on .account-drop-btn,
.account-drop-btn:hover { color: var(--navy); background: #eef5fb; }
.account-drop-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 50;
}
.account-menu { display: flex; flex-direction: column; gap: 2px; }
.account-menu-title {
  display: none;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.account-menu a,
.account-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  color: #3d4d5e;
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.account-menu a:hover,
.account-menu button:hover,
.account-menu a.is-on { color: var(--navy); background: #eef5fb; }
.account-menu em {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.account-menu-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  height: fit-content;
}
.account-menu-side .account-menu-title { display: block; }
.account-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
.site-footer button.linkish {
  background: none;
  border: 0;
  color: #d7e4f0;
  font: inherit;
  padding: 0;
  cursor: pointer;
  display: block;
  margin: 7px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { background: #101b2c; color: #fff; }
.btn-primary { background: var(--blue); }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #f4f8fc; color: var(--navy); }
.btn-ghost.dark { color: var(--navy); }
.btn-on-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-wide { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef6ff;
  color: #0b4f9c;
  border: 1px solid #d5e8ff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 18px;
}

.hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(circle at 85% 10%, rgba(10,124,255,0.08), transparent 28%),
    linear-gradient(180deg, #f4f8fc 0%, #ffffff 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: 18px; color: var(--muted); max-width: 36rem; margin: 0 0 8px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.trust { color: var(--muted); font-size: 13px; margin: 0; }
.hero-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 14px;
}
.mock {
  background: linear-gradient(180deg, #0c1730 0%, #07111f 100%);
  color: #d7e4f0;
  border-radius: 20px;
  padding: 18px 18px 16px;
  min-height: 360px;
}
.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: #2a3d57; display: block; }
.mock-dots i:first-child { background: #ff6b6b; }
.mock-dots i:nth-child(2) { background: #ffd93d; }
.mock-dots i:nth-child(3) { background: #6bcb77; }
.mock-top span { font-size: 12px; color: #8aa0b8; font-weight: 600; }
.mock-score {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}
.ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #0c1730 58%, transparent 59%),
    conic-gradient(#00a3ff 0 72%, rgba(255,255,255,0.08) 72% 100%);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}
.mock-score h3 { color: #fff; font-size: 16px; margin: 0 0 4px; }
.mock-score p { margin: 0; font-size: 13px; color: #8aa0b8; }
.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  margin-top: 8px;
  font-size: 13px;
}
.mock-row strong { color: #fff; font-weight: 600; }
.pill {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.pill-red { background: rgba(255,107,107,0.16); color: #ff8a8a; }
.pill-amber { background: rgba(255,217,61,0.14); color: #ffd93d; }
.pill-blue { background: rgba(10,124,255,0.18); color: #7ec4ff; }

.features { padding: 28px 0 80px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef6ff;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 14px;
}
.icon svg { width: 20px; height: 20px; }
.feat h3 { font-size: 18px; }
.muted { color: var(--muted); }

.band { padding: 80px 0; }
.band-soft { background: var(--paper); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); }
.section-head.left { margin-left: 0; text-align: left; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why strong { display: block; font-size: 44px; color: var(--blue); letter-spacing: -0.05em; }
.why h3 { margin-top: 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.panel img { border-radius: 18px; background: #07111f; }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.guide:hover { border-color: #c5ddf6; box-shadow: var(--shadow); }
.guide em {
  display: inline-block;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.guide h3 { color: var(--navy); font-size: 18px; }
.auth-narrow { max-width: 460px; }

.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: #b9d8ff;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}
.price-card ul {
  list-style: none;
  margin: 0 0 22px;
  padding-left: 0;
  color: var(--muted);
  flex: 1;
}
.price-card li {
  margin: 8px 0;
  padding-left: 1.4em;
  position: relative;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ec6ff;
}
.popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.price { font-size: 40px; font-weight: 800; color: var(--navy); margin: 16px 0 8px; letter-spacing: -0.04em; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); }

.cta-band {
  margin: 20px auto 0;
  width: min(var(--max), calc(100% - 48px));
  background:
    radial-gradient(circle at 80% 20%, rgba(10,124,255,0.28), transparent 36%),
    var(--navy);
  color: #fff;
  border-radius: 32px;
  padding: 64px 48px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; }
.cta-band p { color: #c5d4e4; max-width: 38rem; margin: 0 auto 24px; }
.cta-band .hero-actions { justify-content: center; }

.page-hero { padding: 56px 0 8px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); color: var(--navy); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.flash, .flash-bad { border-radius: 14px; padding: 12px 14px; margin: 20px 0 0; }
.flash { background: #eef6ff; border: 1px solid #d5e8ff; }
.flash-bad { background: #fff6f6; border: 1px solid #f3c8c8; }

label { display: block; margin: 14px 0 6px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.qty { width: 72px; }
.key {
  display: block;
  background: var(--navy);
  color: #d7e8f6;
  padding: 14px;
  border-radius: 12px;
  word-break: break-all;
  margin: 10px 0;
}

.ticket-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  background: #eef6ff;
  color: #0b4f9c;
}
.thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.bubble {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}
.bubble header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 13px;
}
.bubble header span { color: var(--muted); }
.bubble p { margin: 0; white-space: pre-wrap; }
.bubble-staff { background: #f4f8fc; }

.site-footer { background: #07111f; color: #9eb0c2; padding: 56px 0 28px; margin-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.site-footer strong { color: #fff; display: block; margin-bottom: 10px; }
.site-footer a { color: #d7e4f0; text-decoration: none; display: block; margin: 7px 0; }
.site-footer .copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; }

@media (max-width: 1100px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card.featured { transform: none; }
}
@media (max-width: 900px) {
  .brand img { height: 48px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 24px;
    right: 24px;
    top: 88px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav-cta { margin: 8px 0 0; flex-direction: column; }
  .hero-grid, .feat-grid, .why-grid, .split, .price-grid, .grid-3, .grid-2, .foot-grid, .guides, .account-shell { grid-template-columns: 1fr; }
  .account-drop-panel { position: static; box-shadow: none; border: 0; padding: 4px 0 0; min-width: 0; }
  .price-card.featured { transform: none; }
  .cta-band { padding: 40px 22px; }
  .hero { padding-top: 40px; }
}
