:root {
  --bg: #080e1a;
  --bg-card: #0e1524;
  --bg-card-hover: #151e30;
  --bg-surface: #0b1220;
  --accent: #e6b54a;
  --accent-hover: #f2c766;
  --accent-dark: #c9982f;
  --accent-dim: rgba(230, 181, 74, 0.12);
  --accent-glow: rgba(230, 181, 74, 0.25);
  --text: #f5f7fa;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.04);
  --border-accent: rgba(230, 181, 74, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-full: 999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --header-h: 72px;
}
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #080e1a;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body > * {
  position: relative;
  z-index: 1;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: 0 0;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul {
  list-style: none;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
}
h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px;
}
.section-header {
  margin-bottom: 64px;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-desc {
  margin: 16px auto 0;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #e6b54a 0, #d4a03a 100%);
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  box-shadow: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #f0c45e 0, #e6b54a 100%);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: 0 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  background: rgba(8, 14, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition:
    background 0.3s,
    border-color 0.3s;
}
header.scrolled {
  background: rgba(8, 14, 26, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
header:has(.hamburger.active) {
  z-index: 103;
  background: 0 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #0f172a;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}
.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
nav {
  display: flex;
  gap: 36px;
}
nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--text);
  transition:
    width 0.3s ease,
    left 0.3s ease;
}
nav a:hover {
  color: var(--text);
}
nav a:hover::after {
  width: 100%;
  left: 0;
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: end;
}
.header-actions .btn-primary {
  padding: 10px 22px;
  font-size: 14px;
}
.header-actions .btn-ghost {
  padding: 10px 22px;
  font-size: 14px;
}
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: 0 0;
  border: none;
  width: 44px;
  height: 44px;
  z-index: 102;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.hamburger.active span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: 0 0;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  height: 100dvh;
  background: rgba(8, 14, 26, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 101;
  padding: 88px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.07) 0,
    transparent 70%
  );
  pointer-events: none;
}
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    color 0.3s ease;
}
.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a:hover {
  color: var(--accent);
}
.mobile-menu .divider {
  width: 40px;
  height: 1px;
  background: rgba(230, 181, 74, 0.2);
  margin: 8px auto;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.mobile-menu.active .divider {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.active > :first-child {
  transition-delay: 60ms;
}
.mobile-menu.active > :nth-child(2) {
  transition-delay: 0.12s;
}
.mobile-menu.active > :nth-child(3) {
  transition-delay: 0.18s;
}
.mobile-menu.active > :nth-child(4) {
  transition-delay: 0.24s;
}
.mobile-menu.active > :nth-child(5) {
  transition-delay: 0.3s;
}
.mobile-menu.active > :nth-child(6) {
  transition-delay: 0.36s;
}
.mobile-menu.active > :nth-child(7) {
  transition-delay: 0.42s;
}
.mobile-menu.active > :nth-child(8) {
  transition-delay: 0.48s;
}
.mobile-menu a[href*='dashboard'],
.mobile-menu a[href='/dashboard'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 700;
  color: #0a0f1a;
  background: linear-gradient(135deg, #d4af37, #e6b54a);
  border-radius: 16px;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.3s ease;
}
.mobile-menu a[href*='dashboard']:hover,
.mobile-menu a[href='/dashboard']:hover {
  color: #0a0f1a;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.3);
}
.mobile-lang {
  padding: 4px 0;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.mobile-menu.active .mobile-lang {
  opacity: 1;
  transform: translateY(0);
}
.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 12px 28px;
  background: 0 0;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}
.mobile-lang-btn img {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
}
.mobile-lang-btn .mlang-globe {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.lang-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lang-sheet-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lang-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--bg-card, #111827);
  border-radius: 20px 20px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 16px);
  max-height: 70vh;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0.24, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lang-sheet-overlay.open .lang-sheet {
  transform: translateY(0);
}
.lang-sheet-handle {
  display: flex;
  justify-content: center;
  padding: 12px 0 4px;
  flex-shrink: 0;
}
.lang-sheet-handle::after {
  content: '';
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.lang-sheet-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  padding: 4px 20px 14px;
  flex-shrink: 0;
}
.lang-sheet-list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 8px 8px;
  flex: 1;
}
.lang-sheet-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.15s;
}
.lang-sheet-item:active {
  background: rgba(255, 255, 255, 0.06);
}
.lang-sheet-item.active {
  color: var(--accent);
}
.lang-sheet-item-flag {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.lang-sheet-item-name {
  flex: 1;
  text-align: left;
}
.lang-sheet-item-check {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  flex-shrink: 0;
}
.lang-sheet-item.active .lang-sheet-item-check {
  opacity: 1;
}
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 80px) 24px 80px;
}
.hero-text h1 {
  margin-bottom: 32px;
  color: #fff;
}
.hero-text h1 .line2,
.hero-text h1 br + .accent {
  font-weight: 400;
  color: #a8b8cc;
}
.hero-text h1 .accent {
  color: var(--accent);
  font-weight: 800;
}
.hero-text p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 48px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-mockup {
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 800px;
}
.hero-mockup::before {
  display: none;
}
.mockup-phone {
  width: 280px;
  background: linear-gradient(180deg, #111928, #0e1524);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
  will-change: transform;
}
.mockup-notch {
  width: 100px;
  height: 6px;
  background: var(--bg);
  border-radius: 4px;
  margin: 0 auto 24px;
}
.mockup-screen {
  text-align: center;
  padding: 8px 12px 20px;
}
.mockup-app-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.mockup-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}
.mockup-status span {
  font-size: 14px;
  font-weight: 500;
  color: #22c55e;
}
.mockup-speed {
  margin-bottom: 32px;
}
.mockup-speed .speed-value {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  color: #fff;
}
.mockup-speed .speed-unit {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.mockup-connect {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  cursor: default;
}
.mockup-server {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
}
.flag-img {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}
.flag-img-sm {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 2px;
}
.server-name .flag-img-sm + .flag-img-sm {
  margin-left: 4px;
}
section {
  padding: 120px 24px;
}
.features {
  max-width: var(--container);
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 36px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  box-shadow: var(--shadow-card);
}
.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--border-accent);
  transition: transform 0.3s ease;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.feature-card h3 {
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.interface {
  max-width: var(--container);
  margin: 0 auto;
}
.interface-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.interface-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.3s ease;
  box-shadow: var(--shadow-card);
}
.interface-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}
.interface-card .card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.interface-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.interface-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.interface-card .card-visual {
  margin-top: 24px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
}
.mini-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.mini-toggle .toggle-track {
  width: 40px;
  height: 22px;
  background: var(--accent);
  border-radius: 11px;
  position: relative;
}
.mini-toggle .toggle-track::after {
  content: '';
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  right: 2px;
}
.mini-toggle span {
  font-size: 13px;
  color: var(--text-secondary);
}
.mini-server-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.mini-server-row:last-child {
  border-bottom: none;
}
.mini-server-row .server-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-server-row .server-ping {
  color: #22c55e;
  font-weight: 500;
}
.mini-stat {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.mini-stat:last-child {
  margin-bottom: 0;
}
.mini-stat .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}
.mini-stat .stat-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.use-cases {
  max-width: var(--container);
  margin: 0 auto;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  box-shadow: var(--shadow-card);
}
.case-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.case-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 14px;
  border: 1px solid var(--border-accent);
}
.case-icon svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.case-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.case-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.pricing {
  max-width: var(--container);
  margin: 0 auto;
}
.pricing-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-card);
}
.pricing-tab {
  flex: 1;
  padding: 10px 24px;
  border: none;
  background: 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition:
    background 0.3s ease,
    color 0.3s ease;
  font-family: inherit;
}
.pricing-tab.active {
  background: var(--accent);
  color: #0f172a;
}
.pricing-tab:not(.active):hover {
  color: var(--text);
}
.pricing-tab-content {
  display: none;
}
.pricing-tab-content.active {
  display: block;
  animation: fadeUp 0.4s ease-out;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.period-selector {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.period-chip {
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.period-chip.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.period-chip:not(.active):hover {
  border-color: var(--text-muted);
  color: var(--text);
}
.discount-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-card);
}
.price-card:hover {
  transform: translateY(-4px);
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 0 40px rgba(230, 181, 74, 0.08);
}
.price-card.featured::before {
  content: 'Популярный';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}
.price-card .card-devices {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.price-card .card-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.price-card .card-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.price-card .card-price {
  margin-bottom: 8px;
}
.price-card .card-price .amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.price-card .card-price .currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 2px;
}
.price-card .card-price.updating .amount {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.price-card .card-discount {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  min-height: 20px;
  margin-bottom: 28px;
}
.price-card .card-features {
  margin-bottom: 32px;
  text-align: left;
}
.price-card .card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.price-card .card-features li:last-child {
  border-bottom: none;
}
.price-card .card-features li svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}
.price-card .card-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: 0 0;
  color: var(--text);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
  display: block;
  text-align: center;
}
.price-card .card-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}
.price-card.featured .card-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #0f172a;
}
.price-card.featured .card-btn:hover {
  background: var(--accent-hover);
}
.wl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.wl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 28px;
  text-align: center;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  box-shadow: var(--shadow-card);
  position: relative;
}
.wl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.08);
}
.wl-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.wl-card.featured::before {
  content: 'Выгодный';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}
.wl-card .wl-devices {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.wl-card .wl-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.wl-card .wl-period {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.wl-card .wl-days {
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.wl-card .wl-price {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 4px;
}
.wl-card .wl-price .cur {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}
.wl-card .wl-traffic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--accent-dim);
  border: 1px solid rgba(230, 181, 74, 0.15);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin: 16px 0 28px;
}
.wl-card .wl-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: 0 0;
  color: var(--text);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
  display: block;
  text-align: center;
}
.wl-card .wl-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}
.wl-card.featured .wl-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #0f172a;
}
.wl-card.featured .wl-btn:hover {
  background: var(--accent-hover);
}
.traffic-addon {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(230, 181, 74, 0.12);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  box-shadow: var(--shadow-card);
}
.traffic-addon .addon-label {
  color: var(--text-secondary);
}
.traffic-addon .addon-value {
  font-weight: 700;
  color: var(--accent);
}
.pricing-note {
  text-align: center;
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 13px;
}
.pricing-note span {
  color: var(--accent);
}
footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  max-width: var(--container);
  margin: 0 auto;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-telegram {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-telegram a {
  color: var(--accent);
  transition: opacity 0.3s ease;
}
.footer-telegram a:hover {
  opacity: 0.8;
}
.dl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dl-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.dl-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px 28px;
  max-width: 440px;
  width: 92%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.dl-overlay.active .dl-modal {
  transform: none;
}
.dl-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: 0 0;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.dl-close:hover {
  color: var(--text);
}
.dl-modal h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
}
.dl-modal > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dl-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
  text-align: center;
}
.dl-card:hover {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.dl-card svg {
  width: 28px;
  height: 28px;
  fill: var(--text-secondary);
  transition: fill 0.2s;
}
.dl-card:hover svg {
  fill: var(--accent);
}
.dl-card .dc-name {
  font-size: 14px;
  font-weight: 600;
}
.dl-card .dc-status {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.dl-card.available .dc-status {
  color: var(--accent);
}
.dl-card.dl-main {
  grid-column: span 2;
  flex-direction: row;
  justify-content: center;
  gap: 14px;
  background: var(--accent-dim);
  border-color: var(--border-accent);
}
.dl-card.dl-main svg {
  width: 32px;
  height: 32px;
  fill: var(--accent);
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.15s;
}
.reveal-delay-2 {
  transition-delay: 0.3s;
}
.reveal-delay-3 {
  transition-delay: 0.45s;
}
.feature-card:hover .feature-icon {
  transform: scale(1.05);
}
.case-icon {
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}
.case-card:hover .case-icon {
  transform: scale(1.05);
}
.section-label {
  position: relative;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}
.footer-telegram a,
.pricing-note span {
  position: relative;
}
.footer-telegram a::after,
.pricing-note span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dim);
}
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 60px) 24px 80px;
  min-height: 70vh;
}
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--header-h) + 60px);
  }
  .hero-text p {
    margin: 0 auto 40px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .interface-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .wl-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 32px;
  }
  .price-card.featured {
    box-shadow: none;
  }
  header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      var(--accent),
      rgba(212, 175, 55, 0.4),
      transparent
    );
    pointer-events: none;
  }
}
@media (max-width: 1024px) {
  header {
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
  }
  nav {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
@media (max-width: 768px) {
  section {
    padding: 80px 16px;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .hero-mockup {
    overflow: hidden;
  }
  .hero-mockup::before {
    display: block;
    content: '';
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(212, 175, 55, 0.12) 0,
      transparent 70%
    );
    pointer-events: none;
    z-index: -1;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 24px;
  }
  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 40px;
  }
  .hero-text p {
    font-size: 16px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-ghost,
  .hero-buttons .btn-primary {
    width: 100%;
    justify-content: center;
    border-radius: 20px;
  }
  .hero-buttons .btn-ghost:active,
  .hero-buttons .btn-primary:active {
    transform: scale(0.97);
  }
  .feature-card {
    padding: 32px 24px;
  }
  .price-card {
    padding: 32px 20px;
  }
  .hero-mockup {
    display: none;
  }
  .period-chip {
    padding: 6px 12px;
    font-size: 13px;
  }
  .hero-text h1 .accent {
    font-size: 110%;
  }
}
.lang-selector {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}
.lang-btn-flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
}
.lang-btn-code {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.lang-btn-chevron {
  width: 14px;
  height: 14px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  max-height: 400px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  z-index: 300;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.lang-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition:
    background 0.15s,
    color 0.15s;
}
.lang-option:hover {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text);
}
.lang-option.active {
  background: var(--accent-dim);
  color: var(--accent);
}
.lang-option-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}
.lang-option-name {
  flex: 1;
  text-align: left;
}
.lang-option-code {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
[dir='rtl'] {
  direction: rtl;
}
[dir='rtl'] .lang-dropdown {
  right: auto;
  left: 0;
}
[dir='rtl'] .hero-text {
  text-align: right;
}
[dir='rtl'] .hero-buttons {
  justify-content: flex-end;
}
[dir='rtl'] .section-label::before {
  margin-right: 0;
  margin-left: 8px;
}
[dir='rtl'] .mini-stat {
  flex-direction: row-reverse;
}
[dir='rtl'] .mini-server-row {
  flex-direction: row-reverse;
}
[dir='rtl'] .case-card {
  flex-direction: row-reverse;
  text-align: right;
}
[dir='rtl'] .price-card .card-features li {
  flex-direction: row-reverse;
  text-align: right;
}
[dir='rtl'] .footer-links {
  direction: rtl;
}
[dir='rtl'] .faq-toggle {
  order: -1;
}
[dir='rtl'] .faq-question {
  text-align: right;
}
[dir='rtl'] .faq-answer {
  text-align: right;
}
@media (max-width: 1024px) {
  .lang-selector {
    display: none;
  }
  .header-actions {
    display: flex !important;
  }
}
@media (min-width: 1025px) {
  .header-actions {
    display: flex;
  }
}
