/* QuickQ VPN Landing Page - cloned from as6.uk */

:root {
  color-scheme: dark;
  --color-primary: #2171ff;
  --color-primary-content: #fff;
  --color-secondary: #00d1ff;
  --color-base-100: #000;
  --color-base-200: oklch(23.26% 0.014 253.1);
  --color-base-300: #011022;
  --color-base-content: oklch(97.807% 0.029 256.847);
  --header-h-mobile: 12.03vw;
  --header-h-desktop: 80px;
}

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

html {
  color: #fff;
  background: var(--color-base-300);
  font-family: ui-sans-serif, system-ui, sans-serif, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--color-base-300);
  min-height: 100vh;
  color: rgba(255, 255, 255, 0.87);
  line-height: 1.5;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 899;
}

.header-bar {
  width: 95.833%;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

@media (min-width: 768px) {
  .header-bar {
    width: 100%;
    border-radius: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .quickq-landing .site-header.is-scrolled .header-bar {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h-mobile);
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 4%;
}

@media (min-width: 768px) {
  .header-inner {
    height: var(--header-h-desktop);
    padding: 0 clamp(24px, 2.5vw, 48px);
    gap: 12px;
  }

  .logo-link {
    flex-shrink: 0;
    min-width: clamp(120px, 10vw, 180px);
  }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  transition: transform 0.3s;
}

.logo-link:hover {
  transform: translateX(4px);
}

.brand-logo {
  display: block;
  flex-shrink: 0;
  height: clamp(32px, 5vw, 40px);
  width: clamp(32px, 5vw, 40px);
  object-fit: contain;
  border-radius: 10px;
}

.logo-link img.brand-logo {
  height: clamp(32px, 5vw, 40px);
  width: clamp(32px, 5vw, 40px);
}

.brand-wordmark {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  white-space: nowrap;
}

.nav-links {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  font-size: 14px;
  color: #fff;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    max-width: none;
    margin-left: clamp(12px, 1.8vw, 28px);
  }

  .nav-links > li {
    flex: 0 0 auto;
    padding: 0 clamp(12px, 1.6vw, 24px);
  }
}

@media (min-width: 1200px) {
  .nav-links > li {
    padding: 0 clamp(16px, 2vw, 32px);
  }
}

.nav-links > li,
.nav-links > li > a {
  text-align: center;
  line-height: var(--header-h-desktop);
  cursor: pointer;
  transition: color 0.3s;
  position: relative;
  white-space: nowrap;
}

.nav-links > li:hover,
.nav-links > a:hover,
.nav-links > a.router-active {
  color: var(--color-primary);
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 140px;
  z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a,
.dropdown-menu .dropdown-item-btn {
  display: block;
  width: 100%;
  padding: 8px 20px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  text-align: left;
}

.dropdown-menu .dropdown-item-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.dropdown-menu a:hover,
.dropdown-menu .dropdown-item-btn:hover {
  color: var(--color-primary);
  background: rgba(33, 113, 255, 0.05);
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #052c57;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 32px;
  white-space: nowrap;
}

.telegram-btn:hover {
  color: var(--color-primary);
}

.telegram-btn svg {
  flex-shrink: 0;
}

.nav-more img {
  display: inline;
  width: 10px;
  margin-left: 2px;
  margin-bottom: 2px;
  vertical-align: middle;
}

.header-actions {
  display: none;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  margin-left: auto;
  flex-shrink: 0;
  min-width: clamp(200px, 18vw, 280px);
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }

  .header-actions .telegram-btn {
    display: inline-flex;
  }
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s, transform 0.3s, background 0.3s;
}

.lang-btn:hover {
  color: var(--color-primary);
  background: rgba(33, 113, 255, 0.1);
  transform: scale(1.08);
}

.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.account-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(33, 113, 255, 0.45);
}

.account-btn svg {
  width: 14px;
  height: auto;
}

.site-header.is-scrolled .header-bar {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (min-width: 768px) {
  .quickq-landing .site-header:not(.is-scrolled) .header-bar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.header-spacer {
  height: var(--header-h-mobile);
}

.header-spacer--hero {
  height: 0;
}

@media (min-width: 768px) {
  .header-spacer {
    height: var(--header-h-desktop);
  }

  .header-spacer--hero {
    height: 0;
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 8px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h-mobile);
  z-index: 898;
  background: rgba(0, 0, 0, 0.96);
  padding: 24px;
}

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

.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  padding: 16px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  color: #fff;
}

/* Sections */
.page-wrap {
  width: 100%;
  overflow-x: hidden;
  background: var(--color-base-300);
}

.section-title {
  font-size: clamp(24px, 8vw, 56px);
  font-weight: 700;
  text-align: center;
  margin: clamp(48px, 12vw, 96px) 0 clamp(24px, 6vw, 48px);
  opacity: 0;
  transform: translateX(-200px);
  transition: opacity 0.8s, transform 0.8s;
}

.section-title.visible {
  opacity: 1;
  transform: translateX(0);
}

.section-title .highlight {
  color: var(--color-primary);
}

.section-sub {
  text-align: center;
  font-size: clamp(12px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.6);
  max-width: 800px;
  margin: 0 auto 24px;
  padding: 0 20px;
  opacity: 0;
  transform: translateX(-300px);
  transition: opacity 0.8s 0.1s, transform 0.8s 0.1s;
}

.section-sub.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Hero Banner */
.hero-banner {
  width: 100%;
  position: relative;
  background: #000;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h-mobile));
}

.hero-mobile {
  display: block;
  position: relative;
}

.hero-desktop {
  display: none;
  position: relative;
}

.hero-mobile .hero-img--mobile {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 390 / 605;
  object-fit: cover;
  object-position: center top;
}

.hero-copy {
  z-index: 4;
}

.hero-copy--mobile {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(96px, 24vw, 168px);
  padding: 0 clamp(20px, 6vw, 32px);
  text-align: center;
}

.hero-copy--desktop {
  position: absolute;
  left: clamp(80px, 14vw, 260px);
  top: 38%;
  transform: translateY(-50%);
  z-index: 5;
  max-width: min(680px, 48vw);
  text-align: left;
}

.hero-title {
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: clamp(10px, 2.5vw, 16px);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(36px, 3.2vw, 60px);
    white-space: nowrap;
  }
}

.hero-title-sep {
  color: rgba(255, 255, 255, 0.85);
}

.hero-sub {
  font-size: clamp(11px, 3.2vw, 14px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: clamp(16px, 4vw, 24px);
}

@media (min-width: 768px) {
  .hero-sub {
    font-size: clamp(16px, 1.25vw, 24px);
    white-space: nowrap;
  }
}

.hero-copy[data-animate] {
  opacity: 1;
  transform: none;
}

.hero-copy--desktop .hero-title-line {
  opacity: 0;
  animation: hero-fade-up 0.9s ease forwards;
}

.hero-copy--desktop .hero-sub--typing {
  opacity: 0;
  animation: hero-fade-up 0.9s ease 0.25s forwards;
}

.hero-copy--desktop .hero-download-btn {
  opacity: 0;
  animation: hero-fade-up 0.9s ease 0.45s forwards;
}

.hero-download-btn {
  display: inline-flex;
}

.hero-download-btn .gradient-btn-inner {
  padding: clamp(10px, 1.2vw, 14px) clamp(24px, 2.5vw, 40px);
  font-size: clamp(14px, 1.1vw, 18px);
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-desktop-stage {
  position: relative;
  width: 100%;
  height: min(100vh, 1200px);
  min-height: clamp(420px, 56vw, 720px);
}

.hero-galaxy-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#hero-galaxy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.hero-lightning {
  position: absolute;
  z-index: 4;
  right: clamp(4%, 8vw, 10%);
  top: 48%;
  width: min(38vw, 460px);
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  filter: drop-shadow(0 0 28px rgba(33, 113, 255, 0.85)) drop-shadow(0 0 64px rgba(0, 180, 255, 0.45));
  animation: hero-lightning-pulse 4s ease-in-out infinite;
}

@keyframes hero-lightning-pulse {
  0%, 100% { opacity: 0.92; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.04); }
}

.hero-stats-bar {
  display: none;
}

@media (min-width: 768px) {
  .hero-banner {
    margin-top: calc(-1 * var(--header-h-desktop));
  }

  .hero-mobile {
    display: none;
  }

  .hero-desktop {
    display: block;
  }

  .hero-stats-bar {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    min-height: clamp(72px, 5.2vw, 100px);
    background: linear-gradient(90deg, #001021 0%, #032b8a 50%, #004187 100%);
  }

  .hero-stats-inner {
    width: 91.666%;
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: clamp(12px, 1vw, 16px) clamp(20px, 4.2vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .hero-stats-users {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(12px, 0.9vw, 16px);
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
  }

  .hero-stats-users strong {
    color: var(--color-primary);
    font-size: clamp(18px, 1.4vw, 28px);
    font-weight: 700;
  }

  .hero-stats-avatars {
    display: flex;
    align-items: center;
  }

  .hero-stats-avatars img {
    width: clamp(42px, 2.92vw, 56px);
    height: clamp(42px, 2.92vw, 56px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.85);
    object-fit: cover;
    margin-left: -14px;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .hero-stats-avatars img:first-child {
    margin-left: 0;
  }

  .hero-stats-metrics {
    display: flex;
    align-items: center;
    gap: clamp(20px, 9vw, 176px);
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .hero-stats-metrics li {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(11px, 0.75vw, 14px);
  }

  .hero-stat-num {
    color: #fff;
    font-size: clamp(18px, 1.5vw, 28px);
    font-weight: 700;
    line-height: 1.2;
  }

  .hero-stats-avatars img.avatar-flash {
    opacity: 0.4;
    transform: scale(0.92);
  }

  .hero-galaxy-wrap {
    will-change: transform;
    transition: transform 0.1s linear;
  }
}

/* Ambient glow (as6.uk dotseffect) */
.dotseffect {
  position: relative;
  isolation: isolate;
}

.dotseffect::before,
.dotseffect::after {
  content: "";
  position: absolute;
  width: min(40vw, 420px);
  height: min(40vw, 420px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at center, rgba(32, 113, 255, 0.45), rgba(32, 113, 255, 0.25), rgba(32, 113, 255, 0.08), transparent 80%);
  filter: blur(80px);
}

.dotseffect::before {
  left: 0;
  top: 0;
  transform: translate(-35%, -25%);
}

.dotseffect::after {
  right: 0;
  bottom: 0;
  transform: translate(35%, 35%);
}

.dotseffect > * {
  position: relative;
  z-index: 1;
}

/* Floating support */
.float-kefu {
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 900;
  width: clamp(48px, 8vw, 64px);
  height: clamp(48px, 8vw, 64px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(33, 113, 255, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}

.float-kefu:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 32px rgba(33, 113, 255, 0.5);
}

.float-kefu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Map */
.map-section {
  width: 100%;
  padding: 16px 0 40px;
}

.map-top {
  display: none;
  text-align: center;
  padding: 0 20px 24px;
}

@media (min-width: 768px) {
  .map-top {
    display: block;
  }
}

.map-top h3,
.map-top p {
  opacity: 0;
  transform: translateX(-200px);
  transition: opacity 0.8s, transform 0.8s;
}

.map-top h3.visible,
.map-top p.visible {
  opacity: 1;
  transform: translateX(0);
}

.map-top h3 {
  font-size: clamp(16px, 3vw, 56px);
  font-weight: 800;
  margin-bottom: 8px;
}

.map-top p {
  font-size: clamp(12px, 1vw, 20px);
  color: rgba(255, 255, 255, 0.6);
  transform: translateX(-300px);
}

.map-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.map-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .map-scroll {
    overflow: hidden;
  }
}

.map-container {
  position: relative;
  width: 280vw;
  aspect-ratio: 24 / 10;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .map-container {
    width: 91.666%;
    max-width: 1200px;
  }
}

.map-container > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.map-grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
}

.map-dots {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.35s;
}

@media (min-width: 768px) {
  .map-dot {
    width: 12px;
    height: 12px;
  }
}

.map-dot-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-dot:hover {
  transform: translate(-50%, -50%) scale(1.35);
}

.map-dot.active {
  z-index: 20;
}

.map-dot .dot-core {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #93c5fd, #3b82f6);
  box-shadow: 0 0 12px rgba(33, 113, 255, 0.6);
}

.map-dot.active .dot-core {
  transform: scale(1.5);
}

.map-dot .dot-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-primary);
}

.map-dot.active .dot-pulse {
  animation: coreBreath 1.8s ease-in-out infinite;
}

.map-dot.active .dot-pulse-blur {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-primary);
  filter: blur(4px);
  animation: coreBreath 1.8s ease-in-out infinite;
}

.map-dot.active .ripple {
  position: absolute;
  inset: -40px;
  pointer-events: none;
}

.map-dot.active .ripple-wave {
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-primary), 0 0 14px var(--color-primary);
  animation: rippleWave 3.2s cubic-bezier(0.25, 0.55, 0.35, 1) infinite;
}

.map-dot.active .ripple-wave:nth-child(2) {
  animation-delay: 0.4s;
}

.map-dot.active .ripple-wave:nth-child(3) {
  animation-delay: 0.8s;
}

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

@keyframes rippleWave {
  0% { opacity: 0; transform: scale(0.05); }
  15% { opacity: 0.75; transform: scale(0.15); }
  45% { opacity: 0.48; transform: scale(0.5); }
  70% { opacity: 0.28; transform: scale(0.85); }
  90% { opacity: 0.14; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.25); }
}

.map-tooltip {
  position: absolute;
  z-index: 30;
  min-width: 240px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #2071ff;
  background: linear-gradient(135deg, rgba(13, 39, 68, 0.96) 0%, rgba(10, 30, 53, 0.96) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 18px));
}

.map-tooltip-head {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(32, 113, 255, 0.2);
}

.map-tooltip-city {
  color: var(--color-primary);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.map-tooltip-country {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.map-tooltip-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.map-tooltip-ok {
  color: #34d399;
  font-weight: 600;
}

/* Streaming media wall */
.stream-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0;
  background: #000b1d;
}

@media (min-width: 768px) {
  .stream-section {
    aspect-ratio: 24 / 11;
  }
}

.stream-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.8);
  transform-origin: center center;
  will-change: transform;
}

@media (min-width: 768px) {
  .stream-bg {
    background-size: contain;
  }
}

.stream-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  padding: 0 clamp(16px, 4vw, 32px);
  text-align: center;
  pointer-events: none;
  opacity: 0.35;
  transform: translateY(18px);
}

.stream-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent 0%, rgba(10, 50, 119, 0.82) 50%, transparent 100%);
  pointer-events: none;
}

.stream-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 0.6vw, 8px);
  max-width: min(760px, 88vw);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.stream-tags {
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.stream-title {
  margin: 0;
  font-size: clamp(18px, 1.98vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.stream-desc {
  margin: 0;
  font-size: clamp(12px, 0.85vw, 16px);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.stream-actions {
  display: flex;
  justify-content: center;
  pointer-events: auto;
  padding-top: clamp(8px, 1.5vw, 20px);
}

.stream-actions .gradient-btn-inner {
  font-size: clamp(12px, 1.1vw, 16px);
  padding: clamp(8px, 1.2vw, 12px) clamp(18px, 2.5vw, 32px);
}

/* Gradient Button */
.gradient-btn {
  position: relative;
  display: inline-block;
  border-radius: 999px;
  overflow: hidden;
  padding: 2px;
  transition: transform 0.3s;
}

.gradient-btn:hover {
  transform: scale(1.02);
}

.gradient-btn::before {
  content: "";
  position: absolute;
  inset: -200px;
  background: conic-gradient(from 180deg at 50% 50%, rgba(0, 209, 255, 0) 0deg, rgba(0, 209, 255, 0) 153.75deg, #00d1ff 345deg, rgba(0, 209, 255, 0) 360deg);
  animation: spinBtn 2s linear infinite;
}

@keyframes spinBtn {
  to { transform: rotate(360deg); }
}

.gradient-btn-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 40px);
  font-size: clamp(12px, 3.125vw, 20px);
  font-weight: 500;
  white-space: nowrap;
}

.gradient-btn-inner svg {
  width: clamp(12px, 2vw, 16px);
  height: auto;
  flex-shrink: 0;
}

.btn-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

/* Banner sections */
.banner-section {
  width: 100%;
  position: relative;
}

.banner-section .banner-img {
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}

.banner-section .banner-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.banner-section .banner-img[data-parallax] {
  will-change: transform;
}

.banner-section .btn-center {
  margin-top: -6vw;
  margin-bottom: 8vw;
}

@media (min-width: 768px) {
  .banner-section .btn-center {
    margin-top: -40px;
    margin-bottom: 60px;
  }
}

/* Features */
.features-section {
  position: relative;
  width: 100%;
  aspect-ratio: 24 / 7;
  margin-top: 4vw;
  padding-top: 22vw;
}

@media (min-width: 768px) {
  .features-section {
    margin-top: 0;
    padding-top: clamp(40px, 4vw, 80px);
    aspect-ratio: auto;
    min-height: 600px;
  }
}

.features-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.features-bg::before,
.features-bg::after {
  content: "";
  position: absolute;
  width: 10vw;
  height: 10vw;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.features-bg::before {
  left: 0;
  top: 0;
  transform: translate(-50%, -20%);
  background: radial-gradient(circle at center, rgba(32, 113, 255, 0.46), rgba(32, 113, 255, 0.33), rgba(32, 113, 255, 0.15), transparent 80%);
}

.features-bg::after {
  right: 0;
  bottom: 0;
  transform: translate(45%, 50%);
  background: radial-gradient(circle at center, rgba(32, 113, 255, 0.46), rgba(32, 113, 255, 0.33), rgba(32, 113, 255, 0.15), transparent 80%);
}

.features-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}

.feature-item {
  flex: 0 0 33.333%;
  max-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 10px;
  cursor: pointer;
}

.feature-icon-wrap {
  position: relative;
  border-radius: 50%;
  padding: 1px;
  background: transparent;
  transition: background 0.3s;
}

.feature-item:hover .feature-icon-wrap,
.feature-item.active .feature-icon-wrap {
  background: linear-gradient(var(--angle, 125deg), #2071ff, #001021);
}

@property --angle {
  syntax: "<angle>";
  initial-value: 125deg;
  inherits: false;
}

.feature-item:hover .feature-icon-wrap,
.feature-item.active .feature-icon-wrap {
  animation: rotateAngle 3s linear infinite;
}

@keyframes rotateAngle {
  to { --angle: 485deg; }
}

.feature-avatar {
  width: clamp(50px, 10vw, 70px);
  height: clamp(50px, 10vw, 70px);
  border-radius: 50%;
  background: #011022;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.feature-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(52%) sepia(96%) saturate(501%) hue-rotate(196deg) brightness(105%) contrast(101%);
}

.feature-item:hover .feature-avatar img,
.feature-item.active .feature-avatar img {
  filter: brightness(0) saturate(100%) invert(35%) sepia(39%) saturate(4214%) hue-rotate(209deg) brightness(99%) contrast(104%);
}

.feature-label {
  font-size: clamp(12px, 3.125vw, 15px);
  text-align: center;
  white-space: nowrap;
}

.features-section .btn-center {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  margin-bottom: 40px;
}

/* Social proof + review marquee */
.social-proof-section {
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 0 clamp(64px, 10vw, 100px);
  overflow: hidden;
  background: var(--color-base-300);
}

.social-proof-section .section-title {
  margin-bottom: clamp(16px, 3vw, 32px);
}

.reviews-marquee {
  width: 100%;
  overflow: hidden;
  margin: clamp(24px, 4vw, 48px) 0 clamp(32px, 5vw, 56px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.reviews-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
  gap: 0;
  animation: reviews-marquee 120s linear infinite;
  will-change: transform;
}

.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

@keyframes reviews-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.review-card {
  flex: 0 0 auto;
  width: clamp(280px, 78vw, 380px);
  min-height: clamp(220px, 58vw, 280px);
  margin: 0 clamp(10px, 1.2vw, 16px);
  padding: clamp(16px, 1.4vw, 22px);
  background: #041d47;
  border: 1px solid #14346d;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  font-size: clamp(13px, 0.9vw, 16px);
  line-height: 1.65;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

@media (min-width: 768px) {
  .review-card {
    width: clamp(260px, 19.79vw, 380px);
    min-height: 0;
    aspect-ratio: 380 / 280;
  }
}

.review-card:hover {
  border-color: #2071ff;
  box-shadow: 0 0 28px rgba(32, 113, 255, 0.22);
  transform: translateY(-2px);
}

.review-card-top {
  flex: 1;
  min-height: 0;
}

.review-content {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(14px, 1.2vw, 18px);
  padding-top: clamp(10px, 1vw, 14px);
  border-top: 1px solid rgba(20, 52, 109, 0.6);
}

.review-user {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 14px);
  min-width: 0;
  flex: 1;
}

.review-user img {
  width: clamp(40px, 2.92vw, 56px);
  height: clamp(40px, 2.92vw, 56px);
  border-radius: 50%;
  border: 2px solid #2071ff;
  object-fit: cover;
  flex-shrink: 0;
}

.review-user-meta {
  min-width: 0;
}

.review-name {
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.review-desc {
  font-size: clamp(11px, 0.85vw, 12px);
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.review-badge {
  flex-shrink: 0;
  background: #000;
  color: #fff;
  font-size: clamp(11px, 0.75vw, 13px);
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.3s, color 0.3s;
}

.review-badge:hover {
  color: var(--color-primary);
  transform: scale(1.08);
}

.user-avatars {
  display: flex;
  justify-content: center;
  margin: 24px 0 16px;
  min-height: clamp(32px, 8vw, 44px);
}

.user-avatars img {
  width: clamp(32px, 8vw, 44px);
  height: clamp(32px, 8vw, 44px);
  border-radius: 50%;
  border: 2px solid #011022;
  margin-left: -10px;
  object-fit: cover;
  transition: transform 0.42s ease, opacity 0.42s ease;
}

.user-avatars img:first-child {
  margin-left: 0;
}

.user-avatars.is-rotating img {
  transition: transform 0.42s ease, opacity 0.42s ease, margin 0.42s ease;
}

.social-proof-text {
  font-size: clamp(12px, 3vw, 16px);
  color: rgba(255, 255, 255, 0.5);
  padding: 0 20px;
}

/* Footer */
.site-footer {
  background: var(--color-base-100);
  padding-top: clamp(32px, 8vw, 64px);
}

.footer-inner {
  width: 91.666%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(48px, 8vw, 120px);
    width: 83.333%;
  }
}

.footer-logo {
  display: none;
  justify-content: center;
  width: 25%;
}

@media (min-width: 1024px) {
  .footer-logo {
    display: flex;
  }
}

.footer-logo img.brand-logo--footer {
  height: 56px;
  width: 56px;
  border-radius: 14px;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-wordmark--footer {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary);
}

.footer-brand {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
}

.footer-slogan {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  flex: 1;
  padding-bottom: 24px;
}

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: 1fr;
    max-width: 220px;
    gap: 32px;
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .footer-links {
    margin-left: 0;
    justify-self: start;
  }
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-col li {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
  cursor: pointer;
  transition: color 0.3s;
}

.footer-col li:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 32px;
  padding: 64px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: center;
  }
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s;
}

.footer-socials a:hover {
  transform: scale(1.05);
}

.footer-socials svg {
  width: 32px;
  height: 32px;
}

.max-w-page {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

/* Auth modal */
body.auth-modal-open {
  overflow: hidden;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-modal[hidden] {
  display: none !important;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.auth-modal-panel {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(180deg, #1a1f2e 0%, #0f1219 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.auth-modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  text-align: center;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 4px;
}

.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  height: 40px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.auth-tab.active {
  background: var(--color-primary);
  color: #fff;
}

.auth-field {
  display: block;
  margin-bottom: 14px;
}

.auth-field span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.auth-field input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.auth-error {
  color: #ff6b6b;
  font-size: 13px;
  margin: 0 0 12px;
}

.auth-submit {
  width: 100%;
  margin-top: 8px;
}

.auth-submit .gradient-btn-inner {
  width: 100%;
  justify-content: center;
}

.auth-user-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.auth-user-name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.auth-user-email {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

.auth-user-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0 0 16px;
}

.auth-logout-btn {
  width: 100%;
  margin-top: 12px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-family: inherit;
}

.mobile-auth-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 24px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
}

button.review-badge {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Content pages */
.content-page-wrap {
  min-height: 50vh;
  padding: 48px 20px 80px;
}

article.content-page {
  max-width: 800px;
  margin: 0 auto;
}

.content-page-title {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin: 0 0 24px;
}

.content-page-lead {
  color: rgba(255, 255, 255, 0.7);
  margin: -12px 0 32px;
}

.content-page-body {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  font-size: 16px;
}

.content-page-body a {
  color: var(--color-primary);
}

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

.download-card {
  display: block;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s, border-color 0.25s;
}

.download-card--button {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 113, 255, 0.45);
}

.download-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.download-card-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin: 0 0 16px;
}

.download-card-btn {
  pointer-events: none;
}

.site-notice-panel {
  text-align: center;
}

.site-notice-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px;
}
