/* Bypass VPS landing — layout + components; colors from bypass-dashboard-tokens.css */

:root {
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --landing-pill: 100px;
}

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

body {
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--surface-bg-page);
  background-color: var(--color-bg-page);
  color: var(--color-text-secondary);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Светлая тема: сетка на всём фоне (мобильные и десктоп; не только блок .hero) */
html[data-theme="brand-light"] body {
  position: relative;
}

html[data-theme="brand-light"] body > *:not(.top-bar):not(.nav-links) {
  position: relative;
  z-index: 1;
}

html[data-theme="brand-light"] body::before {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: 0;
  z-index: 0;
  --landing-grid-line: color-mix(
    in srgb,
    var(--color-border-subtle) 52%,
    var(--color-accent-primary) 48%
  );
  background-image:
    linear-gradient(var(--landing-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--landing-grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 82% 58% at 50% 46%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 82% 58% at 50% 46%, black 0%, transparent 70%);
  animation: gridMove 20s linear infinite;
  opacity: 0.88;
}

/* Тёмная тема: те же слои фона, что в ЛК (body::before / body::after в styles.css) */
html[data-theme="midnight"] body {
  position: relative;
}

/* Не трогаем .top-bar / .nav-links — у них position: fixed */
html[data-theme="midnight"] body > *:not(.top-bar):not(.nav-links) {
  position: relative;
  z-index: 1;
}

html[data-theme="midnight"] body::before,
html[data-theme="midnight"] body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: 0;
  z-index: 0;
}

html[data-theme="midnight"] body::before {
  background: var(--surface-bg-page-particles);
  opacity: 0.8;
  filter: drop-shadow(0 0 3px rgba(112, 139, 255, 0.48));
  animation: landingParticlesDrift 26s linear infinite;
}

html[data-theme="midnight"] body::after {
  background: var(--surface-bg-page-overlay);
  opacity: 0.3;
  mix-blend-mode: screen;
  animation: landingParticlesPulse 11s ease-in-out infinite alternate;
}

@keyframes landingParticlesDrift {
  0% {
    background-position:
      0 0,
      36px 82px,
      120px 30px;
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.58;
  }

  50% {
    background-position:
      -54px 26px,
      112px 152px,
      184px 72px;
    transform: translate3d(0.5%, 1.3%, 0) scale(1.04);
    opacity: 0.76;
  }

  100% {
    background-position:
      -130px 88px,
      196px 234px,
      258px 154px;
    transform: translate3d(1.2%, -1%, 0) scale(1.02);
    opacity: 0.62;
  }
}

@keyframes landingParticlesPulse {
  0% {
    opacity: 0.2;
    transform: translateY(0);
  }

  50% {
    opacity: 0.36;
    transform: translateY(2px);
  }

  100% {
    opacity: 0.25;
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="midnight"] body::before,
  html[data-theme="midnight"] body::after {
    animation: none;
  }

  html[data-theme="midnight"] body::before {
    opacity: 0.65;
    transform: none;
  }

  html[data-theme="midnight"] body::after {
    opacity: 0.28;
    transform: none;
  }

  html[data-theme="brand-light"] body::before {
    animation: none;
    transform: none;
  }

  .grid-bg {
    animation: none;
  }
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 108px;
  pointer-events: none;
  gap: 16px;
}

.top-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-bg-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  z-index: -1;
}

.top-bar > * {
  pointer-events: auto;
}

.top-bar-end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  background: var(--color-surface-card);
  color: var(--color-text-primary);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.theme-toggle:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-border-accent);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

html[data-theme="brand-light"] .theme-toggle .icon-moon {
  display: block;
}

html[data-theme="midnight"] .theme-toggle .icon-sun {
  display: block;
}

.logo-container {
  text-align: left;
}

.logo-container img {
  max-width: 110px;
  height: auto;
  display: block;
}

.auth-links {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.auth-links a {
  color: var(--color-accent-primary);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  transition: all 0.3s ease;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.auth-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent-soft-strong),
    transparent
  );
  transition: left 0.5s ease;
}

.auth-links a:hover::before {
  left: 100%;
}

.auth-links a:hover {
  color: var(--color-accent-primary-hover);
  background: var(--color-accent-soft);
  transform: translateY(-1px);
}

.auth-links .separator {
  color: var(--color-accent-primary);
  margin: 0 2px;
  font-size: 20px;
  font-weight: 600;
  user-select: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-links {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  gap: 8px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 8px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  min-height: 60px;
  align-items: center;
  max-width: 95%;
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent-soft-strong),
    transparent
  );
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: var(--color-text-primary);
  background: var(--color-accent-soft);
  transform: translateY(-1px);
}

.nav-link.connect {
  background: var(--surface-bg-button-primary);
  color: var(--color-text-on-accent);
  font-weight: 600;
  border: 1px solid var(--color-border-accent);
  box-shadow: var(--shadow-card);
}

.nav-link.connect:hover {
  filter: brightness(1.06);
  box-shadow: var(--shadow-card-strong);
  transform: translateY(-2px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--surface-bg-page);
  background-color: var(--color-bg-page);
  padding: 100px 0 120px;
  overflow: hidden;
}

html[data-theme="midnight"] .hero,
html[data-theme="brand-light"] .hero {
  background: transparent;
  background-color: transparent;
}

.grid-bg {
  position: absolute;
  inset: 0;
  --landing-grid-line: color-mix(
    in srgb,
    var(--color-border-subtle) 55%,
    var(--color-accent-primary) 45%
  );
  background-image:
    linear-gradient(var(--landing-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--landing-grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black, transparent);
  animation: gridMove 20s linear infinite;
  opacity: 0.85;
}

html[data-theme="midnight"] .grid-bg {
  opacity: 0.22;
}

/* Одна сетка на странице: в brand-light она на body, внутренний .hero .grid-bg не нужен */
html[data-theme="brand-light"] .hero .grid-bg {
  display: none;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

.hero-card {
  position: relative;
  z-index: 2;
  max-width: 600px;
  width: 90%;
  background: var(--surface-bg-card);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: fadeInUp 1s ease-out 0.2s both;
  text-align: center;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-default);
  border-radius: var(--landing-pill);
  font-size: 13px;
  margin-bottom: 20px;
  color: var(--color-text-muted);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--color-accent-soft);
  }
  70% {
    box-shadow: 0 0 0 6px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

h1 {
  font-size: clamp(52px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--color-accent-primary) 0%,
    var(--color-accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--surface-bg-button-primary);
  color: var(--color-text-on-accent);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 54px;
  border: 1px solid var(--color-border-accent);
  box-shadow: var(--shadow-card);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-strong);
  filter: brightness(1.05);
}

section {
  padding: 40px 0;
  border-top: 1px solid var(--color-divider);
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  line-height: 1.2;
  color: var(--color-accent-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.feature {
  background: var(--surface-bg-card);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out both;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.feature:nth-child(1) {
  animation-delay: 0.1s;
}
.feature:nth-child(2) {
  animation-delay: 0.2s;
}
.feature:nth-child(3) {
  animation-delay: 0.3s;
}
.feature:nth-child(4) {
  animation-delay: 0.4s;
}
.feature:nth-child(5) {
  animation-delay: 0.5s;
}
.feature:nth-child(6) {
  animation-delay: 0.6s;
}
.feature:nth-child(7) {
  animation-delay: 0.7s;
}
.feature:nth-child(8) {
  animation-delay: 0.8s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-border-strong),
    transparent
  );
}

.feature:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-card-strong);
}

.feature-icon {
  font-size: 24px;
  width: 50px;
  height: 50px;
  background: var(--color-accent-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0 auto 16px;
}

.feature:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--color-accent-soft-strong);
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-accent-primary);
}

.feature p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.features-cta {
  text-align: center;
  margin-top: 30px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}

.location {
  padding: 20px;
  background: var(--surface-bg-card);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out both;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.location:nth-child(1) {
  animation-delay: 0.1s;
}
.location:nth-child(2) {
  animation-delay: 0.2s;
}
.location:nth-child(3) {
  animation-delay: 0.3s;
}
.location:nth-child(4) {
  animation-delay: 0.4s;
}
.location:nth-child(5) {
  animation-delay: 0.5s;
}
.location:nth-child(6) {
  animation-delay: 0.6s;
}
.location:nth-child(7) {
  animation-delay: 0.7s;
}

.location:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-3px) scale(1.03);
}

.location-flag {
  width: 34px;
  height: 26px;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
  border-radius: 3px;
  box-shadow: var(--shadow-card);
}

.location:hover .location-flag {
  transform: scale(1.2);
}

.location-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-accent-primary);
}

.location-count {
  font-size: 12px;
  color: var(--color-text-muted);
}

.locations-cta {
  text-align: center;
  margin-top: 30px;
}

.pricing-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.trial-row {
  display: flex;
  justify-content: center;
}

.trial-row .price-card {
  width: 100%;
  max-width: 100%;
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-strong);
}

.main-plans-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--surface-bg-card);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: visible;
  animation: fadeInUp 0.6s ease-out both;
  text-align: center;
  max-width: 350px;
  box-shadow: var(--shadow-card);
}

.price-card:nth-child(1) {
  animation-delay: 0.1s;
}
.price-card:nth-child(2) {
  animation-delay: 0.2s;
}
.price-card:nth-child(3) {
  animation-delay: 0.3s;
}
.price-card:nth-child(4) {
  animation-delay: 0.4s;
}
.price-card:nth-child(5) {
  animation-delay: 0.5s;
}

.price-card:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-5px);
}

.price-card.featured {
  border-color: var(--color-border-strong);
}

.price-card.popular {
  border-color: var(--color-border-accent);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-bg-button-primary);
  color: var(--color-text-on-accent);
  padding: 6px 14px;
  border-radius: var(--landing-pill);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--color-border-accent);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-4px);
  }
  60% {
    transform: translateX(-50%) translateY(-2px);
  }
}

.trial-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(
    135deg,
    var(--color-status-danger),
    var(--color-status-warning)
  );
  color: var(--color-text-on-accent);
  padding: 6px 12px;
  border-radius: var(--landing-pill);
  font-size: 12px;
  font-weight: 600;
  animation: pulse 2s infinite;
}

.plan-name {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.price {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-accent-primary);
}

.price span {
  font-size: 16px;
  color: var(--color-text-muted);
}

.price-features {
  list-style: none;
  margin: 20px 0;
}

.price-features li {
  padding: 8px 0;
  color: var(--color-text-secondary);
  font-size: 13px;
  position: relative;
  padding-left: 20px;
  text-align: left;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-status-success);
}

.price-btn {
  display: flex;
  width: 100%;
  padding: 14px;
  background: var(--surface-bg-button-secondary);
  color: var(--color-text-primary);
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-default);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 14px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

.price-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent-soft-strong),
    transparent
  );
  transition: left 0.5s ease;
}

.price-btn:hover::before {
  left: 100%;
}

.price-btn:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-border-accent);
}

.featured .price-btn {
  background: var(--surface-bg-button-primary);
  color: var(--color-text-on-accent);
  border: 1px solid var(--color-border-accent);
  font-weight: 600;
}

footer {
  padding: 40px 0 max(120px, calc(100px + env(safe-area-inset-bottom, 0px)));
  text-align: center;
  border-top: 1px solid var(--color-divider);
}

footer p {
  color: var(--color-text-muted);
  font-size: 13px;
}

.footer-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-meta a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 14px;
  border-radius: 999px;
  background: currentColor;
  vertical-align: middle;
  opacity: 0.45;
}

footer a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

footer a:hover {
  color: var(--color-accent-primary-hover);
}

footer a:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 4px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .top-bar {
    height: 92px;
    padding: 0 16px;
    gap: 10px;
  }

  .top-bar-end {
    gap: 8px;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .theme-toggle svg {
    width: 20px;
    height: 20px;
  }

  .nav-links {
    bottom: 15px;
    justify-content: center;
    align-content: center;
    max-width: none;
    width: calc(100% - 32px);
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 6px;
    padding: 10px 8px;
  }

  .nav-link:not(.connect) {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 0;
    max-width: calc(33.333% - 4px);
    padding: 10px 6px;
    font-size: 14px;
    font-weight: 600;
    min-height: 46px;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .nav-link.connect {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    min-height: 48px;
    white-space: normal;
    line-height: 1.25;
  }

  .logo-container img {
    max-width: 84px;
  }

  .auth-links a {
    font-size: 16px;
    padding: 2px 8px;
  }

  .auth-links .separator {
    font-size: 16px;
  }

  .hero {
    min-height: 100vh;
    padding: 80px 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-card {
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    width: 95%;
    max-width: 400px;
    margin: 0 auto;
  }

  section {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature {
    padding: 24px;
    border-radius: var(--radius-lg);
    width: 100%;
  }

  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .location {
    padding: 16px;
    border-radius: var(--radius-md);
    width: 100%;
  }

  .pricing-layout {
    gap: 20px;
  }

  .main-plans-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-card {
    max-width: 100%;
    width: 100%;
    padding: 24px;
    border-radius: var(--radius-lg);
  }

  .price-features li {
    text-align: center;
    padding-left: 0;
  }

  .price-features li::before {
    display: none;
  }


}

@media (max-width: 480px) {
  .top-bar {
    padding: 0 12px;
    height: 88px;
  }

  .logo-container img {
    max-width: 68px;
    height: auto;
    display: block;
  }

  .auth-links a {
    font-size: 14px;
    padding: 2px 6px;
  }

  .auth-links .separator {
    font-size: 14px;
    margin: 0 1px;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }

  .hero {
    min-height: 100vh;
    padding: 70px 0 130px;
  }

  .hero-card {
    padding: 32px 20px;
    width: 92%;
  }

  .btn {
    padding: 14px 28px;
    font-size: 15px;
    min-height: 52px;
  }

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

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .feature h3 {
    font-size: 16px;
  }

  .feature p {
    font-size: 13px;
  }

  .nav-links {
    min-height: auto;
    padding: 10px 8px;
    row-gap: 10px;
    column-gap: 6px;
    width: calc(100% - 24px);
    max-width: none;
  }

  .nav-link:not(.connect) {
    font-size: 14px;
    padding: 10px 4px;
    min-height: 48px;
  }

  .nav-link.connect {
    font-size: 15px;
    padding: 12px 14px;
    min-height: 50px;
  }
}

@media (max-width: 360px) {
  .top-bar {
    height: 84px;
    padding: 0 10px;
  }

  .logo-container img {
    max-width: 46px;
    height: auto;
    display: block;
  }

  .auth-links a {
    font-size: 12px;
    padding: 2px 5px;
  }

  .auth-links .separator {
    font-size: 12px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }

  .nav-links {
    row-gap: 8px;
    padding: 8px 6px;
    min-height: auto;
    width: calc(100% - 20px);
  }

  .nav-link:not(.connect) {
    font-size: 12px;
    padding: 8px 4px;
    min-height: 44px;
  }

  .nav-link.connect {
    font-size: 14px;
    padding: 10px 12px;
    min-height: 48px;
  }

  .hero-card {
    padding: 28px 16px;
  }

  h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
    min-height: 48px;
  }
}
