:root {
  --bg: #06101d;
  --bg-soft: #0b1a2c;
  --panel: rgba(10, 20, 37, 0.82);
  --panel-strong: rgba(7, 14, 27, 0.95);
  --line: rgba(76, 137, 255, 0.28);
  --text: #f3f7ff;
  --muted: #99abc4;
  --blue: #51b8ff;
  --blue-strong: #2b77ff;
  --gold: #ffbf4a;
  --gold-soft: rgba(255, 191, 74, 0.18);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(39, 110, 255, 0.18), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(255, 191, 74, 0.14), transparent 20%),
    linear-gradient(180deg, #04101d 0%, #071423 50%, #030915 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent);
  pointer-events: none;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 22px;
  border: 1px solid rgba(114, 168, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 14, 26, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand,
.nav a,
.btn {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: "Orbitron", sans-serif;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(7, 14, 27, 0.92);
  border: 1px solid rgba(101, 162, 255, 0.22);
  box-shadow: 0 0 24px rgba(81, 184, 255, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.topbar-actions,
.nav,
.lang-switcher,
.hero-actions,
.hero-stats,
.pricing-grid,
.offer-gallery,
.feature-grid,
.config-panel,
.tool-layout,
.mini-feature-list,
.cta-actions {
  display: flex;
}

.topbar-actions {
  align-items: center;
  gap: 18px;
}

.nav {
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.lang-switcher {
  gap: 8px;
}

.lang-btn {
  border: 1px solid rgba(105, 164, 255, 0.25);
  background: rgba(14, 26, 46, 0.9);
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.lang-btn.active {
  color: white;
  background: linear-gradient(135deg, rgba(43, 119, 255, 0.9), rgba(81, 184, 255, 0.9));
}

.hero,
.section,
.cta-box {
  border: 1px solid rgba(114, 168, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 20, 37, 0.94), rgba(5, 11, 23, 0.94));
  box-shadow: var(--shadow);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.cta-box h2 {
  font-family: "Orbitron", sans-serif;
  line-height: 1.08;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  max-width: 16ch;
}

.hero-text,
.section-heading,
.feature-card p,
.tool-copy p,
.tool-note,
.cta-box p,
.price-card li,
.annual-line,
.bonus-line,
.legal-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  font-size: 1.05rem;
}

.hero-actions,
.hero-stats {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #2b77ff, #5bc9ff);
  color: white;
  box-shadow: 0 18px 36px rgba(43, 119, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(95, 156, 255, 0.24);
  color: white;
}

.stat-card,
.price-card,
.feature-card,
.support-box,
.tool-card,
.cta-box,
.offer-shot,
.terminal-box {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(101, 162, 255, 0.16);
  background: var(--panel);
}

.stat-card {
  min-width: 150px;
  padding: 16px 18px;
}

.stat-card strong {
  display: block;
  font-size: 1.4rem;
  color: var(--gold);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-visual-full {
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.9), rgba(3, 9, 21, 0.96));
  border: 1px solid rgba(101, 162, 255, 0.16);
}

.hero-visual img {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.logo-ribbon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.logo-ribbon span {
  text-align: center;
  padding: 14px 10px;
  border-radius: 999px;
  border: 1px solid rgba(101, 162, 255, 0.12);
  background: rgba(8, 18, 32, 0.76);
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 28px;
  border-radius: var(--radius-xl);
  margin-top: 22px;
}

section[id] {
  scroll-margin-top: 112px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.9rem);
  max-width: 17ch;
}

.pricing-grid,
.feature-grid,
.config-panel,
.tool-layout {
  gap: 18px;
}

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

.pricing-grid {
  align-items: stretch;
}

.flip-card {
  flex: 1;
  min-height: 560px;
  perspective: 1400px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  min-height: 560px;
  transform-style: preserve-3d;
  transition: transform 700ms ease;
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

.price-card {
  padding: 24px;
  height: 100%;
}

.flip-back {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  transform: rotateY(180deg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(101, 162, 255, 0.16);
  background: linear-gradient(180deg, rgba(9, 18, 34, 0.98), rgba(4, 10, 20, 0.98));
  overflow: hidden;
}

.featured-back {
  background:
    linear-gradient(180deg, rgba(18, 30, 53, 0.96), rgba(7, 14, 27, 0.96)),
    linear-gradient(135deg, rgba(81, 184, 255, 0.08), rgba(255, 191, 74, 0.06));
}

.flip-toggle {
  margin-top: 20px;
  border: 1px solid rgba(95, 156, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.package-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.package-actions .btn,
.package-actions .flip-toggle {
  margin-top: 0;
}

.buy-btn {
  min-width: 160px;
  border: none;
}

.flip-toggle.secondary {
  margin-top: 0;
}

.lang-image,
.lang-fallback {
  display: none;
}

.lang-image.active,
.lang-fallback.active {
  display: block;
}

.lang-image {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 18px;
}

.lang-fallback {
  min-height: 440px;
  padding: 26px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(81, 184, 255, 0.22), transparent 25%),
    linear-gradient(180deg, rgba(10, 20, 37, 0.95), rgba(5, 11, 23, 0.95));
  border: 1px solid rgba(101, 162, 255, 0.16);
}

.fallback-label {
  color: var(--gold);
  font-family: "Orbitron", sans-serif;
  font-size: 1.35rem;
}

.lang-fallback p:last-child {
  color: var(--muted);
  max-width: 34ch;
}

.featured {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 30, 53, 0.96), rgba(7, 14, 27, 0.96)),
    linear-gradient(135deg, rgba(81, 184, 255, 0.08), rgba(255, 191, 74, 0.06));
}

.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(81, 184, 255, 0.16), transparent 30%, rgba(255, 191, 74, 0.12));
  pointer-events: none;
}

.price-tag,
.price-card h3,
.feature-card h3,
.support-box h3,
.terminal-title,
.mini-feature strong {
  margin: 0 0 10px;
}

.price-tag {
  color: var(--blue);
  font-weight: 800;
}

.price-card h3,
.feature-card h3,
.support-box h3,
.terminal-title {
  font-size: 1.25rem;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-line strong,
.annual-line strong {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  font-family: "Orbitron", sans-serif;
}

.annual-line {
  margin: 8px 0 0;
  font-size: 1rem;
}

.bonus-line {
  margin-top: 6px;
  color: #e9cf91;
}

.price-card ul,
.support-box ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.price-card li + li,
.support-box li + li {
  margin-top: 10px;
}

.feature-grid {
  flex-wrap: wrap;
}

.feature-card {
  flex: 1 1 220px;
  padding: 22px;
}

.testimonial-card {
  min-height: 180px;
}

.testimonial-icon {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.config-panel {
  margin-top: 18px;
  align-items: stretch;
}

.terminal-box,
.support-box {
  flex: 1;
  padding: 22px;
}

pre {
  margin: 0;
  overflow: auto;
  font-family: "SFMono-Regular", Consolas, monospace;
  color: #bde98b;
  font-size: 0.95rem;
  line-height: 1.7;
}

.support-box ul {
  list-style: none;
  padding: 0;
}

.support-box li {
  color: var(--text);
  margin-top: 12px;
}

.tool-layout {
  align-items: center;
}

.tool-copy,
.tool-card {
  flex: 1;
}

.mini-feature-list {
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.tool-offer {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(101, 162, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 30, 53, 0.96), rgba(7, 14, 27, 0.96)),
    linear-gradient(135deg, rgba(81, 184, 255, 0.08), rgba(255, 191, 74, 0.06));
}

.tool-price-label {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.tool-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.tool-price-row strong {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  font-family: "Orbitron", sans-serif;
}

.tool-price-row span,
.tool-offer-text {
  color: var(--muted);
}

.tool-offer-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tool-offer-points span,
.tool-update-box {
  border-radius: 16px;
  border: 1px solid rgba(101, 162, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.broker-offer-box {
  margin-top: 0;
}

.tool-offer-points span {
  padding: 10px 14px;
  color: var(--text);
}

.mini-feature {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(101, 162, 255, 0.12);
}

.mini-feature span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.tool-card {
  padding: 22px;
}

.video-frame {
  border-radius: 20px;
  background: rgba(4, 8, 16, 0.92);
  border: 1px solid rgba(101, 162, 255, 0.16);
  overflow: hidden;
}

.tool-video {
  display: block;
  width: 100%;
  max-height: 560px;
  background: #02060d;
  pointer-events: none;
}

.tool-preview-image {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  background: #02060d;
}

.tool-note {
  margin: 0;
}

.tool-update-box {
  margin-top: 14px;
  padding: 18px;
}

.tool-update-title {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: "Orbitron", sans-serif;
}

.cta-section {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
}

.cta-box h2 {
  font-size: clamp(1.4rem, 2vw, 2.3rem);
  max-width: 18ch;
}

.cta-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.payment-modal[hidden] {
  display: none;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow-y: auto;
  padding: 16px 0;
}

.payment-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 7, 15, 0.78);
  backdrop-filter: blur(8px);
}

.payment-dialog {
  position: relative;
  width: min(720px, calc(100% - 24px));
  margin: 6vh auto;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(101, 162, 255, 0.16);
  background: linear-gradient(180deg, rgba(10, 20, 37, 0.98), rgba(5, 11, 23, 0.98));
  box-shadow: var(--shadow);
}

.payment-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(101, 162, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

.payment-text,
.wise-note,
.payment-footnote {
  color: var(--muted);
}

.payment-grid,
.payment-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.payment-grid {
  margin-top: 18px;
}

.payment-option {
  flex: 1 1 200px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(101, 162, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.payment-option strong {
  display: block;
  margin-top: 10px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
}

.payment-label {
  color: var(--blue);
  font-weight: 800;
}

.paypal-option {
  cursor: pointer;
}

.paypal-option:hover,
.paypal-option:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(81, 184, 255, 0.4);
  box-shadow: 0 18px 36px rgba(43, 119, 255, 0.18);
}

.payment-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2b77ff, #5bc9ff);
  color: white;
  font-weight: 800;
}

.payment-cta::after {
  content: "->";
}

.payment-actions {
  margin-top: 20px;
}

.payment-footnote {
  margin: 18px 0 0;
}

.legal-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(101, 162, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
}

.legal-card a {
  color: var(--blue);
  text-decoration: none;
}

.footer-note {
  padding: 8px 6px 0;
}

.footer-note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(153, 171, 196, 0.9);
  text-align: center;
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 28px;
  }

  section[id] {
    scroll-margin-top: 28px;
  }

  .topbar,
  .topbar-actions,
  .hero,
  .pricing-grid,
  .config-panel,
  .tool-layout,
  .cta-box {
    flex-direction: column;
  }

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

  .topbar {
    position: static;
    border-radius: 28px;
    align-items: stretch;
  }

  .topbar-actions,
  .nav {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual-full {
    min-height: 420px;
  }

  .logo-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    align-items: flex-start;
  }

  .payment-dialog {
    margin: 0 auto;
    padding: 22px;
    max-height: calc(100dvh - 24px);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .hero,
  .section,
  .cta-box {
    padding: 20px;
  }

  .topbar {
    padding: 18px 16px;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .logo-ribbon {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual-full {
    min-height: 560px;
  }

  .hero-visual img {
    object-position: center top;
  }

  .flip-card,
  .flip-card-inner {
    min-height: 620px;
  }

  .package-actions {
    flex-direction: column;
  }

  .payment-grid,
  .payment-actions {
    flex-direction: column;
  }

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

  .payment-modal {
    padding: 12px 0;
  }

  .payment-dialog {
    width: min(100% - 16px, 720px);
    padding: 18px;
    max-height: calc(100dvh - 16px);
  }

  .price-line,
  .annual-line {
    flex-direction: column;
    align-items: flex-start;
  }

}
