/*
Theme Name: KABAL Neon Wide
Theme URI: https://kabal.su/
Author: KABAL
Description: Готовая адаптивная промостраница VPN-сервиса KABAL.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kabal-neon
*/

:root {
  --bg: #050811;
  --bg-soft: #09101d;
  --panel: rgba(14, 23, 40, 0.72);
  --panel-strong: #0e1728;
  --line: rgba(129, 161, 220, 0.18);
  --line-strong: rgba(90, 146, 255, 0.42);
  --text: #f4f7ff;
  --muted: #8f9bb4;
  --muted-strong: #bdc7da;
  --blue: #2d92ff;
  --cyan: #35d9e8;
  --violet: #8653ff;
  --green: #55e1a0;
  --yellow: #f8cb63;
  --shadow: 0 22px 72px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1920px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 12%, rgba(47, 107, 255, 0.13), transparent 27rem),
    radial-gradient(circle at 14% 42%, rgba(0, 205, 255, 0.055), transparent 31rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #00101c;
  background: var(--cyan);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(5, 8, 17, 0.48);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 8, 17, 0.86);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 42px;
  place-items: center;
  overflow: visible;
  color: transparent;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: "K";
  color: var(--blue);
  font-size: 43px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.16em;
  background: linear-gradient(145deg, #38b7ff 0%, #387dff 46%, #9655ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-left: auto;
  margin-right: 20px;
}

.main-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 600;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(20, 33, 57, 0.66);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(110deg, var(--blue), var(--violet));
  box-shadow: 0 14px 30px rgba(56, 101, 255, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 38px rgba(56, 101, 255, 0.46);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(15, 24, 43, 0.56);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--line-strong);
  background: rgba(30, 47, 79, 0.68);
}

.btn-small {
  min-height: 46px;
  padding-inline: 18px;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 72px 0 38px;
}

.hero::before {
  display: none;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 4%;
  width: 860px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(47, 130, 255, 0.12), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border: 2px solid rgba(53, 217, 232, 0.38);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  content: "";
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.gradient-text {
  color: var(--blue);
  background: linear-gradient(110deg, #4cbaff 0%, #467cff 42%, #9d6eff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 530px;
  margin: 26px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.65;
}

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

.hero-actions .btn {
  min-width: 272px;
  justify-content: flex-start;
  padding-inline: 23px;
  text-align: left;
}

.hero-actions .btn-primary {
  min-width: 295px;
}

.hero-actions .btn > span {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
  line-height: 1.15;
}

.hero-actions .btn strong {
  font-size: 16px;
  line-height: 1.1;
}

.hero-actions .btn small {
  color: rgba(244, 247, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.hero-meta li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(85, 225, 160, 0.76);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 610px;
  margin-right: -18px;
}

.hero-art {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(118%, 760px);
  max-width: none;
  aspect-ratio: 1;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.04);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 52%, #000 51%, rgba(0, 0, 0, 0.98) 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 72% at 50% 52%, #000 51%, rgba(0, 0, 0, 0.98) 68%, transparent 100%);
  pointer-events: none;
}

.hero-visual::after {
  position: absolute;
  z-index: 0;
  right: 4%;
  bottom: -3%;
  left: 4%;
  height: 34%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(45, 113, 255, 0.2), transparent 72%);
  content: "";
  filter: blur(18px);
  pointer-events: none;
}

.hero-orbit {
  display: none;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  border: 1px solid rgba(81, 193, 255, 0.23);
  border-radius: 50%;
  content: "";
}

.hero-orbit::before {
  inset: 42px;
  transform: rotate(52deg) skewY(-15deg);
}

.hero-orbit::after {
  inset: 100px;
  transform: rotate(-30deg) skewY(18deg);
}

.visual-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 230px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(85, 178, 255, 0.62);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 27%, rgba(79, 185, 255, 0.34), transparent 22%),
    radial-gradient(circle, rgba(42, 119, 255, 0.28), rgba(11, 19, 40, 0.88) 64%);
  box-shadow:
    inset 0 0 52px rgba(53, 134, 255, 0.22),
    0 0 65px rgba(36, 115, 255, 0.28);
  transform: translate(-50%, -50%);
}

.visual-core::before {
  position: absolute;
  width: 144px;
  height: 170px;
  border: 2px solid rgba(86, 193, 255, 0.9);
  border-radius: 46% 46% 48% 48% / 42% 42% 57% 57%;
  background: linear-gradient(135deg, rgba(37, 119, 255, 0.42), rgba(37, 21, 115, 0.2));
  box-shadow:
    inset 0 0 28px rgba(84, 203, 255, 0.32),
    0 0 30px rgba(50, 138, 255, 0.42);
  content: "";
  clip-path: polygon(50% 0, 94% 17%, 89% 64%, 72% 88%, 50% 100%, 28% 88%, 11% 64%, 6% 17%);
}

.visual-core::after {
  z-index: 1;
  color: #e9fbff;
  content: "K";
  font-size: 70px;
  font-weight: 850;
  letter-spacing: -0.1em;
  text-shadow: 0 0 28px rgba(65, 212, 255, 0.75);
}

.visual-label {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 162px;
  padding: 13px 16px;
  border: 1px solid rgba(97, 151, 255, 0.32);
  border-radius: 14px;
  background: rgba(12, 23, 47, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.visual-label strong,
.visual-label span {
  display: block;
}

.visual-label strong {
  font-size: 13px;
}

.visual-label span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.visual-label .label-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(53, 217, 232, 0.25);
  border-radius: 10px;
  background: rgba(53, 217, 232, 0.08);
}

.visual-label.top {
  top: 42px;
  right: 10px;
}

.visual-label.left {
  top: 172px;
  left: 0;
}

.visual-label.right {
  right: -6px;
  bottom: 112px;
}

.visual-label.bottom {
  bottom: 38px;
  left: 58px;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 46px;
}

.section-heading {
  max-width: 710px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.068em;
  line-height: 1.02;
}

.section-intro {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stats-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(110deg, rgba(13, 25, 47, 0.85), rgba(10, 16, 31, 0.72));
  box-shadow: var(--shadow);
}

.stats-strip::before {
  position: absolute;
  top: 0;
  left: 9%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  content: "";
}

.stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 132px;
  padding: 24px 26px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(53, 217, 232, 0.24);
  border-radius: 13px;
  background: rgba(53, 217, 232, 0.09);
}

.stat:nth-child(2) .stat-icon {
  color: var(--yellow);
  border-color: rgba(248, 203, 99, 0.23);
  background: rgba(248, 203, 99, 0.08);
}

.stat:nth-child(3) .stat-icon {
  color: var(--blue);
  border-color: rgba(45, 146, 255, 0.24);
  background: rgba(45, 146, 255, 0.09);
}

.stat:nth-child(4) .stat-icon {
  color: var(--green);
  border-color: rgba(85, 225, 160, 0.23);
  background: rgba(85, 225, 160, 0.08);
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.benefits {
  background:
    linear-gradient(180deg, transparent, rgba(30, 71, 133, 0.08) 48%, transparent),
    radial-gradient(circle at 77% 47%, rgba(62, 93, 255, 0.09), transparent 26rem);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.benefit-card {
  position: relative;
  min-height: 246px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(9, 17, 31, 0.7);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.benefit-card::after {
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(64, 157, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.benefit-card:hover {
  border-color: var(--line-strong);
  background: rgba(18, 32, 57, 0.86);
  transform: translateY(-4px);
}

.benefit-card.featured {
  grid-column: span 2;
  min-height: 306px;
  background:
    linear-gradient(140deg, rgba(30, 88, 165, 0.3), rgba(14, 21, 40, 0.82) 54%),
    rgba(9, 17, 31, 0.7);
}

.benefit-number {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.benefit-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-top: 34px;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(53, 217, 232, 0.22);
  border-radius: 15px;
  background: rgba(53, 217, 232, 0.08);
}

.benefit-card h3 {
  position: relative;
  z-index: 1;
  margin: 19px 0 8px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.benefit-card p {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.plans {
  background: linear-gradient(180deg, rgba(8, 13, 25, 0.4), transparent);
}

.period-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 20, 37, 0.8);
}

.period-switch button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.period-switch button:hover,
.period-switch button:focus-visible,
.period-switch button.is-active {
  color: #fff;
  background: linear-gradient(110deg, rgba(45, 146, 255, 0.82), rgba(134, 83, 255, 0.82));
  box-shadow: 0 5px 18px rgba(52, 102, 255, 0.24);
}

.plans-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 492px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(10, 17, 31, 0.76);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.15);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.plan-card:hover {
  border-color: rgba(99, 151, 255, 0.5);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.26);
  transform: translateY(-5px);
}

.plan-card.is-featured {
  border-color: rgba(82, 156, 255, 0.62);
  background:
    radial-gradient(circle at 80% 0%, rgba(67, 124, 255, 0.23), transparent 15rem),
    rgba(15, 26, 50, 0.86);
  box-shadow: 0 24px 70px rgba(32, 91, 222, 0.19);
}

.plan-card.is-selected {
  border-color: rgba(87, 210, 255, 0.72);
  box-shadow: 0 24px 72px rgba(38, 112, 255, 0.24);
}

.plan-badge {
  position: absolute;
  top: 17px;
  right: 17px;
  padding: 5px 9px;
  border: 1px solid rgba(85, 225, 160, 0.3);
  border-radius: 7px;
  color: var(--green);
  background: rgba(85, 225, 160, 0.08);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-label {
  margin: 0 0 17px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.055em;
}

.plan-description {
  min-height: 60px;
  margin: 13px 0 23px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-height: 51px;
  margin-bottom: 24px;
}

.plan-price strong {
  font-size: 36px;
  font-weight: 850;
  letter-spacing: -0.065em;
}

.plan-price span {
  color: var(--muted);
  font-size: 12px;
}

.plan-breakdown {
  display: flex;
  min-height: 58px;
  margin: -10px 0 22px;
  padding: 11px 13px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  border: 1px dashed rgba(85, 225, 160, 0.28);
  border-radius: 10px;
  background: rgba(85, 225, 160, 0.045);
}

.plan-breakdown span {
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.4;
}

.plan-breakdown [data-plan-discount]:not([hidden]) {
  color: var(--green);
}

.plan-features {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 21px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 13px;
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.plan-features li::before {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(85, 225, 160, 0.26);
  border-radius: 50%;
  color: var(--green);
  background: rgba(85, 225, 160, 0.08);
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.plan-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.security {
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 50%, rgba(45, 146, 255, 0.1), transparent 24rem),
    linear-gradient(180deg, transparent, rgba(8, 19, 39, 0.48), transparent);
}

.security-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.security-panel {
  position: relative;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(21, 54, 104, 0.52), rgba(11, 18, 36, 0.8) 56%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.security-panel::before {
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(86, 165, 255, 0.25);
  border-radius: 20px;
  content: "";
}

.security-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(114, 175, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 175, 255, 0.16) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 50% 50%, #000 8%, transparent 75%);
}

.security-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  border: 1px solid rgba(53, 217, 232, 0.5);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 146, 246, 0.34), rgba(7, 18, 36, 0.8) 66%);
  box-shadow: 0 0 60px rgba(45, 146, 255, 0.26);
  transform: translate(-50%, -50%);
}

.security-core::before {
  width: 70px;
  height: 84px;
  border: 2px solid var(--cyan);
  border-radius: 45% 45% 50% 50%;
  content: "";
  clip-path: polygon(50% 0, 93% 17%, 88% 64%, 72% 87%, 50% 100%, 28% 87%, 12% 64%, 7% 17%);
  filter: drop-shadow(0 0 13px rgba(53, 217, 232, 0.7));
}

.security-core::after {
  position: absolute;
  color: var(--cyan);
  content: "✓";
  font-size: 27px;
  font-weight: 800;
}

.security-chip {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(8, 17, 34, 0.86);
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
}

.security-chip::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  content: "";
}

.security-chip.one {
  top: 51px;
  left: 44px;
}

.security-chip.two {
  top: 100px;
  right: 35px;
}

.security-chip.three {
  bottom: 56px;
  left: 75px;
}

.security-chip.four {
  right: 59px;
  bottom: 85px;
}

.security-copy h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -0.07em;
  line-height: 1.03;
}

.security-copy p {
  max-width: 510px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.7;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
  font-size: 13px;
}

.check-grid li::before {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(53, 217, 232, 0.24);
  border-radius: 7px;
  color: var(--cyan);
  background: rgba(53, 217, 232, 0.08);
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.apps {
  background: linear-gradient(180deg, transparent, rgba(12, 24, 46, 0.32), transparent);
}

.apps-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}

.app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 114px;
  padding: 23px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(10, 18, 34, 0.72);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.app-card:hover {
  border-color: var(--line-strong);
  background: rgba(17, 31, 56, 0.88);
  transform: translateY(-3px);
}

.app-card-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(53, 217, 232, 0.23);
  border-radius: 15px;
  background: rgba(53, 217, 232, 0.08);
}

.app-card:nth-child(2) .app-icon {
  color: #ab83ff;
  border-color: rgba(171, 131, 255, 0.24);
  background: rgba(171, 131, 255, 0.08);
}

.app-card:nth-child(3) .app-icon {
  color: var(--green);
  border-color: rgba(85, 225, 160, 0.24);
  background: rgba(85, 225, 160, 0.08);
}

.app-card:nth-child(4) .app-icon {
  color: var(--yellow);
  border-color: rgba(248, 203, 99, 0.24);
  background: rgba(248, 203, 99, 0.08);
}

.app-card h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.035em;
}

.app-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.app-arrow {
  color: var(--muted-strong);
  font-size: 22px;
  transition: color 180ms ease, transform 180ms ease;
}

.app-card:hover .app-arrow {
  color: var(--cyan);
  transform: translateX(4px);
}

.faq {
  background:
    radial-gradient(circle at 84% 30%, rgba(91, 70, 255, 0.08), transparent 23rem),
    linear-gradient(180deg, rgba(7, 14, 27, 0.42), transparent);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 90px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

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

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--cyan);
}

.faq-plus {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 19px;
  font-weight: 400;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-item.is-open .faq-plus {
  background: rgba(53, 217, 232, 0.1);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  transition: grid-template-rows 220ms ease;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  margin: 0 42px 22px 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.cta-section {
  padding-top: 35px;
  padding-bottom: 110px;
}

.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 49px 55px;
  overflow: hidden;
  border: 1px solid rgba(84, 153, 255, 0.4);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 0%, rgba(137, 92, 255, 0.36), transparent 23rem),
    linear-gradient(110deg, rgba(23, 71, 137, 0.72), rgba(15, 24, 52, 0.84));
  box-shadow: var(--shadow);
}

.cta-card::before,
.cta-card::after {
  position: absolute;
  border: 1px solid rgba(95, 178, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.cta-card::before {
  top: -180px;
  right: -60px;
  width: 410px;
  height: 410px;
}

.cta-card::after {
  top: -110px;
  right: 9px;
  width: 270px;
  height: 270px;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.cta-copy p {
  max-width: 525px;
  margin: 16px 0 0;
  color: rgba(233, 242, 255, 0.74);
}

.cta-card .btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  color: #0a1428;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.cta-card .btn:hover,
.cta-card .btn:focus-visible {
  background: #dffaff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.27);
}

.site-footer {
  padding: 35px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(3, 7, 15, 0.6);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand p {
  max-width: 270px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  color: var(--muted-strong);
  font-size: 13px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-width: 1.7;
}

.icon-lg {
  width: 22px;
  height: 22px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 17px;
    margin-right: 8px;
  }

  .header-inner > .btn {
    padding-inline: 16px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
    gap: 34px;
  }

  .hero-visual {
    transform: scale(0.88);
    transform-origin: center right;
  }

  .security-grid,
  .faq-layout {
    gap: 45px;
  }

  .stat {
    padding-inline: 17px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .header-inner {
    min-height: 72px;
  }

  .header-inner > .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(8, 15, 29, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 14px;
    border-radius: 9px;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a.is-active {
    background: rgba(47, 130, 255, 0.1);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-grid,
  .security-grid,
  .apps-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 470px;
    transform: none;
  }

  .hero-art {
    width: min(100%, 560px);
  }

  .security-panel {
    min-height: 360px;
    order: 2;
  }

  .security-copy {
    order: 1;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-intro {
    max-width: 550px;
  }

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

  .stat:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .benefit-card.featured {
    grid-column: span 2;
  }

  .plan-card:last-child {
    grid-column: span 2;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 40px 32px;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .hero h1 {
    font-size: clamp(43px, 14vw, 67px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    gap: 10px;
  }

  .hero-visual {
    min-height: 350px;
    margin-top: -10px;
    transform: scale(0.78);
    transform-origin: center center;
  }

  .hero-art {
    width: 500px;
  }

  .hero-orbit {
    width: 440px;
  }

  .visual-label.top {
    right: -2px;
  }

  .visual-label.left {
    left: -20px;
  }

  .visual-label.right {
    right: -28px;
  }

  .visual-label.bottom {
    left: 22px;
  }

  .section {
    padding: 77px 0;
  }

  .section-heading,
  .security-copy h2 {
    font-size: clamp(37px, 12vw, 54px);
  }

  .stats-strip,
  .benefit-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(3),
  .stat:nth-child(4) {
    min-height: 100px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .stat:first-child {
    border-top: 0;
  }

  .benefit-card.featured,
  .plan-card:last-child {
    grid-column: auto;
  }

  .benefit-card,
  .benefit-card.featured {
    min-height: 222px;
  }

  .period-switch {
    width: 100%;
  }

  .period-switch button {
    flex: 1;
    padding-inline: 8px;
  }

  .plan-card {
    min-height: 450px;
    padding: 24px;
  }

  .security-panel {
    min-height: 300px;
    padding: 20px;
  }

  .security-panel::before {
    inset: 14px;
  }

  .security-core {
    width: 132px;
    height: 132px;
  }

  .security-chip {
    padding: 8px 9px;
    font-size: 9px;
  }

  .security-chip.one {
    top: 38px;
    left: 22px;
  }

  .security-chip.two {
    top: 72px;
    right: 14px;
  }

  .security-chip.three {
    bottom: 32px;
    left: 35px;
  }

  .security-chip.four {
    right: 28px;
    bottom: 49px;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: 96px;
    padding: 18px;
  }

  .app-icon {
    width: 42px;
    height: 42px;
  }

  .faq-question {
    font-size: 14px;
  }

  .cta-card {
    padding: 31px 23px;
  }

  .cta-card .btn {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* KABAL neon mark: replace the old globe artwork in the hero. */
.hero-visual {
  display: grid;
  place-items: center;
}

.hero-visual::after {
  display: none;
}

.hero-k-glow {
  position: absolute;
  width: min(72%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 217, 232, 0.24), rgba(134, 83, 255, 0.11) 42%, transparent 70%);
  filter: blur(2px);
  box-shadow: 0 0 90px rgba(45, 146, 255, 0.24), 0 0 150px rgba(134, 83, 255, 0.16);
}

.hero-k-lines {
  position: absolute;
  width: min(62%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(53, 217, 232, 0.42);
  opacity: 0.72;
  transform: rotate(45deg) skew(-7deg, -7deg);
  box-shadow: inset 0 0 32px rgba(53, 217, 232, 0.08), 0 0 24px rgba(134, 83, 255, 0.16);
}

 .hero-k-logo {
  display: block;
  width: min(62%, 430px);
  height: auto;
  aspect-ratio: 311 / 295;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 0 42px rgba(56, 183, 255, 0.34), 0 0 90px rgba(150, 85, 255, 0.18);
}
