/*
Theme Name: Felix VPN RU Theme
Theme URI: https://felixvpn.biz/
Author: Custom WordPress Theme
Description: SEO-optimized responsive WordPress theme for Felix VPN Russian landing and inner pages.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: felixvpn-ru
*/

:root {
  --fx-bg: #07111f;
  --fx-bg-2: #0b1728;
  --fx-card: #0f1f36;
  --fx-card-2: #122844;
  --fx-border: rgba(255, 255, 255, .1);
  --fx-text: #f5f7fb;
  --fx-muted: #aebbd0;
  --fx-soft: #dce7f7;
  --fx-primary: #6d5dfc;
  --fx-primary-2: #43b7ff;
  --fx-success: #28d7a3;
  --fx-warning: #ffc857;
  --fx-danger: #ff647c;
  --fx-shadow: 0 18px 55px rgba(0, 0, 0, .36);
  --fx-radius: 24px;
  --fx-radius-sm: 16px;
  --fx-container: 1180px;
  --fx-header-h: 78px;
  --fx-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--fx-font);
  color: var(--fx-text);
  background:
    radial-gradient(circle at top left, rgba(109, 93, 252, .24), transparent 30%),
    radial-gradient(circle at top right, rgba(40, 215, 163, .15), transparent 28%),
    linear-gradient(180deg, var(--fx-bg), #050a13 72%);
  line-height: 1.65;
  overflow-x: hidden;
}

body.fx-menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 20px;
}

.fx-container {
  width: min(100% - 32px, var(--fx-container));
  margin-inline: auto;
}

.fx-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--fx-header-h);
  background: rgba(7, 17, 31, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--fx-border);
}

.fx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--fx-header-h);
  gap: 20px;
}

.fx-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.fx-logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--fx-primary), var(--fx-success));
  box-shadow: 0 10px 28px rgba(40, 215, 163, .25);
}

.fx-logo-text {
  font-size: 20px;
}

.fx-nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fx-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-nav li {
  position: relative;
}

.fx-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  color: var(--fx-muted);
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  transition: .18s ease;
}

.fx-nav a:hover,
.fx-nav .current-menu-item > a,
.fx-nav .current_page_item > a {
  color: var(--fx-text);
  background: rgba(255, 255, 255, .07);
}

.fx-nav .menu-item-has-children > a::after {
  content: "⌄";
  margin-left: 7px;
  font-size: 12px;
  opacity: .75;
}

.fx-nav .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  min-width: 238px;
  padding: 10px;
  background: rgba(15, 31, 54, .98);
  border: 1px solid var(--fx-border);
  border-radius: 18px;
  box-shadow: var(--fx-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
}

.fx-nav li:hover > .sub-menu,
.fx-nav li.fx-submenu-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fx-nav .sub-menu a {
  width: 100%;
  border-radius: 12px;
}

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  color: #06101d;
  background: linear-gradient(135deg, var(--fx-success), var(--fx-primary-2));
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(40, 215, 163, .18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.fx-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(67, 183, 255, .22);
}

.fx-btn-secondary {
  color: var(--fx-text);
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--fx-border);
  box-shadow: none;
}

.fx-btn-small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
}

.fx-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--fx-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: var(--fx-text);
  cursor: pointer;
}

.fx-burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 10px;
  transition: .2s ease;
}

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

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

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

.fx-hero {
  position: relative;
  padding: 22px 0 70px;
}

.fx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, .98fr);
  align-items: center;
  gap: 42px;
}

.fx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(40, 215, 163, .24);
  border-radius: 999px;
  color: #d9fff4;
  background: rgba(40, 215, 163, .08);
  font-size: 14px;
  font-weight: 800;
}

.fx-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fx-success);
  box-shadow: 0 0 0 6px rgba(40, 215, 163, .12);
}

.fx-hero h1,
.fx-page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.06em;
}

.fx-page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.fx-gradient-text {
  background: linear-gradient(135deg, #fff, #bfe8ff 45%, #86ffd9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fx-lead {
  max-width: 700px;
  color: var(--fx-soft);
  font-size: clamp(17px, 2vw, 21px);
}

.fx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fx-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: var(--fx-muted);
  font-size: 14px;
}

.fx-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fx-terminal {
  position: relative;
  padding: 18px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    var(--fx-card);
  box-shadow: var(--fx-shadow);
  overflow: hidden;
}

.fx-terminal::before {
  content: "";
  position: absolute;
  inset: -80px -120px auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(109, 93, 252, .38), transparent 70%);
}

.fx-terminal-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.fx-terminal-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--fx-danger);
}

.fx-terminal-top span:nth-child(2) {
  background: var(--fx-warning);
}

.fx-terminal-top span:nth-child(3) {
  background: var(--fx-success);
}

.fx-code {
  position: relative;
  margin: 0;
  padding: 20px;
  text-wrap: wrap;
  border-radius: 18px;
  color: #d9fff4;
  background: #06101d;
  font: 600 14px/1.75 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.fx-code .ok {
  color: var(--fx-success);
}

.fx-section {
  padding: 22px 0;
}

.fx-section-alt {
  background: rgba(255, 255, 255, .025);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.fx-section-head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.fx-section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.fx-section-head p {
  color: var(--fx-muted);
  font-size: 18px;
}

.fx-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.fx-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  box-shadow: 0 14px 42px rgba(0,0,0,.18);
}

.fx-card h3 {
  margin: 0 0 9px;
  font-size: 21px;
  line-height: 1.25;
}

.fx-card p {
  color: var(--fx-muted);
}

.fx-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(109,93,252,.22), rgba(40,215,163,.18));
  font-size: 24px;
}

.fx-stat {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--fx-border);
  text-align: center;
}

.fx-stat strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.03em;
}

.fx-stat span {
  display: block;
  margin-top: 8px;
  color: var(--fx-muted);
  font-size: 14px;
}

.fx-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.fx-price {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.fx-price.fx-popular {
  border-color: rgba(40, 215, 163, .44);
  box-shadow: 0 24px 70px rgba(40, 215, 163, .13);
}

.fx-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #07111f;
  background: var(--fx-success);
  font-size: 13px;
  font-weight: 900;
}

.fx-price-value {
  margin: 12px 0 4px;
  font-size: 40px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.05em;
}

.fx-price-note {
  color: var(--fx-muted);
  font-size: 14px;
}

.fx-check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.fx-check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--fx-soft);
}

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

.fx-price .fx-btn {
  margin-top: auto;
}

.fx-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
}

.fx-device-card {
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.fx-device-visual {
  width: min(100%, 420px);
  aspect-ratio: 1.25;
  border-radius: 34px;
  background:
    radial-gradient(circle at 35% 30%, rgba(40,215,163,.36), transparent 24%),
    radial-gradient(circle at 70% 65%, rgba(109,93,252,.42), transparent 28%),
    linear-gradient(135deg, #0e1d33, #08101d);
  border: 1px solid var(--fx-border);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.03), var(--fx-shadow);
}

.fx-page-hero {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.fx-page-hero .fx-lead {
  max-width: 820px;
}

.fx-steps {
  counter-reset: fx-step;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fx-steps li {
  counter-increment: fx-step;
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--fx-border);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}

.fx-steps li::before {
  content: counter(fx-step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fx-success);
  color: #06101d;
  font-weight: 900;
}

.fx-table-wrap {
  display: grid;
  gap: 12px;
}

.fx-table-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--fx-border);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}

.fx-table-card strong {
  font-size: 17px;
}

.fx-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: #d9fff4;
  font-weight: 800;
}

.fx-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fx-success);
  box-shadow: 0 0 0 6px rgba(40,215,163,.12);
}

.fx-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.fx-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fx-success), var(--fx-primary-2));
}

.fx-faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.fx-faq-item {
  border: 1px solid var(--fx-border);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  overflow: hidden;
}

.fx-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--fx-text);
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.fx-faq-question::after {
  content: "+";
  color: var(--fx-success);
  font-size: 22px;
  line-height: 1;
}

.fx-faq-item.fx-active .fx-faq-question::after {
  content: "−";
}

.fx-faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--fx-muted);
}

.fx-faq-item.fx-active .fx-faq-answer {
  display: block;
}

.fx-cta {
  padding: 34px;
  border: 1px solid rgba(40,215,163,.22);
  border-radius: calc(var(--fx-radius) + 8px);
  background:
    radial-gradient(circle at top left, rgba(40,215,163,.18), transparent 36%),
    radial-gradient(circle at bottom right, rgba(109,93,252,.2), transparent 34%),
    rgba(255,255,255,.05);
  box-shadow: var(--fx-shadow);
}

.fx-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.04em;
  line-height: 1.12;
}

.fx-cta p {
  max-width: 780px;
  color: var(--fx-soft);
}

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

.fx-contact-list li {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--fx-border);
}

.fx-site-footer {
  padding: 48px 0 28px;
  background: #050a13;
  border-top: 1px solid rgba(255,255,255,.08);
}

.fx-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .8fr);
  gap: 28px;
}

.fx-footer-title {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--fx-text);
  font-weight: 900;
}

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

.fx-footer-links a {
  color: var(--fx-muted);
}

.fx-footer-links a:hover {
  color: var(--fx-success);
}

.fx-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--fx-muted);
  font-size: 14px;
}

.fx-not-found {
  min-height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 980px) {
  .fx-burger {
    display: inline-block;
	  margin-left: auto;
  }
	.fx-hero img {
		display:none;
	}

  .fx-nav-wrap {
    position: fixed;
    inset: var(--fx-header-h) 0 auto 0;
    display: none;
    max-height: calc(100vh - var(--fx-header-h));
    overflow-y: auto;
    padding: 16px;
    background: rgba(7,17,31,.98);
    border-bottom: 1px solid var(--fx-border);
  }

  .fx-nav-wrap.fx-open {
    display: block;
  }

  .fx-nav ul {
    display: grid;
    gap: 6px;
  }

  .fx-nav a {
    width: 100%;
    justify-content: space-between;
  }

  .fx-nav .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 6px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .fx-nav li.fx-submenu-open > .sub-menu {
    display: grid;
  }

  .fx-header-cta {
    display: none;
  }

  .fx-hero-grid,
  .fx-split {
    grid-template-columns: 1fr;
  }

  .fx-grid-4,
  .fx-grid-3,
  .fx-price-grid,
  .fx-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fx-hero {
    padding-top: 24px;
  }
}

@media (max-width: 680px) {
  .fx-container {
    width: min(100% - 24px, var(--fx-container));
  }

  .fx-grid-2,
  .fx-grid-3,
  .fx-grid-4,
  .fx-price-grid,
  .fx-footer-grid {
    grid-template-columns: 1fr;
  }

  .fx-section {
    padding: 22px 0;
  }

  .fx-card,
  .fx-price,
  .fx-cta {
    padding: 20px;
    border-radius: 20px;
  }

  .fx-hero-actions {
    display: grid;
  }

  .fx-btn {
    width: 100%;
  }

	
  header .fx-btn {
    width: auto;
  }
  .fx-table-card {
    grid-template-columns: 1fr;
  }

  .fx-footer-bottom {
    display: grid;
  }
}

@media (max-width: 380px) {
  .fx-logo-text {
    font-size: 17px;
  }

  .fx-logo-mark {
    width: 34px;
    height: 34px;
  }

  .fx-code {
    padding: 14px;
    font-size: 12px;
  }

  .fx-card h3 {
    font-size: 19px;
  }
}
@media (max-width: 340px) {
	header .fx-logo-text {display:none;}
}
.fx-footer-grid p {
	text-wrap:wrap;
}