:root {
  --bg: #0c1117;
  --surface: rgba(9, 17, 28, 0.72);
  --surface-grad:
    radial-gradient(circle at 8% 0%, rgba(45, 212, 191, 0.07) 0%, rgba(45, 212, 191, 0) 34%),
    radial-gradient(circle at 100% 0%, rgba(251, 146, 60, 0.06) 0%, rgba(251, 146, 60, 0) 35%),
    linear-gradient(165deg, rgba(9, 18, 30, 0.9) 0%, rgba(8, 15, 26, 0.84) 56%, rgba(6, 12, 22, 0.8) 100%);
  --surface-strong: #141d2d;
  --text: #eaf1ff;
  --muted: #9fafc6;
  --line: rgba(175, 195, 220, 0.2);
  --primary: #2cd5c4;
  --primary-strong: #1eb8a9;
  --accent: #ffb36b;
  --radius: 18px;
  --max-width: 1360px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100vh;
}

html {
  background: #000 !important;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "SF Pro Display", "PingFang SC", "Noto Sans SC", sans-serif;
  background-color: #000 !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(44, 213, 196, 0.22) 0%, rgba(44, 213, 196, 0) 36%),
    radial-gradient(circle at 88% 0%, rgba(255, 179, 107, 0.2) 0%, rgba(255, 179, 107, 0) 40%),
    linear-gradient(165deg, #05070b 0%, #080d14 45%, #000 100%);
  line-height: 1.65;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #000;
  z-index: -9999;
  pointer-events: none;
}

a {
  color: inherit;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.36;
  pointer-events: none;
  z-index: -1;
}

.bg-orb-left {
  width: 260px;
  height: 260px;
  left: -120px;
  top: 120px;
  background: rgba(44, 213, 196, 0.7);
}

.bg-orb-right {
  width: 320px;
  height: 320px;
  right: -130px;
  top: -80px;
  background: rgba(255, 179, 107, 0.62);
}

.site-header,
.page-shell,
.site-footer {
  width: min(var(--max-width), calc(100% - 28px));
  margin-inline: auto;
}

.site-header {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(11, 16, 25, 0.78);
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.brand-mark.small {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.brand-text {
  font-size: 18px;
  letter-spacing: 0.01em;
  font-weight: 650;
}

.top-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.top-nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.lang-area {
  display: grid;
  justify-items: center;
  gap: 0;
}

.lang-area label {
  font-size: 12px;
  color: var(--muted);
}

.lang-area select {
  width: auto;
  max-width: none;
  min-width: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  padding: 6px 6px;
  font-size: 14px;
  box-shadow: none;
}

.lang-area select:focus,
.lang-area select:focus-visible,
.lang-area select:active {
  outline: none;
  outline-color: transparent;
  -webkit-focus-ring-color: transparent;
  border: 0;
  box-shadow: none;
}


.page-shell {
  margin-top: 30px;
  margin-bottom: 30px;
  display: grid;
  gap: 20px;
}

/* Home page should read as one continuous layout, not segmented blocks. */
body[data-page="home"] .site-header {
  margin-top: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  padding: 22px 2px 16px;
  box-shadow: none;
}

body[data-page="home"] .page-shell {
  margin-top: 16px;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 15% 0%, rgba(45, 212, 191, 0.08) 0%, rgba(45, 212, 191, 0) 35%),
    radial-gradient(circle at 100% 0%, rgba(251, 146, 60, 0.07) 0%, rgba(251, 146, 60, 0) 36%),
    linear-gradient(165deg, rgba(9, 17, 29, 0.78) 0%, rgba(8, 14, 24, 0.72) 56%, rgba(6, 11, 20, 0.7) 100%);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

body[data-page="home"] {
  background-color: #000 !important;
  background:
    radial-gradient(circle at 14% 14%, rgba(45, 212, 191, 0.24) 0%, rgba(45, 212, 191, 0) 34%),
    radial-gradient(circle at 86% 10%, rgba(251, 146, 60, 0.2) 0%, rgba(251, 146, 60, 0) 35%),
    linear-gradient(180deg, #05070b 0%, #07101a 44%, #000 100%);
}

body[data-page="home"] .bg-orb {
  display: block;
  opacity: 0.28;
  filter: blur(36px);
}

body[data-page="home"] .bg-orb-left {
  width: 300px;
  height: 300px;
  left: -120px;
  top: -70px;
  background: rgba(45, 212, 191, 0.55);
}

body[data-page="home"] .bg-orb-right {
  width: 340px;
  height: 340px;
  right: -120px;
  top: -100px;
  background: rgba(251, 146, 60, 0.46);
}

body[data-page="home"] .hero,
body[data-page="home"] .feature-demo,
body[data-page="home"] .licenses,
body[data-page="home"] .quick-start,
body[data-page="home"] .roadmap {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .licenses,
body[data-page="home"] .feature-demo,
body[data-page="home"] .quick-start,
body[data-page="home"] .roadmap {
  padding-top: 0;
}

body[data-page="home"] .value-grid {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0 clamp(24px, 5vw, 48px) 16px;
}

body[data-page="home"] .value-grid .card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

body[data-page="home"] .value-grid .card h2 {
  font-size: 22px;
}

body[data-page="home"] .license-grid {
  gap: 18px;
  padding: 4px 0;
}

body[data-page="home"] .license-card {
  position: relative;
  border: 1px solid rgba(182, 202, 232, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(22, 31, 47, 0.9) 0%, rgba(16, 24, 37, 0.86) 100%);
  box-shadow: 0 16px 34px rgba(2, 8, 18, 0.34);
  padding: 22px;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

body[data-page="home"] .license-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(44, 213, 196, 0.12) 0%, rgba(44, 213, 196, 0) 36%),
    radial-gradient(circle at 100% 0%, rgba(251, 146, 60, 0.1) 0%, rgba(251, 146, 60, 0) 34%);
  pointer-events: none;
}

body[data-page="home"] .license-card:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 218, 245, 0.48);
  box-shadow: 0 22px 42px rgba(3, 10, 22, 0.4);
}

body[data-page="home"] .license-card.is-featured {
  border-color: rgba(76, 143, 255, 0.72);
  background:
    linear-gradient(165deg, rgba(31, 49, 76, 0.95) 0%, rgba(22, 36, 60, 0.92) 100%);
}

body[data-page="home"] .license-card.is-featured::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 128px;
  height: 128px;
  background: linear-gradient(135deg, rgba(72, 145, 255, 0.82), rgba(44, 118, 238, 0.84));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.34;
  pointer-events: none;
}

.hero,
.card,
.feature-demo,
.licenses,
.quick-start,
.roadmap,
.legal-doc,
.site-footer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-grad);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(24px, 5vw, 48px);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1 {
  margin: 12px 0;
  font-size: clamp(30px, 5.7vw, 58px);
  line-height: 1.1;
  max-width: 12.5em;
}

.hero-copy {
  margin: 0;
  max-width: 50em;
  color: var(--muted);
}

.hero-points {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-action-link {
  text-decoration: none;
  color: #e6eefc;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.hero-action-link:hover {
  transform: translateY(-1px);
}

.hero-action-guide {
  font-size: 18px;
  font-weight: 560;
  letter-spacing: 0.01em;
  padding: 6px 8px;
  opacity: 0.94;
}

.hero-action-download {
  font-size: 18px;
  font-weight: 700;
  color: #eef5ff;
  padding: 12px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2a88ff 0%, #1b74ea 100%);
  box-shadow: 0 10px 28px rgba(42, 136, 255, 0.24);
}

.hero-action-buy {
  font-size: 18px;
  font-weight: 560;
  padding: 11px 30px;
  border-radius: 999px;
  border: 1px solid rgba(220, 230, 246, 0.38);
  background: rgba(9, 15, 24, 0.22);
}

.hero-action-buy:hover,
.hero-action-guide:hover {
  border-color: rgba(220, 230, 246, 0.58);
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 11px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-weight: 650;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #04161b;
  background: linear-gradient(135deg, var(--primary), #86f4e8);
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.85;
}

.section-head h2 {
  margin: 10px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

#license-order-note {
  margin-top: 8px;
  color: #ffd8ae;
  font-weight: 600;
}

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

.card {
  padding: 20px;
}

.card h2 {
  margin: 0;
  font-size: 20px;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.licenses,
.feature-demo,
.quick-start,
.roadmap {
  padding: clamp(20px, 4vw, 32px);
}

.feature-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.feature-demo .section-head {
  align-self: center;
}

.feature-demo-shell {
  margin-top: 0;
  margin-inline: 0;
  width: 100%;
  max-width: none;
  padding: 0;
}

.feature-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.feature-demo-card {
  min-width: 0;
  border: 1px solid rgba(170, 190, 220, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(6, 12, 20, 0.54);
}

.feature-demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 3024 / 1964;
  height: auto;
  background: #01050a;
  object-fit: cover;
}

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

.license-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background:
    linear-gradient(160deg, rgba(9, 17, 28, 0.7) 0%, rgba(8, 15, 26, 0.62) 100%);
}

.license-card-head {
  display: grid;
  gap: 10px;
}

.license-price-box {
  border: 1px solid rgba(106, 132, 168, 0.34);
  border-radius: 16px;
  padding: 14px;
  background:
    linear-gradient(155deg, rgba(17, 31, 51, 0.76) 0%, rgba(13, 24, 40, 0.72) 100%);
  display: grid;
  gap: 10px;
  min-height: 154px;
  align-content: start;
}

.license-price-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 6px;
  min-height: 82px;
}

.license-price-main {
  font-size: clamp(30px, 4.2vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #eff5ff;
  text-align: center;
}

.license-price-compare {
  color: #8ca0bc;
  font-size: 18px;
  line-height: 1.1;
  text-decoration: line-through;
  width: 100%;
  min-height: 0;
  white-space: nowrap;
  text-align: center;
}

.license-price-local {
  color: #c4d5eb;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.license-price-local:empty {
  display: none;
}

.license-price-compare:empty {
  display: none;
}

.license-price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  justify-content: center;
}

.license-settlement-note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  color: #8ca0bc;
}

.license-settlement-note:empty {
  display: none;
}

.license-price-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(165, 186, 214, 0.28);
  background: rgba(224, 235, 252, 0.08);
  color: #d4e2f6;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.2;
}

.license-media {
  height: 96px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6px 10px;
}

.license-media-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.license-media-icons-1 {
  gap: 0;
}

.license-media-icons-2 {
  gap: 0;
}

.license-media-icons-3 {
  gap: 0;
}

.license-media-icons-2 .license-media-image,
.license-media-icons-3 .license-media-image {
  position: relative;
  margin-left: -16px;
  filter: drop-shadow(0 4px 10px rgba(6, 12, 24, 0.34));
}

.license-media-icons-2 .license-media-image:first-child,
.license-media-icons-3 .license-media-image:first-child {
  margin-left: 0;
}

.license-media-icons-2 .license-media-image:nth-child(1) {
  z-index: 1;
  transform: translate(8px, 5px) scale(0.92) rotate(-8deg);
}

.license-media-icons-2 .license-media-image:nth-child(2) {
  z-index: 2;
  transform: translate(-5px, -4px) scale(1) rotate(6deg);
}

.license-media-icons-3 .license-media-image:nth-child(1) {
  z-index: 1;
  transform: translate(15px, 13px) scale(0.84) rotate(-13deg);
}

.license-media-icons-3 .license-media-image:nth-child(2) {
  z-index: 3;
  transform: translate(-1px, -9px) scale(0.98) rotate(2deg);
}

.license-media-icons-3 .license-media-image:nth-child(3) {
  z-index: 2;
  transform: translate(-14px, 8px) scale(0.9) rotate(9deg);
}

.license-media-image {
  width: 62px;
  height: 62px;
  object-fit: contain;
  opacity: 0.95;
}

body[data-page="home"] .license-card.is-featured .license-media {
  background:
    linear-gradient(180deg, rgba(106, 165, 255, 0.18) 0%, rgba(106, 165, 255, 0.08) 100%);
}

.license-badge {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(190, 208, 233, 0.24);
  background: rgba(214, 225, 243, 0.08);
  color: #cfddf1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.license-card h3 {
  margin: 0;
  font-size: 22px;
}

.license-card p {
  margin: 0;
  color: var(--muted);
}

.license-plan-desc {
  min-height: 72px;
}

.license-buy {
  margin-left: 0;
  margin-right: 0;
  width: 172px;
  max-width: 100%;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.placeholder {
  display: inline-flex;
  align-items: center;
  border: 1px dashed rgba(255, 179, 107, 0.7);
  color: #ffd0a2;
  border-radius: 8px;
  padding: 1px 8px;
  font-size: 13px;
}

.quick-start ol,
.quick-start ul,
.roadmap ul,
.legal-doc ol,
.legal-doc ul {
  padding-left: 1.2em;
}

.quick-start li,
.roadmap li,
.legal-doc li {
  margin: 8px 0;
}

.text-link {
  margin-top: 16px;
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 650;
}

.text-link:hover {
  text-decoration: underline;
}

.legal-shell {
  max-width: 920px;
}

.legal-doc {
  padding: clamp(20px, 4vw, 36px);
}

.legal-doc h1 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.legal-doc h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 30px);
}

.legal-doc h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: clamp(18px, 2.6vw, 24px);
}

.legal-doc p {
  color: #d3deef;
  margin: 10px 0;
}

.legal-doc code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.site-footer {
  margin-bottom: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 18px;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.footer-links a {
  color: #cbd9ef;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.footer-link-text {
  min-width: 0;
}

.selectable-email {
  user-select: all;
  -webkit-user-select: all;
}

.footer-links a:hover {
  border-color: rgba(44, 213, 196, 0.5);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .brand,
  .lang-area {
    justify-self: center;
  }

  .lang-area {
    justify-items: center;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .license-grid {
    grid-template-columns: 1fr;
  }

  .feature-demo {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    gap: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-action-download,
  .hero-action-buy {
    padding-inline: 22px;
  }

  .footer-links {
    gap: 8px;
  }
}
