/* ============================================================
   WatchGuard VPN — fresh UI layer
   Loaded last, refines the palette, typography and content blocks.
   Palette: trust blue + indigo with soft sky accents.
   Typography: neutral sans stack; the final typeface is set in unique.css.
   ============================================================ */

:root {
  --fx-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fx-blue: #2563eb;
  --fx-blue-dark: #1d4ed8;
  --fx-indigo: #4f46e5;
  --fx-sky: #38bdf8;
  --fx-ink: #1e293b;
  --fx-line: #e2e8f0;
  --fx-grad: linear-gradient(135deg, #2563eb, #4f46e5);
  --fx-grad-hover: linear-gradient(135deg, #1d4ed8, #4338ca);
  --fx-shadow-sm: 0 2px 6px rgba(15, 23, 42, .05), 0 12px 30px rgba(15, 23, 42, .07);
  --fx-shadow-md: 0 6px 14px rgba(15, 23, 42, .06), 0 22px 48px rgba(15, 23, 42, .10);
  --fx-shadow-blue: 0 14px 34px rgba(37, 99, 235, .16);

  /* Remap tokens used by the layers below */
  --rf-blue: #2563eb;
  --rf-blue-dark: #1d4ed8;
  --rf-indigo: #4f46e5;
  --rf-line: #e2e8f0;
  --rf-grad: linear-gradient(135deg, #2563eb, #4f46e5);
  --rf-grad-mint: linear-gradient(135deg, #34d399, #0ea371);
  --rf-grad-ink: linear-gradient(135deg, #1e293b, #334155);
  --ui-blue: #2563eb;
  --ui-blue-dark: #1d4ed8;
  --ui-line: #e2e8f0;
  --theme-color: #38bdf8;
  --primary-color: #1e293b;
  --ink: #1e293b;
  --vb-green: #10b981;
}

/* ---------- Typography: neutral Inter ---------- */
body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
label,
span,
strong,
small,
blockquote {
  font-family: var(--fx-font) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section__header h2,
.capability-heading h2,
.blog-content h2 {
  letter-spacing: -.02em;
}

.text-logo {
  font-family: var(--fx-font) !important;
  letter-spacing: -.02em;
}

.text-logo span,
.header-section .text-logo span,
.footer-section .text-logo span {
  color: var(--fx-blue) !important;
}

.eyebrow,
.eyebrow.dark {
  color: var(--fx-blue) !important;
}

/* ---------- Buttons ---------- */
.cmn--btn,
.header-section .main-menu .cmn--btn,
.header-section .desktop-cta,
.home-v2 .home-intro-hero .cmn--btn,
.home-v2 .home-hero-command .command-actions .cmn--btn,
.contact-form-shell .cmn--btn,
.cookie-banner .cmn--btn {
  background: var(--fx-grad) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .28) !important;
}

.cmn--btn span {
  color: #fff !important;
}

.header-section .main-menu .cmn--btn,
.header-section .desktop-cta {
  border-radius: 12px !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,
.home-v2 .home-hero-command .command-actions .cmn--btn:hover,
.contact-form-shell .cmn--btn:hover,
.cookie-banner .cmn--btn:hover {
  background: var(--fx-grad-hover) !important;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(37, 99, 235, .36) !important;
  transform: translateY(-1px);
}

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

.hero-text-link {
  color: var(--fx-blue-dark) !important;
}

.hero-intro-trust span {
  background: #fff !important;
  border: 1px solid var(--fx-line) !important;
  color: #334155 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .05) !important;
}

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

/* ---------- Feature cards ---------- */
.home-v2 .feature-card,
.home-v2 .feature-section .row>div:first-child .feature-card,
.home-v2 .feature-section .row>div:nth-child(2) .feature-card,
.home-v2 .feature-section .row>div:nth-child(3) .feature-card {
  border-radius: 18px !important;
  border: 1px solid var(--fx-line) !important;
  box-shadow: var(--fx-shadow-sm) !important;
  background: #fff !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 {
  transform: translateY(-4px) !important;
  border-color: #bfd4ff !important;
  box-shadow: var(--fx-shadow-blue) !important;
}

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

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

.home-v2 .feature-icon,
.home-v2 .feature-section .row>div:first-child .feature-icon,
.home-v2 .feature-section .row>div:nth-child(2) .feature-icon,
.home-v2 .feature-section .row>div:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #e8f0ff, #e9e7ff) !important;
  color: var(--fx-blue) !important;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .12) !important;
}

/* ---------- Setup path steps ---------- */
.home-v2 .vpn-path-grid li,
.home-v2 .vpn-path-grid li:last-child {
  background: #fff !important;
  border: 1px solid var(--fx-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--fx-shadow-sm) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.home-v2 .vpn-path-grid li:hover {
  transform: translateY(-3px);
  border-color: #bfd4ff !important;
  box-shadow: var(--fx-shadow-blue) !important;
}

.home-v2 .vpn-path-grid li span,
.home-v2 .vpn-path-grid li:last-child span {
  background: var(--fx-grad) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .25) !important;
}

/* ---------- Capability cards ---------- */
.capability-card {
  background: #fff !important;
  border: 1px solid var(--fx-line) !important;
  border-radius: 18px !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: #bfd4ff !important;
  box-shadow: var(--fx-shadow-blue) !important;
}

.capability-card i {
  color: var(--fx-blue) !important;
}

/* ---------- Testimonials ---------- */
.home-v2 .testimonial-card {
  border-color: var(--fx-line) !important;
  border-radius: 20px !important;
  box-shadow: var(--fx-shadow-sm) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.home-v2 .testimonial-card:hover {
  transform: translateY(-3px);
  border-color: #cfe0ff !important;
  box-shadow: var(--fx-shadow-blue) !important;
}

.home-v2 .testimonial-person img,
.testimonial-person img {
  border: 3px solid #dbeafe !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .18) !important;
}

.home-v2 .testimonial-card:before {
  color: rgba(37, 99, 235, .14) !important;
}

.home-v2 .testimonial-section {
  background: linear-gradient(180deg, #f8fbff, #f2f7ff) !important;
}

/* ---------- FAQ ---------- */
.home-v2 .faq-section .accordion-item {
  border-color: var(--fx-line) !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff !important;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.home-v2 .faq-section .accordion-item:hover {
  border-color: #cfe0ff !important;
  box-shadow: var(--fx-shadow-sm) !important;
}

.home-v2 .faq-section .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: #bfd4ff !important;
  box-shadow: var(--fx-shadow-blue) !important;
}

.home-v2 .faq-section .accordion-button {
  padding: 18px 20px !important;
  font-size: 16.5px !important;
  font-weight: 600 !important;
  line-height: 1.5;
  color: var(--fx-ink) !important;
  background: transparent !important;
  gap: 14px;
}

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

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

.home-v2 .faq-section .accordion-button::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
  font-size: 11px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef4ff, #e9e7ff) !important;
  color: var(--fx-blue);
  margin-left: auto;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}

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

.home-v2 .faq-section .accordion-button:focus {
  box-shadow: none !important;
}

.home-v2 .faq-section .accordion-button:focus-visible {
  outline: 2px solid var(--fx-blue);
  outline-offset: -2px;
}

.home-v2 .faq-section .accordion-body {
  padding: 2px 20px 22px !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: #5b6b83 !important;
}

/* ---------- Editorial card ---------- */
.home-v2 .editorial-card {
  box-shadow: 0 24px 60px rgba(37, 99, 235, .26) !important;
}

/* ---------- Comparison table ---------- */
.home-v2 .comparison-table {
  border-color: var(--fx-line) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: visible !important;
  border-radius: 18px !important;
  table-layout: fixed !important;
}

.home-v2 .comparison-table thead th:first-child {
  border-top-left-radius: 18px;
}

.home-v2 .comparison-table thead th:last-child {
  border-top-right-radius: 18px;
}

.home-v2 .comparison-table tbody tr:last-child th:first-child {
  border-bottom-left-radius: 18px;
}

.home-v2 .comparison-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 18px;
}

.home-v2 .comparison-table th,
.home-v2 .comparison-table td {
  padding: 14px 16px !important;
  border-color: #e7edf5 !important;
  font-size: 13.5px;
  line-height: 1.6;
  vertical-align: top;
  text-align: left;
}

.home-v2 .comparison-table thead th {
  background: linear-gradient(180deg, #f3f8ff, #e9f1ff) !important;
  color: #475569 !important;
  font-size: 11.5px !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.home-v2 .comparison-table th[scope="row"] {
  background: #fff !important;
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-align: left;
}

.home-v2 .comparison-table tbody td {
  color: #52627a !important;
}

.home-v2 .comparison-table .featured {
  background: linear-gradient(180deg, #ecf4ff, #e2edff) !important;
  color: var(--fx-blue-dark) !important;
  font-weight: 600 !important;
  width: 22%;
  box-shadow: inset 1px 0 0 rgba(37, 99, 235, .25), inset -1px 0 0 rgba(37, 99, 235, .25) !important;
}

.home-v2 .comparison-table thead th.featured {
  background: var(--fx-grad) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.home-v2 .comparison-table thead th:first-child,
.home-v2 .comparison-table tbody th[scope="row"] {
  width: 15%;
}

.home-v2 .comparison-table tbody tr:last-child>* {
  border-bottom: 0 !important;
}

.comparison-table .tbl-ico {
  font-size: 13px;
  margin-right: 8px;
  transform: translateY(-1px);
}

.comparison-table .ico-yes {
  color: #16a34a;
}

.comparison-table .ico-na {
  color: #9aa8bd;
}

.comparison-table tbody tr {
  transition: background .15s ease;
}

.comparison-table tbody tr:hover {
  background: #f7faff !important;
}

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

/* Horizontal scroll on narrow screens */
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #b8c7e0 transparent;
  padding-bottom: 2px;
}

.comparison-table-wrap::-webkit-scrollbar {
  height: 8px;
}

.comparison-table-wrap::-webkit-scrollbar-thumb {
  background: #c3d2ea;
  border-radius: 99px;
}

.comparison-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.comparison-scroll-hint {
  display: none;
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.comparison-scroll-hint i {
  margin-right: 6px;
  color: var(--fx-blue);
}

@media (max-width: 991.98px) {
  .comparison-scroll-hint {
    display: block;
  }

  .home-v2 .comparison-table thead th:first-child,
  .home-v2 .comparison-table tbody th[scope="row"] {
    width: 112px !important;
    position: sticky;
    left: 0;
    z-index: 3;
    box-shadow: 1px 0 0 #e7edf5;
  }

  .home-v2 .comparison-table .featured {
    width: 150px !important;
    position: sticky;
    left: 112px;
    z-index: 2;
    box-shadow: 1px 0 0 #e7edf5, inset 1px 0 0 rgba(37, 99, 235, .25), inset -1px 0 0 rgba(37, 99, 235, .25) !important;
  }

  .home-v2 .comparison-table thead th:first-child {
    z-index: 4;
  }

  .home-v2 .comparison-table thead th.featured {
    z-index: 3;
  }
}

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

.guide-shortcuts-list a {
  border-radius: 14px;
}

.guide-shortcuts-list a span {
  color: var(--fx-blue) !important;
}

.guide-shortcuts-list a:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, .06), rgba(79, 70, 229, .07)) !important;
}

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

.inner-banner,
.article-hero {
  background: linear-gradient(155deg, #f6faff 0%, #eef4fe 48%, #f0f8ff 100%) !important;
}

/* ---------- Footer ---------- */
.footer-section a:hover {
  color: var(--fx-blue) !important;
}
