/* WATTPVFY Design System — Pure Static CSS (Works 100% Offline & Locally) */
:root {
  --navy-primary: #022652;
  --navy-secondary: #05346D;
  --brand-teal: #06579A;
  --brand-blue: #06579A;
  --brand-green: #589720;
  --brand-surface: #F4F7FA;
  --brand-ink: #132238;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --white: #FFFFFF;
  --amber-50: #FFFBEB;
  --amber-200: #FDE68A;
  --amber-800: #92400E;
  --amber-900: #78350F;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--brand-ink);
  background: var(--white);
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.2;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-logo .name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-primary);
}

.brand-logo .sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-ink);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--brand-blue);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(2, 38, 82, 0.12);
  padding: 0.5rem;
  z-index: 200;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

.dropdown-menu a:hover {
  background: var(--brand-surface);
  color: var(--brand-blue);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--slate-300);
  border-radius: 4px;
  padding: 0.4rem 0.65rem;
  font-size: 0.9rem;
  color: var(--navy-primary);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--slate-200);
  padding: 1rem 0 1.5rem;
  background: var(--white);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--navy-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-secondary);
}

.btn-blue {
  background: var(--brand-blue);
  color: var(--white);
}

.btn-blue:hover {
  background: #04447A;
}

.btn-teal {
  background: var(--brand-teal);
  color: var(--white);
}

.btn-teal:hover {
  background: #487D19;
}

.btn-outline {
  background: transparent;
  border-color: var(--navy-primary);
  color: var(--navy-primary);
}

.btn-outline:hover {
  background: var(--brand-surface);
}

.btn-outline-light {
  background: transparent;
  border-color: var(--slate-400);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--navy-secondary);
}

.btn-outline-teal {
  background: transparent;
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

.btn-outline-teal:hover {
  background: var(--brand-teal);
  color: var(--white);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy-primary);
  color: var(--white);
  padding: 4.5rem 0;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: linear-gradient(to right, #94a3b8 1px, transparent 1px),
                    linear-gradient(to bottom, #94a3b8 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.pill-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 151, 32, 0.5);
  background: var(--navy-secondary);
  color: var(--brand-teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin-top: 1.25rem;
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--brand-teal);
}

.hero-sub {
  margin-top: 1.1rem;
  font-size: 1.08rem;
  color: #e2e8f0;
  font-weight: 500;
}

.hero-desc {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  max-width: 600px;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.workbench-card {
  background: rgba(23, 42, 70, 0.95);
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.workbench-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #334155;
  font-size: 0.72rem;
}

.workbench-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.workbench-tile {
  background: rgba(2, 38, 82, 0.75);
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.85rem;
}

.workbench-tile .label {
  font-size: 0.65rem;
  color: var(--slate-400);
}

.workbench-tile .title {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.workbench-tile .meta {
  margin-top: 0.25rem;
  font-size: 0.72rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-surface {
  background: var(--brand-surface);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-dark {
  background: var(--navy-primary);
  color: var(--white);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-teal);
}

.section-title {
  margin-top: 0.45rem;
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--navy-primary);
}

.section-dark .section-title {
  color: var(--white);
}

.section-lead {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--slate-600);
  max-width: 720px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.card:hover {
  border-color: rgba(6, 87, 154, 0.45);
  box-shadow: 0 6px 18px rgba(2, 38, 82, 0.06);
}

.card-surface {
  background: var(--brand-surface);
}

.card-dark {
  background: var(--navy-secondary);
  border: 1px solid #334155;
  color: var(--white);
}

.card-highlight {
  border: 2px solid var(--brand-teal);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--brand-surface);
  color: var(--navy-primary);
}

.tag-amber {
  background: var(--amber-50);
  color: var(--amber-800);
  border: 1px solid var(--amber-200);
}

.tag-green {
  background: rgba(88, 151, 32, 0.22);
  color: var(--brand-green);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.card-dark h3 {
  color: var(--white);
}

.card p {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--slate-600);
}

.card-dark p {
  color: #cbd5e1;
}

.check-list {
  list-style: none;
  margin-top: 0.9rem;
  space-y: 0.4rem;
}

.check-list li {
  font-size: 0.8rem;
  color: var(--slate-700);
  padding: 0.2rem 0;
  padding-left: 1.15rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-green);
  font-weight: 700;
}

.card-link {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-block;
}

.card-link:hover {
  text-decoration: underline;
}

/* Disclaimer Banner */
.disclaimer-box {
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  font-size: 0.8rem;
  color: var(--amber-900);
  margin-top: 1.5rem;
}

.disclaimer-box strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

thead {
  background: var(--navy-primary);
  color: var(--white);
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

th, td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--slate-200);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Forms & Tabs */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.tab-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 5px;
  border: none;
  background: var(--brand-surface);
  color: var(--navy-primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--navy-primary);
  color: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--slate-300);
  border-radius: 5px;
  font-size: 0.86rem;
  font-family: inherit;
  color: var(--brand-ink);
  background: var(--white);
}

.form-control:focus {
  outline: 2px solid rgba(40, 120, 208, 0.25);
  border-color: var(--brand-blue);
}

.upload-zone {
  border: 1px dashed var(--slate-400);
  border-radius: 6px;
  padding: 1rem;
  background: var(--brand-surface);
  margin-top: 1rem;
  font-size: 0.82rem;
}

.alert-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.alert-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

/* CTA Box */
.cta-banner {
  background: var(--navy-primary);
  color: var(--white);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.85rem;
  font-weight: 800;
}

.cta-banner p {
  margin: 0.75rem auto 0;
  max-width: 560px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

/* Footer */
.site-footer {
  background: var(--navy-primary);
  color: #cbd5e1;
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links, .nav-ctas { display: none; }
  .mobile-toggle { display: inline-block; }
  .hero-layout, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

/* Knowledge Centre Article Prose & Filters */
.filter-pill {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: var(--brand-surface);
  color: var(--navy-primary);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--brand-blue);
}

.filter-pill.active {
  background: var(--navy-primary);
  color: var(--white);
  border-color: var(--navy-primary);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-top: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.78rem;
  color: var(--slate-600);
}

.article-prose {
  margin-top: 1.75rem;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--slate-700);
}

.article-prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.article-prose h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.article-prose p {
  margin-bottom: 1rem;
}

.article-prose ul, .article-prose ol {
  margin: 0.75rem 0 1.25rem 1.35rem;
}

.article-prose li {
  margin-bottom: 0.45rem;
}

.formula-box {
  background: var(--navy-primary);
  color: #e2e8f0;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.85rem;
  overflow-x: auto;
}

.callout-box {
  background: var(--brand-surface);
  border-left: 4px solid var(--brand-teal);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.88rem;
}

.article-cta-box {
  margin-top: 2.5rem;
  background: var(--brand-surface);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Interactive Gated Resource Onboarding Hub & Drawer */
.resource-card {
  cursor: pointer;
  position: relative;
}

.resource-card .card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--slate-200);
  font-size: 0.78rem;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 38, 82, 0.62);
  backdrop-filter: blur(3px);
  z-index: 900;
  display: none;
  justify-content: flex-end;
}

.drawer-backdrop.open {
  display: flex;
}

.drawer-panel {
  width: 100%;
  max-width: 620px;
  height: 100vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 35px rgba(2, 38, 82, 0.25);
  overflow: hidden;
}

.drawer-header {
  background: var(--navy-primary);
  color: var(--white);
  padding: 1.35rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.drawer-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 5px;
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.checklist-group {
  margin-bottom: 1.25rem;
  background: var(--brand-surface);
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 1rem 1.15rem;
}

.checklist-group h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--slate-700);
  padding: 0.32rem 0;
  cursor: pointer;
}

.checklist-item input[type="checkbox"] {
  margin-top: 0.22rem;
  accent-color: var(--brand-teal);
}

.gate-card {
  margin-top: 1.5rem;
  border: 1.5px solid var(--brand-teal);
  border-radius: 8px;
  padding: 1.25rem;
  background: #F2F9EC;
}

.gate-card h4 {
  font-size: 0.95rem;
  color: var(--navy-primary);
  margin-bottom: 0.35rem;
}

.drawer-footer {
  border-top: 1px solid var(--slate-200);
  padding: 1rem 1.5rem;
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.context-banner {
  background: #EEF5FC;
  border: 1px solid #BDD6EE;
  border-left: 4px solid var(--brand-blue);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--navy-primary);
}

/* Clean Print-to-PDF Sheet (Hidden on Screen, Sole Content on Print) */
#print-checklist-sheet {
  display: none;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0.45in;
  }

  html, body {
    background: #FFFFFF !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body > *:not(#print-checklist-sheet):not(#calc-print-sheet) {
    display: none !important;
  }

  #print-checklist-sheet {
    display: block !important;
    position: static !important;
    width: 100% !important;
    padding: 0 !important;
    color: #022652 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  }

  #print-checklist-sheet h1 {
    font-size: 20pt;
    margin-bottom: 4pt;
  }

  #print-checklist-sheet .print-meta {
    font-size: 9pt;
    color: #475569;
    border-bottom: 2px solid #022652;
    padding-bottom: 10pt;
    margin-bottom: 16pt;
  }

  #print-checklist-sheet .print-section {
    margin-bottom: 14pt;
    page-break-inside: avoid;
  }

  #print-checklist-sheet .print-section h3 {
    font-size: 11pt;
    color: #06579A;
    text-transform: uppercase;
    margin-bottom: 6pt;
  }

  #print-checklist-sheet ul {
    list-style: none;
    padding-left: 0;
  }

  #print-checklist-sheet li {
    font-size: 10pt;
    padding: 3.5pt 0;
    border-bottom: 1px dashed #cbd5e1;
  }

  #print-checklist-sheet .print-footer {
    margin-top: 20pt;
    padding-top: 8pt;
    border-top: 1px solid #cbd5e1;
    font-size: 8pt;
    color: #64748b;
  }
}


/* =========================================================================
   WATTPVFY v4 — OFFICIAL LOGO BRANDING & DYNAMIC RESPONSIVE TOUCH LAYER
   Brand Palette: Deep Navy #022652 | Solar Blue #06579A | Verify Green #589720
   ========================================================================= */
:root {
  --navy-deep: #011938;
  --brand-green-hover: #487D19;
  --brand-blue-hover: #04447A;
  --brand-green-tint: #F2F9EC;
  --brand-blue-tint: #EEF5FC;
}

/* Prevent accidental horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(6, 87, 154, 0.12);
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #06579A 0%, #589720 100%);
  z-index: 1000;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* Official Logo Styling */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.footer-logo-badge {
  display: inline-block;
  background: #FFFFFF;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  margin-bottom: 0.75rem;
}

.footer-logo-badge img {
  height: 34px;
  width: auto;
  display: block;
}

/* Header Scrolled State & Active Nav Highlight */
.site-header {
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(2, 38, 82, 0.09);
  background: rgba(255, 255, 255, 0.98);
}

.nav-links a.active-link {
  color: #06579A;
  font-weight: 700;
  position: relative;
}

.nav-links a.active-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, #06579A, #589720);
  border-radius: 2px;
}

/* Dynamic Hero Gradient Glow */
.hero {
  background: radial-gradient(circle at 82% 20%, rgba(6, 87, 154, 0.35) 0%, transparent 48%),
              radial-gradient(circle at 12% 85%, rgba(88, 151, 32, 0.2) 0%, transparent 42%),
              linear-gradient(135deg, #011938 0%, #022652 55%, #05346D 100%);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.hero h1 .accent {
  color: #7AC143;
}

.section-title {
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
}

/* Interactive Button & Card Touch Feedback */
.btn {
  min-height: 42px;
  touch-action: manipulation;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-sm {
  min-height: 36px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 38, 82, 0.14);
}

.btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

.btn-teal {
  background: #589720;
  color: #FFFFFF;
}

.btn-teal:hover {
  background: #487D19;
}

.btn-outline-teal {
  border-color: #7AC143;
  color: #A3E06E;
}

.btn-outline-teal:hover {
  background: #589720;
  border-color: #589720;
  color: #FFFFFF;
}

.card {
  transition: transform 0.22s ease, border-color 0.2s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 87, 154, 0.5);
  box-shadow: 0 12px 26px rgba(2, 38, 82, 0.08);
}

.card:active {
  transform: scale(0.99);
}

.workbench-tile {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.workbench-tile:hover {
  transform: translateY(-2px);
  border-color: #589720;
}

/* Mobile Accordion inside Drawer */
.mobile-drawer {
  transition: all 0.22s ease;
}

.mobile-drawer a {
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid #F1F5F9;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid #F1F5F9;
  padding: 0.7rem 0.25rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-ink);
  font-family: inherit;
  cursor: pointer;
}

.mobile-accordion-panel {
  display: none;
  padding-left: 0.85rem;
  background: #F8FAFC;
  border-radius: 6px;
  margin: 0.25rem 0 0.5rem;
}

.mobile-accordion-panel.open {
  display: block;
}

.mobile-accordion-panel a {
  font-size: 0.84rem;
  color: #334155;
  border-bottom: 1px solid #E2E8F0;
}


/* Floating Back-to-Top Button */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #022652;
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(2, 38, 82, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #06579A;
}

/* Sticky Mobile Quick-Action Bottom Bar */
.mobile-quick-bar {
  display: none;
}

@media (max-width: 960px) {
  body {
    padding-bottom: 66px;
  }

  .brand-logo-img {
    height: 32px;
  }

  .mobile-toggle {
    min-height: 40px;
    padding: 0.45rem 0.85rem;
    font-weight: 600;
    border-color: #022652;
  }

  .mobile-quick-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 450;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid #CBD5E1;
    padding: 0.5rem 0.65rem;
    box-shadow: 0 -4px 16px rgba(2, 38, 82, 0.1);
  }

  .mobile-quick-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    text-align: center;
    touch-action: manipulation;
  }

  .mqb-bill {
    background: #EEF5FC;
    color: #06579A;
    border: 1px solid #BDD6EE;
  }

  .mqb-services {
    background: #F2F9EC;
    color: #3E6B15;
    border: 1px solid #C6E3A8;
  }

  .mqb-consult {
    background: #022652;
    color: #FFFFFF;
  }

  .back-to-top {
    bottom: 4.8rem;
    right: 0.9rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .section {
    padding: 2.75rem 0;
  }

  .workbench-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
}

@media (max-width: 480px) {
  .workbench-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

@media print {
  .scroll-progress-bar,
  .back-to-top,
  .mobile-quick-bar {
    display: none !important;
  }
}

/* =========================================================================
   WATTPVFY v6 — PREMIUM MOTION DESIGN SYSTEM (GSAP + LENIS + CSS)
   GPU-Accelerated Transforms & Opacity Only | Zero Layout Shift | A11y Safe
   ========================================================================= */
:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-subtle: 0 2px 10px rgba(2, 38, 82, 0.04);
  --shadow-elevated: 0 14px 34px rgba(2, 38, 82, 0.10);
  --shadow-glow-blue: 0 8px 24px rgba(6, 87, 154, 0.22);
}

/* Lenis Smooth Scroll Compatibility */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Fluid Page Transition Veil (Non-blocking, GPU opacity only) */
.page-transition-veil {
  position: fixed;
  inset: 0;
  background: #022652;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s var(--ease-out-quint);
  will-change: opacity;
}
.page-transition-veil.is-leaving {
  opacity: 1;
  pointer-events: all;
}

/* Refined Interactive Navigation Dropdown (Animated, not abrupt display:none) */
.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.22s var(--ease-out-quint), transform 0.22s var(--ease-out-quint), visibility 0.22s;
  pointer-events: none;
  will-change: transform, opacity;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.dropdown-menu a {
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s var(--ease-out-quint);
}
.dropdown-menu a:hover {
  transform: translateX(3px);
}

/* Refined Glassmorphic Header */
.site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(2, 38, 82, 0.08);
  border-bottom-color: rgba(203, 213, 225, 0.8);
}

/* Premium Button Micro-Interactions */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s var(--ease-out-quint), box-shadow 0.22s var(--ease-out-quint), background 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
  transform: translateX(-110%);
  transition: transform 0.55s var(--ease-out-expo);
  pointer-events: none;
}
.btn:hover::after {
  transform: translateX(110%);
}
.btn-primary:hover, .btn-blue:hover {
  box-shadow: var(--shadow-glow-blue);
}

/* Refined Card Surfaces & Hover Lift */
.card {
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s var(--ease-out-quint), border-color 0.25s ease, box-shadow 0.3s var(--ease-out-quint);
  will-change: transform;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 87, 154, 0.45);
  box-shadow: var(--shadow-elevated);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.18s ease, transform 0.22s var(--ease-out-quint);
}
.card:hover .card-link,
.card-link:hover {
  transform: translateX(4px);
}

/* Hero Ambient Motion & Depth */
.hero-grid-bg {
  will-change: transform;
}
.workbench-card {
  transition: transform 0.35s var(--ease-out-quint), box-shadow 0.35s var(--ease-out-quint), border-color 0.3s ease;
  will-change: transform;
}
.workbench-card:hover {
  border-color: rgba(122, 193, 67, 0.55);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.38);
}
.workbench-tile {
  transition: transform 0.24s var(--ease-out-quint), border-color 0.24s ease, background 0.24s ease;
}
.workbench-tile:hover {
  transform: translateY(-3px);
  background: rgba(2, 38, 82, 0.95);
  border-color: #7AC143;
}

/* Sticky Contact Layout (Desktop sticky sidebar, clean mobile stack) */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}
.contact-sticky-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 92px;
}

/* Sticky Knowledge Centre Filter Bar */
.kc-sticky-bar {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  margin-top: 1.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

/* Slide-Over Drawer Smooth Spring Motion */
.drawer-backdrop {
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out-quint), visibility 0.28s;
}
.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.drawer-panel {
  transform: translateX(100%);
  transition: transform 0.38s var(--ease-out-expo);
  will-change: transform;
}
.drawer-backdrop.open .drawer-panel {
  transform: translateX(0);
}

/* Animated Tab Indicator & Filter Pill Polish */
.tab-btn, .filter-pill {
  transition: background 0.2s ease, color 0.2s ease, transform 0.16s var(--ease-out-quint), border-color 0.2s ease;
}
.tab-btn:active, .filter-pill:active {
  transform: scale(0.96);
}

/* Fallback CSS Reveal (Used only if GSAP CDN is unavailable offline) */
.fallback-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out-quint), transform 0.55s var(--ease-out-quint);
}
.fallback-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-sticky-col {
    position: static;
  }
  .kc-sticky-bar {
    top: 62px;
  }
}

/* Strict Accessibility: Respect Reduced Motion Everywhere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .page-transition-veil {
    display: none !important;
  }
  .fallback-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .card:hover, .btn:hover, .workbench-tile:hover {
    transform: none !important;
  }
}

/* =========================================================================
   WATTPVFY ECOSYSTEM INTERCONNECTION LAYER (v11)
   Top Ecosystem Switcher Bar + Footer Ecosystem Strip + Referral Handoff
   ========================================================================= */
.ecosystem-bar {
  background: #011938;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.72rem;
  position: relative;
  z-index: 120;
}

.ecosystem-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.42rem 0;
  flex-wrap: wrap;
}

.ecosystem-bar-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
  white-space: nowrap;
}

.ecosystem-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.eco-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.eco-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.eco-pill.is-active {
  background: #06579A;
  border-color: #7AC143;
  color: #ffffff;
}

.eco-pill .eco-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.footer-ecosystem-strip {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border-radius: 8px;
  background: rgba(1, 25, 56, 0.72);
  border: 1px solid #1e3a5f;
}

.footer-ecosystem-strip-title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7AC143;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footer-eco-item {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.footer-eco-item a {
  display: inline-block;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  transition: color 0.15s ease;
}

.footer-eco-item a:hover {
  color: #7AC143;
}

.referral-banner {
  background: #F2F9EC;
  border: 1px solid #C6E3A8;
  border-left: 4px solid #589720;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.15rem;
  font-size: 0.82rem;
  color: #022652;
}

@media (max-width: 960px) {
  .ecosystem-bar-inner {
    justify-content: flex-start;
    padding: 0.4rem 0;
  }
  .ecosystem-bar-label {
    display: none;
  }
  .ecosystem-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }
  .ecosystem-links::-webkit-scrollbar {
    display: none;
  }
  .footer-ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .ecosystem-bar,
  .footer-ecosystem-strip {
    display: none !important;
  }
}

/* Direct WhatsApp Business Floating Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 78px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #25D366;
  color: #FFFFFF !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.36);
  z-index: 960;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  background: #1EBE5D;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(30, 190, 93, 0.44);
}
.whatsapp-float svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .whatsapp-float {
    right: 14px;
    bottom: 128px;
    padding: 9px 13px;
    font-size: 0.78rem;
  }
}
@media print {
  .whatsapp-float { display: none !important; }
}
