/*
Theme Name: Rocket VPN RU Theme
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Лёгкая адаптивная SEO-оптимизированная тема WordPress для Rocket VPN.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: rocketvpn-ru
*/

:root{
  --rvpn-bg:#07111f;
  --rvpn-bg-soft:#0d1a2c;
  --rvpn-surface:#101f35;
  --rvpn-surface-2:#132742;
  --rvpn-card:#11233c;
  --rvpn-card-border:rgba(132,196,255,.14);
  --rvpn-text:#eaf3ff;
  --rvpn-text-soft:#b8c7df;
  --rvpn-text-muted:#8fa4c4;
  --rvpn-primary:#4ea4ff;
  --rvpn-primary-2:#6e7cff;
  --rvpn-accent:#2ee6d6;
  --rvpn-success:#5fe08f;
  --rvpn-danger:#ff6b7a;
  --rvpn-warning:#ffcf5a;
  --rvpn-shadow:0 18px 50px rgba(0,0,0,.35);
  --rvpn-radius:18px;
  --rvpn-radius-sm:12px;
  --rvpn-container:1200px;
  --rvpn-transition:all .25s ease;
}

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

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at top right, rgba(78,164,255,.12), transparent 28%),
    radial-gradient(circle at top left, rgba(46,230,214,.08), transparent 20%),
    linear-gradient(180deg, #07111f 0%, #081523 42%, #07111f 100%);
  color:var(--rvpn-text);
  font-size:16px;
  line-height:1.7;
  min-width:320px;
}

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

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

a:hover{
  color:#8ac4ff;
}

button,
input,
textarea,
select{
  font:inherit;
}

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

.rv-section{
  padding:72px 0;
}

.rv-section-sm{
  padding:48px 0;
}

.rv-grid{
  display:grid;
  gap:24px;
}

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

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

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

.rv-card{
  background:linear-gradient(180deg, rgba(18,34,58,.92), rgba(12,25,43,.92));
  border:1px solid var(--rvpn-card-border);
  border-radius:var(--rvpn-radius);
  box-shadow:var(--rvpn-shadow);
  padding:28px;
  position:relative;
  overflow:hidden;
}

.rv-card::before{
  content:"";
  position:absolute;
  inset:auto auto 0 -40px;
  width:140px;
  height:140px;
  background:radial-gradient(circle, rgba(46,230,214,.16), transparent 65%);
  pointer-events:none;
}

.rv-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(78,164,255,.1);
  border:1px solid rgba(78,164,255,.18);
  color:#d9ebff;
  font-size:14px;
  font-weight:600;
}

.rv-pill{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  color:var(--rvpn-text-soft);
  font-size:14px;
  background:rgba(255,255,255,.03);
}

.rv-btn,
.wp-block-button__link,
button,
input[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:13px 22px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(135deg, var(--rvpn-primary), var(--rvpn-primary-2));
  color:#fff;
  font-weight:700;
  box-shadow:0 16px 35px rgba(78,164,255,.25);
  cursor:pointer;
  transition:var(--rvpn-transition);
}

.rv-btn:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
  color:#fff;
}

.rv-btn-outline{
  background:transparent;
  color:var(--rvpn-text);
  box-shadow:none;
  border:1px solid rgba(255,255,255,.16);
}

.rv-btn-outline:hover{
  background:rgba(255,255,255,.05);
}

.rv-heading{
  margin:0 0 14px;
  font-size:clamp(32px,4vw,56px);
  line-height:1.06;
  letter-spacing:-.03em;
}

.rv-subheading{
  margin:0 0 14px;
  font-size:clamp(24px,3vw,38px);
  line-height:1.15;
  letter-spacing:-.02em;
}

.rv-lead{
  font-size:18px;
  color:var(--rvpn-text-soft);
  max-width:760px;
}

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

.rv-kicker{
  margin:0 0 14px;
  color:var(--rvpn-accent);
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:13px;
}

.rv-list{
  margin:0;
  padding-left:20px;
}

.rv-list li{
  margin:0 0 10px;
}

.rv-checks{
  list-style:none;
  padding:0;
  margin:0;
}

.rv-checks li{
  position:relative;
  padding-left:28px;
  margin:0 0 10px;
  color:var(--rvpn-text-soft);
}

.rv-checks li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--rvpn-accent);
  font-weight:800;
}

.rv-site-header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(12px);
  background:rgba(7,17,31,.82);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.rv-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:78px;
}

.rv-logo{
  display:flex;
  align-items:center;
  gap:14px;
  color:#fff;
  font-weight:800;
  font-size:20px;
}

.rv-logo-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  background:linear-gradient(135deg, var(--rvpn-accent), var(--rvpn-primary));
  display:grid;
  place-items:center;
  color:#08111d;
  font-size:18px;
  font-weight:900;
  box-shadow:0 12px 28px rgba(46,230,214,.24);
}

.rv-main-nav{
  display:flex;
  align-items:center;
  gap:24px;
}

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

.rv-main-nav li{
  position:relative;
}

.rv-main-nav a{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  color:#e7f1ff;
  font-weight:600;
}

.rv-main-nav a:hover,
.rv-main-nav .current-menu-item > a,
.rv-main-nav .current_page_item > a{
  background:rgba(255,255,255,.06);
  color:#fff;
}

.rv-main-nav .sub-menu{
  position:absolute;
  top:100%;
  left:0;
  min-width:240px;
  display:block;
  background:#0f1e33;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:10px;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:var(--rvpn-transition);
  box-shadow:var(--rvpn-shadow);
}

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

.rv-main-nav .sub-menu li{
  width:100%;
}

.rv-main-nav .sub-menu a{
  padding:10px 12px;
}

.rv-header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.rv-burger{
  display:none;
  width:46px;
  height:46px;
  border-radius:12px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
}

.rv-hero{
  padding:82px 0 56px;
}

.rv-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr);
  gap:38px;
  align-items:center;
}

.rv-hero-copy p{
  margin:0 0 18px;
}

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

.rv-hero-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:28px;
}

.rv-stat{
  padding:18px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}

.rv-stat strong{
  display:block;
  font-size:26px;
  line-height:1;
  margin-bottom:8px;
}

.rv-hero-visual{
  position:relative;
}

.rv-hero-panel{
  background:linear-gradient(180deg, rgba(20,37,60,.94), rgba(12,22,38,.94));
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  box-shadow:var(--rvpn-shadow);
  padding:24px;
  position:relative;
  overflow:hidden;
}

.rv-hero-panel::after{
  content:"";
  position:absolute;
  inset:-30% -10% auto auto;
  width:240px;
  height:240px;
  background:radial-gradient(circle, rgba(78,164,255,.22), transparent 60%);
}

.rv-ui-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.rv-ui-dots{
  display:flex;
  gap:8px;
}

.rv-ui-dots span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.22);
}

.rv-ui-map{
  min-height:280px;
  border-radius:22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(46,230,214,.18), transparent 24%),
    radial-gradient(circle at 70% 30%, rgba(78,164,255,.18), transparent 24%),
    radial-gradient(circle at 50% 70%, rgba(110,124,255,.20), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.08);
  position:relative;
  overflow:hidden;
}

.rv-node{
  position:absolute;
  width:14px;
  height:14px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--rvpn-accent), var(--rvpn-primary));
  box-shadow:0 0 0 8px rgba(46,230,214,.10), 0 0 18px rgba(46,230,214,.55);
}

.rv-node.n1{top:18%;left:19%;}
.rv-node.n2{top:28%;left:69%;}
.rv-node.n3{top:58%;left:48%;}
.rv-node.n4{top:68%;left:26%;}
.rv-node.n5{top:44%;left:83%;}

.rv-line{
  position:absolute;
  height:2px;
  background:linear-gradient(90deg, rgba(46,230,214,.0), rgba(46,230,214,.7), rgba(78,164,255,.0));
  transform-origin:left center;
}

.rv-line.l1{top:22%;left:20%;width:52%;transform:rotate(8deg);}
.rv-line.l2{top:32%;left:48%;width:24%;transform:rotate(34deg);}
.rv-line.l3{top:58%;left:27%;width:24%;transform:rotate(-10deg);}

.rv-floating-card{
  position:absolute;
  right:-18px;
  bottom:24px;
  width:220px;
  padding:18px;
  background:rgba(8,18,31,.92);
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  box-shadow:var(--rvpn-shadow);
}

.rv-floating-card strong{
  display:block;
  margin-bottom:8px;
}

.rv-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:28px;
}

.rv-feature{
  height:100%;
}

.rv-feature-icon{
  width:56px;
  height:56px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(46,230,214,.16), rgba(78,164,255,.16));
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:18px;
  font-size:22px;
}

.rv-pricing{
  align-items:stretch;
}

.rv-price-card{
  display:flex;
  flex-direction:column;
  gap:18px;
  height:100%;
}

.rv-price-card.rv-popular{
  border-color:rgba(46,230,214,.28);
  box-shadow:0 18px 50px rgba(46,230,214,.12);
}

.rv-price-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.rv-price{
  font-size:42px;
  line-height:1;
  font-weight:900;
}

.rv-price small{
  font-size:16px;
  color:var(--rvpn-text-muted);
  font-weight:600;
}

.rv-old-price{
  color:var(--rvpn-text-muted);
  text-decoration:line-through;
  font-size:15px;
}

.rv-discount{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(95,224,143,.12);
  color:var(--rvpn-success);
  font-size:13px;
  font-weight:800;
}

.rv-content{
  max-width:860px;
}

.rv-content h1,
.rv-content h2,
.rv-content h3{
  line-height:1.18;
  letter-spacing:-.02em;
}

.rv-content h1{font-size:clamp(34px,4vw,52px);}
.rv-content h2{font-size:clamp(26px,3vw,36px); margin-top:44px;}
.rv-content h3{font-size:24px; margin-top:30px;}

.rv-content p,
.rv-content li{
  color:var(--rvpn-text-soft);
}

.rv-page-hero{
  padding:64px 0 28px;
}

.rv-breadcrumbs{
  font-size:14px;
  color:var(--rvpn-text-muted);
  margin-bottom:18px;
}

.rv-breadcrumbs a{
  color:var(--rvpn-text-muted);
}

.rv-side-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:28px;
}

.rv-sidebar .rv-card{
  margin-bottom:20px;
}

.rv-faq{
  display:grid;
  gap:14px;
}

.rv-faq-item{
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
}

.rv-faq-question{
  width:100%;
  background:none;
  border:0;
  color:#fff;
  text-align:left;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  box-shadow:none;
  min-height:0;
}

.rv-faq-question:hover{
  transform:none;
  filter:none;
  background:rgba(255,255,255,.03);
}

.rv-faq-answer{
  display:none;
  padding:0 20px 20px;
  color:var(--rvpn-text-soft);
}

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

.rv-faq-item.active .rv-faq-question .rv-faq-plus{
  transform:rotate(45deg);
}

.rv-faq-plus{
  transition:var(--rvpn-transition);
  font-size:24px;
  line-height:1;
}

.rv-cta-band{
  padding:30px;
  border-radius:24px;
  background:
    radial-gradient(circle at left top, rgba(46,230,214,.18), transparent 22%),
    linear-gradient(135deg, rgba(78,164,255,.14), rgba(110,124,255,.12));
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.rv-device-grid .rv-card,
.rv-tech-grid .rv-card{
  height:100%;
}

.rv-icon-list{
  display:grid;
  gap:14px;
}

.rv-icon-list-item{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.rv-icon-bullet{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(78,164,255,.12);
  flex:0 0 42px;
}

.rv-table-wrap{
  overflow:auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
}

.rv-table{
  width:100%;
  border-collapse:collapse;
  min-width:700px;
  background:rgba(255,255,255,.03);
}

.rv-table th,
.rv-table td{
  padding:16px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
}

.rv-table th{
  color:#fff;
  background:rgba(255,255,255,.04);
}

.rv-site-footer{
  margin-top:72px;
  border-top:1px solid rgba(255,255,255,.06);
  background:#081320;
}

.rv-footer-top{
  padding:56px 0 26px;
  display:grid;
  grid-template-columns:1.3fr repeat(3,1fr);
  gap:28px;
}

.rv-footer-top ul{
  list-style:none;
  margin:0;
  padding:0;
}

.rv-footer-top li{
  margin:0 0 10px;
}

.rv-footer-bottom{
  padding:18px 0 30px;
  border-top:1px solid rgba(255,255,255,.06);
  color:var(--rvpn-text-muted);
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:space-between;
}

.rv-mobile-panel{
  display:none;
}

.rv-sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.alignwide,
.alignfull{
  width:100%;
}

.wp-caption,
.gallery-caption{
  max-width:100%;
}

.screen-reader-text{
  position:absolute;
  left:-9999px;
}

@media (max-width: 1100px){
  .rv-hero-grid,
  .rv-side-layout,
  .rv-footer-top{
    grid-template-columns:1fr;
  }

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

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

  .rv-floating-card{
    position:relative;
    right:auto;
    bottom:auto;
    width:100%;
    margin-top:18px;
  }
}

@media (max-width: 920px){
  .rv-main-nav,
  .rv-header-actions .rv-btn{
    display:none;
  }

  .rv-burger{
    display:grid;
    place-items:center;
  }

  .rv-mobile-panel{
    display:none;
    padding:0 0 18px;
  }

  .rv-mobile-panel.active{
    display:block;
  }

  .rv-mobile-panel nav ul{
    list-style:none;
    margin:0;
    padding:16px;
    background:#0f1e33;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
  }

  .rv-mobile-panel nav li{
    margin:0 0 8px;
  }

  .rv-mobile-panel nav a{
    display:block;
    padding:12px 14px;
    border-radius:12px;
    color:#fff;
    background:rgba(255,255,255,.03);
  }

  .rv-hero-stats{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .rv-section{
    padding:56px 0;
  }

  .rv-hero{
    padding:50px 0 30px;
  }

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

  .rv-cta-band,
  .rv-section-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .rv-price{
    font-size:36px;
  }

  .rv-card{
    padding:22px;
  }

  .rv-container{
    width:min(100% - 24px, var(--rvpn-container));
  }
}

@media (max-width: 520px){
  .rv-heading{
    font-size:34px;
  }

  .rv-subheading{
    font-size:28px;
  }

  .rv-logo span{
    font-size:17px;
  }

  .rv-hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .rv-btn,
  .rv-btn-outline{
    width:100%;
  }

  .rv-site-header .rv-header-inner{
    min-height:70px;
  }
}