/*
Theme Name: Norvaris
Theme URI: https://norvaris.com
Author: Norvaris Studio
Author URI: https://norvaris.com
Description: A premium dark futuristic theme for Norvaris digital product studio. GSAP-powered animations, glassmorphic design system, full responsive.
Version: 1.0.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-fg-muted: rgba(255, 255, 255, 0.4);
  --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);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --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;
}

/* --- 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;
}

/* --- 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;
}

/* --- 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); }

/* --- 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); }

/* --- 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; }

/* --- 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: rgba(255,255,255,0.55);
  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: #fff;
  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.85);
}
.post-content h5,
.post-content h6 {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Paragraphs */
.post-content p {
  margin-bottom: 1.5rem;
}
.post-content p:last-child { margin-bottom: 0; }

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

/* Bold / Strong */
.post-content strong,
.post-content b {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

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

/* 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: rgba(255,255,255,0.25);
  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.1);
  padding: 1.25rem 0 1.25rem 1.5rem;
  margin: 2.5rem 0;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  font-size: 1.2rem;
  line-height: 1.7;
}
.post-content blockquote p { margin-bottom: 0; }

/* Code — inline */
.post-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: rgba(255,255,255,0.65);
  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: rgba(255,255,255,0.5);
}

/* Lists */
.post-content ul,
.post-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}
.post-content li {
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.55);
}
.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.15); }

/* 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: rgba(255,255,255,0.3);
  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: rgba(255,255,255,0.5);
}

/* 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: rgba(255,255,255,0.3); 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;
}

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


/* ============================================
   MOBILE RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 768px) {
  /* Consistent section spacing */
  section { padding-top: 4rem; padding-bottom: 4rem; }

  /* 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: 5rem; padding-bottom: 5rem; }

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

  /* 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;
}
