/*
Theme Name: SevenVPN RU Theme
Theme URI: https://example.com/sevenvpn-ru-theme
Author: Custom WP Theme
Author URI: https://example.com
Description: SEO-optimized responsive WordPress theme for a Russian-language 7VPN-style website.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: sevenvpn
*/

:root {
  --svpn-bg: #f7f8fb;
  --svpn-surface: #ffffff;
  --svpn-surface-soft: #f1f3f8;
  --svpn-dark: #101522;
  --svpn-dark-2: #171d2c;
  --svpn-dark-3: #20283a;
  --svpn-text: #252b3a;
  --svpn-muted: #667085;
  --svpn-border: #e4e7ef;

  --svpn-primary: #e93c53;
  --svpn-primary-2: #ff6a7c;
  --svpn-accent: #e93c53;
  --svpn-accent-2: #ff8a98;

  --svpn-warning: #ffc857;

  --svpn-radius-sm: 12px;
  --svpn-radius: 22px;
  --svpn-radius-lg: 34px;

  --svpn-shadow: 0 22px 55px rgba(16, 21, 34, 0.12);
  --svpn-shadow-soft: 0 12px 34px rgba(16, 21, 34, 0.08);

  --svpn-container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--svpn-bg);
  color: var(--svpn-text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

p {
  margin: 0 0 18px;
}

ul,
ol {
  margin-top: 0;
}

::selection {
  background: rgba(233, 60, 83, 0.18);
  color: var(--svpn-dark);
}

.svpn-container {
  width: min(100% - 40px, var(--svpn-container));
  margin: 0 auto;
}

.svpn-skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--svpn-dark);
  color: #fff;
  padding: 10px 14px;
  z-index: 9999;
  border-radius: 10px;
}

.svpn-skip-link:focus {
  left: 12px;
}

/* Header */

.svpn-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228, 231, 239, 0.9);
}

.admin-bar .svpn-header {
  top: 32px;
}

.svpn-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.svpn-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--svpn-dark);
  letter-spacing: -0.04em;
  font-size: 24px;
  flex: 0 0 auto;
}

.svpn-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--svpn-primary), var(--svpn-primary-2));
  box-shadow: 0 12px 28px rgba(233, 60, 83, 0.28);
}

.svpn-logo__mark span {
  font-size: 25px;
  line-height: 1;
  transform: skew(-8deg);
}

.svpn-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.svpn-menu,
.svpn-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svpn-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.svpn-menu > li {
  position: relative;
}

.svpn-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--svpn-dark);
  font-size: 15px;
  font-weight: 750;
  transition: background 0.2s ease, color 0.2s ease;
}

.svpn-menu a:hover,
.svpn-menu .current-menu-item > a,
.svpn-menu .current_page_item > a {
  background: rgba(233, 60, 83, 0.1);
  color: var(--svpn-primary);
}

.svpn-menu .menu-item-has-children > a::after {
  content: "▾";
  margin-left: 7px;
  font-size: 11px;
  opacity: 0.7;
}

.svpn-menu .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  width: 245px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--svpn-border);
  box-shadow: var(--svpn-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.svpn-menu li:hover > .sub-menu,
.svpn-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.svpn-menu .sub-menu a {
  border-radius: 12px;
  justify-content: flex-start;
  min-height: 40px;
}

.svpn-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
	margin-left: auto;
}

/* Buttons */

.svpn-btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--svpn-primary), var(--svpn-primary-2));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(233, 60, 83, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.svpn-btn:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(233, 60, 83, 0.34);
}

.svpn-btn--ghost {
  background: #fff;
  color: var(--svpn-dark);
  border: 1px solid var(--svpn-border);
  box-shadow: none;
}

.svpn-btn--ghost:hover {
  color: var(--svpn-primary);
  border-color: rgba(233, 60, 83, 0.38);
  box-shadow: 0 14px 30px rgba(16, 21, 34, 0.08);
}

.svpn-btn--dark {
  background: var(--svpn-dark);
  color: #fff;
  box-shadow: 0 16px 32px rgba(16, 21, 34, 0.22);
}

.svpn-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--svpn-border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}

.svpn-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--svpn-dark);
  margin: 5px 0;
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.svpn-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.svpn-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.svpn-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Layout */

.svpn-main {
  min-height: 60vh;
}

.svpn-section {
  padding: 86px 0;
}

.svpn-section--tight {
  padding: 20px 0;
}

/* Hero */

.svpn-hero {
  position: relative;
  overflow: hidden;
  padding: 23px 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(233, 60, 83, 0.14), transparent 26%),
    radial-gradient(circle at 18% 20%, rgba(16, 21, 34, 0.07), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  color: var(--svpn-dark);
}

.svpn-hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(233, 60, 83, 0.08);
}

.svpn-hero::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -220px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: rgba(16, 21, 34, 0.04);
}

.svpn-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 54px;
  align-items: center;
}

.svpn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(233, 60, 83, 0.1);
  color: var(--svpn-primary);
  font-size: 14px;
  font-weight: 900;
}

.svpn-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--svpn-primary);
  box-shadow: 0 0 0 7px rgba(233, 60, 83, 0.14);
}

.svpn-hero h1,
.svpn-page-hero h1 {
  margin: 0 0 22px;
  color: var(--svpn-dark);
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.svpn-hero p,
.svpn-page-hero p {
  max-width: 640px;
  color: var(--svpn-muted);
  font-size: 19px;
}

.svpn-hero__actions,
.svpn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.svpn-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.svpn-platforms span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--svpn-dark);
  background: #fff;
  border: 1px solid var(--svpn-border);
  font-weight: 850;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(16, 21, 34, 0.05);
}

/* Hero visual */

.svpn-hero-card {
  position: relative;
  min-height: 470px;
  border-radius: var(--svpn-radius-lg);
  padding: 28px;
  background:
    radial-gradient(circle at 78% 14%, rgba(233, 60, 83, 0.24), transparent 26%),
    linear-gradient(145deg, var(--svpn-dark) 0%, var(--svpn-dark-2) 58%, var(--svpn-dark-3) 100%);
  border: 1px solid rgba(16, 21, 34, 0.08);
  box-shadow: 0 30px 70px rgba(16, 21, 34, 0.22);
  overflow: hidden;
}

.svpn-hero-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, 0.06);
}

.svpn-phone {
  position: relative;
  z-index: 1;
  width: min(270px, 72%);
  margin: 0 auto;
  padding: 15px;
  border-radius: 38px;
  background: #050812;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.svpn-phone__screen {
  min-height: 390px;
  border-radius: 27px;
  background:
    radial-gradient(circle at 50% 30%, rgba(233, 60, 83, 0.42), transparent 30%),
    linear-gradient(180deg, #222a3e, #101522);
  padding: 24px 18px;
  color: #fff;
}

.svpn-status {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.svpn-shield {
  width: 106px;
  height: 126px;
  margin: 56px auto 20px;
  display: grid;
  place-items: center;
  border-radius: 34px 34px 44px 44px;
  background: linear-gradient(135deg, var(--svpn-primary), var(--svpn-primary-2));
  box-shadow: 0 0 42px rgba(233, 60, 83, 0.34);
  font-size: 48px;
  font-weight: 900;
  color: #fff;
}

.svpn-server-row {
  display: grid;
  gap: 9px;
  margin-top: 28px;
}

.svpn-server-row span {
  height: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.svpn-server-row span:nth-child(1) {
  width: 86%;
}

.svpn-server-row span:nth-child(2) {
  width: 72%;
}

.svpn-server-row span:nth-child(3) {
  width: 94%;
}

.svpn-floating {
  position: absolute;
  right: 20px;
  bottom: 26px;
  z-index: 2;
  width: 190px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  color: var(--svpn-dark);
  box-shadow: var(--svpn-shadow);
}

.svpn-floating strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  color: var(--svpn-primary);
}

/* Section headings */

.svpn-section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.svpn-section-head--left {
  margin-left: 0;
  text-align: left;
}

.svpn-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--svpn-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.svpn-section h2,
.svpn-content h2 {
  margin: 0 0 16px;
  color: var(--svpn-dark);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.svpn-section-head p,
.svpn-content p {
  color: var(--svpn-muted);
}

/* Grids and cards */

.svpn-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.svpn-card h3 {
  margin: 0 0 12px;
  color: var(--svpn-dark);
  font-size: 22px;
  line-height: 1.18;
}

.svpn-card p,
.svpn-card li {
  color: var(--svpn-muted);
}

.svpn-card strong {
  color: var(--svpn-dark);
}

.svpn-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(233, 60, 83, 0.1);
  color: var(--svpn-primary);
  font-size: 24px;
  font-weight: 900;
}

/* Dark inserts */

.svpn-band {
  border-radius: var(--svpn-radius-lg);
  background:
    radial-gradient(circle at 84% 20%, rgba(233, 60, 83, 0.32), transparent 28%),
    linear-gradient(135deg, var(--svpn-dark), var(--svpn-dark-3));
  color: #fff;
  padding: 54px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 70px rgba(16, 21, 34, 0.2);
}

.svpn-band::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 54px solid rgba(255, 255, 255, 0.05);
}

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

.svpn-band h2,
.svpn-band h3 {
  color: #fff;
}

.svpn-band p {
  color: rgba(255, 255, 255, 0.76);
}

.svpn-band .svpn-kicker {
  color: #ff9ca8;
}

.svpn-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.svpn-list li {
  position: relative;
  padding-left: 30px;
}

.svpn-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--svpn-primary);
  font-weight: 900;
}

.svpn-band .svpn-list li {
  color: rgba(255, 255, 255, 0.82);
}

.svpn-band .svpn-list li::before {
  color: #ff8a98;
}

/* Steps */

.svpn-steps {
  counter-reset: svpn-step;
}

.svpn-step {
  position: relative;
  padding-left: 78px;
}

.svpn-step::before {
  counter-increment: svpn-step;
  content: counter(svpn-step);
  position: absolute;
  left: 28px;
  top: 28px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--svpn-primary);
  color: #fff;
  font-weight: 900;
}

/* Page hero */

.svpn-page-hero {
  padding: 78px 0;
  color: var(--svpn-dark);
  background:
    radial-gradient(circle at 80% 12%, rgba(233, 60, 83, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  border-bottom: 1px solid var(--svpn-border);
}

.svpn-page-hero__inner {
  max-width: 820px;
}

.svpn-content {
  padding: 20px 0;
}


/* FAQ */

.svpn-faq {
  display: grid;
  gap: 12px;
}

.svpn-faq__item {
  border: 1px solid var(--svpn-border);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 21, 34, 0.04);
}

.svpn-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--svpn-dark);
  text-align: left;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
}

.svpn-faq__question::after {
  content: "+";
  color: var(--svpn-primary);
  font-size: 24px;
  line-height: 1;
}

.svpn-faq__item.is-open .svpn-faq__question::after {
  content: "–";
}

.svpn-faq__answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--svpn-muted);
}

.svpn-faq__item.is-open .svpn-faq__answer {
  display: block;
}

/* Tables */

.svpn-table-wrap {
  overflow-x: auto;
  border-radius: var(--svpn-radius);
  border: 1px solid var(--svpn-border);
  background: #fff;
  box-shadow: var(--svpn-shadow-soft);
}

.svpn-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.svpn-table th,
.svpn-table td {
  padding: 18px;
  border-bottom: 1px solid var(--svpn-border);
  text-align: left;
}

.svpn-table th {
  color: var(--svpn-dark);
  background: #f4f5f8;
}

.svpn-table tr:last-child td {
  border-bottom: 0;
}

.svpn-table td:first-child {
  font-weight: 800;
  color: var(--svpn-dark);
}

/* CTA */

.svpn-cta {
  padding: 70px 0;
}

/* Footer */

.svpn-footer {
  background: var(--svpn-dark);
  color: #cfd5e3;
  padding: 58px 0 28px;
}

.svpn-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
}

.svpn-footer h3,
.svpn-footer h4 {
  color: #fff;
  margin-top: 0;
}

.svpn-footer p,
.svpn-footer a {
  color: #cfd5e3;
}

.svpn-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.svpn-footer a:hover {
  color: #ff8a98;
}

.svpn-footer__bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

/* 404 */

.svpn-not-found {
  padding: 100px 0;
  text-align: center;
}

.svpn-not-found h1 {
  font-size: clamp(54px, 12vw, 120px);
  margin: 0;
  color: var(--svpn-primary);
  line-height: 1;
}

/* Responsive */

@media (max-width: 1020px) {
  .svpn-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svpn-hero__grid {
    grid-template-columns: 1fr;
  }

  .svpn-hero-card {
    max-width: 620px;
    margin: 0 auto;
  }

  .svpn-burger {
    display: inline-block;
  }

  .svpn-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--svpn-border);
    box-shadow: var(--svpn-shadow);
  }

  .svpn-nav.is-open {
    display: flex;
  }

  .svpn-menu {
    display: grid;
    gap: 4px;
  }

  .svpn-menu a {
    border-radius: 12px;
  }

  .svpn-menu .sub-menu {
    position: static;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 2px 0 8px 12px;
    box-shadow: none;
    background: #f7f8fb;
  }

  .svpn-menu li.is-open > .sub-menu {
    display: block;
  }

  .svpn-header__actions .svpn-btn--ghost {
    display: none;
  }
}

@media (max-width: 760px) {
  .svpn-container {
    width: min(100% - 28px, var(--svpn-container));
  }

  .svpn-section,
  .svpn-content {
    padding: 20px 0;
  }

  .svpn-hero {
    padding: 20px 0;
  }

  .svpn-page-hero {
    padding: 56px 0;
  }

  .svpn-header__inner {
    min-height: 66px;
    gap: 12px;
  }

  .svpn-logo {
    font-size: 20px;
  }

  .svpn-logo__mark {
    width: 38px;
    height: 38px;
  }

  .svpn-header__actions .svpn-btn {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .svpn-grid--2,
  .svpn-grid--3,
  .svpn-grid--4 {
    grid-template-columns: 1fr;
  }

  .svpn-card,
  .svpn-band {
    padding: 24px;
  }

  .svpn-footer__grid {
    grid-template-columns: 1fr;
  }

  .svpn-floating {
    position: static;
    margin: 18px auto 0;
  }
}

@media (max-width: 420px) {
  .svpn-container {
    width: min(100% - 22px, var(--svpn-container));
  }

  .svpn-hero h1,
  .svpn-page-hero h1 {
    font-size: 36px;
  }

  .svpn-hero p,
  .svpn-page-hero p {
    font-size: 17px;
  }

  .svpn-hero__actions,
  .svpn-actions {
    flex-direction: column;
  }

  .svpn-btn {
    width: 100%;
  }

  .svpn-phone {
    width: 100%;
  }

  .svpn-phone__screen {
    min-height: 330px;
  }

  .svpn-step {
    padding-left: 24px;
    padding-top: 56px;
  }

  .svpn-step::before {
    left: 24px;
    top: 20px;
  }

  .svpn-table {
    min-width: 620px;
  }
}
.image {
	display: flex;
    justify-content: center;
}
@media (max-width: 1020px) {
	.image {display:none;}}
h1 {
	font-size: clamp(40px, 5vw, 60px);
}