/* =========================================================
   LUMA PRODUCT — Minimal Black & Electric Blue Design System
   ========================================================= */

:root {
  --bg: #03050a;
  --bg-elev: #070c16;
  --surface: #0a1120;
  --surface-hover: #0e182c;
  --surface-glass: rgba(8, 13, 24, 0.78);

  --blue-900: #0f2557;
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-200: #93c5fd;

  --text: #f8fafc;
  --text-soft: #94a3b8;
  --text-muted: #64748b;

  --border: rgba(255, 255, 255, 0.08);
  --border-blue: rgba(59, 130, 246, 0.28);
  --border-strong: rgba(96, 165, 250, 0.52);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  line-height: 1.55;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font-family: inherit;
}

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

.tabular {
  font-variant-numeric: tabular-nums;
}

/* Crisp Lucide Stroke Icons */
.lucide {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.lucide-sm {
  width: 14px;
  height: 14px;
}

.lucide-lg {
  width: 18px;
  height: 18px;
}

/* Top Scroll Progress Line (GPU transform-only, 60fps) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  z-index: 200;
  will-change: transform;
}

/* Lightweight Static Ambient Canvas (0% idle GPU repaint) */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(62% 48% at 50% -6%, rgba(37, 99, 235, 0.24) 0%, transparent 72%),
    radial-gradient(40% 38% at 92% 45%, rgba(29, 78, 216, 0.14) 0%, transparent 70%),
    radial-gradient(36% 36% at 8% 88%, rgba(59, 130, 246, 0.11) 0%, transparent 72%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 15%, #000 15%, transparent 80%);
}

/* Container */
.container {
  width: min(1220px, calc(100% - 36px));
  margin-inline: auto;
}

/* Header (zero heavy backdrop blur during scroll) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(3, 5, 10, 0.94);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-header.scrolled {
  background: rgba(3, 5, 10, 0.98);
  border-bottom-color: rgba(59, 130, 246, 0.24);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.brand-icon-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-wordmark span {
  color: var(--blue-300);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--text);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 3px;
  gap: 2px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.pill-btn:hover {
  color: var(--text);
}

.pill-btn.active {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.45);
}

.btn-header-tg,
.btn-account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid var(--border-blue);
  color: var(--blue-200);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-account {
  background: #0b1426;
  border-color: var(--border-blue);
  color: var(--text);
}

.btn-account.logged-in {
  background: rgba(37, 99, 235, 0.22);
  border-color: var(--blue-400);
  color: #fff;
}

.account-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-300);
  display: none;
}

.btn-account.logged-in .account-dot {
  display: inline-block;
  background: #34d399;
}

.btn-header-tg:hover,
.btn-account:hover {
  background: var(--blue-500);
  border-color: var(--blue-400);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(5, 8, 15, 0.96);
  padding: 16px 18px 20px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.mobile-drawer-links a {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  font-weight: 700;
  font-size: 0.92rem;
}

/* Shared Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 800;
  border-radius: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border-color: rgba(147, 197, 253, 0.28);
  padding: 14px 26px;
  font-size: 0.96rem;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.2) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-ghost {
  background: rgba(10, 17, 32, 0.85);
  border-color: var(--border);
  color: var(--text);
  padding: 14px 24px;
  font-size: 0.96rem;
}

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.84rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 74px 0 56px;
  text-align: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-200);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  animation: pulseOpacity 2s ease-in-out infinite;
}

@keyframes pulseOpacity {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hero-title {
  margin: 0 auto 20px;
  max-width: 920px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-title .accent {
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 42%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 auto 30px;
  max-width: 650px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.hero-rate-line {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 42px;
}

.hero-rate-line strong {
  color: var(--blue-300);
}

/* Dual Hero Product Quick Cards */
.hero-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(180deg, rgba(11, 18, 33, 0.95) 0%, rgba(6, 10, 19, 0.98) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.24s var(--ease-out);
}

.hero-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-blue);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-200);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-card-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.hero-card-price span {
  color: var(--blue-300);
  font-size: 1.05rem;
}

.hero-card-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.hero-card-desc {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.hero-card-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
  background: #020408;
  aspect-ratio: 16 / 10;
}

.hero-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s var(--ease-out);
}

.hero-card:hover .hero-card-thumb img {
  transform: scale(1.025);
}

.hero-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Section Typography */
.section {
  padding: 68px 0;
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-300);
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-sub {
  margin: 0;
  max-width: 520px;
  color: var(--text-soft);
  font-size: 0.96rem;
}

/* Product Showcase Sections */
.product-block {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 36px;
  background: linear-gradient(165deg, rgba(10, 17, 32, 0.94) 0%, rgba(4, 7, 14, 0.98) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.product-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.75), transparent);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 32px;
  align-items: start;
}

.product-grid.reversed .product-gallery-col {
  order: 2;
}

.product-grid.reversed .product-info-col {
  order: 1;
}

.product-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.product-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  letter-spacing: -0.04em;
}

.product-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--blue-200);
}

.product-lead {
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 0.96rem;
}

/* Feature List inside Product */
.feature-pills {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.feature-item:hover {
  border-color: rgba(59, 130, 246, 0.28);
  background: rgba(37, 99, 235, 0.06);
}

.feature-dot {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.36);
  color: var(--blue-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-item > div strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.feature-item > div span {
  display: block;
  font-size: 0.83rem;
  color: var(--text-soft);
  line-height: 1.42;
}

/* Interactive Screenshot Gallery */
.gallery-card {
  border-radius: var(--radius-lg);
  background: #04070e;
  border: 1px solid rgba(59, 130, 246, 0.22);
  padding: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 36px rgba(37, 99, 235, 0.09);
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.gallery-tab:hover {
  color: var(--text);
  border-color: var(--border-blue);
}

.gallery-tab.active {
  background: var(--blue-500);
  border-color: var(--blue-400);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.gallery-stage {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #020409;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}

.gallery-stage.run-stage {
  aspect-ratio: 16 / 10;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.2s ease, transform 0.28s var(--ease-out);
  will-change: opacity, transform;
}

.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.gallery-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(3, 5, 10, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--blue-200);
  font-size: 0.72rem;
  font-weight: 700;
  pointer-events: none;
}

.gallery-caption {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-caption strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.gallery-caption p {
  margin: 0;
  font-size: 0.81rem;
  color: var(--text-soft);
}

/* Tariff Selector inside Product */
.tariff-box-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 18px;
}

.tariff-card {
  position: relative;
  text-align: left;
  padding: 12px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.22s var(--ease-out);
}

.tariff-card:hover {
  border-color: var(--border-blue);
  background: rgba(37, 99, 235, 0.07);
}

.tariff-card.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(15, 37, 87, 0.35));
  border-color: var(--blue-400);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.3), 0 10px 24px rgba(37, 99, 235, 0.2);
}

.tariff-card.span-2 {
  grid-column: 1 / -1;
}

.tariff-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.tariff-dur {
  font-weight: 800;
  font-size: 0.9rem;
}

.tariff-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--blue-500);
  color: #fff;
}

.tariff-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue-200);
}

.tariff-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.buy-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Price Change Pulse Animation */
.price-flash {
  animation: pricePop 0.32s var(--ease-out);
}

@keyframes pricePop {
  0% { opacity: 0.45; transform: translateY(-2px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Bento Advantages Strip */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.28s var(--ease-out), border-color 0.28s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-blue);
}

.bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.bento-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bento-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-300);
}

.bento-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Payments Section (3 active + 2 in development cleanly balanced) */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.pay-region-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(10, 17, 32, 0.94), rgba(5, 8, 16, 0.98));
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), border-color 0.22s ease;
}

.pay-region-card.pay-span-3 {
  grid-column: span 3;
}

.pay-region-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-400);
}

.pay-region-card.is-wip {
  opacity: 0.78;
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.26);
}

.pay-region-card.is-wip:hover {
  opacity: 0.95;
  border-color: rgba(96, 165, 250, 0.4);
}

.pay-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pay-card-top .pay-flag {
  margin-bottom: 0;
}

.wip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fcd34d;
  white-space: nowrap;
}

.method-wip-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.32);
  color: #fcd34d;
}

.method-btn.is-wip {
  opacity: 0.7;
  border-style: dashed;
}

.pay-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.flag-svg {
  width: 28px;
  height: 20px;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.flag-svg.crypto-icon {
  width: 26px;
  height: 26px;
  box-shadow: none;
}

.funpay-icon-card {
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.34);
  object-fit: contain;
}

.funpay-icon-sm {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.method-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.method-head .flag-svg {
  width: 20px;
  height: 14px;
  border-radius: 3px;
}

.method-head .flag-svg.crypto-icon {
  width: 18px;
  height: 18px;
}

.pay-region-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

.pay-region-card p {
  margin: 0 0 12px;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.pay-chip-list {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pay-chip {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.24);
  color: var(--blue-200);
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.open {
  border-color: var(--border-blue);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  font-size: 0.96rem;
  cursor: pointer;
}

.faq-plus {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  transition: transform 0.28s var(--ease-out), background 0.25s ease;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  background: var(--blue-500);
  color: #fff;
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease-out);
}

.faq-item.open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body-inner {
  overflow: hidden;
}

.faq-body-inner p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 46px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--blue-300);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Checkout & Lightbox Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(2, 4, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: #060a14;
  border: 1px solid var(--border-blue);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.92);
  padding: 26px;
  transform: translateY(10px) scale(0.985);
  transition: transform 0.22s var(--ease-out);
  will-change: transform;
}

.modal-panel.wide {
  width: min(740px, 100%);
}

.modal-backdrop.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.32rem;
  letter-spacing: -0.025em;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 1.15rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #fff;
  border-color: var(--border-blue);
}

.modal-summary {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(59, 130, 246, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.modal-summary-prod {
  font-weight: 800;
  font-size: 1rem;
}

.modal-summary-plan {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.modal-summary-price {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--blue-200);
}

.modal-summary-eq {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.modal-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.modal-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.method-btn {
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.method-btn:hover {
  border-color: var(--border-blue);
}

.method-btn.active {
  background: rgba(37, 99, 235, 0.18);
  border-color: var(--blue-400);
}

.method-btn strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
}

.method-btn span {
  display: block;
  font-size: 0.73rem;
  color: var(--text-soft);
}

.modal-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #040812;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.2s ease;
}

.modal-input:focus {
  border-color: var(--blue-400);
}

.modal-note {
  margin: 0 0 16px;
  font-size: 0.8rem;
  color: var(--text-soft);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-actions {
  display: grid;
  gap: 8px;
}

/* Lightbox Modal */
.lightbox-panel {
  position: relative;
  width: min(1060px, 100%);
  border-radius: var(--radius-lg);
  background: #050912;
  border: 1px solid var(--border-blue);
  padding: 16px;
}

.lightbox-panel img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.lightbox-nav {
  display: flex;
  gap: 8px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 16px);
  padding: 11px 18px;
  border-radius: 12px;
  background: #0b162b;
  border: 1px solid var(--blue-400);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
  z-index: 220;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Account & Cabinet UI */
.account-banner {
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.82rem;
}

.account-banner strong {
  color: #fff;
}

.account-banner span {
  color: var(--text-soft);
}

.cab-user-card {
  padding: 16px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(59, 130, 246, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.cab-user-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
}

.cab-user-meta span {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.cab-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.cab-item {
  padding: 14px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.cab-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.cab-status {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--blue-200);
}

.cab-status.paid,
.cab-status.active {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.38);
  color: #6ee7b7;
}

.cab-status.pending,
.cab-status.unused {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.34);
  color: #fcd34d;
}

.cab-status.banned,
.cab-status.expired {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.38);
  color: #fca5a5;
}

.cab-key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #040812;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue-200);
  margin: 8px 0;
  word-break: break-all;
}

.cab-meta-line {
  font-size: 0.78rem;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cab-bind-row {
  display: flex;
  gap: 8px;
}

.cab-bind-row .modal-input {
  margin-bottom: 0;
}

.cab-empty {
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  font-size: 0.86rem;
  color: var(--text-soft);
}

.cab-dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Reveal Animations (fast GPU-only, never traps blocks) */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.38s ease-out, transform 0.38s var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Performance containment for below-the-fold sections */
#payments,
#faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

/* Responsive */
@media (max-width: 1020px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-grid.reversed .product-gallery-col,
  .product-grid.reversed .product-info-col {
    order: initial;
  }

  .bento-grid,
  .payments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pay-region-card,
  .pay-region-card.pay-span-3 {
    grid-column: span 1;
  }
}

@media (max-width: 820px) {
  .header-nav,
  .btn-header-tg {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-products-grid {
    grid-template-columns: 1fr;
  }

  .product-block {
    padding: 22px;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(1220px, calc(100% - 24px));
  }

  .curr-code,
  .brand-sub,
  .acc-label-long {
    display: none;
  }

  .btn-account {
    height: 33px;
    padding: 0 9px;
    font-size: 0.74rem;
    max-width: 96px;
  }

  #accountBtnLabel {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-inner {
    min-height: 62px;
    gap: 8px;
  }

  .header-controls {
    gap: 6px;
  }

  .header-controls .pill-switch {
    padding: 2px;
  }

  .pill-btn {
    padding: 5px 7px;
    font-size: 0.72rem;
  }

  .mobile-menu-btn {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 44px 0 36px;
  }

  .bento-grid,
  .payments-grid,
  .tariff-grid,
  .modal-methods {
    grid-template-columns: 1fr;
  }

  .pay-region-card,
  .pay-region-card.pay-span-3 {
    grid-column: span 1;
  }

  .buy-row,
  .cab-bind-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Floating Live Chat Widget */
.live-chat-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 65;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.live-chat-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.38);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.live-chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.5);
}

.lc-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.live-chat-panel {
  width: 350px;
  height: 440px;
  background: #070b14;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.live-chat-panel.open {
  display: flex;
}

.lc-head {
  padding: 13px 14px;
  background: #0b1222;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lc-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
}
.lc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}
.lc-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--text-soft);
  margin-top: 2px;
}

.lc-thread-bar {
  padding: 7px 12px;
  background: rgba(37, 99, 235, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lc-thread-chip {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.lc-thread-chip.active {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(59, 130, 246, 0.5);
  color: #fff;
}

.lc-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lc-msg {
  display: flex;
  flex-direction: column;
  max-width: 84%;
}
.lc-msg.user { align-self: flex-end; align-items: flex-end; }
.lc-msg.admin { align-self: flex-start; align-items: flex-start; }
.lc-msg.system { align-self: center; align-items: center; max-width: 94%; }
.lc-bubble {
  padding: 8px 12px;
  border-radius: 13px;
  font-size: 0.82rem;
  line-height: 1.42;
  white-space: pre-wrap;
  word-break: break-word;
}
.lc-msg.user .lc-bubble {
  background: #2563eb;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.lc-msg.admin .lc-bubble {
  background: #10182d;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.lc-msg.system .lc-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-soft);
  font-size: 0.74rem;
  text-align: center;
  border-radius: 10px;
}
.lc-msg-img {
  display: block;
  max-width: 210px;
  max-height: 220px;
  border-radius: 9px;
  object-fit: cover;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lc-img-caption {
  margin-top: 6px;
}
.lc-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.lc-form {
  padding: 10px;
  background: #0b1222;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 8px;
  align-items: center;
}
.lc-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050811;
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  outline: none;
}
.lc-input:focus {
  border-color: #3b82f6;
}

@media (max-width: 520px) {
  .live-chat-dock {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
  .live-chat-panel {
    width: 100%;
    height: min(68dvh, 430px);
  }
}

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