/*
Theme Name: hide.me VPN Lite
Theme URI: https://example.com/hideme-vpn-lite
Author: Almaz + GPT
Author URI: https://example.com
Description: Лёгкая адаптивная тема для сайта hide.me VPN на русском языке.
Version: 1.0.0
Text Domain: hideme-vpn-lite
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --color-bg: #050b14;
  --color-bg-alt: #060d18;
  --color-surface: #0b1726;
  --color-surface-soft: #101d30;
  --color-primary: #00b9f1;
  --color-primary-soft: #00d4ff;
  --color-accent: #00f2ff;
  --color-text: #f5f7ff;
  --color-text-muted: #9ca8c4;
  --color-border-soft: rgba(255, 255, 255, 0.06);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 16px 32px rgba(0, 0, 0, 0.45);
  --max-width: 1120px;
}

/* Base */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #071324 0, #020712 55%, #000000 100%);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary-soft);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Utilities */

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 185, 241, 0.1);
  color: var(--color-primary-soft);
  font-size: 12px;
  font-weight: 500;
}

.badge--success {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.09);
}

.section {
  padding: 56px 0;
}

.section--tight {
  padding: 40px 0;
}

.section--alt {
  background: radial-gradient(circle at top left, rgba(0, 185, 241, 0.06), transparent 55%),
              radial-gradient(circle at bottom right, rgba(0, 242, 255, 0.05), transparent 55%);
}

.section__header {
  margin-bottom: 32px;
  text-align: center;
}

.section__title {
  font-size: 24px;
  margin: 0 0 8px;
}

.section__subtitle {
  margin: 0;
  color: var(--color-text-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  color: #021018;
  box-shadow: 0 14px 32px rgba(0, 185, 241, 0.45);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 185, 241, 0.55);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--color-text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn--outline {
  border-color: rgba(0, 185, 241, 0.7);
  color: var(--color-primary-soft);
  background: rgba(0, 185, 241, 0.04);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn--lg {
  padding: 12px 26px;
  font-size: 15px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 11, 20, 0.95), rgba(5, 11, 20, 0.78));
  border-bottom: 1px solid var(--color-border-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.site-logo span {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-nav__link {
  color: var(--color-text-muted);
  font-size: 14px;
}

.site-nav__link--active {
  color: var(--color-text);
}

.header-cta {
  display: none;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--color-border-soft);
  background: rgba(3, 8, 16, 0.9);
  cursor: pointer;
}

.burger__line {
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  margin: 0 auto;
}

/* Hero */

.hero {
  padding: 40px 0 32px;
}

.hero__grid {
  display: grid;
  gap: 28px;
}

.hero__tag {
  margin-bottom: 12px;
}

.hero__title {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero__subtitle {
  margin: 0 0 18px;
  color: var(--color-text-muted);
  font-size: 15px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.hero__stat {
  padding: 10px 12px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(0, 185, 241, 0.18), rgba(11, 23, 38, 0.95));
  border: 1px solid rgba(0, 185, 241, 0.3);
}

.hero__stat-value {
  font-weight: 600;
  font-size: 15px;
}

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

.hero__illustration {
  padding: 18px;
display: block;
    margin: auto;
}

.hero__devices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.hero__device {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 14, 27, 0.9);
  font-size: 12px;
}

/* Grids & cards */

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 18px 18px;
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-card);
}

.card--soft {
  background: var(--color-surface-soft);
}

.card__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(0, 185, 241, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}

.card__title {
  font-size: 16px;
  margin: 0 0 6px;
}

.card__text {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.card__list {
  margin: 10px 0 0;
  padding-left: 16px;
  color: var(--color-text-muted);
  font-size: 14px;
}

/* Pricing */

.pricing__plans {
  display: grid;
  gap: 16px;
}

.pricing__plan {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-card);
}

.pricing__plan--highlight {
  border-color: rgba(0, 185, 241, 0.7);
  box-shadow: 0 18px 40px rgba(0, 185, 241, 0.35);
}

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

.pricing__name {
  font-weight: 600;
}

.pricing__badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 185, 241, 0.12);
  color: var(--color-primary-soft);
}

.pricing__price {
  font-size: 20px;
  font-weight: 600;
}

.pricing__period {
  font-size: 13px;
  color: var(--color-text-muted);
}

.pricing__features {
  margin: 10px 0 12px;
  padding-left: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* FAQ */

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--color-border-soft);
  background: var(--color-surface);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: none;
  color: var(--color-text);
  text-align: left;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.faq-item__question span {
  flex: 1;
}

.faq-item__icon {
  font-size: 18px;
  transform: rotate(0deg);
  transition: transform 0.16s ease;
}

.faq-item__answer {
  display: none;
  padding: 0 14px 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.faq-item--open .faq-item__answer {
  display: block;
}

.faq-item--open .faq-item__icon {
  transform: rotate(45deg);
}

/* Page hero & content */

.page-hero {
  padding: 32px 0 20px;
}

.page-hero__title {
  font-size: 24px;
  margin: 0 0 8px;
}

.page-hero__subtitle {
  margin: 0;
  color: var(--color-text-muted);
}

.breadcrumbs {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.page-content {
  padding: 0 0 40px;
}

.page-section {
  margin-bottom: 28px;
}

.page-section--narrow {
  max-width: 760px;
}

.page-section h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.page-section h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.page-section p {
  margin: 0 0 8px;
  font-size: 14px;
}

.page-section ul {
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Tables */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--color-border-soft);
}

.table th {
  text-align: left;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border-soft);
  background: rgba(3, 8, 15, 0.98);
  padding: 28px 0 18px;
}

.site-footer__top {
  display: grid;
  gap: 20px;
  margin-bottom: 16px;
}

.site-footer__brand {
  max-width: 260px;
}

.site-footer__brand p {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
}

.footer-nav__title {
  font-size: 13px;
  margin: 0 0 6px;
  color: var(--color-text-muted);
}

.footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav__item {
  margin-bottom: 4px;
}

.footer-nav__link {
  font-size: 13px;
  color: var(--color-text);
}

.site-footer__bottom {
  border-top: 1px solid var(--color-border-soft);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* 404 */

.not-found {
  text-align: center;
  padding: 40px 0 60px;
}

.not-found__code {
  font-size: 56px;
  margin-bottom: 8px;
}

.not-found__title {
  font-size: 20px;
  margin-bottom: 8px;
}

/* Responsive */

@media (min-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 52px 0 40px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__stats {
    gap: 12px;
  }

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

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

  .site-nav {
    display: block;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 18px;
  }

  .burger {
    display: none;
  }

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

  .hero__devices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .section__title {
    font-size: 26px;
  }

  .page-hero__title {
    font-size: 26px;
  }

  .hero__title {
    font-size: 38px;
  }
}
/* Dropdown wrapper */
.site-nav__item--has-children {
  position: relative;
}

/* Скрыто по умолчанию */
.site-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 10px 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  z-index: 999;
}

/* Появляется при наведении (десктоп) */
@media (min-width: 768px) {
  .site-nav__item--has-children:hover > .site-nav__dropdown {
    display: block;
  }
}

/* Элементы выпадающего меню */
.site-nav__dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
}

.site-nav__dropdown-link:hover {
  background: rgba(255,255,255,0.06);
  color: var(--color-primary-soft);
}
/* Мобильное раскрытие */
@media (max-width: 767px) {
  .site-nav__dropdown {
    position: static;
    box-shadow: none;
    border: none;
    margin-left: 12px;
    padding: 4px 0 8px;
    background: transparent;
  }

  .site-nav__dropdown-link {
    padding: 8px 0 8px 12px;
    border-left: 1px solid var(--color-border-soft);
  }
}

@media (max-width: 769px) {
  .hero__illustration {
   display: none;
	}}