/* montserrat-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v30-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/montserrat-v30-cyrillic_latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-v30-cyrillic_latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v30-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ==========================================================================
   Базовые стили и переменные
   ========================================================================== */

:root {
  --primary: #1a3712;
  --secondary: #333333;
  --accent: #389d14;
  --accent-hover: #29710f;
  --text: rgba(255, 255, 255, 0.9);
  --glass-bg: rgba(16, 16, 16, 0.4);
  --border-radius: 20px;
  --blur: blur(10px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Montserrat', sans-serif;

  -webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
}

/* ==========================================================================
   Фоновая анимация
   ========================================================================== */

.glow-container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
}

.glow {
  position: absolute;
  width: 150%;
  height: 150%;
  animation: glow-pulse 12s infinite;
}

@keyframes glow-pulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 0.30;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.4) rotate(20deg);
    opacity: 0.15;
  }
}

.low-performance .glow {
  transform: translate(-50%, -50%) scale(1.3);
  opacity: 0.3;
  animation: none;
}

/* ==========================================================================
   Навигация
   ========================================================================== */

.glass-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 1rem;
  border-radius: 10px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.nav-menu a:hover,
.dropdown-content a:hover {
  border: 1px solid var(--accent);
  background: rgba(145, 71, 255, 0.05);
  transform: translateY(-2px);
}

/* Выпадающее меню */

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 25px);
  left: 50%;
  transform: translateX(-73%);
  background: rgba(16, 16, 16, 0.9);
  backdrop-filter: var(--blur);
  border-radius: var(--border-radius);
  padding: 1rem;
  width: 250px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(-73%) translateY(10px);
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  margin: 4px 0;
  transition: var(--transition);
  border: 1px solid transparent;
}

/* ==========================================================================
   Главная секция
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  overflow: hidden;
}

.hero .content {
  max-width: 1200px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
  max-width: 900px;
}

.gradient-text {
  background: linear-gradient(to top right, #9ae77e, #2ce752);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Общие элементы
   ========================================================================== */

h2 {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 2.5rem;
}

h4 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 5.75rem;
  margin-top: -2.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.cta-button {
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(41, 114, 15, 1);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Преимущества
   ========================================================================== */

.features {
  padding: 6rem 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  text-align: center;
  transition: var(--transition);
}

.feature-card p {
  margin-top: 0.5rem;
}

.feature-card svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  fill: currentColor;
}

.feature-card:hover {
  border: 1px solid var(--accent);
  background: rgba(79, 255, 71, 0.05);
  transform: translateY(-5px);
}

/* ==========================================================================
  Сервисы
  ========================================================================== */

.services-section {
  padding: 6rem 2rem;
}

.services-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  justify-items: center;
  gap: 2rem;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service p {
  margin-top: 0.75rem;
}

.service svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
}

.icon-wrapper {
  width: 6rem;
  height: 6rem;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: var(--transition);
}

.icon-wrapper:hover {
  border: 1px solid var(--accent);
  background: rgba(145, 71, 255, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(145, 71, 255, 0.4);
}

/* ==========================================================================
   Как работает
   ========================================================================== */

.how-it-works {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 0;
  margin-top: 2rem;
}

.how-container {
  padding: 3rem 4rem;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.column {
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.column:hover {
  border: 1px solid var(--accent);
  background: rgba(145, 71, 255, 0.05);
  transform: translateY(-5px);
}

.column h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.vpn-slider-container {
  max-width: 400px;
  margin: 4rem auto;
}

.vpn-slider {
  position: relative;
  height: 55px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

.slider-button {
  position: absolute;
  width: 50%;
  height: 100%;
  background: var(--accent);
  border-radius: 50px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.slider-options {
  position: relative;
  display: flex;
  height: 100%;
  z-index: 2;
}

.slider-option {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.slider-option.active {
  color: white;
}

.vpn-illustration {
  text-align: center;
  padding-bottom: 2rem;
}

.illustration-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
}

.how-icon {
  width: 6rem;
  height: 6rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: #e8e8e9;
}

.resetvpn-icon {
  width: 6rem;
  height: 6rem;
  border: 1px solid var(--accent);
  background: rgba(145, 71, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: #399d15;
}

.circle-item span {
  font-size: 1rem;
  color: var(--text);
}

.connection-arrow {
  width: 50px;
  height: 24px;
  margin-top: -2rem;
  opacity: 0.5;
}

.vpn-illustration:not(.hidden) .circle-item {
  opacity: 1;
}

.illustration-caption {
  padding-top: 2rem;
  margin: 0 auto;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
}

.vpn-illustration:not(.hidden) .illustration-caption {
  opacity: 1;
}

.hidden {
  display: none;
}

/* ==========================================================================
  Пинг
  ========================================================================== */

.ping-section {
  padding: 6rem 2rem;
}

.ping-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.ping-item {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: row;
  text-align: left;
  transition: var(--transition);
  width: 375px;
  align-items: center;
}

.ping-item > span {
  margin-left: auto;
  color: var(--text);
  padding: 0.5rem 1rem;
  background: var(--accent);
  border-radius: 15px;
}

.ping-item:hover {
  border: 1px solid var(--accent);
  background: rgba(145, 71, 255, 0.05);
  transform: translateY(-5px);
}

.ping-country {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.ping-country img {
  width: 48px;
  height: 48px;
  pointer-events: none;
}

.ping-section h4 {
  margin: auto;
  margin-bottom: 5.75rem;
  margin-top: -2.75rem;
  max-width: 800px;
}

/* ==========================================================================
   Тарифы
   ========================================================================== */

.pricing {
  padding: 6rem 2rem;
}

.tariffs-container {
  max-width: 1200px;
  margin: 0 auto;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
}

.cards-scroller {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  overflow-x: auto;
}

.cards-scroller::-webkit-scrollbar {
  height: 6px;
}

.cards-scroller::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 50px;
}

.pricing-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 12px 32px rgba(145, 71, 255, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.2);
  transition: 
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease-out;
}

.price-block {
  margin: 1rem 0;
  flex-grow: 1;
}

.price {
  font-size: 2.2rem;
  margin: 1rem 0;
  font-weight: 700;
}

.per-month {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

/* Бесплатный тариф */

.pricing-card.free {
  border: 1px solid var(--accent);
  background: rgba(145, 71, 255, 0.05);
}

.pricing-card.free .price {
  color: var(--accent);
}

.pricing-card.free .cta-button {
  background: transparent;
  border: 1px solid var(--accent);
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.discount-badge {
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.old-price {
  font-size: 1rem;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.5);
}

.total-price {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.benefits {
  margin: 1rem 0;
  text-align: left;
}

.benefit-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 0.75rem;
}

.benefit-item svg {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--accent)
}

.benefit-item span {
  width: 100%;
  text-align: left;
  display: block;
  padding-right: 24px;
}

.pricing-card {
  flex: 0 0 340px;
  min-height: 450px;
  padding: 1.5rem;
}

.cards-scroller.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
}

.cards-scroller.dragging .pricing-card {
  pointer-events: auto;
  user-select: none;
}

.cards-scroller {
  cursor: grab;
}

.cards-scroller:active {
  cursor: grabbing;
}

/* ==========================================================================
   Отзывы
   ========================================================================== */

.testimonials {
  padding: 6rem 2rem;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: var(--transition);
}

.testimonial-card:hover {
  border: 1px solid var(--accent);
  background: rgba(145, 71, 255, 0.05);
  transform: translateY(-5px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f0f0f0;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #333;
}

.testimonial-name {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.testimonial-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-content {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.testimonial-rating {
  display: flex;
  color: gold;
}

/* ==========================================================================
   Факты о VPN
   ========================================================================== */

.vpn-facts {
  max-width: 1200px;
  margin: 8rem auto;
  padding: 3rem 2rem;
  text-align: center;
}

.facts-grid {
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.fact-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.fact-card:hover {
  border: 1px solid var(--accent);
  background: rgba(71, 255, 75, 0.05);
  transform: translateY(-5px);
}

.fact-card h3 {
  font-size: 2rem;
  color: var(--accent);
}

.fact-card p {
  margin-top: 0.5rem;
}

.fact-card-info {
  max-width: 800px;
  padding: 0 0 0.5rem;
  margin: 0 auto;
}

.fact-card-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.fact-card-info p {
  margin-top: 0.5rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  padding: 4rem 2rem 10rem;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.faq-item:hover {
  border: 1px solid var(--accent);
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.faq-item summary {
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
  cursor: pointer;
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 1.5rem;
}

/* ==========================================================================
   Футер
   ========================================================================== */

.glass-footer {
  max-width: 1200px;
  margin: 0 auto 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.contact-info {
  color: rgba(255, 255, 255, 0.5);
}

.link {
  color: var(--text);
  text-decoration: underline 1px;
  text-decoration-skip-ink: none;
}

.link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.modal-trigger,
.dropdown-content-trigger {
  color: var(--text);
  text-decoration: none;
}

/* ==========================================================================
   Модальные окна
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(16, 16, 16, 0.8);
  z-index: 1002;
}

.modal-content {
  width: 90%;
  max-width: 1200px;
  max-height: 80vh;
  padding: 2rem 4rem;
  overflow-y: auto;
  scrollbar-width: none;
}

.modal-content h2,
.modal-content p {
  margin-bottom: 2rem;
}

.modal-content::-webkit-scrollbar {
  display: none;
}

.close-modal {
  position: sticky;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(145, 71, 255, 0.4);
}

/* ==========================================================================
   Cookie-соглашение
   ========================================================================== */

.cookie-consent {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  max-width: 800px;
  width: calc(100% - 2rem);
  padding: 1.5rem 2rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 1001;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(100%); opacity: 0; }
  to { transform: translateX(-50%); opacity: 1; }
}

.cookie-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.4;
}

.cookie-button {
  max-width: 120px;
  font-size: 1rem;
  white-space: nowrap;
  padding: 1rem;
}

/* ==========================================================================
   Медиа-запросы
   ========================================================================== */

/* Бургер-меню */

.burger-menu {
  display: none;
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  padding-right: 2rem;
}

.burger-menu span {
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 50px;
  background: var(--text);
  transition: var(--transition);
}

.burger-menu span:nth-child(1) { top: 0; }
.burger-menu span:nth-child(2) { top: 9px; }
.burger-menu span:nth-child(3) { top: 18px; }

/* Медиа-запросы для мобильных устройств */

@media (max-width: 1024px) {
  
  .nav-menu {
    gap: 0.2rem;
  }

  .glass-footer {
    margin: 0 20px 20px;
  }

  .services-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content,
  .legal-links {
    gap: 0.2rem;
  }

  .modal-content {
    padding: 1.5rem 2.5rem;
  }
}

@media (max-width: 768px) {

  h4 {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  /* Навигация */

  .glass-nav {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-container {
    padding: 1rem;
    position: relative;
  }

  .burger-menu {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(16, 16, 16, 0.9);
    backdrop-filter: var(--blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    margin-top: 10px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 1rem 2rem;
    margin: 0 1rem;
    border-radius: 0;
    border: 1px solid transparent;
    border-radius: 8px;
  }

  .dropdown-content {
    position: static;
    transform: none;
    width: 100%;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 2rem;
    visibility: visible;
    opacity: 1;
    display: none;
  }

  .dropdown-content.active {
    display: block;
  }

  .dropdown-content a {
    padding: 1rem 2rem;
  }

  .dropdown:hover .dropdown-content {
    transform: none;
  }

  /* Фиксированная навигация при прокрутке */

  .glass-nav {
    position: fixed;
  }

  /* Главная секция */

  .hero h1 {
    font-size: 1.5rem;
  }

  /* Как работает */

  .how-it-works {
    padding: 6rem 1rem;
  }

  .how-container {
    padding: 2rem;
  }

  .how-container h2 {
    margin: 1rem 0 3rem 0;
  }

  .columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slider-option {
    font-size: 1.1rem;
  }

  .circle-item {
    width: 50px;
  }

  .how-icon {
    width: 4rem;
    height: 4rem;
  }
  
  .resetvpn-icon {
    width: 4rem;
    height: 4rem;
  }

  /* Сервисы */

  .services-container {
    width: 85%;
    grid-template-columns: repeat(2, 1fr);
  }

  /* Пинг */

  .ping-wrapper {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Тарифы */

  .pricing-card {
    padding: 1rem 0.5rem;
    flex: 0 0 287px;
  }

  .cards-scroller {
    gap: 1rem;
    padding: 1rem;
  }

  /* Отзывы */

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Факты о VPN */

  .vpn-facts {
    margin: 6rem 1rem;
  }

  .facts-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .fact-card h3 {
    line-height: 1.2;
  }

  .fact-card p {
    margin-top: 1rem;
  }

  .fact-card-info {
    max-width: 100%;
  }

  /* Футер */

  .glass-footer {
    margin: 0 20px 10px;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .legal-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
  }

  .contact-info {
    text-align: center;
  }

  /* Модальные окна */

  .modal-content {
    padding: 2rem 2rem;
  }

  .modal-content h2 {
    font-size: 1.5rem;
    line-height: 1.2
  }

  /* Дополнительные адаптации */

  h2 {
    font-size: 2rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  /* Cookie-соглашение */

  .cookie-consent {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cookie-button {
    max-width: 100%;
    width: 100%;
  }
}

.typing-text::after {
	content: '|';
	animation: blink 0.7s infinite;
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

.typing-text {
/*	white-space: nowrap;*/
	overflow: hidden;
	border-right: 1.5px solid transparent;
	font-weight: bold;
}