/* ============================================================
   WPSEC Fortress — Modern Theme Styles
   Cyberpunk / Glassmorphism / Dark UI
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --wf-bg: #050d16;
  --wf-bg-soft: #091726;
  --wf-panel: #0d1f31;
  --wf-panel-2: #10263c;
  --wf-ink: #e7f0f8;
  --wf-muted: #9bb1c3;
  --wf-primary: #17d7a5;
  --wf-primary-2: #0fb88c;
  --wf-accent: #30a0ff;
  --wf-border: rgba(153, 190, 220, 0.18);
  --wf-danger: #ff6b78;
  --wf-glass: rgba(5, 13, 22, 0.75);
  --wf-glass-border: rgba(255, 255, 255, 0.08);
  --wf-radius: 14px;
  --wf-radius-sm: 8px;
  --wf-container: 1140px;
  --wf-header-h: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wf-ink);
  background:
    radial-gradient(circle at 15% 50%, rgba(48, 160, 255, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(23, 215, 165, 0.06), transparent 25%),
    linear-gradient(180deg, #050d16 0%, #071221 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--wf-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wf-primary); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: #fff;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

/* --- Layout --- */
.wf-container {
  width: 100%;
  max-width: var(--wf-container);
  margin: 0 auto;
  padding: 0 24px;
}
.wf-section {
  padding: 80px 0;
}
.wf-surface {
  background: rgba(9, 23, 38, 0.5);
}
.wf-main {
  min-height: calc(100vh - var(--wf-header-h));
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(23, 215, 165, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(23, 215, 165, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(23, 215, 165, 0); }
}

/* Glassmorphism Cards */
.wf-command-center, .wf-analytics-card, .wf-post-card, .wf-cta, .wf-contact-form, .wf-pricing-card, .wf-login-card {
  background: rgba(13, 31, 49, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--wf-glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.wf-command-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.wf-live-puke {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wf-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wf-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--wf-primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.wf-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.wf-kpi-grid article {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--wf-radius-sm);
  padding: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.wf-kpi-grid article:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}
.wf-kpi-grid article span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wf-muted);
  margin-bottom: 4px;
}
.wf-kpi-grid strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #dcf8ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wf-kpi-grid-page {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 40px;
}

/* Chart Container */
.wf-chart-shell {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--wf-radius-sm);
  padding: 16px;
  position: relative;
  height: 300px;
}
.wf-chart-shell p {
  font-size: 13px;
  color: var(--wf-muted);
  margin: 0 0 8px;
}
.wf-chart-shell canvas {
  width: 100% !important;
  height: calc(100% - 28px) !important;
}

/* --- Trust / Installations Section --- */
.wf-section-trust {
  border-top: 1px solid var(--wf-glass-border);
}
.wf-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.wf-section-header h2 {
  margin-bottom: 8px;
}
.wf-section-header .wf-lead {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.wf-trust-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.wf-trust-kpis article {
  text-align: center;
  background: var(--wf-glass-bg);
  border: 1px solid var(--wf-glass-border);
  border-radius: var(--wf-radius-sm);
  padding: 24px 16px;
}
.wf-trust-kpis strong {
  display: block;
  font-family: var(--wf-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--wf-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}
.wf-trust-kpis span {
  font-size: 13px;
  color: var(--wf-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wf-trust-charts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.wf-trust-chart-card {
  background: var(--wf-glass-bg);
  border: 1px solid var(--wf-glass-border);
  border-radius: var(--wf-radius-sm);
  padding: 20px;
}
.wf-trust-chart-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--wf-muted);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.wf-trust-chart-wrap {
  position: relative;
  height: 220px;
}
.wf-trust-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}
.wf-trust-chart-wrap--sm {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Header & Navigation --- */
.wf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--wf-header-h);
  background: rgba(5, 13, 22, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--wf-glass-border);
}
.wf-header-inner {
  display: flex;
  align-items: center;
  height: var(--wf-header-h);
  gap: 24px;
}
.wf-brand {
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff !important;
  margin-right: auto;
}
.wf-nav { display: flex; }
.wf-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.wf-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--wf-muted);
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.wf-menu li a:hover,
.wf-menu li a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* --- Buttons --- */
.wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--wf-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-decoration: none;
  line-height: 1.4;
}
.wf-btn:hover { transform: translateY(-1px); }
.wf-btn-primary {
  background: var(--wf-primary);
  color: #050d16;
  border-color: var(--wf-primary);
}
.wf-btn-primary:hover {
  background: var(--wf-primary-2);
  border-color: var(--wf-primary-2);
  color: #050d16;
}
.wf-btn-ghost {
  background: transparent;
  color: var(--wf-muted);
  border-color: var(--wf-border);
}
.wf-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

/* --- Hero Section --- */
.wf-hero {
  padding: 100px 0 80px;
}
.wf-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.wf-hero-content h1 {
  margin-bottom: 16px;
}
.wf-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wf-primary);
  margin-bottom: 12px;
}
.wf-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--wf-muted);
  max-width: 520px;
  margin-bottom: 28px;
}
.wf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Command Center (Hero right panel) */
.wf-command-center {
  border-radius: var(--wf-radius);
  padding: 24px;
}

/* --- Language Switcher (details/summary) --- */
.wf-lang {
  position: relative;
  font-size: 13px;
}
.wf-lang summary { list-style: none; }
.wf-lang summary::-webkit-details-marker { display: none; }
.wf-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--wf-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color .2s, background .2s;
}
.wf-lang-trigger:hover,
.wf-lang[open] .wf-lang-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.wf-lang-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .2s;
}
.wf-lang[open] .wf-lang-caret {
  transform: rotate(180deg);
}
.wf-lang-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  padding: 6px 0;
  background: rgba(13, 31, 49, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--wf-glass-border);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.wf-lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  color: var(--wf-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.wf-lang-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.wf-lang-item.is-active {
  color: var(--wf-primary);
}
.wf-lang-item.is-active .wf-lang-short {
  color: var(--wf-primary);
}
.wf-lang-name {
  flex: 1;
}
.wf-lang-short {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 12px;
}

/* --- Analytics Section --- */
.wf-analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.wf-analytics-card {
  border-radius: var(--wf-radius);
  padding: 24px;
}
.wf-analytics-card h3 {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--wf-muted);
}
.wf-mix-list,
.wf-target-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wf-mix-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}
.wf-mix-list li span { color: var(--wf-muted); }
.wf-mix-list li strong {
  color: var(--wf-primary);
  font-weight: 600;
}
.wf-target-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wf-target-list li p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 6px;
  font-size: 13px;
}
.wf-target-list li code {
  font-size: 13px;
  color: var(--wf-accent);
  background: rgba(48, 160, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}
.wf-target-list li span { color: var(--wf-muted); font-size: 13px; }
.wf-target-list li div {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.wf-target-list li i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--wf-primary), var(--wf-accent));
  border-radius: 2px;
  font-style: normal;
}

/* --- Blog & Posts --- */
.wf-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.wf-post-card {
  border-radius: var(--wf-radius);
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.wf-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.wf-post-card .wf-eyebrow {
  margin-bottom: 8px;
}
.wf-post-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.wf-post-card h3 a { color: #fff; }
.wf-post-card h3 a:hover { color: var(--wf-primary); }
.wf-post-card p {
  font-size: 14px;
  color: var(--wf-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.wf-post-card h2 { font-size: 1.15rem; margin-bottom: 10px; }
.wf-post-card h2 a { color: #fff; }
.wf-post-card h2 a:hover { color: var(--wf-primary); }
.wf-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--wf-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wf-link:hover { color: var(--wf-accent); }
.wf-pagination {
  margin-top: 40px;
  text-align: center;
}
.wf-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.wf-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--wf-glass-border);
  color: var(--wf-muted);
  font-size: 14px;
  transition: background .2s, color .2s;
}
.wf-pagination .page-numbers.current,
.wf-pagination .page-numbers:hover {
  background: var(--wf-primary);
  color: #050d16;
  border-color: var(--wf-primary);
}

/* --- CTA --- */
.wf-cta {
  border-radius: var(--wf-radius);
  padding: 56px 48px;
  text-align: center;
}
.wf-cta h2 { margin-bottom: 12px; }
.wf-cta p {
  color: var(--wf-muted);
  max-width: 480px;
  margin: 0 auto 28px;
}

/* --- Sticky CTA --- */
.wf-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(5, 13, 22, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--wf-glass-border);
  font-size: 14px;
  color: var(--wf-muted);
  transform: translateY(100%);
  transition: transform .35s ease;
}
.wf-sticky-cta.is-visible {
  transform: translateY(0);
}

/* --- Footer --- */
.wf-footer {
  border-top: 1px solid var(--wf-glass-border);
  padding: 56px 0 0;
  background: rgba(5, 13, 22, 0.6);
}
.wf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.wf-footer h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.wf-footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wf-muted);
  margin-bottom: 14px;
}
.wf-footer p {
  font-size: 14px;
  color: var(--wf-muted);
  line-height: 1.6;
  max-width: 340px;
}
.wf-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wf-footer ul li { margin-bottom: 8px; }
.wf-footer ul a {
  font-size: 14px;
  color: var(--wf-muted);
}
.wf-footer ul a:hover { color: #fff; }
.wf-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--wf-glass-border);
  font-size: 13px;
  color: var(--wf-muted);
}

/* --- Mobile Navigation --- */
.wf-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 110;
}
.wf-mobile-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.wf-mobile-toggle-icon span {
  display: block;
  height: 2px;
  background: var(--wf-ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.wf-mobile-toggle.is-open .wf-mobile-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.wf-mobile-toggle.is-open .wf-mobile-toggle-icon span:nth-child(2) {
  opacity: 0;
}
.wf-mobile-toggle.is-open .wf-mobile-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.wf-mobile-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.wf-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 95;
  opacity: 0;
  transition: opacity .3s;
}
.wf-mobile-overlay.is-open {
  display: block;
  opacity: 1;
}
.wf-mobile-drawer {
  display: none;
  position: fixed;
  top: var(--wf-header-h);
  left: 0;
  right: 0;
  z-index: 98;
  background: rgba(5, 13, 22, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--wf-glass-border);
  padding: 24px 0;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}
.wf-mobile-drawer.is-open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.wf-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wf-mobile-menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.wf-mobile-menu li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--wf-muted);
  transition: color .2s;
}
.wf-mobile-menu li a:hover,
.wf-mobile-menu li a.is-active {
  color: #fff;
}
.wf-no-scroll { overflow: hidden; }

/* --- Reveal Animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal="left"] {
  transform: translateX(-24px);
}
[data-reveal].is-visible,
[data-reveal="left"].is-visible,
[data-reveal="up"].is-visible {
  opacity: 1;
  transform: translate(0);
}

/* --- Page-specific Styles --- */

/* Pricing */
.wf-pricing-shell {
  text-align: center;
  max-width: 1080px;
}
.wf-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 40px auto 32px;
}
.wf-pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1020px;
}
.wf-pricing-card {
  border-radius: var(--wf-radius);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}
.wf-pricing-card.is-highlight {
  border-color: var(--wf-primary);
  box-shadow: 0 0 30px rgba(23, 215, 165, 0.12);
}
.wf-pricing-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.wf-price-amount {
  font-family: "Sora", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 2px;
  letter-spacing: -0.02em;
}
.wf-price {
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--wf-muted);
  margin: 0 0 20px;
}
.wf-pricing-badge {
  display: inline-block;
  background: var(--wf-primary);
  color: #0d1f31;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wf-pricing-pro-header {
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--wf-primary);
  margin-bottom: 6px;
}
.wf-pricing-save-tag {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(23, 215, 165, 0.12);
  color: var(--wf-primary);
  border: 1px solid rgba(23, 215, 165, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.wf-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  flex-grow: 1;
}
.wf-pricing-card ul li {
  padding: 7px 0;
  font-size: 13px;
  color: var(--wf-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wf-pricing-card ul li::before {
  content: "\2713 ";
  color: var(--wf-primary);
  margin-right: 8px;
}
.wf-pricing-card .wf-btn {
  margin-top: auto;
}
/* Addon Section */
.wf-addon-section {
  max-width: 820px;
  margin: 56px auto 0;
  text-align: center;
}
.wf-addon-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.wf-addon-subtitle {
  font-size: 0.95rem;
  color: var(--wf-primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.wf-addon-desc {
  font-size: 0.85rem;
  color: var(--wf-muted);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.wf-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.wf-addon-card {
  border-radius: var(--wf-radius);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(13, 31, 49, 0.4);
}
.wf-addon-card.is-highlight {
  border-color: var(--wf-primary);
  box-shadow: 0 0 24px rgba(23, 215, 165, 0.1);
}
.wf-addon-price {
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 2px;
  letter-spacing: -0.02em;
}
.wf-addon-period {
  font-size: 0.8rem;
  color: var(--wf-muted);
  margin: 0 0 18px;
}
.wf-addon-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
  flex-grow: 1;
}
.wf-addon-card ul li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--wf-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.wf-addon-card ul li::before {
  content: "\2713 ";
  color: var(--wf-primary);
  margin-right: 8px;
}
.wf-addon-card .wf-btn {
  margin-top: auto;
}
.wf-addon-included {
  font-size: 0.78rem;
  color: var(--wf-muted);
  margin-top: 12px;
  opacity: 0.7;
}
.wf-meta {
  text-align: center;
  font-size: 14px;
  color: var(--wf-muted);
  margin-top: 24px;
}

/* Login */
.wf-login-shell {
  max-width: 480px;
  text-align: center;
}
.wf-login-card {
  border-radius: var(--wf-radius);
  padding: 32px;
  text-align: left;
  margin-top: 24px;
}
.wf-login-card label {
  display: block;
  font-size: 14px;
  color: var(--wf-muted);
  margin-bottom: 14px;
}
.wf-login-card input[type="text"],
.wf-login-card input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius-sm);
  color: var(--wf-ink);
  font-size: 15px;
  margin-top: 4px;
  transition: border-color .2s;
}
.wf-login-card input:focus {
  outline: none;
  border-color: var(--wf-primary);
}
.wf-login-card .login-submit input {
  width: 100%;
  padding: 12px;
  background: var(--wf-primary);
  color: #050d16;
  border: none;
  border-radius: var(--wf-radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background .2s;
}
.wf-login-card .login-submit input:hover {
  background: var(--wf-primary-2);
}

/* Contact */
.wf-contact-shell {
  max-width: 640px;
}
.wf-contact-form {
  border-radius: var(--wf-radius);
  padding: 32px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wf-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--wf-muted);
}
.wf-contact-form label.is-full {
  grid-column: 1 / -1;
}
.wf-contact-form input,
.wf-contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius-sm);
  color: var(--wf-ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s;
}
.wf-contact-form input:focus,
.wf-contact-form textarea:focus {
  outline: none;
  border-color: var(--wf-primary);
}
.wf-contact-form button {
  grid-column: 1 / -1;
}
.wf-contact-alert {
  padding: 14px 20px;
  border-radius: var(--wf-radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}
.wf-contact-alert.is-success {
  background: rgba(23, 215, 165, 0.1);
  border: 1px solid var(--wf-primary);
  color: var(--wf-primary);
}
.wf-contact-alert.is-error {
  background: rgba(255, 107, 120, 0.1);
  border: 1px solid var(--wf-danger);
  color: var(--wf-danger);
}

/* Content Card (generic page / single) */
.wf-content-card {
  background: rgba(13, 31, 49, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--wf-glass-border);
  border-radius: var(--wf-radius);
  padding: 40px;
  max-width: 780px;
}
.wf-content-card p,
.wf-content-card li {
  color: var(--wf-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

/* Tablet — max 980px */
@media (max-width: 980px) {
  .wf-nav,
  .wf-lang,
  .wf-header .wf-btn-ghost {
    display: none;
  }
  .wf-mobile-toggle {
    display: flex;
  }

  .wf-hero { padding: 60px 0 48px; }
  .wf-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wf-hero-content { text-align: center; }
  .wf-lead { margin-left: auto; margin-right: auto; }
  .wf-actions { justify-content: center; }

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

  .wf-analytics-grid {
    grid-template-columns: 1fr;
  }

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

  .wf-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wf-section { padding: 56px 0; }

  .wf-chart-shell { height: 250px; }

  .wf-trust-kpis { grid-template-columns: repeat(2, 1fr); }
  .wf-trust-charts { grid-template-columns: 1fr; }

  .wf-cta { padding: 40px 28px; }

  .wf-pricing-grid {
    max-width: 100%;
  }
  .wf-pricing-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile — max 640px */
@media (max-width: 640px) {
  .wf-container { padding: 0 16px; }
  .wf-section { padding: 40px 0; }
  .wf-hero { padding: 40px 0 32px; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }

  .wf-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .wf-kpi-grid article { padding: 12px; }
  .wf-kpi-grid strong { font-size: 1.25rem; }

  .wf-post-grid {
    grid-template-columns: 1fr;
  }

  .wf-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .wf-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .wf-chart-shell { height: 200px; }

  .wf-trust-kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .wf-trust-kpis article { padding: 16px 12px; }
  .wf-trust-kpis strong { font-size: 1.5rem; }
  .wf-trust-charts { grid-template-columns: 1fr; gap: 16px; }

  .wf-pricing-grid,
  .wf-pricing-grid-3 {
    grid-template-columns: 1fr;
  }
  .wf-addon-grid {
    grid-template-columns: 1fr;
  }

  .wf-contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .wf-content-card { padding: 24px; }

  .wf-command-center { padding: 16px; }

  .wf-cta { padding: 32px 20px; }

  .wf-sticky-cta {
    flex-direction: column;
    gap: 10px;
    padding: 10px 16px;
  }
}

/* ============================================================
   Guides Hub & Content Enhancements
   ============================================================ */

/* Guides Grid */
.wf-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.wf-guide-card {
  display: flex;
  flex-direction: column;
  background: rgba(13, 31, 49, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--wf-glass-border);
  border-radius: var(--wf-radius);
  padding: 28px 24px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .25s;
}
.wf-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(23, 215, 165, 0.25);
}
.wf-guide-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 14px;
}
.wf-guide-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}
.wf-guide-card p {
  font-size: 14px;
  color: var(--wf-muted);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.wf-guide-card .wf-link {
  margin-top: auto;
}

/* Guides Tutorials Section */
.wf-guides-tutorials {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--wf-glass-border);
}
.wf-guides-tutorials h2 {
  margin-bottom: 8px;
}

/* Content Card Enhancements (for guide pages) */
.wf-content-card h2 {
  font-size: 1.4rem;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wf-content-card h3 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--wf-primary);
}
.wf-content-card h4 {
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 6px;
}
.wf-content-card ul,
.wf-content-card ol {
  margin: 12px 0;
  padding-left: 24px;
}
.wf-content-card ul li,
.wf-content-card ol li {
  margin-bottom: 6px;
}
.wf-content-card code {
  font-size: 13px;
  background: rgba(48, 160, 255, 0.08);
  color: var(--wf-accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "SFMono-Regular", "Consolas", monospace;
}
.wf-content-card pre {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--wf-radius-sm);
  padding: 16px 20px;
  overflow-x: auto;
  margin: 16px 0;
}
.wf-content-card pre code {
  background: none;
  padding: 0;
  color: var(--wf-ink);
  font-size: 13px;
  line-height: 1.7;
}
.wf-content-card blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--wf-primary);
  background: rgba(23, 215, 165, 0.04);
  border-radius: 0 var(--wf-radius-sm) var(--wf-radius-sm) 0;
}
.wf-content-card blockquote p {
  margin: 0;
  color: var(--wf-ink);
}
.wf-content-card strong {
  color: #fff;
}
.wf-content-card img {
  border-radius: var(--wf-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 20px 0;
}
.wf-content-card .wp-block-image {
  margin: 24px 0;
}
.wf-content-card hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 32px 0;
}
.wf-content-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.wf-content-card th {
  text-align: left;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
}
.wf-content-card td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--wf-muted);
}

/* Guides Responsive */
@media (max-width: 980px) {
  .wf-guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .wf-guides-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .wf-guide-card {
    padding: 20px 18px;
  }
  .wf-guides-tutorials {
    margin-top: 40px;
    padding-top: 32px;
  }
}

/* Empty state for insights */
.wf-empty-state {
  color: var(--wf-muted);
  font-size: 0.85rem;
  font-style: italic;
  padding: 12px 0;
  opacity: 0.7;
}

/* ============================================================
   Download Page
   ============================================================ */
.wf-download-shell {
  max-width: 960px;
}
.wf-download-hero {
  text-align: center;
  margin-bottom: 48px;
}
.wf-download-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}
.wf-download-card {
  background: var(--wf-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--wf-glass-border);
  border-radius: var(--wf-radius);
  padding: 32px;
  margin-bottom: 28px;
}
.wf-download-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.wf-download-icon-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(48, 160, 255, 0.08);
  border: 1px solid rgba(48, 160, 255, 0.15);
  color: #30a0ff;
  flex-shrink: 0;
}
.wf-download-card-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.wf-download-meta-row {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--wf-muted);
}
.wf-btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  justify-content: center;
}
.wf-download-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--wf-glass-border);
}
.wf-download-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wf-download-stat-num {
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.wf-download-stat-label {
  font-size: 0.75rem;
  color: var(--wf-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wf-download-requires {
  font-size: 0.78rem;
  color: var(--wf-muted);
  margin-top: 12px;
}
.wf-download-install {
  background: var(--wf-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--wf-glass-border);
  border-radius: var(--wf-radius);
  padding: 28px 32px;
}
.wf-download-install h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
}
.wf-download-install ol {
  margin: 0;
  padding-left: 20px;
}
.wf-download-install ol li {
  font-size: 0.88rem;
  color: var(--wf-muted);
  padding: 6px 0;
  line-height: 1.5;
}
.wf-download-feat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wf-download-feat-list li {
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--wf-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.wf-download-feat-list li::before {
  content: "\2713";
  color: var(--wf-primary);
  font-weight: 700;
  margin-right: 10px;
}
.wf-download-feat-list li:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .wf-download-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Content + Sidebar Layout
   ============================================================ */
.wf-content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.wf-content-with-sidebar .wf-content-card {
  max-width: none;
}

/* --- Sidebar --- */
.wf-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--wf-header-h) + 24px);
}

/* Sidebar Card Base */
.wf-sb-card {
  background: rgba(13, 31, 49, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--wf-glass-border);
  border-radius: var(--wf-radius);
  padding: 24px;
}
.wf-sb-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.wf-sb-card p {
  font-size: 13px;
  color: var(--wf-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}

/* Download Card */
.wf-sb-download {
  border-color: rgba(48, 160, 255, 0.2);
}
.wf-sb-download-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.wf-sb-download-header h4 {
  margin: 0;
}
.wf-sb-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(48, 160, 255, 0.08);
  border: 1px solid rgba(48, 160, 255, 0.15);
  color: #30a0ff;
  flex-shrink: 0;
}
.wf-sb-download .wf-btn {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}
.wf-sb-download-meta {
  font-size: 11px;
  color: var(--wf-muted);
  line-height: 1.5;
  opacity: 0.8;
}
.wf-sb-download-meta span {
  display: block;
}

/* PRO Card */
.wf-sb-pro {
  border-color: rgba(23, 215, 165, 0.25);
  background: linear-gradient(165deg, rgba(13, 31, 49, 0.7), rgba(23, 215, 165, 0.04));
}
.wf-sb-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wf-primary);
  margin-bottom: 10px;
}
.wf-sb-pro-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wf-primary);
}

/* Pricing Toggle */
.wf-sb-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}
.wf-sb-toggle-btn {
  flex: 1;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--wf-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .2s, background .2s;
  font-family: inherit;
  position: relative;
}
.wf-sb-toggle-btn.is-active {
  color: #fff;
  background: rgba(23, 215, 165, 0.12);
}
.wf-sb-toggle-save {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--wf-primary);
  margin-left: 4px;
}

/* Pricing Display */
.wf-sb-price-row {
  display: none;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}
.wf-sb-price-row.is-active {
  display: flex;
}
.wf-sb-price-amount {
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.wf-sb-price-period {
  font-size: 13px;
  color: var(--wf-muted);
}

/* PRO Features List */
.wf-sb-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.wf-sb-features li {
  padding: 5px 0;
  font-size: 12px;
  color: var(--wf-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.wf-sb-features li::before {
  content: "\2713";
  color: var(--wf-primary);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}
.wf-sb-pro .wf-btn {
  width: 100%;
  text-align: center;
  margin-bottom: 8px;
}
/* Addon Card */
.wf-sb-addon {
  padding: 18px 24px;
}
.wf-sb-addon h4 {
  font-size: 13px;
  margin-bottom: 4px;
}
.wf-sb-addon p {
  font-size: 12px;
  margin-bottom: 10px;
}
.wf-sb-addon-prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--wf-muted);
}
.wf-sb-addon-prices strong {
  color: #fff;
  font-weight: 600;
}
.wf-sb-addon-prices span {
  opacity: 0.7;
}

/* Guides Nav in Sidebar */
.wf-sb-nav h4 {
  margin-bottom: 12px;
}
.wf-sb-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wf-sb-nav-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.wf-sb-nav-list li:last-child {
  border-bottom: none;
}
.wf-sb-nav-list a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: var(--wf-muted);
  transition: color .2s;
}
.wf-sb-nav-list a:hover {
  color: #fff;
}
.wf-sb-nav-list a.is-current {
  color: var(--wf-primary);
  font-weight: 600;
}

/* Sidebar Responsive */
@media (max-width: 980px) {
  .wf-content-with-sidebar {
    grid-template-columns: 1fr;
  }
  .wf-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .wf-sb-card {
    flex: 1 1 280px;
  }
}
@media (max-width: 640px) {
  .wf-sidebar {
    flex-direction: column;
  }
  .wf-sb-card {
    flex: 1 1 100%;
  }
}