﻿/*
Theme Name: NorvarisPR
Theme URI: https://norvaris.com
Author: Norvaris Studio
Author URI: https://norvaris.com
Description: Norvaris digital product studio. GSAP-powered animations, glassmorphic design system, full responsive.
Version: 1.3.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: norvaris
Tags: dark, one-page, custom-background, custom-logo, featured-images, full-width-template
*/

/* ============================================
   NORVARIS DESIGN SYSTEM
   Core tokens, utilities, and base styles.
   Tailwind handles layout utilities via CDN.
   This file handles custom effects only.
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  --color-bg: #000000;
  --color-bg-elevated: #0A0A0B;
  --color-bg-muted: #111113;
  --color-fg: #FFFFFF;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(255, 255, 255, 0.2);
  --color-accent: #3B82F6;
  --color-glow: rgba(255, 255, 255, 0.05);

  /* Text hierarchy — soft white headings, never pure #fff */
  --text-primary: #f2f2f2;
  --text-heading: #f2f2f2;
  --text-body: rgba(255, 255, 255, 0.65);
  --text-lead: rgba(255, 255, 255, 0.50);
  --text-secondary: rgba(255, 255, 255, 0.50);
  --text-muted: rgba(255, 255, 255, 0.32);
  --color-fg-muted: var(--text-secondary);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  --font-mono: var(--font-sans);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  --duration-fast: 300ms;
  --duration-normal: 500ms;
  --duration-slow: 800ms;
  --duration-slower: 1200ms;
}

/* Semantic text utilities (prefer these over raw white/opacity) */
.text-body { color: var(--text-body); }
.text-lead { color: var(--text-lead); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/*
  Section headings — soft off-white, not pure #fff.
  Leaves buttons/icons/logo alone (those keep Tailwind text-white).
*/
h1,
h2,
h3,
h4,
.hero-title,
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white {
  color: #f2f2f2;
}

.hero-title-muted,
.hero-title .muted,
h1 .text-white\/40,
h2 .text-white\/40,
h3 .text-white\/40,
h2 .italic.text-white\/40 {
  color: rgba(255, 255, 255, 0.50);
}

.hero-description {
  color: rgba(255, 255, 255, 0.50);
}

/* Homepage hero H1 — ~13% larger than other page heroes on mobile (2.25rem) */
.hero-title-en,
.hero-title-hr {
  text-transform: none;
  line-height: 0.95;
  font-size: 2.55rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.hero-title-en .block,
.hero-title-hr .block {
  display: block;
}
.hero-title-hr .block {
  white-space: normal;
}
@media (min-width: 768px) {
  .hero-title-en,
  .hero-title-hr {
    font-size: 4.5rem;
  }
}
@media (min-width: 1024px) {
  .hero-title-en,
  .hero-title-hr {
    font-size: 6rem;
  }
}
/* Lock EN lines when viewport can fit 6rem Space Grotesk */
@media (min-width: 1280px) {
  .hero-title-en .block {
    white-space: nowrap;
  }
}

/* Card bullet lists — gap property (not space-y margins) so * { margin:0 } can't collapse them */
.card-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/*
  Cards + section copy — softer than article body.
  .post-content keeps --text-body (0.65) via its own rules below. Do not change that.
*/
p.text-white\/40,
p.text-white\/30,
p.text-white\/60,
div.text-white\/40.text-lg,
div.text-white\/40.font-light,
div.space-y-6.text-white\/40,
div.max-w-3xl.text-white\/40 {
  color: rgba(255, 255, 255, 0.50);
}

/* Hero / section intros — same as descriptions */
p.text-xl.text-white\/40,
p.text-lg.md\:text-xl.text-white\/40,
p.hero-description {
  color: rgba(255, 255, 255, 0.50);
}

/* Readable non-mono spans (e.g. protocol steps) — not eyebrows */
span.text-sm.text-white\/40:not(.font-mono),
span.text-sm.text-white\/30:not(.font-mono) {
  color: rgba(255, 255, 255, 0.50);
}

/* Card hover: lift above section body, not below it */
.group:hover .group-hover\:text-white\/60 {
  color: rgba(255, 255, 255, 0.72);
}

/* Decorative eyebrows, tech labels, category chips stay quieter */
span.uppercase.text-white\/40,
span.font-mono.text-white\/40,
span.font-semibold.text-white\/40.tracking-widest,
a.font-mono.text-white\/40,
a.text-\[10px\].font-mono.text-white\/40 {
  color: var(--text-muted);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #374151; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Typography --- */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

/* --- Utility Classes --- */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, #ffffff, #666666);
}

.text-gradient-clean {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, #ffffff, #888888);
}

/* --- Glass Panel --- */
.glass-panel {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 8px 40px rgba(0, 0, 0, 0.3);
  transition: border-color var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease,
              transform var(--duration-fast) var(--ease-out-expo);
}

.glass-card:hover {
  border-color: var(--color-border-hover);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 20px 60px rgba(0, 0, 0, 0.4);
}

/* --- Background Effects --- */
.noise-bg {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.grid-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.glow-mesh {
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 70%
  );
}

/* --- Ambient Glow --- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* --- SVG Animation Lines - prevent default black fill --- */
.neural-line,
.topology-line,
.web-process-line,
.process-line,
.ai-process-line {
  fill: none !important;
  fill-opacity: 0 !important;
}

/* --- Reveal Animation (GSAP adds .is-visible) --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
}
.reveal-fade {
  opacity: 0;
}

/* Fallback 1: users (and Lighthouse/PSI) who prefer reduced motion get
   instantly-visible content — no opacity:0 starting state. This protects
   against PSI's headless Chrome reporting "no LCP element found" because
   reveal animations never fired. */
@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Fallback 2: if GSAP fails to load within 3s (network error, CDN block,
   adblocker), JS adds .js-failed to <html> and reveal elements become
   visible. Prevents an entirely blank-looking page. */
html.js-failed .reveal-up,
html.js-failed .reveal-left,
html.js-failed .reveal-right,
html.js-failed .reveal-scale,
html.js-failed .reveal-fade {
  opacity: 1 !important;
  transform: none !important;
}

/* --- Nav Link Glow Effect --- */
.nav-link {
  position: relative;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.35s ease;
}
.nav-link::before {
  content: "";
  position: absolute;
  inset: -8px -12px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.18), rgba(255,255,255,0.06) 35%, transparent 70%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  filter: blur(6px);
}
.nav-link:hover::before { opacity: 1; transform: scale(1); }
.nav-link:hover { color: white; text-shadow: 0 0 10px rgba(255,255,255,0.25); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 10%; bottom: -4px; width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.nav-link:hover::after { opacity: 1; transform: scaleX(1); }

/* --- Nav Dropdown --- */
.norvaris-menu-item { position: relative; }

.norvaris-menu-item .norvaris-arrow {
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 0.25s ease;
  vertical-align: middle;
}
.norvaris-menu-item:hover > a .norvaris-arrow,
.norvaris-menu-item:focus-within > a .norvaris-arrow {
  transform: rotate(180deg);
}

.norvaris-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 18px;
  transform: translateX(-50%) translateY(-8px);
  padding: 0.5rem 0;
  min-width: 220px;
  list-style: none;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s, transform 0.25s ease;
  z-index: 50;
}

/* Invisible bridge so hover doesn't drop when moving cursor from parent label to dropdown */
.norvaris-submenu::before {
  content: '';
  position: absolute;
  top: -22px; left: 0; right: 0; height: 22px;
}

.norvaris-menu-item:hover > .norvaris-submenu,
.norvaris-menu-item:focus-within > .norvaris-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.norvaris-submenu li { list-style: none; }

.norvaris-submenu a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.norvaris-submenu a:hover,
.norvaris-submenu a:focus {
  color: white;
  background: rgba(255, 255, 255, 0.04);
}

/* Mobile menu item with submenu — accordion-style */
.mobile-nav-item-parent {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.35s var(--ease-out-expo);
  opacity: 0;
  transform: translateX(-20px);
}
.mobile-menu-overlay.is-open .mobile-nav-item-parent { opacity: 1; transform: translateX(0); }

.mobile-nav-item-parent:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.mobile-nav-item-parent .mobile-nav-toggle {
  margin-left: auto;
  transition: transform 0.3s var(--ease-out-expo);
}
.mobile-nav-item-parent.is-open .mobile-nav-toggle { transform: rotate(180deg); }

.mobile-nav-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo);
  margin-left: 1.25rem;
  border-left: 1px solid rgba(255,255,255,0.06);
  padding-left: 0.75rem;
}
.mobile-nav-children.is-open { max-height: 500px; margin-top: 0.5rem; margin-bottom: 0.5rem; }

.mobile-nav-child {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-radius: 0.625rem;
  transition: all 0.2s ease;
}
.mobile-nav-child:hover { color: white; background: rgba(255,255,255,0.04); }

/* --- Button Glow --- */
.btn-glow { position: relative; }
.btn-glow::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, #aaaaaa, #ffffff, #555555);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}
.btn-glow:hover::before { opacity: 1; filter: blur(8px); }

/* --- Nav Contact Button — outlined â†’ filled-on-hover --- */
.nav-contact-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav-contact-btn:hover {
  color: #000;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}
.nav-contact-btn.is-active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}
.nav-contact-btn.is-active:hover {
  color: #000;
  background: #fff;
  border-color: #fff;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 50;
  transition: background var(--duration-normal) ease,
              backdrop-filter var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* --- Mobile Menu --- */
.burger-top { transform: translateY(-6px); }
.burger-mid { transform: translateY(0); }
.burger-bot { transform: translateY(6px); }

.menu-open .burger-top { transform: translateY(0) rotate(45deg); }
.menu-open .burger-mid { opacity: 0; transform: scaleX(0); }
.menu-open .burger-bot { transform: translateY(0) rotate(-45deg); }

.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 60;
  pointer-events: none;
}
.mobile-menu-overlay.is-open { pointer-events: auto; }

.mobile-menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}
.mobile-menu-overlay.is-open .mobile-menu-backdrop { opacity: 1; }

.mobile-menu-content {
  position: absolute; inset: 0;
  overflow-y: auto;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.6s var(--ease-out-expo);
}
.mobile-menu-overlay.is-open .mobile-menu-content {
  transform: translateY(0); opacity: 1;
}

.mobile-nav-item {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
  transition: all 0.35s var(--ease-out-expo);
  opacity: 0;
  transform: translateX(-20px);
}
.mobile-menu-overlay.is-open .mobile-nav-item {
  opacity: 1; transform: translateX(0);
}
.mobile-menu-overlay.is-open .mobile-nav-item:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu-overlay.is-open .mobile-nav-item:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu-overlay.is-open .mobile-nav-item:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu-overlay.is-open .mobile-nav-item:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu-overlay.is-open .mobile-nav-item:nth-child(5) { transition-delay: 0.22s; }
.mobile-menu-overlay.is-open .mobile-nav-item:nth-child(6) { transition-delay: 0.26s; }
.mobile-menu-overlay.is-open .mobile-nav-item:nth-child(7) { transition-delay: 0.30s; }

.mobile-nav-item:hover,
.mobile-nav-item:active {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  transform: translateX(4px);
}
/* Mobile menu button override */
.mobile-menu-content .btn-primary {
  padding: 0.75rem 1.5rem;
  min-width: unset;
  font-size: 0.8125rem;
}
.mobile-nav-number {
  font-family: var(--font-display);
  font-size: 0.65rem; font-weight: 600;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em; min-width: 1.5rem;
}
.mobile-nav-label {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: #fff; letter-spacing: -0.02em;
}

body.menu-locked { overflow: hidden; }
body.menu-locked .site-header { z-index: 70; }

/* --- Form Inputs --- */
.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  transition: all var(--duration-fast) ease;
  outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-input:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
}
textarea.form-input { resize: vertical; min-height: 140px; }

/* --- Contact page Forminator (local #62 / EN #168 / HR #685) --- */
.nv-contact-forminator .forminator-ui,
.nv-contact-forminator .forminator-custom-form,
.nv-contact-forminator #forminator-module-62,
.nv-contact-forminator #forminator-module-168,
.nv-contact-forminator #forminator-module-685 {
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nv-contact-forminator .forminator-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 0 1.5rem !important;
}

.nv-contact-forminator .forminator-col {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.nv-contact-forminator .forminator-col-6 {
  flex: 1 1 calc(50% - 0.75rem);
  max-width: calc(50% - 0.75rem);
  width: calc(50% - 0.75rem) !important;
}

.nv-contact-forminator .forminator-col-12 {
  flex: 1 1 100%;
  max-width: 100%;
  width: 100% !important;
}

.nv-contact-forminator .forminator-field {
  margin: 0 !important;
}

.nv-contact-forminator .forminator-label,
.nv-contact-forminator .forminator-field > .forminator-label {
  display: block !important;
  margin: 0 0 0.5rem !important;
  color: rgba(255, 255, 255, 0.3) !important;
  font-family: var(--font-mono, ui-monospace, monospace) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
}

.nv-contact-forminator .forminator-required {
  color: rgba(255, 255, 255, 0.45) !important;
}

.nv-contact-forminator .forminator-input,
.nv-contact-forminator .forminator-textarea,
.nv-contact-forminator select.forminator-select--field {
  width: 100% !important;
  margin: 0 !important;
  padding: 0.875rem 1.25rem !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0.75rem !important;
  box-shadow: none !important;
  outline: none !important;
  font-family: var(--font-sans) !important;
  font-size: 0.875rem !important;
  line-height: 1.4 !important;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.nv-contact-forminator .forminator-input {
  min-height: 3.25rem !important;
  height: auto !important;
}

.nv-contact-forminator .forminator-textarea {
  min-height: 140px !important;
  resize: vertical;
}

.nv-contact-forminator .forminator-input::placeholder,
.nv-contact-forminator .forminator-textarea::placeholder {
  color: rgba(255, 255, 255, 0.2) !important;
  opacity: 1 !important;
}

.nv-contact-forminator .forminator-input:focus,
.nv-contact-forminator .forminator-textarea:focus,
.nv-contact-forminator select.forminator-select--field:focus {
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05) !important;
}

.nv-contact-forminator .forminator-input.forminator-error,
.nv-contact-forminator .forminator-textarea.forminator-error,
.nv-contact-forminator .forminator-field.forminator-has_error .forminator-input,
.nv-contact-forminator .forminator-field.forminator-has_error .forminator-textarea {
  border-color: rgba(248, 113, 113, 0.55) !important;
}

.nv-contact-forminator .forminator-error-message {
  margin-top: 0.4rem !important;
  color: #f87171 !important;
  font-size: 0.75rem !important;
}

.nv-contact-forminator .forminator-description {
  margin-top: 0.4rem !important;
  color: rgba(255, 255, 255, 0.28) !important;
  font-size: 0.75rem !important;
}

.nv-contact-forminator .forminator-row-last {
  margin-bottom: 0 !important;
}

.nv-contact-forminator .forminator-button-submit,
.nv-contact-forminator button.forminator-button-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 200px;
  min-height: 0 !important;
  margin: 0.25rem 0 0 !important;
  padding: 0.75rem 2rem !important;
  color: #000 !important;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0) !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.nv-contact-forminator .forminator-button-submit:hover,
.nv-contact-forminator button.forminator-button-submit:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.06) !important;
}

.nv-contact-forminator .forminator-response-message {
  margin: 0 0 1rem !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
}

.nv-contact-forminator .forminator-response-message.forminator-success {
  color: #6ee7b7 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
}

.nv-contact-forminator .forminator-response-message.forminator-error:not(:empty) {
  color: #fca5a5 !important;
  background: rgba(248, 113, 113, 0.1) !important;
  border: 1px solid rgba(248, 113, 113, 0.28) !important;
}

.nv-contact-forminator .forminator-response-message:empty {
  display: none !important;
}

@media (max-width: 767px) {
  .nv-contact-forminator .forminator-col-6 {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100% !important;
  }

  .nv-contact-forminator .forminator-button-submit,
  .nv-contact-forminator button.forminator-button-submit {
    width: 100%;
    min-width: 0;
  }
}

/* --- Scanline Effect (from alt-site) --- */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.scanline-effect::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  animation: scanline 3s ease-in-out infinite;
  pointer-events: none;
}

/* --- Float Animation --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.animate-float { animation: float 8s ease-in-out infinite; }

/* --- Pulse Glow --- */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

/* --- No Scrollbar Utility --- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* --- WordPress Specific --- */
.wp-block-image img { max-width: 100%; height: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(-50vw + 50%); }
.alignwide { max-width: 1280px; margin-left: auto; margin-right: auto; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-vortex {
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* ============================================
   HERO
   ============================================ */
.hero-vortex {
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* ============================================
   PRODUCTS RADAR SWEEP
   ============================================ */
@keyframes radar-sweep {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================
   3D ENGINE SHOWCASE (Site 1)
   ============================================ */
.engine-glow {
  position: absolute; top: 50%; left: 50%;
  width: 800px; height: 800px;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 30%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.engine-showcase { perspective: 1800px; }
.engine-stack {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
}
.engine-panel {
  position: absolute; width: 24rem; height: 24rem;
  left: 50%; top: 50%; border-radius: 1.5rem;
  overflow: hidden;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  will-change: transform, opacity, box-shadow, border-color;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1),
    opacity 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}
.engine-panel::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.02) 100%);
  pointer-events: none;
}
.engine-panel::after {
  content: ""; position: absolute; inset: 1px; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02); pointer-events: none;
}
.panel-bottom {
  background: rgba(8,8,8,0.4); border: 1px solid rgba(255,255,255,0.02);
  box-shadow: 0 40px 80px rgba(0,0,0,0.8); opacity: 0.35;
  transform: translate(-50%,-50%) translateX(35px) translateY(45px) translateZ(-20px) rotateX(60deg) rotateZ(-28deg);
  z-index: 1;
}
.panel-middle {
  background: rgba(18,18,18,0.55); border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6); opacity: 0.75;
  transform: translate(-50%,-50%) translateX(-25px) translateY(5px) translateZ(40px) rotateX(60deg) rotateZ(-28deg);
  z-index: 2;
}
.panel-top {
  background: linear-gradient(135deg, rgba(35,35,35,0.7), rgba(15,15,15,0.8));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08), 0 20px 50px rgba(0,0,0,0.7), 0 0 40px rgba(255,255,255,0.03);
  animation: topCardFloat 7s ease-in-out infinite;
  z-index: 3;
}
@keyframes topCardFloat {
  0%, 100% { transform: translate(-50%,-50%) translateX(25px) translateY(-35px) translateZ(100px) rotateX(60deg) rotateZ(-28deg); }
  50% { transform: translate(-50%,-50%) translateX(22px) translateY(-40px) translateZ(108px) rotateX(60.5deg) rotateZ(-27.5deg); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.05); }
  50% { box-shadow: 0 0 40px rgba(255,255,255,0.08), inset 0 0 10px rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.12); }
}
/* Hover spread */
.engine-showcase:hover .panel-bottom {
  transform: translate(-50%,-50%) translateX(70px) translateY(88px) translateZ(-34px) rotateX(60deg) rotateZ(-28deg);
  opacity: 0.48; border-color: rgba(255,255,255,0.05);
  box-shadow: 0 52px 100px rgba(0,0,0,0.82);
}
.engine-showcase:hover .panel-middle {
  transform: translate(-50%,-50%) translateX(-42px) translateY(16px) translateZ(68px) rotateX(60deg) rotateZ(-28deg);
  opacity: 0.86; border-color: rgba(255,255,255,0.07);
  box-shadow: 0 40px 80px rgba(0,0,0,0.68);
}
.engine-showcase:hover .panel-top {
  animation-play-state: paused;
  transform: translate(-50%,-50%) translateX(36px) translateY(-64px) translateZ(136px) rotateX(60deg) rotateZ(-28deg);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08), 0 28px 70px rgba(0,0,0,0.74), 0 0 48px rgba(255,255,255,0.04);
}
@media (max-width: 768px) {
  .engine-panel { width: 16rem; height: 16rem; }
}

/* ============================================
   UNIFIED BUTTON SYSTEM
   ============================================ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 2rem;
  min-width: 200px;
  background: #fff; color: #000;
  font-weight: 600; font-size: 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0);
  cursor: pointer; text-decoration: none;
  position: relative;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.btn-primary:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 25px rgba(255,255,255,0.06);
}
.btn-primary:active {
  background: rgba(255,255,255,0.04);
  transition-duration: 0.1s;
}

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 2rem;
  min-width: 200px;
  background: transparent; color: rgba(255,255,255,0.6);
  font-weight: 500; font-size: 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; text-decoration: none;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.btn-secondary:active {
  background: rgba(255,255,255,0.02);
  transition-duration: 0.1s;
}

/* ============================================
   POST CONTENT TYPOGRAPHY
   ============================================ */
.post-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--text-body);
  font-weight: 300;
}

/* Headings */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.2;
}
.post-content h2 {
  font-size: 2rem;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.post-content h3 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.post-content h4 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.9);
}
.post-content h5,
.post-content h6 {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Paragraphs */
.post-content p {
  margin-bottom: 1.5rem;
  color: var(--text-body);
}
.post-content p:last-child { margin-bottom: 0; }
.post-content .lead,
.post-content p.lead {
  color: var(--text-lead);
  font-size: 1.2em;
  line-height: 1.75;
}

/* Links */
.post-content a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.25);
  transition: text-decoration-color 0.3s ease;
}
.post-content a:hover {
  text-decoration-color: rgba(255,255,255,0.7);
}

/* Bold / Strong — match post title */
.post-content strong,
.post-content b {
  color: var(--text-primary);
  font-weight: 600;
}

/* Italic */
.post-content em { color: rgba(255,255,255,0.72); }

/* Images */
.post-content img {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
  height: auto;
}
.post-content figure {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.post-content figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Blockquotes */
.post-content blockquote {
  border-left: 2px solid rgba(255,255,255,0.15);
  padding: 1.25rem 0 1.25rem 1.5rem;
  margin: 2.5rem 0;
  font-style: italic;
  color: var(--text-lead);
  font-size: 1.2rem;
  line-height: 1.7;
}
.post-content blockquote p { margin-bottom: 0; color: inherit; }

/* Code — inline */
.post-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--text-body);
  background: rgba(255,255,255,0.05);
  padding: 0.15rem 0.45rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Code — blocks */
.post-content pre {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2.5rem 0;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.7;
}
.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-secondary);
}

/* Lists */
.post-content ul,
.post-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}
.post-content li {
  margin-bottom: 0.75rem;
  color: var(--text-body);
}
.post-content ul li { list-style-type: disc; }
.post-content ol li { list-style-type: decimal; }
.post-content li::marker { color: rgba(255,255,255,0.22); }

/* Horizontal rules */
.post-content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin: 3rem 0;
}

/* Tables */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}
.post-content th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.post-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text-body);
}

/* WP specific blocks */
.post-content .wp-block-image { margin: 2.5rem 0; }
.post-content .wp-block-image img { margin: 0; }
.post-content .wp-block-separator { margin: 3rem 0; }
.post-content .wp-block-quote { margin: 2.5rem 0; }

/* Pagination */
.page-numbers {
  list-style: none; display: flex; gap: 0.5rem;
  padding: 0; margin: 0; align-items: center;
}
.page-numbers li { display: inline-flex; }
.page-numbers a, .page-numbers span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 2.5rem; padding: 0 0.75rem;
  border-radius: 9999px; font-size: 0.75rem; font-family: var(--font-mono);
  color: var(--text-muted); border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}
.page-numbers a:hover {
  color: #fff; border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
}
.page-numbers .current {
  color: #000; background: #fff;
  border-color: transparent; font-weight: 600;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   WHY NORVARIS — editorial focus section
   ============================================ */
.why-focus {
  position: relative;
  overflow: hidden;
  background: #000;
  padding: 8.75rem 0 5.625rem; /* 140px / 90px */
}
.why-focus__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}
.why-focus__glow--bl {
  width: min(52vw, 520px);
  aspect-ratio: 1;
  left: -8%;
  bottom: -12%;
  background: radial-gradient(circle, hsla(265, 80%, 55%, 0.22) 0%, transparent 70%);
  opacity: 0.7;
}
.why-focus__glow--tr {
  width: min(40vw, 380px);
  aspect-ratio: 1;
  right: -6%;
  top: -8%;
  background: radial-gradient(circle, hsla(250, 75%, 60%, 0.16) 0%, transparent 70%);
  opacity: 0.55;
}
.why-focus__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.why-focus__grid {
  display: grid;
  gap: clamp(3.5rem, 6vw, 5rem);
  align-items: start;
}
.why-focus__title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(3rem, 5vw, 6.625rem); /* ~68–106px */
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--text-primary, #f2f2f2);
}
.why-focus__title-a,
.why-focus__title-b {
  display: block;
}
.why-focus__lede {
  margin: 2.625rem 0 0; /* ~42px */
  max-width: 500px;
  font-size: clamp(1.125rem, 1.3vw, 1.25rem); /* 18–20px */
  line-height: 1.6;
  font-weight: 300;
  color: var(--text-lead, rgba(255, 255, 255, 0.5));
}
.why-focus__principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-focus__row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr); /* ~44px */
  gap: 1.375rem; /* ~22px */
  align-items: start;
  padding-top: 2rem; /* ~32px */
  border-bottom: 0;
}
.why-focus__row:first-child {
  padding-top: 0;
}
.why-focus__row-body {
  max-width: 27.5rem; /* ~440px */
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.why-focus__row:last-child .why-focus__row-body {
  border-bottom: 0;
  padding-bottom: 0;
}
.why-focus__num {
  font-family: var(--font-sans);
  font-size: 0.8125rem; /* 13px */
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--text-muted, rgba(255, 255, 255, 0.32));
  padding-top: 0.2rem; /* optically align with heading */
}
.why-focus__row-title {
  margin: 0 0 0.7rem; /* ~11px */
  font-family: var(--font-sans);
  font-size: 1.3125rem; /* 21px */
  font-weight: 600;
  letter-spacing: -0.022em;
  text-transform: none;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.94);
}
.why-focus__row-desc {
  margin: 0;
  max-width: 27.5rem; /* ~440px */
  font-family: var(--font-sans);
  font-size: 1rem; /* 16px */
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}
.why-focus__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 5rem; /* ~80px */
  padding-top: 2rem; /* ~32px */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.why-focus__foot-label {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary, rgba(255, 255, 255, 0.50));
}
@media (min-width: 900px) {
  .why-focus__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
    gap: clamp(70px, 8vw, 140px);
  }
}
@media (max-width: 899px) {
  .why-focus {
    padding: 5rem 0; /* match service-page section rhythm */
  }
  .why-focus__title {
    font-size: 2.5rem; /* between text-3xl and md:3.5rem */
  }
  .why-focus__glow--bl,
  .why-focus__glow--tr {
    opacity: 0.35;
  }
}
@media (max-width: 640px) {
  .why-focus {
    padding: 5rem 0;
  }
  .why-focus__title {
    font-size: 1.875rem; /* match section titles text-3xl */
  }
  .why-focus__lede {
    margin-top: 1.75rem;
  }
  .why-focus__row {
    grid-template-columns: 2.5rem minmax(0, 1fr); /* ~40px */
    gap: 1.125rem; /* ~18px */
    padding-top: 1.5rem;
  }
  .why-focus__row-body {
    padding-bottom: 1.5rem;
  }
  .why-focus__row-title {
    font-size: 1.25rem; /* 20px */
  }
  .why-focus__foot {
    margin-top: 3.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .why-focus__glow--bl,
  .why-focus__glow--tr {
    opacity: 0.28;
    filter: blur(80px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .why-focus .reveal-up,
  .why-focus .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   BRING THE PROBLEM — closing CTA
   ============================================ */
.bring-problem {
  padding-block: 7.5rem; /* ~120px */
  min-height: auto;
  overflow: hidden;
}
.bring-problem__inner {
  width: 100%;
}
.bring-problem__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.bring-problem__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}
.bring-problem__grid {
  display: grid;
  gap: 2rem;
}
.bring-problem__title {
  margin: 0;
  max-width: 760px;
  /* Match Why Norvaris h2: text-3xl / md:3.5rem / lg:5rem */
  font-size: 1.875rem;
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: var(--text-primary, #f2f2f2);
  padding-bottom: 0.08em;
  overflow: visible;
}
@media (min-width: 768px) {
  .bring-problem__title {
    font-size: 3.5rem;
  }
}
@media (min-width: 1024px) {
  .bring-problem__title {
    font-size: 6rem;
  }
}
.bring-problem__line {
  display: block;
  white-space: nowrap;
}
.bring-problem__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 22rem;
}
.bring-problem__body {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}
.bring-problem__orbit {
  position: absolute;
  right: -18vw;
  top: 52%;
  width: min(48vw, 640px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.bring-problem__orbit::before,
.bring-problem__orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.bring-problem__orbit::before {
  inset: 16%;
}
.bring-problem__orbit::after {
  inset: 36%;
  border: 0;
  background:
    radial-gradient(
      circle at 40% 35%,
      hsla(270, 90%, 72%, 0.18) 0%,
      hsla(250, 80%, 58%, 0.08) 38%,
      hsla(230, 70%, 45%, 0.03) 62%,
      transparent 78%
    ),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 48px rgba(255, 255, 255, 0.04);
}
@media (min-width: 900px) {
  .bring-problem__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
    align-items: end;
    gap: 4.5rem; /* ~72px */
  }
  .bring-problem__aside {
    margin-bottom: 1.6em;
    align-self: end;
  }
  .bring-problem--hr .bring-problem__line {
    white-space: normal;
  }
}
/* Pull aside toward title only when there is room */
@media (min-width: 1200px) {
  .bring-problem__aside,
  .bring-problem--hr .bring-problem__aside {
    margin-left: -50px;
  }
}
@media (max-width: 899px) {
  .bring-problem__line {
    white-space: normal;
  }
  .bring-problem__title {
    max-width: 14ch;
  }
  .bring-problem--hr .bring-problem__title {
    max-width: 18ch;
  }
}

/* ============================================
   PAGE HERO ATMOSPHERE
   Shared look from About — mint + violet depth,
   grid wash, concentric rings. Used on About,
   Blog, Contact.
   ============================================ */
.nv-page-hero {
  background:
    radial-gradient(circle at 22% 34%, rgba(82, 226, 194, 0.13), transparent 34%),
    radial-gradient(circle at 78% 28%, rgba(132, 96, 246, 0.11), transparent 32%),
    linear-gradient(180deg, #050807 0%, #030504 72%, #000 100%);
}
.nv-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 88%);
  opacity: .42;
  z-index: 0;
}
.nv-page-hero::after {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 999px;
  box-shadow:
    0 0 0 7rem rgba(255,255,255,.012),
    0 0 0 14rem rgba(255,255,255,.008);
  pointer-events: none;
  z-index: 0;
}
.nv-page-hero .text-gradient-clean {
  background: linear-gradient(90deg, #f4f7f5 0%, #b8f4e5 52%, #bba8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nv-page-hero-fade {
  z-index: 10;
  background: linear-gradient(to top, #000, transparent);
  height: 8rem;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}
@media (max-width: 767px) {
  .nv-page-hero::after {
    width: 20rem;
    height: 20rem;
  }
}

/* ============================================
   ABOUT — Belief (editorial)
   Final CTA reuses .bring-problem from homepage.
   ============================================ */
.about-belief {
  isolation: isolate;
  padding: 7rem 0;
}
.about-belief-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-belief-founder {
  margin: 0;
}
.about-belief-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.about-belief-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-belief-founder figcaption {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.about-belief-founder strong {
  color: #fff;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.about-belief-founder span {
  color: rgba(184, 244, 229, 0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about-belief-body {
  position: relative;
  min-width: 0;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 1px solid rgba(184, 244, 229, 0.28);
}
.about-belief-eyebrow {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.about-belief-quote {
  position: relative;
  margin: 0;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.94);
}
.about-belief-quote-lead,
.about-belief-quote-em {
  display: block;
}
.about-belief-quote-lead {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}
.about-belief-quote-em {
  color: rgba(255, 255, 255, 0.96);
  margin-top: 0.35rem;
}
.about-belief-quote::before {
  content: '\201C';
  display: block;
  margin-bottom: 0.55rem;
  font-size: 3.25rem;
  line-height: 0.7;
  font-weight: 700;
  background: linear-gradient(90deg, #b8f4e5, #bba8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 800px) {
  .about-belief {
    padding: 5rem 0;
  }
  .about-belief-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: stretch;
  }
  .about-belief-photo {
    width: 100%;
  }
  .about-belief-photo img {
    width: 100%;
  }
  .about-belief-body {
    padding-left: 1rem;
  }
  .about-belief-quote {
    font-size: clamp(1.4rem, 6.2vw, 1.85rem);
  }
  .about-belief-quote-em {
    margin-top: 0.25rem;
  }
}

html[lang^="hr"] .about-hero-container {
  max-width: 72rem;
}
@media (min-width: 1024px) {
  html[lang^="hr"] .about-hero-title {
    font-size: 6rem;
  }
}

/* ============================================
   BLOG CARD OVERLAY
   ============================================ */
.blog-card-overlay {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 55%),
    rgba(0, 0, 0, 0.22);
  transition: background 0.7s ease;
}
.group:hover .blog-card-overlay {
  background: transparent;
}

/* ============================================
   BLOG / ARCHIVE INDEX HERO
   Desktop keeps a proper centered hero; mobile
   only is compact (no full-viewport height).
   Explicit CSS — md:* utilities often missing
   from the compiled Tailwind build.
   ============================================ */
.blog-index-hero {
  min-height: auto;
  padding-top: 6.5rem;   /* clears fixed header */
  padding-bottom: 3rem;  /* â‰¥48px under copy */
}
@media (min-width: 769px) {
  .blog-index-hero {
    min-height: 60vh;
    padding-top: 8rem;
    padding-bottom: 5rem; /* 80px */
  }
}

/* ============================================
   SINGLE POST LAYOUT
   Explicit padding — don't rely on Tailwind pt-*
   (compiled build may miss utilities; * reset + mobile
   section{} override were collapsing the hero).
   ============================================ */
.single-post-hero {
  padding-top: 7.5rem; /* clears fixed header */
  padding-bottom: 0;
}
.single-featured-image {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem; /* match top — content section must not add extra pt */
}
.single-featured-spacer {
  height: 2.5rem;
}
/* Gap below image comes only from .single-featured-image margin-bottom */
.single-post-content {
  padding-top: 0;
}
@media (min-width: 769px) {
  .single-post-hero {
    padding-top: 9rem;
  }
  .single-featured-image {
    margin-top: 60px;
    margin-bottom: 60px;
  }
  .single-featured-spacer {
    height: 60px;
  }
}

/* ============================================
   SECTION-SPECIFIC STYLES
   Add per-section CSS below as sections are built.
   ============================================ */

/* --- Product Tag Pill --- */
.product-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.product-tag:hover {
  color: var(--text-lead);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}

/* Footer readable copy vs secondary nav */
footer p.text-white\/40 {
  color: var(--text-body);
}
footer a.text-white\/40 {
  color: var(--text-secondary);
}
footer a.text-white\/40:hover {
  color: #fff;
}


/* ============================================
   MOBILE RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 768px) {
  /*
    Home + About section gaps → match service pages (80px / 5rem).
    !important beats Tailwind py-32 / pb-32 utilities that were keeping ~128px.
  */
  body.home section:not(#hero),
  body.page-template-page-about-php section:not(.nv-page-hero),
  body.page-about section:not(.nv-page-hero) {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  /* Fallback for other pages that still use the old blanket */
  section { padding-top: 2.75rem; padding-bottom: 2.75rem; }

  /* Heroes / closing CTA must clear fixed header — override blanket section rule */
  section.nv-page-hero:not(.blog-index-hero) {
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 100svh;
  }
  section.about-belief {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
  section.blog-index-hero {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
    min-height: auto;
  }
  section.blog-index-hero .nv-page-hero-fade {
    height: 4rem;
  }
  section.single-post-hero {
    padding-top: 7rem;
    padding-bottom: 0;
  }
  section.single-post-content {
    padding-top: 0;
  }
  section.bring-problem,
  body.home section.bring-problem,
  body.page-template-page-about-php section.bring-problem,
  body.page-about section.bring-problem {
    padding-block: 5rem !important;
  }

  body.home #what-we-build {
    min-height: 0 !important;
  }
  body.home .why-focus {
    padding: 5rem 0 !important;
  }

  /* The Norvaris Standard glass card */
  .glass-card[class*="p-16"],
  .glass-card[class*="rounded-[60px]"] { padding: 1.875rem !important; border-radius: 1.5rem !important; }

  /* CTA sections */
  #final-cta { padding-top: 3.5rem; padding-bottom: 3.5rem; }

  /* Section headers tighter */
  section .mb-32 { margin-bottom: 2rem; }
  section .mb-24 { margin-bottom: 1.75rem; }
  section .mb-20 { margin-bottom: 1.5rem; }

  /* Reduce space-y gaps in card grids */
  .space-y-24 > * + * { margin-top: 4rem !important; }
  .space-y-6 > * + * { margin-top: 1rem !important; }

  /* All cards full-width on mobile with consistent padding */
  .glass-card,
  [class*="rounded-[32px]"][class*="border"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Only pad sections that don't already carry horizontal padding via children */
  section:not(.bring-problem):not(.why-focus):not(.nv-page-hero):not(#process):not(#expertise):not(#products):not(#topology) {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Engine panels */
  .engine-panel { width: 14rem; height: 14rem; }
}

/* Screen reader text (WP accessibility) */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; width: 1px;
  word-wrap: normal !important;
}

/* =========================================================
   AI Solutions hero — cyan / signal (distinct from gold & violet)
   ========================================================= */
.ai-page {
  --ai-cyan: #5eead4;
  --ai-sky: #38bdf8;
  --ai-ink: #060a12;
}
.ai-page .text-gradient,
.ai-page .text-gradient-clean {
  background-image: linear-gradient(135deg, #e0f7ff, var(--ai-cyan), var(--ai-sky));
}
.ai-hero {
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(94, 234, 212, 0.1), transparent 50%),
    var(--ai-ink);
}
.ai-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.ai-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.ai-hero-orb-a {
  width: 420px;
  height: 420px;
  right: -40px;
  top: 8%;
  background: rgba(56, 189, 248, 0.35);
  animation: ai-orb-drift 12s ease-in-out infinite alternate;
}
.ai-hero-orb-b {
  width: 280px;
  height: 280px;
  left: 8%;
  bottom: 12%;
  background: rgba(94, 234, 212, 0.28);
  animation: ai-orb-drift 14s ease-in-out infinite alternate-reverse;
}
.ai-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 227, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 227, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.ai-hero-grid-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.ai-hero-tag,
.wa-hero-tag {
  display: inline-flex;
  margin-bottom: 1.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.ai-hero-tag {
  border-color: rgba(94, 234, 212, 0.28);
  color: rgba(167, 243, 233, 0.85);
  background: rgba(94, 234, 212, 0.08);
}
.ai-hero-accent {
  display: block;
  background: linear-gradient(135deg, #f0fdff, var(--ai-cyan), var(--ai-sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ai-hero-visual {
  display: flex;
  justify-content: center;
}
.ai-signal {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.ai-signal-core {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--ai-cyan) 45%, rgba(56, 189, 248, 0.4) 100%);
  box-shadow: 0 0 40px rgba(94, 234, 212, 0.45), 0 0 80px rgba(56, 189, 248, 0.25);
  z-index: 2;
  animation: ai-pulse 3.2s ease-in-out infinite;
}
.ai-signal-ring {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(148, 227, 255, 0.22);
  border-radius: 50%;
}
.ai-signal-ring-2 { inset: 8%; opacity: 0.7; }
.ai-signal-ring-3 { inset: 0; opacity: 0.45; border-style: dashed; }
.ai-signal-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ai-cyan);
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.8);
}
.ai-signal-node-1 { top: 14%; left: 48%; animation: ai-node 4s ease-in-out infinite; }
.ai-signal-node-2 { top: 48%; right: 10%; animation: ai-node 4.6s ease-in-out infinite 0.4s; background: var(--ai-sky); }
.ai-signal-node-3 { bottom: 16%; left: 28%; animation: ai-node 5s ease-in-out infinite 0.8s; }
.ai-signal-node-4 { top: 36%; left: 12%; animation: ai-node 3.8s ease-in-out infinite 0.2s; background: #a5f3fc; }
.ai-signal-label {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(167, 243, 233, 0.7);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes ai-orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-18px, 22px, 0) scale(1.08); }
}
@keyframes ai-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.9; }
}
@keyframes ai-node {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.35); opacity: 1; }
}

/* =========================================================
   Web Applications hero — emerald / product dashboard
   ========================================================= */
.wa-page {
  --wa-mint: #34d399;
  --wa-teal: #2dd4bf;
  --wa-ink: #070c0a;
}
.wa-page .text-gradient,
.wa-page .text-gradient-clean {
  background-image: linear-gradient(135deg, #ecfdf5, var(--wa-mint), var(--wa-teal));
}
.wa-hero {
  background:
    radial-gradient(ellipse 65% 50% at 90% 25%, rgba(52, 211, 153, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 75%, rgba(45, 212, 191, 0.1), transparent 50%),
    var(--wa-ink);
}
.wa-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.wa-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.wa-hero-orb-a {
  width: 380px;
  height: 380px;
  right: 0;
  top: 12%;
  background: rgba(52, 211, 153, 0.32);
  animation: ai-orb-drift 13s ease-in-out infinite alternate;
}
.wa-hero-orb-b {
  width: 240px;
  height: 240px;
  left: 5%;
  bottom: 10%;
  background: rgba(45, 212, 191, 0.22);
  animation: ai-orb-drift 11s ease-in-out infinite alternate-reverse;
}
.wa-hero-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -18deg,
    transparent 0 18px,
    rgba(52, 211, 153, 0.025) 18px 19px
  );
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 75%, transparent);
}
.wa-hero-grid-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.wa-hero-tag {
  border-color: rgba(52, 211, 153, 0.28);
  color: rgba(167, 243, 208, 0.85);
  background: rgba(52, 211, 153, 0.08);
}
.wa-hero-accent {
  display: block;
  background: linear-gradient(135deg, #ecfdf5, var(--wa-mint), var(--wa-teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wa-hero-visual {
  display: flex;
  justify-content: center;
}
.wa-app {
  width: min(100%, 420px);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #101816, #0b1210 70%);
  border: 1px solid rgba(52, 211, 153, 0.18);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
  animation: wa-float 7s ease-in-out infinite;
}
.wa-app-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wa-app-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.wa-app-chrome i:nth-child(1) { background: #f87171; }
.wa-app-chrome i:nth-child(2) { background: #fbbf24; }
.wa-app-chrome i:nth-child(3) { background: #34d399; }
.wa-app-chrome span {
  margin-left: auto;
  color: rgba(167, 243, 208, 0.55);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wa-app-body {
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 280px;
}
.wa-app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
}
.wa-app-sidebar span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.wa-app-sidebar span.is-active {
  background: linear-gradient(90deg, var(--wa-mint), transparent);
}
.wa-app-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wa-app-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.wa-app-kpis > div {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.wa-app-kpis b {
  display: block;
  height: 8px;
  width: 55%;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.55);
}
.wa-app-kpis em {
  display: block;
  height: 5px;
  width: 80%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-style: normal;
}
.wa-app-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.04);
  border: 1px solid rgba(52, 211, 153, 0.1);
}
.wa-app-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--wa-mint), rgba(45, 212, 191, 0.2));
  animation: wa-bar 2.8s ease-in-out infinite alternate;
}
.wa-app-chart span:nth-child(2) { animation-delay: 0.15s; }
.wa-app-chart span:nth-child(3) { animation-delay: 0.3s; }
.wa-app-chart span:nth-child(4) { animation-delay: 0.45s; }
.wa-app-chart span:nth-child(5) { animation-delay: 0.6s; }
.wa-app-chart span:nth-child(6) { animation-delay: 0.75s; }
.wa-app-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-app-table span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.wa-app-table span:nth-child(1) { width: 92%; }
.wa-app-table span:nth-child(2) { width: 78%; }
.wa-app-table span:nth-child(3) { width: 64%; }

@keyframes wa-float {
  0%, 100% { transform: perspective(900px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(900px) rotateY(-6deg) rotateX(3deg) translateY(-8px); }
}
@keyframes wa-bar {
  from { filter: brightness(0.9); }
  to { filter: brightness(1.15); }
}

@media (max-width: 900px) {
  .ai-hero-grid-layout,
  .wa-hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ai-hero-copy,
  .wa-hero-copy {
    text-align: left;
  }
  .ai-signal {
    width: min(100%, 280px);
  }
  .wa-app {
    width: min(100%, 340px);
    transform: none;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-hero-orb-a,
  .ai-hero-orb-b,
  .wa-hero-orb-a,
  .wa-hero-orb-b,
  .ai-signal-core,
  .ai-signal-node,
  .wa-app,
  .wa-app-chart span {
    animation: none !important;
  }
}
