:root {
  --bg: #041018;
  --bg-soft: #081b2b;
  --panel: rgba(9, 20, 34, 0.72);
  --line: rgba(98, 219, 255, 0.16);
  --text: #eaf7ff;
  --muted: #8eb1c9;
  --accent: #00d4ff;
  --accent-2: #00ffb2;
  --gold: #ffc86b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 212, 255, 0.16), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(0, 255, 178, 0.12), transparent 24%),
    linear-gradient(180deg, #040b13 0%, #07111b 40%, #02060a 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 26px 0 60px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(125, 228, 255, 0.18);
  border-radius: 18px;
  background: rgba(7, 16, 28, 0.78);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(125, 228, 255, 0.18);
  border-radius: 12px;
  background: rgba(7, 16, 28, 0.7);
  color: var(--muted);
  font-size: 13px;
}

.language-switcher select {
  border: 1px solid rgba(121, 214, 255, 0.18);
  border-radius: 10px;
  background: rgba(9, 17, 28, 0.9);
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
}

.language-switcher-inline {
  align-self: flex-start;
}

.hero-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding-top: 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.08;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions,
.download-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(121, 214, 255, 0.25);
  background: rgba(9, 17, 28, 0.9);
  color: #def7ff;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.btn.primary {
  border-color: rgba(0, 212, 255, 0.45);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.22), rgba(0, 122, 175, 0.12));
}

.btn.ghost {
  color: var(--muted);
}

.btn.wide {
  width: 100%;
}

.hidden {
  display: none;
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(121, 214, 255, 0.18);
  background: rgba(7, 15, 26, 0.58);
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.demo-shell,
.video-shell,
.feature-card,
.price-card,
.download-card,
.support-card {
  border: 1px solid rgba(125, 228, 255, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(9, 20, 34, 0.9), rgba(4, 10, 18, 0.7));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.video-shell {
  width: min(460px, 100%);
  padding: 18px;
}

.video-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.video-headline {
  font-size: 18px;
  font-weight: 700;
}

.video-meta {
  color: var(--muted);
  font-size: 12px;
}

.video-frame {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(121, 214, 255, 0.12);
  background: #030b12;
  box-shadow: inset 0 0 0 1px rgba(121, 214, 255, 0.04);
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
}

.video-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.video-points span {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(121, 214, 255, 0.14);
  background: rgba(7, 15, 26, 0.58);
  color: var(--muted);
  font-size: 12px;
}

.video-caption {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.demo-shell {
  width: min(520px, 100%);
  padding: 18px;
  overflow: hidden;
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.demo-dots {
  display: flex;
  gap: 8px;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(207, 231, 244, 0.45);
}

.demo-head-text {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-screen {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(0, 18, 34, 0.86), rgba(0, 7, 17, 0.92)),
    radial-gradient(circle at top right, rgba(0, 212, 255, 0.12), transparent 36%);
  border: 1px solid rgba(121, 214, 255, 0.1);
}

.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.toolbar-pill {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(121, 214, 255, 0.12);
  background: rgba(4, 15, 25, 0.7);
  color: var(--muted);
  font-size: 12px;
}

.toolbar-pill.accent {
  color: var(--accent-2);
}

.demo-app {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 14px;
}

.preview-stage,
.control-stage {
  display: grid;
  gap: 12px;
}

.preview-window,
.side-card,
.event-log {
  border-radius: 16px;
  border: 1px solid rgba(121, 214, 255, 0.12);
  background: rgba(4, 15, 25, 0.82);
}

.preview-window {
  padding: 12px;
}

.preview-titlebar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.title-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 25, 40, 0.9);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.title-chip.muted {
  color: var(--muted);
}

.title-chip.success {
  color: var(--accent-2);
}

.chart-area {
  position: relative;
  min-height: 262px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(121, 214, 255, 0.1);
  background:
    linear-gradient(rgba(121, 214, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 214, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 212, 255, 0.07), rgba(0, 10, 18, 0.22));
  background-size: 24px 24px, 24px 24px, auto;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(0, 212, 255, 0.1), transparent 18%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 178, 0.1), transparent 16%);
}

.chart-line {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 999px;
  transform-origin: left center;
}

.line-a {
  top: 154px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.12), rgba(0, 212, 255, 0.9) 22%, rgba(0, 255, 178, 0.8) 72%, rgba(0, 255, 178, 0.14));
  transform: rotate(-8deg) scaleX(0.76);
  animation: lineShiftA 8s ease-in-out infinite;
}

.line-b {
  top: 138px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.24) 20%, rgba(255, 200, 107, 0.88) 68%, rgba(255, 200, 107, 0));
  transform: rotate(7deg) scaleX(0.42);
  animation: lineShiftB 8s ease-in-out infinite;
}

.chart-candle {
  position: absolute;
  bottom: 40px;
  width: 14px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(0, 255, 178, 0.94), rgba(0, 171, 124, 0.4));
  box-shadow: 0 0 16px rgba(0, 255, 178, 0.16);
}

.chart-candle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -16px;
  width: 2px;
  height: calc(100% + 30px);
  transform: translateX(-50%);
  background: rgba(121, 214, 255, 0.42);
}

.candle-a {
  left: 56%;
  height: 44px;
  animation: candleMoveA 8s ease-in-out infinite;
}

.candle-b {
  left: 65%;
  height: 58px;
  animation: candleMoveB 8s ease-in-out infinite;
}

.candle-c {
  left: 74%;
  height: 74px;
  background: linear-gradient(180deg, rgba(255, 200, 107, 0.94), rgba(255, 122, 0, 0.4));
  box-shadow: 0 0 18px rgba(255, 200, 107, 0.18);
  animation: candleMoveC 8s ease-in-out infinite;
}

.price-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(3, 17, 29, 0.86);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.roi-box {
  position: absolute;
  right: 36px;
  top: 78px;
  width: 178px;
  height: 74px;
  border: 2px solid rgba(0, 212, 255, 0.82);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.12),
    0 0 24px rgba(0, 212, 255, 0.18);
  animation: roiSequence 8s ease-in-out infinite;
}

.roi-label {
  position: absolute;
  top: -15px;
  left: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #082133;
  color: var(--accent);
  font-size: 12px;
}

.scan-line {
  position: absolute;
  inset-inline: 8px;
  top: 8px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 178, 0.95), transparent);
  box-shadow: 0 0 16px rgba(0, 255, 178, 0.42);
  animation: scanMove 2.2s ease-in-out infinite;
}

.cursor-pointer {
  position: absolute;
  right: 26px;
  top: 152px;
  width: 18px;
  height: 18px;
  animation: cursorTrack 8s ease-in-out infinite;
}

.cursor-dot,
.cursor-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.cursor-dot {
  background: rgba(255, 200, 107, 0.96);
}

.cursor-ring {
  box-shadow: 0 0 0 0 rgba(255, 200, 107, 0.46);
  animation: cursorPing 1.9s infinite;
}

.voice-bubble,
.alert-toast {
  position: absolute;
  left: 16px;
  right: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.voice-bubble {
  bottom: 18px;
  background: rgba(0, 212, 255, 0.14);
  border: 1px solid rgba(0, 212, 255, 0.22);
  color: #c8f7ff;
}

.alert-toast {
  top: 18px;
  left: auto;
  right: 18px;
  width: 180px;
  background: rgba(255, 200, 107, 0.16);
  border: 1px solid rgba(255, 200, 107, 0.28);
  color: #ffe0a5;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.alert-flash {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(circle at center, rgba(255, 82, 82, 0.18), transparent 62%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.alert-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.alert-flash.is-visible {
  opacity: 1;
}

.event-log {
  padding: 12px 14px;
}

.log-line {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.32;
  transition: opacity 0.22s ease, color 0.22s ease;
}

.log-line.warning {
  color: var(--gold);
}

.log-line.is-active {
  opacity: 1;
  color: #d9f6ff;
}

.control-stage {
  align-content: start;
}

.side-card {
  padding: 14px;
  opacity: 0.48;
  transition: transform 0.22s ease, opacity 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.side-card-title {
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.side-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.side-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.side-card.warning {
  border-color: rgba(255, 200, 107, 0.24);
}

.side-card.is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.08);
}

.side-card.warning.is-active {
  border-color: rgba(255, 200, 107, 0.38);
  box-shadow: 0 12px 28px rgba(255, 200, 107, 0.08);
}

.timeline-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 21px;
  height: 2px;
  background: rgba(121, 214, 255, 0.16);
}

.timeline-fill {
  position: absolute;
  left: 10px;
  top: 21px;
  height: 2px;
  width: calc(100% - 20px);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.88), rgba(0, 255, 178, 0.8), rgba(255, 200, 107, 0.72));
  animation: timelineGrow 8s ease-in-out infinite;
}

.timeline-node {
  position: relative;
  padding-top: 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.timeline-node::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #0d2a3b;
  border: 2px solid rgba(121, 214, 255, 0.22);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.timeline-node.is-active::before {
  background: rgba(0, 212, 255, 0.82);
  border-color: rgba(0, 212, 255, 0.94);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.32);
}

.timeline-node.is-warning::before {
  background: rgba(255, 200, 107, 0.92);
  border-color: rgba(255, 200, 107, 0.98);
  box-shadow: 0 0 18px rgba(255, 200, 107, 0.3);
}

.workflow-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.workflow-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(4, 15, 25, 0.78);
  border: 1px solid rgba(121, 214, 255, 0.12);
  opacity: 0.48;
  transition: transform 0.22s ease, opacity 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.workflow-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.workflow-card.warning {
  border-color: rgba(255, 200, 107, 0.28);
}

.workflow-card.is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.08);
}

.workflow-card.warning.is-active {
  border-color: rgba(255, 200, 107, 0.38);
  box-shadow: 0 12px 28px rgba(255, 200, 107, 0.08);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.status-pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(4, 15, 25, 0.82);
  border: 1px solid rgba(121, 214, 255, 0.12);
  color: var(--muted);
  font-size: 12px;
}

.status-pill.accent {
  color: var(--accent-2);
}

.status-pill.warning {
  color: var(--gold);
}

.status-pill.is-active {
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 10px 24px rgba(0, 212, 255, 0.08);
}

@keyframes lineShiftA {
  0%, 100% { transform: rotate(-8deg) scaleX(0.76); opacity: 0.82; }
  50% { transform: rotate(-4deg) scaleX(0.88) translateY(-8px); opacity: 1; }
}

@keyframes lineShiftB {
  0%, 100% { transform: rotate(7deg) scaleX(0.42); opacity: 0.55; }
  50% { transform: rotate(2deg) scaleX(0.62) translateY(-10px); opacity: 1; }
}

@keyframes candleMoveA {
  0%, 100% { height: 44px; }
  50% { height: 52px; }
}

@keyframes candleMoveB {
  0%, 100% { height: 58px; }
  50% { height: 66px; }
}

@keyframes candleMoveC {
  0%, 100% { height: 74px; }
  50% { height: 88px; }
}

@keyframes scanMove {
  0%, 100% { top: 8px; opacity: 0.7; }
  50% { top: calc(100% - 12px); opacity: 1; }
}

@keyframes roiSequence {
  0%, 8% {
    transform: scale(0.2) translate(46px, 24px);
    opacity: 0;
  }
  14%, 100% {
    transform: scale(1) translate(0, 0);
    opacity: 1;
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 212, 255, 0.18),
      0 0 34px rgba(0, 212, 255, 0.22);
  }
}

@keyframes cursorTrack {
  0%, 10% { right: 118px; top: 162px; opacity: 0.4; }
  18%, 34% { right: 148px; top: 116px; opacity: 1; }
  40%, 100% { right: 38px; top: 146px; opacity: 0.9; }
}

@keyframes cursorPing {
  0% { box-shadow: 0 0 0 0 rgba(255, 200, 107, 0.42); }
  75% { box-shadow: 0 0 0 16px rgba(255, 200, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 200, 107, 0); }
}

@keyframes timelineGrow {
  0%, 8% { transform: scaleX(0.02); }
  24% { transform: scaleX(0.28); }
  48% { transform: scaleX(0.54); }
  70% { transform: scaleX(0.82); }
  100% { transform: scaleX(1); }
}

.section {
  padding: 30px 0 18px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head-with-lang {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
}

.feature-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.price-card {
  padding: 22px;
}

.feature-card h3,
.price-card .plan-name {
  margin: 0 0 12px;
  font-size: 20px;
}

.feature-card p,
.price-card ul,
.download-desc,
.support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.price-card ul {
  padding-left: 18px;
  margin-bottom: 18px;
}

.price-card.featured {
  border-color: rgba(255, 200, 107, 0.42);
  box-shadow: 0 18px 42px rgba(255, 173, 51, 0.12);
}

.plan-price {
  margin-bottom: 14px;
  font-size: 34px;
  font-weight: 800;
  color: var(--gold);
}

.price-unit {
  margin-left: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.download-card,
.support-card {
  padding: 22px;
}

.download-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.download-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.footer {
  padding: 26px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.legal-page {
  min-height: 100vh;
  padding-top: 48px;
  padding-bottom: 56px;
}

.legal-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
}

.legal-card {
  max-width: 920px;
  padding: 28px;
  border: 1px solid rgba(125, 228, 255, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(9, 20, 34, 0.9), rgba(4, 10, 18, 0.7));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.legal-card h2 {
  margin-top: 26px;
  margin-bottom: 14px;
  font-size: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card ul {
  margin: 0;
  padding-left: 22px;
}

.checkout-page {
  min-height: 100vh;
  padding-top: 48px;
  padding-bottom: 56px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-top: 28px;
}

.checkout-card {
  padding: 26px;
  border: 1px solid rgba(125, 228, 255, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(9, 20, 34, 0.92), rgba(4, 10, 18, 0.76));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.checkout-card h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.checkout-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.checkout-summary > div,
.order-row {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(125, 228, 255, 0.16);
  background: rgba(8, 20, 31, 0.72);
}

.checkout-summary strong,
.order-row strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.checkout-label,
.order-row span {
  color: var(--muted);
  font-size: 13px;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
}

.checkout-form span {
  color: var(--muted);
  font-size: 14px;
}

.checkout-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(125, 228, 255, 0.16);
  background: rgba(7, 19, 30, 0.88);
  color: var(--text);
  font: inherit;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.checkout-hint,
.checkout-footnote p {
  color: var(--muted);
  line-height: 1.8;
}

.checkout-hint {
  margin-top: 18px;
}

.checkout-hint[data-type="ok"] {
  color: #8ff3c5;
}

.checkout-hint[data-type="warn"] {
  color: #ffd08a;
}

.checkout-hint[data-type="error"] {
  color: #ff9c9c;
}

.order-panel {
  display: grid;
  gap: 12px;
  min-height: 240px;
}

.order-panel.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(125, 228, 255, 0.2);
  border-radius: 18px;
  background: rgba(8, 20, 31, 0.48);
  color: var(--muted);
}

.paypal-panel {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(125, 228, 255, 0.16);
  background: rgba(8, 20, 31, 0.66);
}

.paypal-panel-head {
  margin-bottom: 14px;
}

.paypal-buttons {
  min-height: 44px;
}

.paypal-buttons iframe {
  border-radius: 14px;
}

.checkout-footnote {
  margin-top: 22px;
}

.admin-page .hero-text {
  max-width: 920px;
}

.admin-shell {
  min-height: 100vh;
  padding-top: 48px;
  padding-bottom: 56px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.admin-head-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(125, 228, 255, 0.2);
  background: rgba(8, 20, 31, 0.75);
  color: var(--text);
}

.admin-login-card {
  max-width: 620px;
  margin-top: 24px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-top: 24px;
}

.admin-search {
  flex: 1;
}

.admin-search label {
  display: grid;
  gap: 8px;
}

.admin-search span {
  color: var(--muted);
  font-size: 14px;
}

.admin-search input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(125, 228, 255, 0.16);
  background: rgba(7, 19, 30, 0.88);
  color: var(--text);
  font: inherit;
}

.admin-overview-grid {
  margin-top: 18px;
}

.admin-overview-grid .checkout-summary {
  margin-bottom: 0;
}

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

.admin-panel {
  overflow: hidden;
}

.admin-panel h2 {
  margin-bottom: 14px;
}

.admin-panel-wide {
  grid-column: 1 / -1;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid rgba(125, 228, 255, 0.12);
  border-radius: 16px;
}

.admin-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: rgba(8, 20, 31, 0.45);
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(125, 228, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  background: rgba(7, 18, 29, 0.95);
  position: sticky;
  top: 0;
  z-index: 1;
}

.admin-table td {
  font-size: 14px;
}

.admin-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-small {
  padding: 9px 12px;
  min-height: auto;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero-main,
  .feature-grid,
  .pricing-grid,
  .checkout-layout,
  .download-card,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .language-switcher,
  .language-switcher-inline {
    width: 100%;
    justify-content: space-between;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .video-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-app {
    grid-template-columns: 1fr;
  }

  .timeline-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }

  .timeline-fill {
    display: none;
  }

  .roi-box {
    right: 18px;
    width: 148px;
  }

  .download-card {
    align-items: flex-start;
  }

  .section-head-with-lang {
    flex-direction: column;
  }

  .admin-head,
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
