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

:root {
  color-scheme: dark;
  --bg: #101011;
  --bg-2: #151518;
  --panel: #151518;
  --panel-2: #19191d;
  --panel-3: #1f1f23;
  --ink: #f4f4f6;
  --muted: #a0a4af;
  --muted-2: #656a76;
  --blue-muted: #9fb2df;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  --accent: #ffffff;
  --glow: rgba(255, 255, 255, 0.12);
  --green: #65f0b8;
  --yellow: #f5d64f;
  --radius: 24px;
  --mono: "JetBrains Mono", "Cascadia Mono", monospace;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

img,
svg {
  display: block;
}

.site {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 62% 6%, rgba(255, 255, 255, 0.055), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(144, 176, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #101011 0%, #111114 48%, #101011 100%);
}

.site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 16, 17, 0.24), rgba(16, 16, 17, 0.94) 70%),
    url("assets/base-bg.png") center top / cover no-repeat;
  opacity: 0.26;
  filter: grayscale(1) saturate(0.5) brightness(0.55);
}

.site::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.055) 0 1px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 64%);
  opacity: 0.42;
}

.container {
  width: min(1216px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: rgba(16, 16, 17, 0);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.topbar.scrolled {
  background: rgba(16, 16, 17, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s ease;
}

.brand:hover img {
  transform: rotate(-14deg) translateY(-2px);
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
}

.nav-links a {
  position: relative;
  color: #c9cdd6;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 0.24s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill,
.button,
.white-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill:hover,
.button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.pill.white,
.white-button,
.button.primary {
  border-color: transparent;
  background: #fff;
  color: #101011;
}

.mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: currentColor;
}

.icon-box {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #e7e8ec;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 126px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.75fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #777b86;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 54px;
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(62px, 8vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.078em;
  font-weight: 900;
}

h2 {
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}

h3 {
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 610px;
  margin-top: 22px;
  color: #b6bbc6;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(18, 18, 21, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  animation: float-soft 8s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 44%, rgba(255, 255, 255, 0.09), transparent 28%),
    url("assets/base-tan.png") center / cover no-repeat;
  opacity: 0.28;
  filter: grayscale(1) saturate(0.3) brightness(0.72);
}

.hero-visual img {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(78%, 440px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 34px 58px rgba(0, 0, 0, 0.45));
}

.visual-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: rgba(11, 11, 13, 0.74);
  backdrop-filter: blur(18px);
  color: #cfd3dc;
  font-size: 13px;
}

.visual-caption strong {
  color: #fff;
}

.section {
  padding: 86px 0;
}

.section.page {
  padding-top: 150px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 34px;
}

.section-head p,
.copy {
  max-width: 520px;
  color: #a5abb7;
  font-size: 15px;
  line-height: 1.75;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21, 21, 24, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.soft-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.028);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.soft-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
}

.soft-card h3 {
  margin-top: 18px;
}

.soft-card p {
  margin-top: 10px;
  color: #9fa5b1;
  font-size: 14px;
  line-height: 1.65;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  min-height: 460px;
  overflow: hidden;
}

.split-panel.alt {
  grid-template-columns: 1fr 0.88fr;
}

.media-pane {
  min-height: 380px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.68)),
    var(--media, url("assets/neon-panel.svg")) center / cover no-repeat;
  filter: grayscale(0.1);
}

.text-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.mini-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
  color: #d8dbe1;
  font-size: 14px;
}

.mini-list b {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.price-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.028);
}

.price-card.featured {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.price {
  margin: 24px 0 12px;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
}

.footer {
  padding: 60px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  background: #101011;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.5fr);
  gap: 42px;
}

.footer p,
.footer a,
.copyright {
  color: #686d78;
  font-size: 14px;
  line-height: 1.8;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 14px;
}

.footer a {
  display: block;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.auth-page {
  min-height: 100vh;
  display: flex;
  background:
    linear-gradient(90deg, rgba(16, 16, 17, 0.12), rgba(16, 16, 17, 0.78) 56%, rgba(16, 16, 17, 0.95)),
    url("assets/base-login.webp") center / cover no-repeat;
}

.auth-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
}

.auth-visual-copy {
  max-width: 520px;
  margin: 0 0 56px 34px;
}

.auth-panel {
  width: min(46vw, 640px);
  min-width: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 58px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(12, 12, 14, 0.62);
  backdrop-filter: blur(28px) saturate(150%);
}

.auth-card {
  width: min(100%, 390px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: #8a92a3;
  font-size: 13px;
}

.form-title {
  font-size: 28px;
  letter-spacing: -0.035em;
}

.form-copy {
  margin-top: 8px;
  color: #8a92a3;
  font-size: 13px;
  line-height: 1.7;
}

.form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #c9cdd6;
  font-size: 12.5px;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0 14px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #8a92a3;
  font-size: 12.5px;
}

.wide-button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #101011;
  font-weight: 800;
  cursor: pointer;
}

.account-shell {
  min-height: 100vh;
  background: #101011;
}

.account-body {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 0;
  min-height: 100vh;
  padding-top: 92px;
}

.side {
  position: sticky;
  top: 92px;
  height: calc(100vh - 92px);
  padding: 24px 30px 30px;
  display: flex;
  flex-direction: column;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-label {
  margin: 28px 0 12px 12px;
  color: #5f6470;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.side-link {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #c9cdd6;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.side-link:hover,
.side-link.active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.side-link.active {
  box-shadow: inset 3px 0 0 #fff;
}

.coin-badge {
  margin-left: auto;
  min-width: 34px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 12px;
}

.coin-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.side-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.side-user img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.side-user strong {
  display: block;
  font-size: 14px;
}

.side-user span {
  color: #6f7480;
  font-size: 12px;
}

.account-main {
  padding: 20px 40px 70px;
}

.account-panel {
  max-width: 925px;
  min-height: 360px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(21, 21, 24, 0.68);
}

.account-view {
  display: none;
  animation: panel-in 0.28s ease both;
}

.account-view.active {
  display: block;
}

.view-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.view-title h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card,
.faq-item,
.ticket-card,
.settings-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.stat-card {
  min-height: 108px;
  padding: 18px;
}

.stat-card span {
  color: var(--blue-muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
}

.wide-card {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.026);
}

.ref-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 16px 0 30px;
}

.copy-box {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.026);
  color: #fff;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 760;
}

.faq-item p {
  margin-top: 14px;
  color: var(--blue-muted);
  line-height: 1.7;
}

.ticket-card {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  color: var(--blue-muted);
}

.settings-block {
  padding: 22px;
  margin-bottom: 22px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.profile-row img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.026);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s ease, transform 0.72s ease;
  transition-delay: var(--delay, 0ms);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: relative;
  }

  .nav.menu-open .nav-links,
  .nav.menu-open .nav-actions {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    border: 1px solid var(--line);
    background: rgba(16, 16, 17, 0.96);
    backdrop-filter: blur(20px);
  }

  .nav.menu-open .nav-links {
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 18px 18px 8px 8px;
  }

  .nav.menu-open .nav-actions {
    top: 300px;
    padding: 12px;
    border-radius: 8px 8px 18px 18px;
  }

  .hero-grid,
  .split-panel,
  .split-panel.alt,
  .account-body {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .card-grid,
  .price-grid,
  .stat-row,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .side {
    position: relative;
    top: 0;
    height: auto;
  }

  .side-user {
    margin-top: 20px;
  }

  .account-main {
    padding: 20px;
  }

  .auth-page {
    display: block;
  }

  .auth-visual {
    min-height: 44vh;
  }

  .auth-panel {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1216px);
  }

  h1 {
    font-size: clamp(52px, 17vw, 76px);
  }

  .hero {
    padding-top: 118px;
  }

  .section,
  .section.page {
    padding: 58px 0;
  }

  .section.page {
    padding-top: 126px;
  }

  .card-grid,
  .price-grid,
  .stat-row,
  .footer-grid,
  .settings-grid,
  .ref-line {
    grid-template-columns: 1fr;
  }

  .section-head,
  .download-card {
    display: block;
  }

  .auth-panel {
    padding: 36px 22px;
  }

  .copyright {
    flex-direction: column;
  }
}
