:root {
  color-scheme: dark;
  --bg: #05080b;
  --panel: rgba(8, 18, 23, 0.78);
  --panel-solid: #0a1418;
  --line: rgba(130, 247, 231, 0.18);
  --text: #effdfa;
  --muted: #96aaa8;
  --cyan: #45e9ff;
  --mint: #70f5b2;
  --amber: #ffbd59;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 18%, rgba(69, 233, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 16% 72%, rgba(112, 245, 178, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  overflow-x: hidden;
}

body.has-pointer {
  cursor: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.cursor-core,
.cursor-ring,
.cursor-trail,
.pointer-spotlight {
  pointer-events: none;
  position: fixed;
  z-index: 100;
}

.cursor-core {
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(112, 245, 178, 0.9), 0 0 34px rgba(69, 233, 255, 0.45);
  transform: translate3d(-50%, -50%, 0);
}

.cursor-ring {
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(69, 233, 255, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(69, 233, 255, 0.22) inset;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.cursor-ring.is-hovering {
  width: 64px;
  height: 64px;
  border-color: rgba(112, 245, 178, 0.95);
}

.cursor-trail {
  left: 0;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(69, 233, 255, 0.72);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.7);
  animation: trailFade 620ms ease-out forwards;
}

.pointer-spotlight {
  inset: 0;
  z-index: 5;
  background: radial-gradient(
    360px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(69, 233, 255, 0.105),
    rgba(112, 245, 178, 0.045) 32%,
    transparent 68%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.25s ease;
}

body.has-pointer .pointer-spotlight {
  opacity: 1;
}

.noise-layer,
.scan-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
}

.noise-layer {
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: driftGrid 18s linear infinite;
}

.scan-layer {
  background: linear-gradient(180deg, transparent 0%, rgba(69, 233, 255, 0.08) 50%, transparent 100%);
  height: 30vh;
  top: -30vh;
  animation: scan 7s ease-in-out infinite;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(5, 8, 11, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.ticker,
.terminal-bar,
.contact-strip {
  display: flex;
  align-items: center;
}

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

.brand {
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(69, 233, 255, 0.22), rgba(112, 245, 178, 0.1));
  box-shadow: 0 0 28px rgba(69, 233, 255, 0.28);
  color: var(--mint);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: #c8d7d5;
  font-size: 14px;
}

.nav-links a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(69, 233, 255, 0.6);
}

.nav-cta,
.lang-toggle,
.primary-btn,
.secondary-btn,
.plan button,
.chat-form button {
  border: 0;
  border-radius: 6px;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 700;
}

.nav-cta,
.primary-btn,
.plan button,
.chat-form button {
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  color: #031315;
  box-shadow: 0 0 30px rgba(69, 233, 255, 0.24);
}

.lang-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  min-width: 58px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 130px clamp(20px, 7vw, 92px) 88px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.04);
  animation: heroFloat 14s ease-in-out infinite;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.94) 0%, rgba(5, 8, 11, 0.72) 39%, rgba(5, 8, 11, 0.16) 74%),
    linear-gradient(180deg, rgba(5, 8, 11, 0.05), #05080b 96%);
}

.matrix-rain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(90deg, transparent 0 90%, rgba(69, 233, 255, 0.3) 91% 92%, transparent 93%),
    repeating-linear-gradient(180deg, rgba(112, 245, 178, 0.18) 0 2px, transparent 2px 18px);
  background-size: 92px 160px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
  animation: dataFall 5.4s linear infinite;
}

.hero-content {
  position: relative;
  width: min(860px, 100%);
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 rgba(112, 245, 178, 0.8);
  animation: pulse 1.6s infinite;
}

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

h1 {
  margin-bottom: 22px;
  font-family: "Space Grotesk", "Noto Sans TC", sans-serif;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 620px;
  color: #c5d5d3;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.disclaimer {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(197, 213, 211, 0.68);
  font-size: 12px;
  line-height: 1.7;
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
}

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

.ticker {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.ticker span {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(69, 233, 255, 0.2);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(5, 14, 18, 0.68);
  color: #d8fffa;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}

.ticker span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  translate: -120% 0;
  animation: shimmer 3s infinite;
}

.stats-band,
.section,
.terminal-section,
.contact-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  transform: translateY(-36px);
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.stat {
  min-height: 126px;
  padding: 24px;
  background: rgba(8, 18, 23, 0.9);
}

.stat span {
  display: block;
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
  font-weight: 700;
}

.stat small {
  color: var(--muted);
}

.section,
.terminal-section {
  padding: 74px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.feature-grid,
.plan-grid,
.safety-grid,
.article-grid,
.payment-layout {
  display: grid;
  gap: 18px;
}

.feature-grid,
.article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.safety-grid {
  grid-template-columns: repeat(4, 1fr);
}

.plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card,
.plan,
.terminal-panel,
.safety-item,
.article-card,
.bank-card,
.purchase-form {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(12, 29, 34, 0.88), rgba(5, 12, 15, 0.82));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.feature-card,
.plan,
.safety-item,
.article-card,
.bank-card,
.purchase-form {
  padding: 28px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.plan {
  display: flex;
  flex-direction: column;
}

.feature-card,
.plan,
.terminal-panel,
.contact-strip,
.safety-item,
.article-card,
.bank-card,
.purchase-form {
  --card-x: 50%;
  --card-y: 50%;
}

.feature-card::before,
.plan::before,
.terminal-panel::before,
.safety-item::before,
.article-card::before,
.bank-card::before,
.purchase-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(69, 233, 255, 0.14), transparent);
  translate: -120% 0;
  transition: translate 0.6s ease;
}

.feature-card::after,
.plan::after,
.terminal-panel::after,
.contact-strip::after,
.safety-item::after,
.article-card::after,
.bank-card::after,
.purchase-form::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(
    220px circle at var(--card-x) var(--card-y),
    rgba(69, 233, 255, 0.16),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.22s ease;
}

.feature-card:hover::after,
.plan:hover::after,
.terminal-panel:hover::after,
.contact-strip:hover::after,
.safety-item:hover::after,
.article-card:hover::after,
.bank-card:hover::after,
.purchase-form:hover::after {
  opacity: 1;
}

.feature-card:hover,
.plan:hover,
.safety-item:hover,
.article-card:hover,
.bank-card:hover,
.purchase-form:hover {
  transform: translateY(-8px);
  border-color: rgba(69, 233, 255, 0.48);
  box-shadow: 0 24px 70px rgba(69, 233, 255, 0.12);
}

.feature-card:hover::before,
.plan:hover::before,
.terminal-panel:hover::before,
.safety-item:hover::before,
.article-card:hover::before,
.bank-card:hover::before,
.purchase-form:hover::before {
  translate: 120% 0;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(112, 245, 178, 0.28);
  color: var(--mint);
  font-family: "Space Grotesk", sans-serif;
}

.feature-card p,
.plan p,
.terminal-copy p,
.section-heading p,
.safety-item p,
.article-card p,
.contact-strip p,
.bank-note,
.form-status {
  color: var(--muted);
  line-height: 1.75;
}

.section-heading .preorder-highlight {
  color: #ff9f1c;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(255, 159, 28, 0.42);
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 42px;
  padding: 42px;
  border-top: 1px solid rgba(112, 245, 178, 0.34);
  background: rgba(5, 13, 16, 0.76);
}

.footer-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.footer-heading h2 {
  margin: 8px 0 12px;
  font-size: 32px;
}

.footer-heading p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

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

.footer-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(69, 233, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.footer-grid h3 {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bottom a {
  color: var(--accent);
  font-weight: 800;
}

.safety-grid {
  grid-template-columns: repeat(4, 1fr);
}

.safety-item strong,
.article-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--mint);
  font-family: "Space Grotesk", sans-serif;
}

.article-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card h3 {
  margin-bottom: 18px;
}

.payment-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.split-access-layout {
  align-items: start;
}

.single-form-layout {
  display: grid;
  max-width: 720px;
}

.bank-card h3,
.purchase-form h3 {
  margin-bottom: 22px;
}

.alpha-slots {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 159, 28, 0.55);
  background: rgba(255, 159, 28, 0.09);
  color: #ffbd59;
  font-size: 0.92rem;
  font-weight: 700;
}

.alpha-slots strong {
  color: #ff9f1c;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.alpha-slots strong.is-full {
  color: #ff6b6b;
}

.alpha-slots small {
  color: var(--muted);
  font-weight: 600;
}

.intent-options {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.intent-option,
.acknowledgement {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(69, 233, 255, 0.22);
  background: rgba(255, 255, 255, 0.035);
}

.intent-option {
  position: relative;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.intent-option:has(input:checked) {
  border-color: rgba(95, 242, 178, 0.95);
  background:
    linear-gradient(135deg, rgba(95, 242, 178, 0.18), rgba(69, 233, 255, 0.08)),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    0 0 0 1px rgba(95, 242, 178, 0.55),
    0 0 24px rgba(95, 242, 178, 0.22);
  transform: translateY(-1px);
}

.intent-option:has(input:checked)::after {
  content: "Selected";
  position: absolute;
  top: 12px;
  right: 12px;
  color: #5ff2b2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intent-option:has(input:checked) strong {
  color: #5ff2b2;
}

.intent-option input,
.acknowledgement input {
  width: auto;
  min-width: 18px;
  margin-top: 4px;
}

.intent-option strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.intent-option small,
.acknowledgement span {
  color: var(--muted);
  line-height: 1.65;
}

.acknowledgement.is-muted {
  opacity: 0.72;
}

.preorder-note {
  margin: 18px 0;
  padding: 18px;
  border-left: 3px solid #ff9f1c;
  background: rgba(255, 159, 28, 0.08);
}

.preorder-note h4 {
  margin-bottom: 10px;
  color: #ffbd59;
}

.preorder-note p + p {
  margin-top: 10px;
}

.bank-transfer-btn {
  background: linear-gradient(90deg, var(--cyan), var(--mint)) !important;
}

.purchase-steps {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding-left: 22px;
}

.compact-steps {
  gap: 8px;
  margin-bottom: 16px;
}

.purchase-steps li {
  padding-left: 6px;
  color: var(--text);
  line-height: 1.75;
}

.purchase-form {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-copy {
  display: grid;
  gap: 12px;
}

.emphasis-note {
  color: var(--mint);
  font-weight: 900;
}

.form-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.checkout-note {
  margin-top: 4px;
  font-size: 0.9rem;
}

.purchase-form label {
  display: grid;
  gap: 8px;
  color: #c8d7d5;
  font-weight: 700;
}

.purchase-form input,
.purchase-form select,
.purchase-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 12px;
  outline: 0;
}

.purchase-form select option {
  background: #0a1418;
  color: var(--text);
}

.purchase-form textarea {
  min-height: 96px;
  resize: vertical;
}

.purchase-form input:focus,
.purchase-form select:focus,
.purchase-form textarea:focus {
  border-color: rgba(69, 233, 255, 0.55);
}

.form-status {
  margin: 0;
}

.form-status.is-success {
  color: var(--mint);
}

.form-status.is-error {
  color: var(--danger);
}

.terminal-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 42px;
}

.terminal-panel {
  min-height: 410px;
  padding: 0 0 28px;
}

.terminal-bar {
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
}

.terminal-bar span:nth-child(2) {
  background: var(--amber);
}

.terminal-bar span:nth-child(3) {
  background: var(--mint);
}

.terminal-bar strong {
  margin-left: 10px;
  color: #c8d7d5;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}

.terminal-lines {
  padding: 24px;
  font-family: "Space Grotesk", "Noto Sans TC", sans-serif;
}

.terminal-lines p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: #dff8f5;
}

.terminal-lines span {
  color: var(--cyan);
}

.waveform {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 88px;
  margin: 0 24px;
  padding: 20px;
  border: 1px solid rgba(69, 233, 255, 0.13);
  background: rgba(69, 233, 255, 0.04);
}

.waveform i {
  flex: 1;
  min-width: 12px;
  background: linear-gradient(180deg, var(--cyan), var(--mint));
  animation: bars 1.25s ease-in-out infinite;
}

.waveform i:nth-child(2n) {
  animation-delay: -0.3s;
}

.waveform i:nth-child(3n) {
  animation-delay: -0.7s;
}

.plan strong {
  display: block;
  margin: 18px 0 24px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
}

.plan-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 20px;
  color: #d8e8e5;
  line-height: 1.65;
}

.plan-list li::marker {
  color: var(--mint);
}

.plan button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  text-align: center;
  width: 100%;
}

.featured-plan {
  border-color: rgba(112, 245, 178, 0.52);
  background: linear-gradient(145deg, rgba(8, 38, 35, 0.96), rgba(5, 12, 15, 0.9));
}

.contact-strip {
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 110px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(69, 233, 255, 0.14), rgba(112, 245, 178, 0.08), rgba(255, 189, 89, 0.1));
}

.contact-strip h2 {
  margin-bottom: 0;
}

.guide-shell {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0 90px;
}

.guide-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.guide-back {
  display: inline-flex;
  color: var(--mint);
  font-weight: 700;
}

.guide-article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 13, 16, 0.84);
  padding: clamp(24px, 5vw, 58px);
  box-shadow: var(--shadow);
}

.guide-article h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
}

.guide-article h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.guide-article p {
  color: #c5d5d3;
  line-height: 1.9;
}

.guide-lead {
  font-size: 20px;
}

.guide-cta {
  margin-top: 42px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(69, 233, 255, 0.12), rgba(112, 245, 178, 0.08));
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
}

.chat-launcher {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(112, 245, 178, 0.5);
  border-radius: 999px;
  background: rgba(5, 18, 18, 0.88);
  color: var(--text);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42), 0 0 30px rgba(112, 245, 178, 0.2);
  backdrop-filter: blur(18px);
}

.chat-launcher span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 13, 16, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.chat-widget.is-open .chat-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-panel header,
.chat-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.chat-panel header {
  justify-content: space-between;
}

.chat-panel small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.chat-support-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #70f5b2;
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-support-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  content: "";
}

.chat-support-status.is-offline {
  color: #8ea09d;
}

.chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 22px;
}

.chat-messages {
  display: grid;
  gap: 10px;
  min-height: 220px;
  max-height: 320px;
  overflow: auto;
  padding: 16px;
}

.chat-messages p {
  width: fit-content;
  max-width: 86%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: #eaf8f6;
  line-height: 1.55;
}

.chat-messages .bot {
  background: rgba(69, 233, 255, 0.12);
  border: 1px solid rgba(69, 233, 255, 0.16);
}

.chat-messages .user {
  justify-self: end;
  background: rgba(112, 245, 178, 0.13);
  border: 1px solid rgba(112, 245, 178, 0.18);
}

.chat-faq {
  max-height: 220px;
  overflow: auto;
  padding: 0 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-faq-title {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 0 8px;
  background: rgba(5, 13, 16, 0.96);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.chat-faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-faq summary {
  cursor: pointer;
  padding: 10px 0;
  color: #eaf8f6;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.chat-faq summary::marker {
  color: var(--accent);
}

.chat-faq p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.chat-form {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.chat-form input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0 12px;
  outline: 0;
}

.chat-form input:focus {
  border-color: rgba(69, 233, 255, 0.55);
}

@keyframes driftGrid {
  to {
    background-position: 42px 42px;
  }
}

@keyframes scan {
  0%, 100% {
    transform: translateY(0);
    opacity: 0;
  }
  15%, 75% {
    opacity: 1;
  }
  100% {
    transform: translateY(140vh);
  }
}

@keyframes heroFloat {
  0%, 100% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.06) translate3d(1.2%, -1%, 0);
  }
}

@keyframes dataFall {
  to {
    background-position: 0 160px;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(112, 245, 178, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(112, 245, 178, 0);
  }
}

@keyframes shimmer {
  45%, 100% {
    translate: 120% 0;
  }
}

@keyframes bars {
  0%, 100% {
    height: 22%;
  }
  50% {
    height: 96%;
  }
}

@keyframes trailFade {
  0% {
    opacity: 0.8;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.08);
  }
}

@media (max-width: 860px) {
  body.has-pointer {
    cursor: auto;
  }

  .cursor-core,
  .cursor-ring,
  .cursor-trail,
  .pointer-spotlight {
    display: none;
  }

  .topbar {
    position: sticky;
    padding: 14px 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding: 70px 20px 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 8, 11, 0.92), rgba(5, 8, 11, 0.6)),
      linear-gradient(180deg, rgba(5, 8, 11, 0.05), #05080b 96%);
  }

  .stats-band,
  .feature-grid,
  .plan-grid,
  .safety-grid,
  .article-grid,
  .footer-grid,
  .payment-layout,
  .terminal-section {
    grid-template-columns: 1fr;
  }

  .stats-band {
    transform: none;
    margin-top: 28px;
  }

  .section,
  .terminal-section {
    padding: 58px 0;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    width: calc(100% - 36px);
    padding: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav-cta {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  .stat {
    min-height: 104px;
  }

  .feature-card,
  .plan {
    padding: 22px;
  }

  .chat-widget {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
