/* ============================================
   Naja Safety — Professional Light Theme
   White background, navy type, blue accent
   ============================================ */

/* ---------- Root Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f5f8;
  --surface: #ffffff;
  --surface-alt: #fafbfc;
  --rule: #d8dae2;
  --rule-strong: #b9bcc8;

  --ink: #1a1938;
  --ink-body: #282650;
  --ink-muted: #5c6070;

  --accent: #3d47b8;
  --accent-hover: #282650;
  --accent-wash: #eceef9;
  --on-accent: #ffffff;

  --shadow-sm: 0 1px 2px rgba(26,25,56,.06), 0 1px 3px rgba(26,25,56,.04);
  --shadow-md: 0 2px 4px rgba(26,25,56,.06), 0 4px 12px rgba(26,25,56,.07);

  --primary: #282650;
  --primary-dark: #1a1836;
  --text: #282650;
  --text-primary: #1a1938;
  --text-secondary: #5c6070;
  --text-muted: #5c6070;
  --border: #d8dae2;
  --border-subtle: #e8e9ef;
  --success: #16a34a;
  --gray: #5c6070;
  --gray-light: #b9bcc8;
  --paper: #ffffff;
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--ink-body);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

p { color: var(--ink-body); }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

/* ---------- Header ---------- */
header {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header.header-scrolled {
  background: rgba(255,255,255,0.97) !important;
  border-bottom: 1px solid var(--rule) !important;
}

.logo {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  color: var(--ink);
}

.nav-links a {
  color: var(--ink-body);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.mobile-menu-btn {
  color: var(--ink);
}

@media (max-width: 767px) {
  .nav-links {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--rule);
  }
}

/* ---------- Typography helpers ---------- */
.text-gray { color: var(--ink-muted); }
.section-title p {
  color: var(--ink-muted);
}
.section-eyebrow {
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  color: var(--ink-body);
  border-color: var(--rule-strong);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-light {
  background: var(--paper);
  color: var(--primary);
  border-color: var(--rule);
}
.btn-light:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

/* Notched industrial buttons — kept for CTA bands */
.btn-hazard {
  background: var(--accent);
  color: #ffffff;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s cubic-bezier(0.16,1,0.3,1), background 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-hazard:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-body);
  border: 1px solid var(--rule-strong);
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}
.hero h1, .hero h2, .hero h3 {
  color: var(--paper);
}
.hero p {
  color: rgba(255,255,255,0.9);
}
.hero a {
  color: var(--paper);
}
.hero a:hover {
  color: var(--accent-wash);
}

.hero-visual-inner {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-subtext {
  color: #ffffff;
}
.hero-subtext strong {
  color: var(--paper);
}

/* Hero enhancements */
.hero-enhanced .hero-overlay {
  background: linear-gradient(to top, var(--primary) 0%, rgba(26,25,56,0.5) 40%, rgba(26,25,56,0.7) 100%);
}
.hero-meta-badge {
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.3);
  color: var(--paper);
}
.hero-meta-badge .blink-dot {
  background: var(--paper);
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-item span {
  color: var(--ink-body);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover {
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  background: var(--accent-wash);
  color: var(--accent);
}
.card a {
  color: var(--accent);
}
.card a:hover {
  color: var(--accent-hover);
}

/* ---------- Client Wall ---------- */
.client-tag {
  background: var(--surface-alt);
  border: 1px solid var(--rule);
  color: var(--ink-body);
}
.client-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.client-tag-gov {
  background: var(--accent-wash);
  border-color: var(--rule);
}
.client-tag-gov:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Benefits ---------- */
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.benefit-card:hover {
  border-color: var(--accent);
}
.benefit-card h4 {
  color: var(--ink);
}

/* ---------- Iceberg ---------- */
.iceberg-visible {
  background: linear-gradient(135deg, var(--accent-wash) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--rule);
}
.iceberg-visible h4 {
  color: var(--accent);
}
.iceberg-visible p {
  color: var(--ink-body);
}

.iceberg-hidden {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border: 1px solid rgba(255,255,255,0.12);
}
.iceberg-hidden h4 {
  color: var(--paper);
}
.iceberg-hidden p {
  color: rgba(255,255,255,0.9);
}
.iceberg-hidden ul li {
  color: rgba(255,255,255,0.85);
}
.iceberg-hidden ul li::before {
  background: var(--paper);
}
.iceberg-note {
  color: var(--ink-muted);
}

/* ---------- Financial Incentive ---------- */
.financial-incentive {
  background: var(--bg-alt);
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}
.financial-card {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.financial-card h3 {
  color: var(--accent);
}
.financial-card p {
  color: var(--ink-body);
}

.badge {
  background: var(--accent-wash);
  color: var(--accent);
}

/* ---------- Geo Targeting ---------- */
.geo-targeting {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
}
.geo-targeting h4 {
  color: var(--ink);
}
.geo-targeting p {
  color: var(--ink-muted);
}
.geo-targeting code {
  background: var(--surface-alt);
  border: 1px solid var(--rule);
  color: var(--accent);
}

.affiliate-recruitment-bar {
  background: var(--surface-alt);
  border: 1px solid var(--rule);
}
.affiliate-recruitment-bar p {
  color: var(--ink-muted);
}

/* ---------- Video Cards ---------- */
.video-card {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.video-thumb {
  background: var(--primary);
}
.video-card p {
  color: var(--ink-body);
}

/* ---------- Certificate Modal ---------- */
.cert-modal {
  background: rgba(26,25,56,0.88);
}
.cert-modal-caption {
  color: rgba(255,255,255,0.9);
}
.cert-modal-close {
  background: rgba(255,255,255,0.15);
  color: var(--paper);
}
.cert-modal-close:hover {
  background: rgba(255,255,255,0.3);
}

/* ---------- Contact ---------- */
.contact-info .label {
  color: var(--ink-muted);
}
.contact-info a {
  color: var(--ink-body);
}

.map-placeholder {
  background: var(--surface-alt);
  border: 2px dashed var(--rule);
  color: var(--ink-muted);
}

/* ---------- Forms ---------- */
.form-group label {
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--ink-body);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(61,71,184,0.08);
}

/* ---------- Review Flags ---------- */
.review-flag {
  background: rgba(243, 156, 18, 0.08);
  color: #b8860b;
  border: 2px dashed #b8860b;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
}

.footer-col a,
.footer-col p {
  color: rgba(255,255,255,0.75);
}
.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
}

/* Footer hazard tape */
.footer-hazard-tape {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0px, var(--accent) 12px,
    var(--paper) 12px, var(--paper) 24px
  );
}

/* ---------- Industries ---------- */
.industry-item {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.industry-item:hover {
  border-color: var(--primary);
}
.industry-item h4 {
  color: var(--ink);
}

/* ---------- Services ---------- */
.service-pillar h3 {
  color: var(--ink);
}
.service-pillar p {
  color: var(--ink-muted);
}
.course-heading {
  color: var(--ink);
}
.course-subcaption {
  color: var(--ink-muted);
}
.course-target strong {
  color: var(--accent);
}

/* ---------- Courses ---------- */
.course-card {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.course-card:hover {
  border-color: var(--primary);
}
.course-card h4 {
  color: var(--ink);
}
.course-card p {
  color: var(--ink-muted);
}

.course-filter-btn {
  background: var(--surface-alt);
  border: 1px solid var(--rule);
  color: var(--ink-body);
}
.course-filter-btn:hover,
.course-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--paper);
}

.course-category-letter {
  background: var(--primary);
}

.tag {
  background: var(--surface-alt);
  color: var(--ink-body);
}
.tag.accent {
  background: var(--accent);
  color: #fff;
}

/* ---------- Language Toggle ---------- */
.language-toggle-container {
  background: var(--accent-wash);
}
.lang-btn {
  color: var(--ink-muted);
}
.lang-btn:hover {
  color: var(--ink-body);
}
.lang-btn.active {
  background: var(--primary);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}

/* ---------- Mobile Sticky Action Bar ---------- */
.mobile-sticky-action-bar {
  background: var(--surface);
  border-top: 1px solid var(--rule);
}

/* ---------- Tables ---------- */
.comparison-table th {
  background: var(--primary);
  color: var(--paper);
}
.comparison-table tr:nth-child(even) td {
  background: var(--bg-alt);
}
.comparison-table .highlight-cell {
  background: var(--accent-wash) !important;
}

/* ---------- Timeline ---------- */
.timeline-item::before {
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent);
}
.timeline-year {
  color: var(--accent);
}

/* ---------- Operational Comparison ---------- */
.comparison-card {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.comparison-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm);
}
.comparison-card.featured:hover {
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}
.comparison-card.featured .card-header .icon {
  background: var(--accent-wash);
  color: var(--accent);
}
.comparison-card:not(.featured) .card-header .icon {
  background: var(--bg-alt);
  color: var(--ink-muted);
}
.comparison-card.featured .card-header h3 {
  color: var(--accent);
}
.comparison-card:not(.featured) .card-header h3 {
  color: var(--ink-muted);
}
.comparison-card .benefit-list li {
  color: var(--ink-muted);
}
.comparison-card.featured .comparison-eyebrow {
  background: var(--accent-wash);
  color: var(--accent);
}
.comparison-card:not(.featured) .comparison-eyebrow {
  background: var(--bg-alt);
  color: var(--ink-muted);
}

/* ---------- Social Proof Stream ---------- */
.social-proof-stream {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.stream-card {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.stream-card .stream-caption .stream-tag {
  color: var(--accent);
  background: var(--accent-wash);
}
.stream-card .stream-caption h4 {
  color: var(--ink);
}

/* ---------- Authority Stats ---------- */
.authority-stats {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--surface-alt) 100%);
}
.stat-card .stat-number {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  color: var(--accent);
}

/* ---------- Coverage Areas ---------- */
.coverage-card {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.coverage-card h4 {
  color: var(--ink);
}

/* ---------- Training Guide ---------- */
.guide-industry-grid .card.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.guide-panel-inner {
  background: var(--surface);
}
.guide-panel-inner h4 {
  color: var(--ink);
}
.guide-panel-section h5 {
  color: var(--accent);
}
.guide-panel-section ul li a {
  color: var(--accent);
}
.guide-tag {
  background: var(--surface-alt);
  color: var(--ink-muted);
}

/* ---------- Regulatory Hub ---------- */
.regulatory-hub {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.regulatory-hub .section-title p {
  color: var(--ink-muted);
}

.regulatory-matrix table {
  background: var(--surface);
}
.regulatory-matrix td:first-child {
  color: var(--ink);
}
.regulatory-matrix a {
  color: var(--accent);
}

.statutory-quote {
  background: var(--surface-alt);
  border-left: 4px solid var(--accent);
}
.statutory-quote p {
  color: var(--ink-muted);
}
.statutory-quote cite {
  color: var(--ink-muted);
}

.regulatory-tag.dosh {
  background: var(--accent-wash);
  color: var(--primary);
}
.regulatory-tag.cidb {
  background: var(--accent-wash);
  color: var(--accent);
}
.regulatory-tag.osha {
  background: rgba(220, 53, 69, 0.06);
  color: #c0392b;
}

.regulatory-accordion .faq-item {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.regulatory-accordion .faq-question {
  color: var(--ink);
}
.regulatory-accordion .faq-answer-inner p {
  color: var(--ink-muted);
}

/* ---------- Course Specs ---------- */
.course-spec-table th {
  color: var(--ink-muted);
  background: var(--bg-alt);
}
.course-spec-table td {
  color: var(--ink-body);
}

/* ---------- Audience / Related ---------- */
.audience-card {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.audience-card h4 {
  color: var(--ink);
}

.related-card {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.related-card .related-tag {
  color: var(--accent);
  background: var(--accent-wash);
}
.related-card h4 {
  color: var(--ink);
}

/* ---------- Syllabus ---------- */
.syllabus-module-num {
  background: var(--primary);
}
.syllabus-module-text {
  color: var(--ink-muted);
}

/* ---------- FAQ ---------- */
.faq-question {
  color: var(--ink);
}
.faq-question:hover {
  color: var(--accent);
}
.faq-answer-inner {
  color: var(--ink-muted);
}

/* ---------- Animations ---------- */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.04), transparent);
  background-size: 200% 100%;
}

/* ---------- New Utility Classes ---------- */
.font-display {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
}
.font-mono2 {
  font-family: 'IBM Plex Mono', monospace;
}

.text-display {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.bg-grid {
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: calc((100vw - 0px) / 12) calc((100vw - 0px) / 12);
}

.bg-grid-fine {
  background-image:
    linear-gradient(rgba(26,25,56,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,25,56,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.notch {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.outline-text {
  -webkit-text-stroke: 1.5px rgba(26,25,56,0.25);
  color: transparent;
}
.outline-hazard {
  -webkit-text-stroke: 1.5px var(--accent);
  color: transparent;
}

.u-sweep {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding-bottom: 2px;
}
.u-sweep:hover {
  background-size: 100% 2px;
}

.data-row {
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.data-row:hover {
  background: var(--accent-wash);
  padding-left: 12px;
}

.hazard-tape {
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0px, var(--accent) 14px,
    var(--paper) 14px, var(--paper) 28px
  );
}

.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.waterline {
  background: linear-gradient(180deg, transparent 0%, rgba(61,71,184,0.06) 48%, rgba(61,71,184,0.25) 50%, rgba(61,71,184,0.06) 52%, transparent 100%);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 30s linear infinite;
}
.animate-marquee-fast {
  animation: marquee 18s linear infinite;
}

@keyframes blinkdot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.blink {
  animation: blinkdot 1.4s ease-in-out infinite;
}

input, textarea, select {
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--ink-body);
  padding: 12px 14px;
  font-size: 14px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 100;
}

/* ---------- Statutory Ticker ---------- */
.ticker-bar {
  background: var(--accent);
  color: var(--on-accent);
  overflow: hidden;
  white-space: nowrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 81;
}
.ticker-bar .ticker-inner {
  display: inline-flex;
  align-items: center;
  animation: marquee 35s linear infinite;
}
.ticker-bar .ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 32px 8px 0;
}
.ticker-bar .ticker-item::after {
  content: '///';
  opacity: 0.6;
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 85;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.whatsapp-fab .fab-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--ink-body);
  padding: 6px 10px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.whatsapp-fab:hover .fab-label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.whatsapp-fab .fab-icon {
  background: repeating-linear-gradient(-45deg, var(--accent) 0px, var(--accent) 10px, var(--paper) 10px, var(--paper) 20px);
  padding: 3px;
  display: flex;
}
.whatsapp-fab .fab-icon-inner {
  background: var(--bg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-fab .fab-icon-inner svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 1;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1),
              transform .55s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.revealed,
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.revealed, .js .reveal.is-visible {
    opacity: 1; transform: none; transition: none;
  }
}

/* ---------- Counter ---------- */
.counter-wrap {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

/* ---------- Char Reveal ---------- */
.char-reveal span {
  opacity: 0.12;
  display: inline;
  transition: opacity 0.4s ease;
}
.char-reveal.revealed span {
  opacity: 1;
}

/* ---------- Section Eyebrow with Index ---------- */
.section-head {
  margin-bottom: 3rem;
}
.section-head-index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.section-head-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head-title {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-top: 0.5rem;
  color: var(--ink);
}
.section-head-sub {
  color: var(--ink-muted);
  margin-top: 1.25rem;
  max-width: 42rem;
  line-height: 1.7;
}

/* ---------- Hero Enhancements ---------- */
.hero-enhanced .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-enhanced .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--primary) 0%, rgba(11,12,26,0.35) 40%, rgba(11,12,26,0.55) 100%);
  z-index: 1;
}
.hero-enhanced .hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(90,104,224,0.5);
  background: rgba(0,0,0,0.5);
  padding: 8px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-meta-badge .blink-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blinkdot 1.4s ease-in-out infinite;
}

/* ---------- Closing CTA ---------- */
.closing-cta {
  position: relative;
  border-top: 1px solid var(--rule);
  overflow: hidden;
}
.closing-cta .cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg), transparent, var(--bg));
  opacity: 0.8;
}
.closing-cta .cta-content {
  position: relative;
  text-align: center;
  padding: 6rem 1.5rem;
}
.closing-cta .cta-title {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 50rem;
  margin: 0 auto;
  color: var(--ink);
}
.closing-cta .cta-body {
  color: var(--ink-muted);
  max-width: 36rem;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}
.closing-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ---------- Trust Bar Enhanced ---------- */
.trust-marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-alt);
  padding: 1.25rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.trust-marquee-inner {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}
.trust-marquee-item {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-marquee-item::after {
  content: '✦';
  color: var(--accent);
}

/* ---------- FAQ Accordion (Kimi style) ---------- */
.faq-kimi {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.faq-kimi-item {
  border-bottom: 1px solid var(--rule);
}
.faq-kimi-item:last-child {
  border-bottom: none;
}
.faq-kimi-q {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
}
.faq-kimi-q:hover {
  color: var(--accent);
}
.faq-kimi-q .faq-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  margin-right: 12px;
  flex-shrink: 0;
}
.faq-kimi-q .faq-toggle {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-kimi-a {
  padding: 0 0 24px 28px;
  color: var(--ink-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 48rem;
  display: none;
}
.faq-kimi-item.open .faq-kimi-a {
  display: block;
}

/* ---------- Overlay Panel ---------- */
.overlay-panel {
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 12px;
  padding: 32px;
}
@supports not (backdrop-filter: blur(10px)) {
  .overlay-panel { background: rgba(255,255,255,.97); }
}

/* ---------- Card Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* ---------- Data Row Hover ---------- */
.data-row-hover {
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.data-row-hover:hover {
  background: var(--accent-wash);
  padding-left: 12px;
}

/* ---------- Asset Tag ---------- */
.asset-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 20;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.asset-tag.ai {
  background: var(--accent);
  color: #fff;
}
.asset-tag.original {
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ---------- Mobile FAB hidden when sticky bar visible ---------- */
@media (max-width: 767px) {
  .whatsapp-fab .fab-label { display: none; }
}
