/*
Theme Name: Eduardo Peiro Authority
Theme URI: https://eduardopeiro.com/
Author: Eduardo Peiro Brand & Frontend Designer
Author URI: https://eduardopeiro.com/
Description: Bespoke ultra-modern, animated personal authority theme for Eduardo Peiro. Features dark-luxe tech aesthetic, fluid CSS micro-animations, symmetrical dual-track CRO gateway, and full Polylang multilingual integration.
Version: 1.1.0
Text Domain: eduardo-peiro-authority
*/

:root {
  --bg-base: #06090e;
  --bg-surface: #0c101a;
  --bg-card: #121826;
  --bg-card-hover: #172033;
  --bg-card-highlight: #1c263c;
  --bg-glass: rgba(10, 14, 22, 0.82);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(255, 255, 255, 0.28);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --seo-emerald: #10b981;
  --seo-cyan: #06b6d4;
  --seo-glow: rgba(16, 185, 129, 0.22);
  --seo-border: rgba(16, 185, 129, 0.45);
  
  --ai-violet: #8b5cf6;
  --ai-indigo: #6366f1;
  --ai-glow: rgba(139, 92, 246, 0.22);
  --ai-border: rgba(139, 92, 246, 0.45);

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-base);
  /* Tech Grid Mesh */
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(at 10% 10%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 15%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 85%, rgba(6, 182, 212, 0.05) 0px, transparent 60%);
  background-size: 28px 28px, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
}

/* Background Ambient Glow Orbs */
.bg-ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  animation: floatOrb 22s infinite alternate ease-in-out;
}
.orb-left {
  top: -120px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(6, 182, 212, 0.02) 70%, transparent 100%);
}
.orb-right {
  top: 10%;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, rgba(99, 102, 241, 0.02) 70%, transparent 100%);
  animation-duration: 26s;
  animation-delay: -6s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 35px) scale(1.08); }
  100% { transform: translate(-25px, 60px) scale(0.96); }
}

/* Container */
.site-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.site-header .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-monogram {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.brand-monogram:hover .brand-badge {
  transform: rotate(5deg) scale(1.05);
  border-color: var(--border-highlight);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Language Switcher Pill */
.lang-switcher-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.lang-btn {
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.hero-authority {
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.hero-avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.hero-avatar-ring {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--seo-emerald), var(--ai-violet));
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.25), 0 0 45px rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGlow 4s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.2), 0 0 35px rgba(139, 92, 246, 0.15); }
  100% { box-shadow: 0 0 45px rgba(16, 185, 129, 0.35), 0 0 60px rgba(139, 92, 246, 0.3); }
}

.hero-avatar-img {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
  display: block;
}

.hero-badge-verified {
  position: absolute;
  bottom: 4px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #080b11;
  border: 2px solid var(--seo-emerald);
  color: var(--seo-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--seo-emerald);
  box-shadow: 0 0 10px var(--seo-emerald);
  animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #ffffff;
  max-width: 860px;
  margin: 0 auto 1.35rem;
}

.hero-title span.grad-seo {
  background: linear-gradient(135deg, #34d399, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.grad-ai {
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.75rem;
  line-height: 1.65;
}

/* Section Header Typography */
.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--seo-emerald);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* =========================================================
   VISUAL SEMANTICS CENTERPIECE #1: PARADIGM SWITCHER
   ========================================================= */
.paradigm-switcher-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.paradigm-switcher-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--seo-emerald), var(--ai-violet), transparent);
}

.paradigm-nav-pills {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  border: 1px solid var(--border-subtle);
}

.paradigm-toggle-btn {
  flex: 1;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.paradigm-toggle-btn:hover {
  color: #ffffff;
}

.paradigm-toggle-btn.active {
  background: var(--bg-card-highlight);
  color: #ffffff;
  border: 1px solid var(--border-highlight);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.paradigm-view {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.paradigm-view.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  opacity: 1;
  transform: translateY(0);
}

.paradigm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.paradigm-card:hover {
  transform: translateY(-3px);
}

.card-trad {
  border-left: 3px solid rgba(239, 68, 68, 0.6);
}

.card-sem {
  border-left: 3px solid var(--seo-emerald);
}

.paradigm-card-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.card-trad .paradigm-card-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.card-sem .paradigm-card-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--seo-emerald);
}

.paradigm-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.paradigm-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* =========================================================
   DUAL GATEWAY CARDS (CRO Core Paths)
   ========================================================= */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 1.5rem 0 5rem;
  align-items: stretch;
}

.gateway-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.gateway-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transition: opacity var(--transition-smooth);
  opacity: 0.8;
}

.card-seo::before {
  background: linear-gradient(90deg, var(--seo-emerald), var(--seo-cyan));
}

.card-ai::before {
  background: linear-gradient(90deg, var(--ai-violet), var(--ai-indigo));
}

.gateway-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
}

.card-seo:hover {
  border-color: var(--seo-border);
  box-shadow: 0 16px 40px -10px var(--seo-glow);
}

.card-ai:hover {
  border-color: var(--ai-border);
  box-shadow: 0 16px 40px -10px var(--ai-glow);
}

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

.card-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card-seo .card-icon-box {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--seo-emerald);
}

.card-ai .card-icon-box {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--ai-violet);
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.card-seo .card-tag {
  background: rgba(16, 185, 129, 0.1);
  color: var(--seo-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.card-ai .card-tag {
  background: rgba(139, 92, 246, 0.1);
  color: var(--ai-violet);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.card-heading {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.card-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.card-features li .check-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.card-seo .check-icon { color: var(--seo-emerald); }
.card-ai .check-icon { color: var(--ai-violet); }

.card-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-seo {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.btn-seo:hover {
  background: var(--seo-emerald);
  color: #061e14;
  border-color: var(--seo-emerald);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
}

.btn-ai {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
}

.btn-ai:hover {
  background: var(--ai-violet);
  color: #170733;
  border-color: var(--ai-violet);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.card-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* =========================================================
   VISUAL SEMANTICS CENTERPIECE #2: KNOWLEDGE TRIPLES
   ========================================================= */
.triples-interactive-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 5rem;
}

.triples-diagram-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.graph-node-interactive {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.graph-node-interactive:hover, .graph-node-interactive.active-node {
  border-color: var(--seo-emerald);
  background: var(--bg-card-hover);
  box-shadow: 0 0 20px var(--seo-glow);
  transform: scale(1.04);
}

.node-label-small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--seo-emerald);
  margin-bottom: 0.25rem;
}

.node-name-main {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.triples-connector-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.connector-arrow {
  color: var(--seo-emerald);
  animation: pulseArrow 2s infinite ease-in-out;
}

@keyframes pulseArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.triples-inspector-panel {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  border: 1px dashed var(--border-card);
}

.triple-detail-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  color: var(--seo-emerald);
  margin-bottom: 0.5rem;
}

.triple-detail-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.triple-detail-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* =========================================================
   VISUAL SEMANTICS CENTERPIECE #3: LLM FLEET BENCHMARK TABLE
   ========================================================= */
.benchmark-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.benchmark-table th, .benchmark-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.benchmark-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.benchmark-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.pill-check {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--seo-emerald);
}

.pill-warn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: #f59e0b;
}

/* Authority Stats Strip */
.authority-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 5rem;
}

.stat-item {
  text-align: center;
  padding: 0 1rem;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}

.stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-social-col {
  display: flex;
  align-items: center;
}

.footer-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.footer-linkedin-link:hover {
  color: #0077b5;
  background: rgba(0, 119, 181, 0.12);
  border-color: rgba(0, 119, 181, 0.4);
  transform: translateY(-1px);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .gateway-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .paradigm-view.active {
    grid-template-columns: 1fr;
  }
  .authority-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.25rem;
  }
  .nav-cluster {
    gap: 1rem;
  }
  .primary-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .lang-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem 0.75rem;
  }
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 0.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-card);
}

.mobile-nav-drawer {
  display: none;
  background: rgba(10, 13, 20, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  min-height: 44px;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
  .hero-authority {
    padding: 3.5rem 0 2rem;
  }
  .gateway-card {
    padding: 1.75rem;
  }
  .paradigm-switcher-box {
    padding: 1.5rem;
  }
  .footer-grid {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .footer-nav {
    justify-content: center;
  }
}

/* =========================================================
   SUBPAGE MASTER VISUAL SEMANTICS & EXECUTIVE CTA
   ========================================================= */
.subpage-hero {
  padding: 3.5rem 0 1.5rem;
  text-align: center;
}

.pillars-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  align-items: stretch;
}

.executive-cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 26, 40, 0.95), rgba(15, 20, 32, 0.98));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  margin: 5rem 0 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.executive-cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--seo-emerald), var(--ai-violet));
}

@media (max-width: 900px) {
  .pillars-grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .executive-cta-card {
    padding: 2.5rem 1.5rem;
    margin: 3.5rem 0 1.5rem;
  }
}


