/* ── CloudPath VPN · Neo-Brutalism · Full Mobile ──────── */

:root {
  --yellow: #F7CB46;
  --green:  #99E885;
  --pink:   #FE90E8;
  --blue:   #C0F7FE;
  --cream:  #FFF8E7;
  --white:  #FFFFFF;
  --black:  #000000;
  --ink:    #111111;
  --border: 3px solid #000;
  --shadow: 5px 5px 0 #000;
  --shadow-lg: 8px 8px 0 #000;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Onest', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── BRUT CARD ─────────────────────────────────────────── */
.brut-card {
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.15s, box-shadow 0.15s;
}
.brut-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #000;
}

/* ── NAV ───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 48px;
  background: var(--white);
  border-bottom: var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.logo-box {
  width: 36px; height: 36px;
  background: var(--yellow);
  border: var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-sm { width: 28px; height: 28px; }
.nav-logo span {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900; font-size: 17px; letter-spacing: -0.5px;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex; gap: 28px; list-style: none;
}
.nav-links a {
  font-family: 'Unbounded', sans-serif;
  font-size: 11px; font-weight: 700;
  text-decoration: none; color: var(--ink);
  letter-spacing: 0.5px; text-transform: uppercase;
  transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 0.6; }

.nav-cta {
  font-family: 'Unbounded', sans-serif;
  font-size: 12px; font-weight: 900;
  text-decoration: none; color: var(--white);
  background: var(--ink); border: var(--border);
  padding: 10px 20px;
  box-shadow: 3px 3px 0 #555;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 #555; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--cream);
  padding: 110px 48px 80px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
}

.dot-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #000 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.1;
  pointer-events: none;
}

.deco { position: absolute; pointer-events: none; z-index: 0; }

.deco-circle {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--yellow);
  border: var(--border);
  top: 8%; right: 4%;
  animation: floatY 5s ease-in-out infinite;
}
.deco-square {
  width: 70px; height: 70px;
  background: var(--green);
  border: var(--border);
  bottom: 12%; left: 3%;
  transform: rotate(15deg);
  animation: floatY 7s ease-in-out infinite reverse;
}
.deco-star {
  font-size: 48px; color: var(--ink);
  bottom: 10%; right: 28%;
  animation: spin 12s linear infinite;
}

@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes spin   { to { transform: rotate(360deg); } }

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: var(--border);
  box-shadow: 3px 3px 0 #000;
  padding: 8px 16px; margin-bottom: 24px;
  font-family: 'Unbounded', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
}
.badge-dot {
  width: 10px; height: 10px;
  background: #22C55E; border: 2px solid #000;
  flex-shrink: 0;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 900; line-height: 0.95;
  letter-spacing: -2px; margin-bottom: 20px;
}
h1 mark {
  background: var(--yellow); color: var(--ink);
  padding: 0 6px; text-decoration: none;
}

.hero-sub {
  font-family: 'Unbounded', sans-serif;
  font-size: 12px; font-weight: 400;
  color: #555; letter-spacing: 3px; margin-bottom: 16px;
}
.hero-desc {
  font-size: 15px; color: #444;
  line-height: 1.7; max-width: 440px;
  margin-bottom: 32px; font-weight: 300;
}

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Speed card */
.speed-card {
  padding: 24px; margin-bottom: 16px;
}
.speed-card-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  color: #666; margin-bottom: 10px;
}
.speed-val-big {
  font-family: 'Unbounded', sans-serif;
  font-size: 38px; font-weight: 900; line-height: 1;
  color: var(--ink); margin-bottom: 14px;
  transition: color 0.3s;
}
.speed-bar-outer {
  height: 12px; background: #F0F0F0;
  border: 2px solid #000; margin-bottom: 8px;
  overflow: hidden; position: relative;
}
.speed-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--yellow); border-right: 2px solid #000;
  width: 0%; transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}
.speed-hint { font-size: 10px; color: #888; }

.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mini-stat { padding: 14px 10px; text-align: center; }
.ms-yellow { background: var(--yellow); }
.ms-green  { background: var(--green);  }
.ms-pink   { background: var(--pink);   }
.ms-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px; font-weight: 900;
  display: block; margin-bottom: 4px;
}
.ms-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 7px; font-weight: 700; letter-spacing: 1.5px;
}

.hero-sticker {
  position: absolute; bottom: 28px; right: 40px;
  background: var(--pink); border: var(--border);
  box-shadow: var(--shadow);
  font-family: 'Unbounded', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 9px 20px;
  transform: rotate(-2.5deg);
  z-index: 2;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-brut {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Unbounded', sans-serif;
  font-size: 13px; font-weight: 900;
  text-decoration: none; cursor: pointer;
  border: var(--border); padding: 14px 26px;
  letter-spacing: 0.3px;
  transition: transform 0.12s, box-shadow 0.12s;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.btn-brut:hover  { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #000; }
.btn-brut:active { transform: translate(3px,3px);   box-shadow: 2px 2px 0 #000; }
.btn-black   { background: var(--ink); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); }
.btn-xl      { font-size: 15px; padding: 16px 36px; }
.w-full      { display: block; text-align: center; justify-content: center; }

/* ── MARQUEE ───────────────────────────────────────────── */
.marquee-strip {
  background: var(--ink); color: var(--yellow);
  border-top: var(--border); border-bottom: var(--border);
  padding: 13px 0; overflow: hidden;
}
.marquee-inner {
  display: flex; animation: marqueeScroll 22s linear infinite;
  white-space: nowrap; width: max-content;
}
.marquee-inner span {
  font-family: 'Unbounded', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  padding: 0 18px;
}
.mx { color: #F7CB46; }
@keyframes marqueeScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTIONS ──────────────────────────────────────────── */
.section-white { background: var(--white); padding: 80px 48px; }
.section-cream  { background: var(--cream); padding: 80px 48px; }
.section-cyan   { background: var(--blue);  padding: 80px 48px; }
.max-w { max-width: 1140px; margin: 0 auto; }

.section-head { margin-bottom: 48px; }
.section-tag {
  font-family: 'Unbounded', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: #888; margin-bottom: 10px;
}
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900; line-height: 0.95; letter-spacing: -1.5px;
}
.txt-cyan   { color: #0090A8; }
.txt-yellow { color: #9A7200; }
.txt-green  { color: #2A7D1A; }
.txt-black  { color: var(--ink); }

/* ── FEATURES ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.feat-card {
  padding: 26px 22px; position: relative;
  transition-delay: var(--delay, 0s);
}
.feat-yellow { background: var(--yellow); }
.feat-green  { background: var(--green);  }
.feat-pink   { background: var(--pink);   }
.feat-blue   { background: var(--blue);   }

.feat-num {
  position: absolute; top: 14px; right: 16px;
  font-family: 'Unbounded', sans-serif;
  font-size: 11px; font-weight: 900;
  color: rgba(0,0,0,0.25); letter-spacing: 1px;
}
.feat-icon  { font-size: 30px; margin-bottom: 14px; }
.feat-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 15px; font-weight: 900;
  margin-bottom: 8px; line-height: 1.2;
}
.feat-card p { font-size: 13px; line-height: 1.6; color: #333; margin-bottom: 14px; }
.feat-tag {
  font-family: 'Unbounded', sans-serif;
  font-size: 8px; font-weight: 700; letter-spacing: 2px;
  color: rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.07);
  display: inline-block; padding: 3px 9px;
  border: 1px solid rgba(0,0,0,0.2);
}

/* ── SERVERS MAP ───────────────────────────────────────── */
.servers-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px; align-items: start;
}
.map-card { overflow: hidden; }
.map-label-bar {
  background: var(--ink); color: var(--yellow);
  font-family: 'Unbounded', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  padding: 10px 18px;
}
.map-wrap { overflow: hidden; }
.map-wrap svg { display: block; width: 100%; height: auto; }

/* Map line dash animation */
.map-line { animation: dashAnim 2s linear infinite; }
@keyframes dashAnim { to { stroke-dashoffset: -30; } }

/* Pin pulse animation */
.pin-pulse { animation: pinPulse 1.8s ease-out infinite; }
@keyframes pinPulse {
  0%   { r: 10; opacity: 0.7; }
  100% { r: 28; opacity: 0; }
}

/* Ping stack */
.ping-stack { display: flex; flex-direction: column; gap: 12px; }

.ping-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
}
.ping-de { background: #FFFBE8; }
.ping-nl { background: #F2FFF0; }
.ping-fi { background: #F0FCFF; }

.ping-flag { font-size: 26px; flex-shrink: 0; }
.ping-info { flex: 1; min-width: 0; }
.ping-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px; font-weight: 700; margin-bottom: 3px;
}
.ping-loc { font-size: 11px; color: #666; }
.ping-ms {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px; font-weight: 900;
  color: #16A34A;
  background: #F0FFF4;
  border: 2px solid #000;
  padding: 5px 12px;
  transition: color 0.3s;
  flex-shrink: 0;
}

.status-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  background: var(--green);
  font-family: 'Unbounded', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
}
.status-dot {
  width: 11px; height: 11px;
  background: #16A34A; border: 2px solid #000;
  flex-shrink: 0;
  animation: blink 1s step-end infinite;
}

/* ── PRICING ───────────────────────────────────────────── */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px; align-items: start;
}
.price-card { padding: 32px 24px; position: relative; }
.price-featured {
  background: var(--yellow);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.price-featured:hover { transform: translate(-2px,-12px); }

.price-ribbon {
  position: absolute; top: -1px; right: 18px;
  background: var(--ink); color: var(--yellow);
  font-family: 'Unbounded', sans-serif;
  font-size: 9px; font-weight: 900; letter-spacing: 1px;
  padding: 5px 14px;
  border-left: 2px solid #000; border-right: 2px solid #000; border-bottom: 2px solid #000;
}
.price-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: #666; margin-bottom: 14px;
}
.price-big {
  font-family: 'Unbounded', sans-serif;
  font-size: 50px; font-weight: 900; line-height: 1;
  margin-bottom: 4px; letter-spacing: -2px;
}
.price-big sup { font-size: 22px; vertical-align: top; margin-top: 8px; }
.price-rub {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  color: #999;
  margin-top: 2px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.price-sub {
  font-family: 'Unbounded', sans-serif;
  font-size: 10px; letter-spacing: 3px; color: #666;
  margin-bottom: 24px;
}
.price-list {
  list-style: none; margin-bottom: 24px;
}
.price-list li {
  font-size: 13px; padding: 8px 0;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  color: #333;
}
.price-list li:last-child { border-bottom: none; }
.pricing-note {
  text-align: center; margin-top: 28px;
  font-family: 'Unbounded', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  color: rgba(0,0,0,0.45);
}

/* ── HOW ───────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
.step-card { padding: 26px 20px; }
.step-yellow { background: var(--yellow); }
.step-green  { background: var(--green);  }
.step-pink   { background: var(--pink);   }
.step-blue   { background: var(--blue);   }

.step-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 34px; font-weight: 900;
  color: rgba(0,0,0,0.15); line-height: 1;
  margin-bottom: 14px;
}
.step-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 14px; font-weight: 900;
  margin-bottom: 8px; line-height: 1.2;
}
.step-card p { font-size: 13px; line-height: 1.65; color: #333; }
.step-card a { color: var(--ink); font-weight: 700; }

/* ── CTA ───────────────────────────────────────────────── */
.cta-section {
  background: var(--cream);
  border-top: var(--border); border-bottom: var(--border);
  padding: 88px 24px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-inner { position: relative; z-index: 1; }
.cta-star {
  font-size: 48px; display: block;
  margin-bottom: 14px;
  animation: spin 8s linear infinite;
}
.cta-section h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 900; letter-spacing: -2px;
  line-height: 0.95; margin-bottom: 18px;
}
.cta-section h2 mark {
  background: var(--yellow); color: var(--ink); padding: 0 8px;
}
.cta-section p { font-size: 15px; color: #555; margin-bottom: 32px; }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--ink);
  border-top: var(--border);
  padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: 'Unbounded', sans-serif;
  font-size: 15px; font-weight: 900;
  color: var(--yellow);
  display: flex; align-items: center; gap: 10px;
}
.footer-logo .logo-box { background: var(--yellow); border-color: var(--yellow); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-family: 'Unbounded', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: rgba(255,255,255,0.45); text-decoration: none;
  text-transform: uppercase; transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-copy {
  font-family: 'Unbounded', sans-serif;
  font-size: 10px; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.2);
}

/* ── SCROLL ANIM ───────────────────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease var(--delay, 0s),
              transform 0.6s ease var(--delay, 0s);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE / MOBILE
══════════════════════════════════════════════════════════ */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  nav { padding: 10px 20px; }
  .nav-logo-img { height: 32px; }

  .hero { padding: 100px 24px 72px; }
  .hero-inner { gap: 32px; }

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

  .servers-layout { grid-template-columns: 1fr; }
  .ping-stack { display: grid; grid-template-columns: repeat(2,1fr); }
  .status-pill { grid-column: 1 / -1; }

  .pricing-row { gap: 14px; }
  .steps-grid  { grid-template-columns: repeat(2,1fr); }

  footer { padding: 28px 24px; }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {

  /* Nav burger */
  .nav-links {
    display: none;
    position: fixed;
    top: 63px; left: 0; right: 0;
    background: var(--white);
    border-bottom: var(--border);
    flex-direction: column; gap: 0;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 2px solid #000; }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block; padding: 16px 24px;
    font-size: 14px;
  }
  .nav-burger { display: flex; }
  .nav-cta    { display: none; }

  /* Hero — stack vertically */
  .hero { padding: 90px 20px 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-right { display: none; } /* hide speed widget on mobile */

  h1 { font-size: clamp(36px, 10vw, 56px); letter-spacing: -1px; }

  .hero-badge { font-size: 9px; padding: 7px 12px; }
  .hero-desc  { font-size: 14px; max-width: 100%; margin-bottom: 24px; }

  .hero-cta-row { flex-direction: column; gap: 10px; }
  .hero-cta-row .btn-brut { justify-content: center; }

  .hero-sticker {
    position: static;
    transform: rotate(-1.5deg);
    display: inline-block;
    margin-top: 24px;
    font-size: 9px; padding: 7px 14px;
  }

  .deco-circle { width: 100px; height: 100px; top: 6%; right: 2%; }
  .deco-square { width: 50px;  height: 50px;  bottom: 20%; left: 2%; }
  .deco-star   { display: none; }

  /* Marquee */
  .marquee-inner span { font-size: 10px; padding: 0 12px; }

  /* Sections */
  .section-white,
  .section-cream,
  .section-cyan { padding: 56px 20px; }

  .section-title { font-size: clamp(24px, 8vw, 40px); letter-spacing: -1px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Map — ping stack column */
  .servers-layout { grid-template-columns: 1fr; gap: 14px; }
  .ping-stack { display: flex; flex-direction: column; gap: 10px; }
  .ping-name { font-size: 12px; }
  .ping-loc  { font-size: 10px; }

  /* Pricing */
  .pricing-row {
    grid-template-columns: 1fr;
    max-width: 380px; margin: 0 auto;
    gap: 14px;
  }
  .price-featured { transform: none; }
  .price-featured:hover { transform: translate(-2px,-2px); }
  .price-big { font-size: 44px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }

  /* CTA */
  .cta-section { padding: 64px 20px; }
  .cta-section h2 { font-size: clamp(30px, 9vw, 52px); }
  .btn-xl { font-size: 13px; padding: 14px 24px; }

  /* Footer */
  footer {
    flex-direction: column; text-align: center;
    padding: 28px 20px; gap: 16px;
  }
  .footer-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
}

/* Small mobile ≤ 400px */
@media (max-width: 400px) {
  h1 { font-size: 32px; }
  .hero-badge { font-size: 8px; letter-spacing: 1px; }
  .btn-brut   { font-size: 11px; padding: 12px 18px; }
  .price-big  { font-size: 38px; }
}