/*
Theme Name: Hot VPN
Theme URI: https://example.com/
Author: AI Theme Builder
Author URI: https://example.com/
Description: Лёгкая, современная SEO-friendly тема для Hot VPN (WordPress 6.x).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hotvpn
*/

/* =========================
   Hot VPN Theme (hv- namespace)
   ========================= */

/* 1) CSS Variables */
:root{
  --hv-bg: #f7f8fc;
  --hv-surface: #ffffff;
  --hv-text: #0f172a;
  --hv-muted: #475569;
  --hv-border: rgba(15, 23, 42, .10);

  --hv-hot-1: #ff3d4a;  /* red */
  --hv-hot-2: #ff8a00;  /* orange */
  --hv-hot-3: #ffcf4a;  /* warm yellow for accents */

  --hv-link: #1d4ed8;
  --hv-success: #16a34a;

  --hv-shadow-sm: 0 8px 24px rgba(2, 6, 23, .08);
  --hv-shadow-md: 0 14px 40px rgba(2, 6, 23, .12);

  --hv-radius-sm: 12px;
  --hv-radius-md: 18px;
  --hv-radius-lg: 26px;

  --hv-container: 1120px;

  --hv-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* 2) Base / Reset */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}
body{
  margin:0;
  font-family: var(--hv-font);
  color: var(--hv-text);
  background: radial-gradient(1200px 600px at 15% -10%, rgba(255, 61, 74, .10), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(255, 138, 0, .10), transparent 55%),
              var(--hv-bg);
  line-height:1.55;
}
img{ max-width:100%; height:auto; }
a{ color: var(--hv-link); text-decoration:none; }
a:hover{ text-decoration:underline; }
:focus-visible{ outline: 3px solid rgba(255, 61, 74, .35); outline-offset: 2px; border-radius: 10px; }

/* WP content defaults */
.entry-content{ overflow-wrap:anywhere; }
.entry-content p{ margin: 0 0 14px; }
.entry-content h1,.entry-content h2,.entry-content h3{ line-height:1.2; margin: 0 0 12px; }
.entry-content h2{ margin-top: 26px; }
.entry-content ul,.entry-content ol{ margin: 0; }
.entry-content table{ width:100%; border-collapse:collapse; }
.entry-content th,.entry-content td{ padding:10px 12px; border:1px solid var(--hv-border); vertical-align:top; }

/* 3) Layout helpers */
.hv-container{
  width: min(var(--hv-container), calc(100% - 32px));
  margin: 0 auto;
}
.hv-section{ padding: 68px 0; }
.hv-section--tight{ padding: 0; }
.hv-surface{
  background: rgba(255,255,255,.9);
  border: 1px solid var(--hv-border);
  border-radius: var(--hv-radius-lg);
  box-shadow: var(--hv-shadow-sm);
}
.hv-grid{
  display:grid;
  gap: 18px;
}
.hv-grid--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hv-grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hv-grid--4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px){
  .hv-grid--4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-grid--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .hv-section{ padding: 0; }
  .hv-grid--2, .hv-grid--3{ grid-template-columns: 1fr; }
}

/* 4) Header / Nav */
.hv-skip{
  position:absolute; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.hv-skip:focus{
  left: 12px; top: 12px;
  width:auto; height:auto;
  padding:10px 12px;
  background: var(--hv-surface);
  border:1px solid var(--hv-border);
  border-radius: 12px;
  z-index: 9999;
}
.hv-header{
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(10px);
  background: rgba(247,248,252,.72);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.hv-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}
.hv-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
}
.hv-logo{
  width: 36px; height: 36px;
  border-radius: 12px;
  display:block;
}
.hv-brand__name{
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hv-text);
  white-space:nowrap;
}
.hv-brand__name .hv-hot{
  background: linear-gradient(90deg, var(--hv-hot-1), var(--hv-hot-2));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.hv-nav{
  display:flex;
  align-items:center;
  gap: 12px;
}
.hv-menu{
  display:flex;
  align-items:center;
  gap: 4px;
  list-style:none;
  padding:0;
  margin:0;
}
.hv-menu a{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--hv-text);
  font-weight: 650;
  text-decoration:none;
}
.hv-menu a:hover{
  background: rgba(15,23,42,.06);
  text-decoration:none;
}
.hv-menu .current-menu-item > a,
.hv-menu .current_page_item > a{
  background: rgba(255,61,74,.12);
}
.hv-menu li{ position:relative; }

/* Dropdown */
.hv-menu .menu-item-has-children > a::after{
  content:"▾";
  font-size: 12px;
  opacity:.75;
}
.hv-menu .sub-menu{
  position:absolute;
  top: calc(100% + 8px);
  left:0;
  min-width: 240px;
  list-style:none;
  margin:0;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  border:1px solid var(--hv-border);
  box-shadow: var(--hv-shadow-md);
  display:none;
}
.hv-menu li:hover > .sub-menu{ display:block; }
.hv-menu .sub-menu a{ width:100%; justify-content:space-between; }

/* Header actions */
.hv-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}
.hv-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid rgba(15,23,42,.12);
  background: var(--hv-surface);
  color: var(--hv-text);
  font-weight: 750;
  text-decoration:none;
  box-shadow: 0 8px 18px rgba(2,6,23,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hv-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(2,6,23,.10);
  text-decoration:none;
}
.hv-btn--hot{
  border: none;
  color: #101015;
  background: linear-gradient(90deg, var(--hv-hot-1), var(--hv-hot-2));
}
.hv-btn--ghost{
  background: transparent;
  border: 1px solid rgba(15,23,42,.18);
  box-shadow:none;
}
.hv-burger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border:1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.85);
}
.hv-burger span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(15,23,42,.85);
  margin: 0 auto;
  position:relative;
}
.hv-burger span::before,
.hv-burger span::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: rgba(15,23,42,.85);
}
.hv-burger span::before{ top:-6px; }
.hv-burger span::after{ top: 6px; }

/* Mobile nav panel */
@media (max-width: 960px){
  .hv-brand{ min-width:auto; }
  .hv-burger{ display:inline-flex; align-items:center; justify-content:center; }
  .hv-nav{
    position: fixed;
    inset: 70px 16px auto 16px;
    display:none;
    flex-direction: column;
    align-items:stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--hv-border);
    box-shadow: var(--hv-shadow-md);
  }
  body.hv-nav-open .hv-nav{ display:flex; }
  .hv-menu{
    flex-direction:column;
    align-items:stretch;
  }
  .hv-menu a{ justify-content:space-between; }
  .hv-menu li:hover > .sub-menu{ display:none; }

  .hv-menu .sub-menu{
    position: static;
    display:none;
    box-shadow:none;
    border-radius: 14px;
    background: rgba(15,23,42,.03);
    border: 1px solid rgba(15,23,42,.08);
    margin-top: 6px;
  }
  .hv-menu li.hv-subopen > .sub-menu{ display:block; }

  .hv-actions{ width:100%; }
  .hv-actions .hv-btn{ width:100%; }
}

/* 5) Hero */
.hv-hero{
  padding: 34px 0 20px;
}
.hv-hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items:stretch;
}
@media (max-width: 960px){
  .hv-hero__grid{ grid-template-columns: 1fr; }
}
.hv-hero__card{
  padding: 26px;
  border-radius: var(--hv-radius-lg);
  background:
    radial-gradient(900px 400px at 20% -10%, rgba(255, 61, 74, .18), transparent 55%),
    radial-gradient(700px 360px at 90% 0%, rgba(255, 138, 0, .18), transparent 52%),
    rgba(255,255,255,.90);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--hv-shadow-sm);
}
.hv-kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 61, 74, .10);
  border: 1px solid rgba(255, 61, 74, .18);
  font-weight: 750;
  color: rgba(15,23,42,.88);
}
.hv-kicker__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hv-hot-1), var(--hv-hot-2));
  box-shadow: 0 0 0 4px rgba(255, 61, 74, .10);
}
.hv-h1{
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.03em;
  margin: 14px 0 10px;
}
.hv-lead{
  font-size: 16px;
  color: var(--hv-muted);
  margin: 0 0 16px;
}
.hv-hero__cta{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin: 14px 0 0;
}
.hv-badges{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 14px;
}
.hv-badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.78);
  color: rgba(15,23,42,.86);
  font-weight: 650;
}
.hv-badge__icon{
  width: 18px; height: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--hv-hot-1), var(--hv-hot-2));
}
.hv-hero__art{
  padding: 26px;
  border-radius: var(--hv-radius-lg);
  border: 1px dashed rgba(15,23,42,.18);
  background: rgba(255,255,255,.72);
  box-shadow: var(--hv-shadow-sm);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 320px;
  position:relative;
  overflow:hidden;
}
.hv-hero__art::before{
  content:"";
  position:absolute;
  inset:-40% -30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,61,74,.18), transparent 45%),
              radial-gradient(circle at 75% 35%, rgba(255,138,0,.16), transparent 50%),
              radial-gradient(circle at 45% 75%, rgba(255,207,74,.14), transparent 45%);
  transform: rotate(6deg);
}
.hv-hero__art-inner{
  position:relative;
  text-align:center;
  color: rgba(15,23,42,.74);
  max-width: 100%;
}
.hv-hero__art-title{ font-weight: 850; margin: 0 0 8px; }
.hv-hero__art-text{ margin:0; color: rgba(71,85,105,.95); }

/* 6) Cards / Typography */
.hv-h2{
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing:-0.02em;
  margin: 0 0 10px;
}
.hv-subtitle{
  margin: 0 0 18px;
  color: var(--hv-muted);
}
.hv-card{
  border-radius: var(--hv-radius-md);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--hv-border);
  box-shadow: var(--hv-shadow-sm);
  padding: 18px;
}
.hv-card__icon{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,61,74,.20), rgba(255,138,0,.22));
  border: 1px solid rgba(255, 61, 74, .22);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}
.hv-card__icon::after{
  content:"";
  width: 16px; height: 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--hv-hot-1), var(--hv-hot-2));
}
.hv-card__title{ margin: 0 0 6px; font-weight: 850; }
.hv-card__text{ margin: 0; color: var(--hv-muted); }

/* 7) Steps */
.hv-steps{
  counter-reset: hvstep;
}
.hv-step{
  position:relative;
  padding-left: 54px;
}
.hv-step::before{
  counter-increment: hvstep;
  content: counter(hvstep);
  position:absolute;
  left: 0;
  top: 2px;
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background: linear-gradient(90deg, var(--hv-hot-1), var(--hv-hot-2));
  color: #0b1020;
  box-shadow: 0 10px 18px rgba(255,61,74,.18);
}
.hv-step h3{ margin: 0 0 6px; font-size: 18px; }
.hv-step p{ margin: 0; color: var(--hv-muted); }

/* 8) Pricing */
.hv-pricing{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items:stretch;
}
@media (max-width: 960px){
  .hv-pricing{ grid-template-columns: 1fr; }
}
.hv-plan{
  padding: 20px;
}
.hv-plan__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
.hv-plan__name{ font-weight: 900; margin:0; }
.hv-plan__tag{
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 207, 74, .22);
  border: 1px solid rgba(255, 207, 74, .28);
}
.hv-price{
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.03em;
  margin: 10px 0 6px;
}
.hv-price small{
  font-size: 14px;
  font-weight: 800;
  color: rgba(71,85,105,.95);
}
.hv-plan ul{
  margin: 12px 0 0 18px;
  color: rgba(71,85,105,.98);
}
.hv-plan__cta{
  margin-top: 14px;
}
.hv-plan--featured{
  border: 1px solid rgba(255,61,74,.22);
  box-shadow: 0 18px 44px rgba(255,61,74,.14);
  background:
    radial-gradient(900px 420px at 10% -20%, rgba(255,61,74,.18), transparent 55%),
    rgba(255,255,255,.94);
}

/* Pricing comparison table */
.hv-table{
  width:100%;
  overflow:hidden;
  border-radius: var(--hv-radius-lg);
  border: 1px solid var(--hv-border);
  background: rgba(255,255,255,.92);
  box-shadow: var(--hv-shadow-sm);
}
.hv-table table{ border:0; }
.hv-table th, .hv-table td{
  border-color: rgba(15,23,42,.08);
}
.hv-table thead th{
  background: rgba(15,23,42,.03);
  font-weight: 900;
}
.hv-check{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(22,163,74,.14);
  border: 1px solid rgba(22,163,74,.18);
}
.hv-check::after{
  content:"✓";
  font-weight: 950;
  color: var(--hv-success);
}
.hv-dash{
  opacity:.45;
}

/* Responsive table */
@media (max-width: 720px){
  .hv-table{ overflow:auto; }
  .hv-table table{ min-width: 720px; }
}

/* 9) FAQ accordion */
.hv-faq{
  display:grid;
  gap: 12px;
}
.hv-acc{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
  overflow:hidden;
}
.hv-acc__btn{
  width:100%;
  text-align:left;
  border:0;
  background: transparent;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  font-weight: 900;
  cursor:pointer;
}
.hv-acc__btn:hover{ background: rgba(15,23,42,.03); }
.hv-acc__icon{
  width: 32px; height: 32px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255, 61, 74, .08);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.hv-acc__icon::after{ content:"+"; font-size: 18px; font-weight: 950; }
.hv-acc.is-open .hv-acc__icon::after{ content:"–"; }
.hv-acc__panel{
  display:none;
  padding: 0 16px 16px;
  color: var(--hv-muted);
}
.hv-acc.is-open .hv-acc__panel{ display:block; }

/* 10) CTA banner */
.hv-cta{
  padding: 22px;
  border-radius: var(--hv-radius-lg);
  background:
    radial-gradient(900px 420px at 15% -15%, rgba(255,61,74,.24), transparent 55%),
    radial-gradient(700px 360px at 90% 0%, rgba(255,138,0,.20), transparent 55%),
    rgba(255,255,255,.92);
  border: 1px solid rgba(255,61,74,.18);
  box-shadow: var(--hv-shadow-md);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
}
.hv-cta__title{
  margin:0;
  font-size: 20px;
  font-weight: 950;
}
.hv-cta__text{
  margin: 4px 0 0;
  color: var(--hv-muted);
}
.hv-cta__actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

/* 11) Footer */
.hv-footer{
  padding: 44px 0 28px;
  border-top: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.70);
}
.hv-footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 960px){
  .hv-footer__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .hv-footer__grid{ grid-template-columns: 1fr; }
}
.hv-footer__title{ font-weight: 950; margin: 0 0 8px; }
.hv-footer__text{ margin: 0; color: var(--hv-muted); }
.hv-footer__links{
  list-style:none;
  padding:0;
  margin: 10px 0 0;
}
.hv-footer__links li{ margin: 6px 0; }
.hv-footer__links a{ color: rgba(15,23,42,.86); }
.hv-footer__bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(15,23,42,.08);
  color: rgba(71,85,105,.95);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
}

/* 12) Page header */
.hv-pagehead{
  padding: 26px;
  border-radius: var(--hv-radius-lg);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--hv-shadow-sm);
}
.hv-pagehead__title{
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.03em;
}
.hv-pagehead__desc{ margin:0; color: var(--hv-muted); }

/* 13) 404 */
.hv-404{
  padding: 72px 0;
}
.hv-404__box{
  padding: 26px;
  border-radius: var(--hv-radius-lg);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--hv-shadow-md);
}

/* 14) Small utility */
.hv-muted{ color: var(--hv-muted); }
.hv-mt-0{ margin-top: 0 !important; }
.hv-mt-12{ margin-top: 12px !important; }
.hv-mt-18{ margin-top: 18px !important; }
.hv-mb-0{ margin-bottom: 0 !important; }
.hv-note{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 207, 74, .26);
  background: rgba(255, 207, 74, .14);
  color: rgba(15,23,42,.86);
}
div.hv-surface.hv-mt-18 {padding: 22px}
@media (max-width: 960px){.hv-hero__art {display:none}}
@media (max-width: 400px){div.hv-surface.hv-mt-18 {padding: 12px}}
