/* ============================================================
   Proton Pass — polish UI layer (loaded last)
   Refreshes the palette to Proton violet, softens surfaces,
   darkens the footer and adds small UX touches.
   Layout and markup stay untouched: colours, shadows and
   radii only.
   ============================================================ */

:root {
  /* Fresh accent palette: Proton violet */
  --fx-blue: #6d4aff;
  --fx-blue-dark: #5a35f0;
  --fx-indigo: #8b5cf6;
  --fx-sky: #a78bfa;
  --fx-ink: #201c4a;
  --fx-line: #e6e2f3;
  --fx-grad: linear-gradient(135deg, #6d4aff, #9d6bff);
  --fx-grad-hover: linear-gradient(135deg, #5a35f0, #8b5cf6);
  --fx-shadow-sm: 0 2px 6px rgba(23, 20, 61, .05), 0 12px 30px rgba(23, 20, 61, .07);
  --fx-shadow-md: 0 6px 14px rgba(23, 20, 61, .06), 0 22px 48px rgba(23, 20, 61, .10);
  --fx-shadow-blue: 0 14px 34px rgba(109, 74, 255, .18);

  --rf-blue: #6d4aff;
  --rf-blue-dark: #5a35f0;
  --rf-indigo: #8b5cf6;
  --rf-line: #e6e2f3;
  --rf-grad: linear-gradient(135deg, #6d4aff, #9d6bff);
  --rf-grad-ink: linear-gradient(135deg, #241f52, #3b2f7a);
  --rf-shadow-xs: 0 1px 2px rgba(23, 20, 61, .05), 0 3px 10px rgba(23, 20, 61, .045);
  --rf-shadow-sm: 0 2px 4px rgba(23, 20, 61, .05), 0 10px 26px rgba(23, 20, 61, .06);
  --rf-shadow-md: 0 4px 8px rgba(23, 20, 61, .05), 0 18px 44px rgba(23, 20, 61, .09);
  --rf-shadow-lg: 0 8px 16px rgba(23, 20, 61, .06), 0 30px 70px rgba(23, 20, 61, .13);

  --ui-blue: #6d4aff;
  --ui-blue-dark: #5a35f0;
  --ui-line: #e6e2f3;
  --ui-ink: #201c4a;
  --ui-bg: #f9f8fe;
  --ui-paper-blue: #f4f0ff;
  --theme-color: #6d4aff;
  --primary-color: #1e1b4b;
  --ink: #201c4a;
}

::selection {
  background: rgba(109, 74, 255, .85) !important;
  color: #fff;
}

:focus-visible {
  outline-color: rgba(109, 74, 255, .45) !important;
}

/* Anchor targets land below the sticky header */
[id] {
  scroll-margin-top: 100px;
}

/* ---------- Header ---------- */
.header-section {
  background: rgba(249, 248, 254, .86) !important;
}

.header-section:after {
  background: linear-gradient(90deg, rgba(109, 74, 255, .55), rgba(139, 92, 246, .45), rgba(217, 70, 239, .35)) !important;
}

.header-section .main-menu>li>a:hover,
.header-section .main-menu>li.active>a {
  box-shadow: inset 0 0 0 1px rgba(109, 74, 255, .18) !important;
}

.header-section .main-menu .cmn--btn:hover,
.header-section .desktop-cta:hover {
  box-shadow: 0 10px 26px rgba(109, 74, 255, .32) !important;
}

/* ---------- Buttons ---------- */
.cmn--btn {
  border-radius: 12px !important;
  box-shadow: 0 10px 24px rgba(109, 74, 255, .28) !important;
}

.cmn--btn:hover,
.cmn--btn:focus-visible,
.header-section .main-menu .cmn--btn:hover,
.header-section .desktop-cta:hover,
.home-v2 .home-intro-hero .cmn--btn:hover,
.contact-form-shell .cmn--btn:hover,
.cookie-banner .cmn--btn:hover {
  box-shadow: 0 14px 32px rgba(109, 74, 255, .36) !important;
}

/* ---------- Hero ---------- */
.home-v2 .banner-section,
.banner-section {
  background: linear-gradient(160deg, #faf8ff 0%, #f3efff 46%, #fdf4ff 100%) !important;
}

.home-v2 .home-hero-command:before {
  background: radial-gradient(circle at 84% 12%, rgba(139, 92, 246, .22), transparent 26%), radial-gradient(circle at 8% 84%, rgba(109, 74, 255, .16), transparent 26%), linear-gradient(90deg, rgba(109, 74, 255, .04) 1px, transparent 1px), linear-gradient(rgba(109, 74, 255, .04) 1px, transparent 1px) !important;
  background-size: auto, auto, 56px 56px, 56px 56px !important;
}

.home-v2 .home-hero-command:after {
  background: conic-gradient(from 220deg, rgba(109, 74, 255, .2), rgba(139, 92, 246, .16), rgba(217, 70, 239, .16), rgba(109, 74, 255, .2)) !important;
}

.home-v2 .home-hero-command .hero-intro-grid:before {
  background: radial-gradient(circle, rgba(240, 171, 252, .3), transparent 68%) !important;
}

.home-v2 .home-hero-command .eyebrow {
  border-color: rgba(109, 74, 255, .18) !important;
}

.home-v2 .home-hero-command .eyebrow:before,
.eyebrow.dark:before {
  box-shadow: 0 0 0 4px rgba(109, 74, 255, .13) !important;
}

.home-v2 .home-intro-hero .cmn--btn {
  box-shadow: 0 14px 30px rgba(109, 74, 255, .32) !important;
}

.home-v2 .home-intro-hero .cmn--btn:hover {
  background: linear-gradient(135deg, #5a35f0, #8b5cf6) !important;
  box-shadow: 0 18px 38px rgba(109, 74, 255, .4) !important;
}

.hero-intro-trust i {
  color: var(--fx-blue) !important;
}

/* ---------- Feature cards ---------- */
.home-v2 .feature-section,
.feature-section {
  background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%) !important;
}

.home-v2 .feature-card:hover,
.home-v2 .feature-section .row>div:first-child .feature-card:hover,
.home-v2 .feature-section .row>div:nth-child(2) .feature-card:hover,
.home-v2 .feature-section .row>div:nth-child(3) .feature-card:hover {
  border-color: #d8ccff !important;
}

.home-v2 .feature-section .row>div:nth-child(2) .feature-card:before {
  background: linear-gradient(90deg, #c084fc, #f0abfc) !important;
}

.home-v2 .feature-section .row>div:nth-child(3) .feature-card:before {
  background: linear-gradient(90deg, #8b5cf6, #c4b5fd) !important;
}

.home-v2 .feature-icon,
.home-v2 .feature-section .row>div:first-child .feature-icon {
  background: linear-gradient(135deg, #efe9ff, #f6efff) !important;
  color: var(--fx-blue) !important;
  box-shadow: inset 0 0 0 1px rgba(109, 74, 255, .14) !important;
}

.home-v2 .feature-section .row>div:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #f3e8ff, #fce7f3) !important;
  color: #a855f7 !important;
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, .16) !important;
}

.home-v2 .feature-section .row>div:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #ede9fe, #e0e7ff) !important;
  color: #7c3aed !important;
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, .16) !important;
}

/* ---------- Setup path steps ---------- */
.home-v2 .vpn-path-grid li:hover {
  border-color: #d8ccff !important;
}

/* ---------- Capability cards ---------- */
.capability-card:hover {
  border-color: #d8ccff !important;
}

/* ---------- Comparison table ---------- */
.home-v2 .comparison-section {
  background: linear-gradient(180deg, #f7f4ff, #f1ecfe 52%, #fbfaff) !important;
}

.home-v2 .comparison-section:before {
  background: radial-gradient(circle, rgba(109, 74, 255, .13), transparent 68%) !important;
}

.home-v2 .comparison-section:after {
  background: radial-gradient(circle, rgba(217, 70, 239, .12), transparent 68%) !important;
}

.home-v2 .comparison-table thead th {
  background: linear-gradient(180deg, #f6f3ff, #efeafe) !important;
  color: #5d5478 !important;
}

.home-v2 .comparison-table .featured {
  background: linear-gradient(180deg, #f2edff, #e9e1ff) !important;
  color: #4c1d95 !important;
  box-shadow: inset 1px 0 0 rgba(109, 74, 255, .28), inset -1px 0 0 rgba(109, 74, 255, .28) !important;
}

.comparison-table tbody tr:hover,
.comparison-table tbody tr:hover th[scope="row"] {
  background: #faf8ff !important;
}

/* ---------- Editorial card ---------- */
.home-v2 .editorial-card {
  box-shadow: 0 24px 60px rgba(76, 29, 149, .3) !important;
}

/* ---------- Testimonials ---------- */
.home-v2 .testimonial-section {
  background: linear-gradient(180deg, #fbf9ff, #f5f1ff) !important;
}

.home-v2 .testimonial-card {
  border-color: rgba(139, 92, 246, .2) !important;
}

.home-v2 .testimonial-card:hover {
  border-color: #d8ccff !important;
}

.home-v2 .testimonial-person img,
.testimonial-person img {
  border: 3px solid #e6ddff !important;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(109, 74, 255, .35) !important;
}

.home-v2 .testimonial-card:before {
  color: rgba(139, 92, 246, .16) !important;
}

/* ---------- FAQ ---------- */
.home-v2 .faq-section .accordion-item:hover {
  border-color: #d8ccff !important;
}

.home-v2 .faq-section .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: #d8ccff !important;
  box-shadow: 0 14px 34px rgba(109, 74, 255, .14) !important;
}

.home-v2 .faq-section .accordion-button:hover {
  background: #faf8ff !important;
}

.home-v2 .faq-section .accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, #faf7ff, #f3eeff) !important;
  color: var(--fx-blue-dark) !important;
}

.home-v2 .faq-section .accordion-button::after {
  background: linear-gradient(135deg, #f1ecff, #e9e2ff) !important;
  color: var(--fx-blue) !important;
}

.home-v2 .faq-section .accordion-button:not(.collapsed)::after {
  background: var(--fx-grad) !important;
  color: #fff !important;
}

/* ---------- Guide shortcuts ---------- */
.guide-shortcuts-section {
  background: linear-gradient(160deg, #faf8ff 0%, #f6f2ff 100%) !important;
}

.guide-shortcuts-list a:hover {
  background: linear-gradient(90deg, rgba(109, 74, 255, .07), rgba(217, 70, 239, .06)) !important;
}

/* ---------- Inner banners & article hero ---------- */
.inner-banner,
.article-hero {
  background: linear-gradient(155deg, #faf8ff 0%, #f3effe 48%, #fdf5ff 100%) !important;
  border-bottom: 1px solid #ece7fa !important;
}

.inner-banner:after,
.article-hero:after {
  background: radial-gradient(circle, rgba(109, 74, 255, .16), transparent 66%) !important;
}

.inner-banner:before,
.article-hero:before {
  background: radial-gradient(circle, rgba(217, 70, 239, .12), transparent 66%) !important;
}

/* ---------- Blog cards & articles ---------- */
.blog-card:hover {
  border-color: #d8ccff !important;
}

.article-content .article-featured {
  border-color: #e9e4f8 !important;
}

.contact-form-shell input:focus,
.contact-form-shell textarea:focus {
  border-color: var(--fx-blue) !important;
  box-shadow: 0 0 0 4px rgba(109, 74, 255, .14) !important;
}

/* ---------- Dark footer ---------- */
.footer-section {
  background: linear-gradient(180deg, #1c1740 0%, #15112f 100%) !important;
  border-top: 0 !important;
  color: #c9c5e8 !important;
}

.footer-section:before {
  display: block !important;
  content: "" !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(109, 74, 255, .95), rgba(168, 85, 247, .8), rgba(217, 70, 239, .7)) !important;
  opacity: 1 !important;
}

.footer-section .text-logo {
  color: #fff !important;
}

.footer-section .text-logo span {
  background: linear-gradient(135deg, #b195ff, #e9d5ff) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #b195ff !important;
}

.footer-section .text-logo small,
.footer-section .footer-head .title small {
  color: #8f8bb8 !important;
}

.footer-section .title,
.footer-section .footer-head .title {
  color: #ffffff !important;
}

.footer-section p,
.footer-section .content-area p,
.footer-bottom p {
  color: #b3aed6 !important;
}

.footer-section a,
footer.footer-section .content-area ul li a,
footer.footer-section .quick-link li a,
footer.footer-section .footer-bottom a {
  color: #d9d5f4 !important;
}

.footer-section a:hover,
footer.footer-section .content-area ul li a:hover,
footer.footer-section .quick-link li a:hover,
footer.footer-section .footer-bottom a:hover,
.footer-section .quick-link a:hover {
  color: #c9baff !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1) !important;
  color: #8f8bb8 !important;
}

.footer-section .footer-social a,
.footer-section .social a,
.footer-section .social .icon {
  background: rgba(255, 255, 255, .07) !important;
  border: 1px solid rgba(255, 255, 255, .15) !important;
  color: #e9e6ff !important;
}

.footer-section .footer-social a:hover,
.footer-section .social a:hover,
.footer-section .social .icon:hover {
  background: linear-gradient(135deg, #6d4aff, #9d6bff) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(109, 74, 255, .4) !important;
}

.footer-section .footer-social a:hover i,
.footer-section .social a:hover i,
.footer-section .social .icon:hover i {
  color: #fff !important;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  border: 1px solid rgba(109, 74, 255, .14) !important;
}

@media (prefers-reduced-motion: reduce) {
  .cmn--btn:hover,
  .home-v2 .home-intro-hero .cmn--btn:hover,
  .footer-section .footer-social a:hover,
  .footer-section .social a:hover {
    transform: none !important;
  }
}

/* ============================================================
   Layout refresh — main page blocks
   ============================================================ */

/* ---------- Hero with media column ---------- */
.hero-intro-media {
  position: relative;
  margin: 0;
  padding: 12px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(214, 205, 245, .9);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(60, 40, 140, .16);
  transform: none;
  isolation: isolate;
}

.hero-intro-media:before {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  left: -25px;
  top: -27px;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  border-radius: 23px;
  opacity: .35;
  transform: rotate(14deg);
  z-index: -1;
}

.hero-intro-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.hero-intro-media figcaption {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(222, 214, 246, .95);
  border-radius: 14px;
  color: #524d78;
  font-size: 12.5px;
  font-weight: 750;
  box-shadow: 0 9px 25px rgba(60, 40, 140, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-intro-media figcaption span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, .16);
}

@media (max-width: 991.98px) {
  .hero-intro-media {
    max-width: 720px;
    margin: 0 auto;
  }
}

/* ---------- Setup path: connector line between steps ---------- */
@media (min-width: 992px) {
  .home-v2 .vpn-path-grid {
    position: relative;
  }

  .home-v2 .vpn-path-grid:before {
    content: "";
    position: absolute;
    left: 3%;
    right: 3%;
    top: 45px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(109, 74, 255, .22), rgba(157, 107, 255, .42), rgba(217, 70, 239, .22));
    pointer-events: none;
  }

  .home-v2 .vpn-path-grid li {
    position: relative;
    z-index: 1;
  }
}

/* ---------- Capabilities: heading rail + card grid ---------- */
@media (min-width: 992px) {
  .capability-section .container {
    display: grid;
    grid-template-columns: minmax(270px, .78fr) minmax(0, 1.6fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
  }

  .capability-heading {
    text-align: left;
    margin: 0;
    max-width: 420px;
    position: sticky;
    top: 110px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ---------- Comparison: recommended badge ---------- */
.comparison-table thead th.featured .th-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .4);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---------- Testimonials: star ratings ---------- */
.home-v2 .testimonial-card .stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: #f4b840 !important;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* ---------- Guide shortcuts: card grid ---------- */
.guide-shortcuts-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 0;
  margin-top: 8px;
}

.guide-shortcuts-list a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
  padding: 26px 24px 62px;
  background: #fff;
  border: 1px solid #e6e2f3;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(23, 20, 61, .05);
  color: var(--ui-ink);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.guide-shortcuts-list a:hover {
  transform: translateY(-4px);
  border-color: #d8ccff;
  box-shadow: 0 18px 40px rgba(109, 74, 255, .14);
  background: #fff;
  padding-left: 24px;
}

.guide-shortcuts-list span,
.guide-shortcuts-list a span {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(109, 74, 255, .14), rgba(157, 107, 255, .1));
  color: var(--ui-blue-dark) !important;
  font-weight: 850;
  font-size: 13px;
  letter-spacing: .5px;
  box-shadow: inset 0 0 0 1px rgba(109, 74, 255, .16);
  -webkit-text-fill-color: currentColor;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.guide-shortcuts-list strong {
  font-size: 17.5px;
  line-height: 1.4;
  font-weight: 700;
}

.guide-shortcuts-list a p {
  margin: 0;
  color: #6b6588;
  font-size: 14px;
  line-height: 1.65;
}

.guide-shortcuts-list a i {
  position: absolute;
  right: 22px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(109, 74, 255, .1);
  color: var(--ui-blue-dark);
  font-size: 13px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.guide-shortcuts-list a:hover i {
  transform: translateX(4px);
  background: var(--fx-grad);
  color: #fff;
}

@media (max-width: 991.98px) {
  .guide-shortcuts-list {
    grid-template-columns: 1fr;
  }
}
/* ---------- Desktop two-column hero (overrides centered variant) ---------- */
@media (min-width: 992px) {
  .home-v2 .home-intro-hero .hero-intro-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr) !important;
    gap: clamp(36px, 4vw, 68px) !important;
    text-align: left;
    align-items: center;
  }

  .home-v2 .home-intro-hero .hero-intro-copy {
    max-width: 620px;
    margin: 0;
    padding: 0;
  }

  .home-v2 .home-intro-hero h1 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-v2 .home-intro-hero .hero-copy {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-v2 .home-intro-hero .hero-intro-actions {
    justify-content: flex-start;
  }

  .home-v2 .home-intro-hero .hero-intro-trust {
    justify-content: flex-start;
  }

  .home-v2 .home-intro-hero .hero-disclaimer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
  }

  .home-v2 .home-intro-hero .hero-intro-media {
    max-width: 560px;
    margin-left: auto;
  }
}