/*
 * TDS AI Systems - Main Stylesheet
 * Copyright (c) 2026 TDS AI Systems di Paolo Consorti. All rights reserved.
 * Protected under Italian Law 633/1941, EU Directive 2009/24/EC, WIPO Copyright Treaty.
 * Unauthorized reproduction, decompilation, or distribution is prohibited.
 *
 * Dark theme with cyan/purple accents
 */

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

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

:root {
  --bg-primary: #030712;
  --bg-secondary: #0a0f2c;
  --bg-card: #111827;
  --bg-card-hover: #1a2340;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #00d4ff;
  --accent-blue: #0066ff;
  --accent-purple: #0066ff;
  --accent-gradient: linear-gradient(135deg, #00d4ff, #0066ff);
  --accent-gradient-h: linear-gradient(90deg, #00d4ff, #0066ff);
  --border-color: rgba(148, 163, 184, 0.1);
  --glow-cyan: 0 0 30px rgba(0, 212, 255, 0.15);
  --glow-purple: 0 0 30px rgba(0, 102, 255, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: #0066ff; }

img, svg { max-width: 100%; height: auto; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 10px 0;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition);
}
.nav.scrolled { padding: 6px 0; background: rgba(3, 7, 18, 0.95); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { height: 62px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.02em; transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent-gradient-h); border-radius: 1px;
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 8px; padding: 4px; cursor: pointer;
}
.lang-btn {
  padding: 6px 12px; border-radius: 6px; border: none;
  background: transparent; color: var(--text-muted);
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition); font-family: var(--font);
}
.lang-btn.active {
  background: var(--accent-gradient); color: white;
}

/* --- Nav Dropdown (Prodotti) --- */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
}
.nav-dropdown-trigger svg {
  transition: transform 0.2s ease;
}
.nav-dropdown-wrap.open .nav-dropdown-trigger svg,
.nav-dropdown-wrap:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%;
  min-width: 320px;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.2s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.05);
  pointer-events: none;
}
.nav-dropdown-wrap.open .nav-dropdown,
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 8px;
  transition: background var(--transition);
  color: var(--text-secondary) !important;
  text-decoration: none;
}
.nav-dropdown-item:hover {
  background: rgba(0, 212, 255, 0.06);
  color: var(--text-primary) !important;
}
.nav-dropdown-item::after { display: none !important; }
.nav-dropdown-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.nav-dropdown-info {
  display: flex; flex-direction: column; gap: 2px; flex: 1;
}
.nav-dropdown-name {
  font-size: 0.9rem; font-weight: 600; color: var(--text-primary);
}
.nav-dropdown-desc {
  font-size: 0.72rem; color: var(--text-muted);
}
.nav-dropdown-badge {
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.nav-dropdown-badge-new {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.3);
  margin-left: auto;
}
.nav-dropdown-section-label {
  padding: 6px 12px 4px; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); opacity: 0.7;
}
.nav-dropdown-tool {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px;
  transition: background var(--transition);
  color: var(--text-secondary) !important;
  text-decoration: none;
}
.nav-dropdown-tool:hover {
  background: rgba(0, 212, 255, 0.06);
  color: var(--text-primary) !important;
}
.nav-dropdown-tool::after { display: none !important; }
.nav-dropdown-tool-icon {
  font-size: 0.9rem; width: 24px; text-align: center; flex-shrink: 0;
}
.nav-dropdown-tool-name {
  font-size: 0.82rem; font-weight: 500;
}
.nav-dropdown-divider {
  height: 1px; background: var(--border-color); margin: 6px 12px;
}
.nav-dropdown-coming {
  padding: 8px 12px; font-size: 0.72rem;
  color: var(--text-muted); font-style: italic;
}
.nav-dropdown-coming-item {
  opacity: 0.5; pointer-events: none;
}

/* Nav login link (discrete) */
.nav-login-link {
  color: var(--text-muted) !important;
  font-size: 0.85rem; font-weight: 500;
  transition: all var(--transition);
  opacity: 0.7;
}
.nav-login-link:hover {
  color: var(--accent-cyan) !important;
  opacity: 1;
}
.nav-login-link::after { display: none !important; }

/* Mobile menu */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-secondary); border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section (huly.io inspired) --- */
.hero {
  min-height: auto; display: flex; align-items: center;
  position: relative; padding: 120px 0 60px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg-primary) url('../assets/hero-background.png') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(3, 7, 18, 0.88) 0%,
    rgba(3, 7, 18, 0.72) 35%,
    rgba(3, 7, 18, 0.35) 65%,
    rgba(3, 7, 18, 0.15) 100%);
  z-index: 1;
}
/* Neon portal rings — spherical crossing pattern like logo */
.hero-energy {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
/* === RING 1 — Cyan arc, dynamic orbit === */
.hero-arc-1 {
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  border: 4px solid transparent;
  border-top-color: rgba(0, 212, 255, 0.45);
  border-right-color: rgba(120, 80, 220, 0.25);
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(-20deg);
  animation: arcOrbit1 12s linear infinite;
  box-shadow:
    0 0 12px rgba(0, 212, 255, 0.2),
    0 0 30px rgba(0, 212, 255, 0.1),
    0 0 60px rgba(120, 80, 220, 0.05),
    inset 0 0 20px rgba(0, 212, 255, 0.04);
}
/* Specular flare */
.hero-arc-1::before {
  content: '';
  position: absolute;
  top: -4px; left: 10%;
  width: 10px; height: 10px;
  background: white;
  border-radius: 50%;
  filter: blur(1px);
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(0, 212, 255, 0.6),
    0 0 50px rgba(0, 212, 255, 0.3),
    0 0 80px rgba(120, 80, 220, 0.15);
}
.hero-arc-1::after {
  content: '';
  position: absolute;
  top: -3px; left: 55%;
  width: 80px; height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), rgba(120, 80, 220, 0.3), transparent);
  border-radius: 50%;
  filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}
/* === RING 2 — Violet-tinted arc, counter-orbit === */
.hero-arc-2 {
  position: absolute;
  top: 45%; left: 55%;
  width: 600px; height: 600px;
  border: 3px solid transparent;
  border-top-color: rgba(120, 80, 220, 0.4);
  border-left-color: rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%) rotateX(65deg) rotateZ(15deg);
  animation: arcOrbit2 16s linear infinite reverse;
  box-shadow:
    0 0 10px rgba(120, 80, 220, 0.15),
    0 0 25px rgba(120, 80, 220, 0.08),
    0 0 50px rgba(0, 102, 255, 0.04);
}
/* Specular flare */
.hero-arc-2::before {
  content: '';
  position: absolute;
  top: -3px; right: 20%;
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
  filter: blur(1px);
  box-shadow:
    0 0 5px rgba(255, 255, 255, 0.7),
    0 0 15px rgba(120, 80, 220, 0.5),
    0 0 40px rgba(120, 80, 220, 0.2);
}
.hero-arc-2::after {
  content: '';
  position: absolute;
  top: -2px; left: 30%;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(120, 80, 220, 0.4), rgba(0, 212, 255, 0.2), transparent);
  border-radius: 50%;
  filter: blur(2px);
  box-shadow: 0 0 15px rgba(120, 80, 220, 0.2);
}
/* === RING 3 — Large ambient arc, slow orbit === */
.hero-arc-3 {
  position: absolute;
  top: 55%; left: 45%;
  width: 1000px; height: 1000px;
  border: 2px solid transparent;
  border-bottom-color: rgba(0, 212, 255, 0.25);
  border-right-color: rgba(120, 80, 220, 0.15);
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%) rotateX(75deg) rotateZ(-40deg);
  animation: arcOrbit3 20s linear infinite;
  box-shadow:
    0 0 8px rgba(0, 212, 255, 0.1),
    0 0 25px rgba(0, 212, 255, 0.04);
}
.hero-arc-3::before {
  content: '';
  position: absolute;
  bottom: -3px; right: 25%;
  width: 6px; height: 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  filter: blur(1px);
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(0, 212, 255, 0.4),
    0 0 30px rgba(0, 212, 255, 0.2);
}
/* Ring orbit animations — multi-axis wobble + rotation */
@keyframes arcOrbit1 {
  0%   { transform: translate(-50%, -50%) rotateX(70deg) rotateY(0deg) rotateZ(-20deg); }
  25%  { transform: translate(-50%, -50%) rotateX(66deg) rotateY(4deg) rotateZ(70deg); }
  50%  { transform: translate(-50%, -50%) rotateX(72deg) rotateY(-3deg) rotateZ(160deg); }
  75%  { transform: translate(-50%, -50%) rotateX(68deg) rotateY(5deg) rotateZ(250deg); }
  100% { transform: translate(-50%, -50%) rotateX(70deg) rotateY(0deg) rotateZ(340deg); }
}
@keyframes arcOrbit2 {
  0%   { transform: translate(-50%, -50%) rotateX(65deg) rotateY(0deg) rotateZ(15deg); }
  25%  { transform: translate(-50%, -50%) rotateX(62deg) rotateY(-5deg) rotateZ(105deg); }
  50%  { transform: translate(-50%, -50%) rotateX(68deg) rotateY(3deg) rotateZ(195deg); }
  75%  { transform: translate(-50%, -50%) rotateX(63deg) rotateY(-4deg) rotateZ(285deg); }
  100% { transform: translate(-50%, -50%) rotateX(65deg) rotateY(0deg) rotateZ(375deg); }
}
@keyframes arcOrbit3 {
  0%   { transform: translate(-50%, -50%) rotateX(75deg) rotateY(0deg) rotateZ(-40deg); }
  25%  { transform: translate(-50%, -50%) rotateX(72deg) rotateY(3deg) rotateZ(50deg); }
  50%  { transform: translate(-50%, -50%) rotateX(77deg) rotateY(-2deg) rotateZ(140deg); }
  75%  { transform: translate(-50%, -50%) rotateX(73deg) rotateY(4deg) rotateZ(230deg); }
  100% { transform: translate(-50%, -50%) rotateX(75deg) rotateY(0deg) rotateZ(320deg); }
}
/* Flowing wave ribbons — subtle ambient */
.hero-wave-1 {
  position: absolute;
  top: 30%; right: -5%;
  width: 500px; height: 200px;
  background: transparent;
  border-top: 2px solid rgba(0, 212, 255, 0.2);
  border-right: 1px solid rgba(120, 80, 220, 0.12);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  transform: rotate(-15deg);
  animation: waveFlow 8s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.04);
}
.hero-wave-2 {
  position: absolute;
  bottom: 20%; left: -8%;
  width: 600px; height: 250px;
  background: transparent;
  border-bottom: 2px solid rgba(120, 80, 220, 0.18);
  border-left: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  transform: rotate(10deg);
  animation: waveFlow 10s ease-in-out infinite reverse;
  box-shadow: 0 0 15px rgba(120, 80, 220, 0.04);
}
@keyframes waveFlow {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; opacity: 0.6; }
  25% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; opacity: 0.9; }
  50% { border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%; opacity: 0.75; }
  75% { border-radius: 30% 70% 60% 40% / 40% 60% 50% 50%; opacity: 0.9; }
}
/* Central nexus — subtle glow point */
.hero-nexus {
  position: absolute;
  top: 50%; left: 55%;
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 5px rgba(255, 255, 255, 0.8),
    0 0 12px rgba(0, 212, 255, 0.6),
    0 0 30px rgba(0, 212, 255, 0.3),
    0 0 60px rgba(120, 80, 220, 0.15),
    0 0 100px rgba(0, 102, 255, 0.06);
  animation: nexusPulse 3s ease-in-out infinite;
}
@keyframes nexusPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.8); opacity: 1; }
}
/* Extra specular flares — floating light points */
.hero-flare-1, .hero-flare-2, .hero-flare-3 {
  position: absolute;
  border-radius: 50%;
  background: white;
  pointer-events: none;
}
.hero-flare-1 {
  top: 35%; right: 20%;
  width: 5px; height: 5px;
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.8),
    0 0 15px rgba(0, 212, 255, 0.6),
    0 0 40px rgba(0, 212, 255, 0.2);
  animation: flarePulse 4s ease-in-out infinite;
}
.hero-flare-2 {
  bottom: 30%; left: 15%;
  width: 4px; height: 4px;
  box-shadow:
    0 0 3px rgba(255, 255, 255, 0.7),
    0 0 12px rgba(120, 80, 220, 0.5),
    0 0 35px rgba(120, 80, 220, 0.2);
  animation: flarePulse 5s ease-in-out infinite 1s;
}
.hero-flare-3 {
  top: 60%; right: 35%;
  width: 3px; height: 3px;
  box-shadow:
    0 0 3px rgba(255, 255, 255, 0.6),
    0 0 10px rgba(0, 212, 255, 0.5),
    0 0 30px rgba(0, 102, 255, 0.2);
  animation: flarePulse 6s ease-in-out infinite 2s;
}
@keyframes flarePulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}
/* Radial glow orbs */
.hero-glow-1 {
  position: absolute;
  top: 15%; right: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  animation: glowFloat 8s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute;
  bottom: 10%; left: 5%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(120, 80, 220, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  animation: glowFloat 10s ease-in-out infinite reverse;
}
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.95); }
}
/* Animated grid */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  animation: gridShift 20s linear infinite;
}
@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}
.hero .container { position: relative; z-index: 1; }
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: var(--accent-cyan); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 212, 255, 0); }
}
.hero h1 {
  font-size: clamp(3rem, 6.5vw, 4.8rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.04em; margin-bottom: 28px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, #00d4ff 0%, #0066ff 40%, #00b4d8 70%, #00d4ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-subtitle {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 500px; margin-bottom: 36px; line-height: 1.75;
  font-weight: 400;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero Chart Card (right column) */
.hero-chart {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-chart-card {
  background: rgba(17,24,39,0.8);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 40px rgba(0,212,255,0.06),
    0 8px 32px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.04);
  width: 100%;
  max-width: 480px;
}
.hero-chart-card .comparison-chart-title {
  margin-bottom: 20px;
}
.hero-chart-card .comparison-bars {
  gap: 14px;
}
.hero-chart-card .comparison-bar-highlight::before {
  inset: -6px -10px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; font-family: var(--font);
  cursor: pointer; transition: all var(--transition); border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent-gradient); color: white;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px); color: white;
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.35);
}
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  color: var(--text-primary);
}

/* --- Sections --- */
section { padding: 100px 0; position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-cyan); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 24px; height: 2px;
  background: var(--accent-gradient-h); border-radius: 1px;
}
/* (section-title defined after section-subtitle) */
.section-subtitle {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 600px; margin-bottom: 60px;
}

/* Section title upgrade */
.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900; letter-spacing: -0.03em;
  margin-bottom: 20px; line-height: 1.15;
}

/* Divider between sections */
section + section::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* Radial glow behind sections (huly.io depth effect) */
#tools { overflow: hidden; }
#tools::after {
  content: ''; position: absolute;
  top: 20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
#process { overflow: hidden; }
#process::after {
  content: ''; position: absolute;
  bottom: 10%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
#roi { overflow: hidden; }
#roi::after {
  content: ''; position: absolute;
  top: 30%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
section > .container { position: relative; z-index: 1; }

/* --- Services Grid --- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: rgba(17, 24, 39, 0.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg); padding: 36px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent-gradient-h); opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.2);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0, 212, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.4rem;
}
.service-card h3 {
  font-size: 1.2rem; font-weight: 700; margin-bottom: 12px;
}
.service-card p {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7;
}
.service-card ul {
  list-style: none; margin-top: 16px;
}
.service-card ul li {
  color: var(--text-secondary); font-size: 0.9rem;
  padding: 4px 0 4px 20px; position: relative;
}
.service-card ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-cyan);
}

/* --- Automations Grid (pivot 2026-03-08) --- */
.automations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.automation-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.automation-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient-h);
  opacity: 0;
  transition: opacity var(--transition);
}
.automation-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.08), 0 20px 40px rgba(0, 0, 0, 0.2);
}
.automation-card:hover::before { opacity: 1; }

/* Accent colors per automation */
.automation-card[data-accent="cyan"]::before { background: var(--accent-cyan); }
.automation-card[data-accent="amber"]::before { background: #f59e0b; }
.automation-card[data-accent="indigo"]::before { background: #818cf8; }
.automation-card[data-accent="teal"]::before { background: #2dd4bf; }
.automation-card[data-accent="rose"]::before { background: #fb7185; }
.automation-card[data-accent="cyan"]:hover { border-color: rgba(0, 212, 255, 0.2); }
.automation-card[data-accent="amber"]:hover { border-color: rgba(245, 158, 11, 0.2); }
.automation-card[data-accent="indigo"]:hover { border-color: rgba(129, 140, 248, 0.2); }
.automation-card[data-accent="teal"]:hover { border-color: rgba(45, 212, 191, 0.2); }
.automation-card[data-accent="rose"]:hover { border-color: rgba(251, 113, 133, 0.2); }

.automation-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.automation-card-icon {
  font-size: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.automation-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  flex: 1;
}
.automation-roi-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
  white-space: nowrap;
}

.automation-before-after {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.automation-before,
.automation-after {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.automation-before {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.12);
}
.automation-before p { color: rgba(248, 113, 113, 0.9); }
.automation-after {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.12);
}
.automation-after p { color: rgba(74, 222, 128, 0.9); }
.automation-ba-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.automation-before .automation-ba-label { color: #ef4444; }
.automation-after .automation-ba-label { color: #22c55e; }

.automation-powered {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.automation-powered-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}
.automation-powered-tools {
  color: var(--text-secondary);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.7rem;
}

/* --- Pricing Grid (pivot 2026-03-08) --- */
#pricing {
  padding: 80px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.pricing-popular {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(17, 24, 39, 0.85);
  transform: scale(1.03);
}
.pricing-popular:hover {
  border-color: rgba(0, 212, 255, 0.5);
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.3);
}
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient-h);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 8px;
}
.pricing-card-price {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.pricing-currency {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-cyan);
}
.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  background: var(--accent-gradient-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}
.pricing-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  flex: 1;
}
.pricing-features li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}
.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.8rem;
}
.pricing-cta-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* --- Tools Showcase (alternating layout) --- */
.tools-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.tool-showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  scroll-margin-top: 100px;
}
.tool-showcase-item:nth-child(even) .tool-showcase-visual { order: -1; }
.tool-showcase-item:nth-child(even) .tool-showcase-content { order: 1; }

/* Visual / mockup side */
.tool-showcase-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  transition: all var(--transition);
}
.tool-showcase-visual:hover {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 80px rgba(0, 212, 255, 0.12), 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(1.02);
}
/* Sci-fi scan line effect on hover */
.tool-showcase-visual::before {
  content: '';
  position: absolute;
  top: -100%; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 212, 255, 0.6),
    rgba(0, 102, 255, 0.6),
    transparent
  );
  z-index: 10;
  transition: none;
  opacity: 0;
}
.tool-showcase-visual:hover::before {
  animation: scanLine 1.5s ease-in-out infinite;
  opacity: 1;
}
@keyframes scanLine {
  0% { top: -2px; }
  100% { top: 100%; }
}
/* X-ray glow overlay on hover */
.tool-showcase-item[data-accent="cyan"] .tool-showcase-visual:hover { border-color: rgba(0, 212, 255, 0.25); box-shadow: 0 0 80px rgba(0, 212, 255, 0.15), 0 0 120px rgba(0, 212, 255, 0.05); }
.tool-showcase-item[data-accent="purple"] .tool-showcase-visual:hover { border-color: rgba(0, 102, 255, 0.25); box-shadow: 0 0 80px rgba(0, 102, 255, 0.15), 0 0 120px rgba(0, 102, 255, 0.05); }
.tool-showcase-item[data-accent="emerald"] .tool-showcase-visual:hover { border-color: rgba(16, 185, 129, 0.25); box-shadow: 0 0 80px rgba(16, 185, 129, 0.15), 0 0 120px rgba(16, 185, 129, 0.05); }
.tool-showcase-item[data-accent="amber"] .tool-showcase-visual:hover { border-color: rgba(245, 158, 11, 0.25); box-shadow: 0 0 80px rgba(245, 158, 11, 0.15), 0 0 120px rgba(245, 158, 11, 0.05); }
.tool-showcase-item[data-accent="rose"] .tool-showcase-visual:hover { border-color: rgba(244, 63, 94, 0.25); box-shadow: 0 0 80px rgba(244, 63, 94, 0.15), 0 0 120px rgba(244, 63, 94, 0.05); }
.tool-showcase-item[data-accent="indigo"] .tool-showcase-visual:hover { border-color: rgba(129, 140, 248, 0.25); box-shadow: 0 0 80px rgba(129, 140, 248, 0.15), 0 0 120px rgba(129, 140, 248, 0.05); }
.tool-showcase-item[data-accent="teal"] .tool-showcase-visual:hover { border-color: rgba(45, 212, 191, 0.25); box-shadow: 0 0 80px rgba(45, 212, 191, 0.15), 0 0 120px rgba(45, 212, 191, 0.05); }
/* Mockup header bar */
.tool-mockup-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}
.tool-mockup-dots {
  display: flex; gap: 6px;
}
.tool-mockup-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(148, 163, 184, 0.2);
}
.tool-mockup-dots span:first-child { background: rgba(239, 68, 68, 0.6); }
.tool-mockup-dots span:nth-child(2) { background: rgba(234, 179, 8, 0.6); }
.tool-mockup-dots span:nth-child(3) { background: rgba(34, 197, 94, 0.6); }
.tool-mockup-title {
  font-size: 0.7rem; color: var(--text-muted); margin-left: 8px;
  font-weight: 500;
}
/* Mockup body */
.tool-mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: calc(100% - 40px);
}
/* Mockup UI elements */
.tool-mockup-row {
  display: flex; gap: 10px; align-items: center;
}
.tool-mockup-bar {
  height: 8px; border-radius: 4px;
  background: rgba(148, 163, 184, 0.1);
}
.tool-mockup-bar.accent { background: rgba(0, 212, 255, 0.2); }
.tool-mockup-bar.purple { background: rgba(0, 102, 255, 0.2); }
.tool-mockup-bar.success { background: rgba(34, 197, 94, 0.2); }
.tool-mockup-bar.warn { background: rgba(234, 179, 8, 0.2); }
.tool-mockup-block {
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.06);
  padding: 12px;
}
.tool-mockup-grid {
  display: grid; gap: 8px;
}
.tool-mockup-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.tool-mockup-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.tool-mockup-stat {
  text-align: center; padding: 10px 8px;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.08);
}
.tool-mockup-stat-num {
  font-size: 1.1rem; font-weight: 700; color: var(--accent-cyan);
  margin-bottom: 2px;
}
.tool-mockup-stat-label {
  font-size: 0.55rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* Glow effect behind visual */
.tool-showcase-visual::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 60%; height: 60%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  z-index: -1;
  transition: opacity var(--transition);
}
.tool-showcase-item[data-accent="cyan"] .tool-showcase-visual::after { background: #00d4ff; }
.tool-showcase-item[data-accent="purple"] .tool-showcase-visual::after { background: #0066ff; }
.tool-showcase-item[data-accent="emerald"] .tool-showcase-visual::after { background: #10b981; }
.tool-showcase-item[data-accent="amber"] .tool-showcase-visual::after { background: #f59e0b; }
.tool-showcase-item[data-accent="rose"] .tool-showcase-visual::after { background: #f43f5e; }
.tool-showcase-item[data-accent="indigo"] .tool-showcase-visual::after { background: #818cf8; }
.tool-showcase-item[data-accent="teal"] .tool-showcase-visual::after { background: #2dd4bf; }

/* Content side */
.tool-showcase-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tool-showcase-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.12);
}
.tool-showcase-item[data-accent="cyan"] .tool-showcase-icon { background: rgba(0, 212, 255, 0.08); border-color: rgba(0, 212, 255, 0.15); }
.tool-showcase-item[data-accent="purple"] .tool-showcase-icon { background: rgba(0, 102, 255, 0.08); border-color: rgba(0, 102, 255, 0.15); }
.tool-showcase-item[data-accent="emerald"] .tool-showcase-icon { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.15); }
.tool-showcase-item[data-accent="amber"] .tool-showcase-icon { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.15); }
.tool-showcase-item[data-accent="rose"] .tool-showcase-icon { background: rgba(244, 63, 94, 0.08); border-color: rgba(244, 63, 94, 0.15); }
.tool-showcase-item[data-accent="indigo"] .tool-showcase-icon { background: rgba(129, 140, 248, 0.08); border-color: rgba(129, 140, 248, 0.15); }
.tool-showcase-item[data-accent="teal"] .tool-showcase-icon { background: rgba(45, 212, 191, 0.08); border-color: rgba(45, 212, 191, 0.15); }

.tool-showcase-name {
  font-size: 1.5rem; font-weight: 800;
  color: var(--text-primary);
}
.tool-showcase-desc {
  color: var(--text-secondary); font-size: 1rem; line-height: 1.7;
}
.tool-showcase-roi {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-radius: 20px;
  width: fit-content;
}
.tool-showcase-item[data-accent="cyan"] .tool-showcase-roi { color: #00d4ff; background: rgba(0, 212, 255, 0.08); border: 1px solid rgba(0, 212, 255, 0.2); }
.tool-showcase-item[data-accent="purple"] .tool-showcase-roi { color: #60a5fa; background: rgba(0, 102, 255, 0.08); border: 1px solid rgba(0, 102, 255, 0.2); }
.tool-showcase-item[data-accent="emerald"] .tool-showcase-roi { color: #34d399; background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.2); }
.tool-showcase-item[data-accent="amber"] .tool-showcase-roi { color: #fbbf24; background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.2); }
.tool-showcase-item[data-accent="rose"] .tool-showcase-roi { color: #fb7185; background: rgba(244, 63, 94, 0.08); border: 1px solid rgba(244, 63, 94, 0.2); }
.tool-showcase-item[data-accent="indigo"] .tool-showcase-roi { color: #818cf8; background: rgba(129, 140, 248, 0.08); border: 1px solid rgba(129, 140, 248, 0.2); }
.tool-showcase-item[data-accent="teal"] .tool-showcase-roi { color: #2dd4bf; background: rgba(45, 212, 191, 0.08); border: 1px solid rgba(45, 212, 191, 0.2); }

.tool-showcase-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 12px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(129,140,248,0.15), rgba(45,212,191,0.15));
  color: #a5b4fc; border: 1px solid rgba(129,140,248,0.3);
  width: fit-content;
}

.tool-showcase-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.tool-showcase-features li {
  color: var(--text-secondary); font-size: 0.88rem;
  padding-left: 24px; position: relative; line-height: 1.5;
}
.tool-showcase-features li::before {
  content: '\2713';
  position: absolute; left: 0; top: 1px;
  font-weight: 700; font-size: 0.85rem;
}
.tool-showcase-item[data-accent="cyan"] .tool-showcase-features li::before { color: #00d4ff; }
.tool-showcase-item[data-accent="purple"] .tool-showcase-features li::before { color: #60a5fa; }
.tool-showcase-item[data-accent="emerald"] .tool-showcase-features li::before { color: #34d399; }
.tool-showcase-item[data-accent="amber"] .tool-showcase-features li::before { color: #fbbf24; }
.tool-showcase-item[data-accent="rose"] .tool-showcase-features li::before { color: #fb7185; }
.tool-showcase-item[data-accent="indigo"] .tool-showcase-features li::before { color: #818cf8; }
.tool-showcase-item[data-accent="teal"] .tool-showcase-features li::before { color: #2dd4bf; }

.tool-showcase-pricing {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.tool-showcase-price-anchor {
  font-size: 0.85rem; color: var(--text-muted);
}
.tool-showcase-price-anchor s {
  color: var(--text-secondary); font-weight: 600;
}
.tool-showcase-price-included {
  font-size: 1.1rem; font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tool-showcase-cta {
  display: flex; gap: 12px; align-items: center; margin-top: 4px;
}
.tool-showcase-cta .btn {
  padding: 12px 28px; font-size: 0.92rem; border-radius: 10px;
}
.tool-video-btn {
  display: inline-flex; align-items: center; gap: 6px;
}
.tool-video-btn svg {
  flex-shrink: 0;
}
.tool-video-btn:hover {
  border-color: #ff0000;
  background: rgba(255, 0, 0, 0.06);
}
.tool-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-cta .btn {
  width: 100%; justify-content: center;
  padding: 12px 20px; font-size: 0.85rem;
}

/* Tools section CTA (pricing + trial) */
.tools-cta-section {
  display: flex; gap: 16px; justify-content: center; align-items: center;
  margin-top: 48px; flex-wrap: wrap;
}
.tools-cta-section .btn {
  padding: 14px 32px; font-size: 1rem; font-weight: 600;
  border-radius: 12px;
}
.tools-pricing-btn {
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.25);
}
.tools-try-btn {
  border: 1px solid var(--accent-cyan);
}
.tools-playlist-btn {
  display: inline-flex; align-items: center; gap: 4px;
}
.tools-playlist-btn:hover {
  border-color: #ff0000;
  background: rgba(255, 0, 0, 0.06);
}

/* --- Process / How We Work --- */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px; counter-reset: step;
}
.process-step {
  position: relative; padding: 32px;
  background: rgba(17, 24, 39, 0.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.process-step:hover {
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: var(--glow-purple);
}
.step-number {
  font-size: 3rem; font-weight: 900;
  background: var(--accent-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 16px;
}
.process-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { color: var(--text-secondary); font-size: 0.9rem; }

/* --- About --- */
.about-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-text h3 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 16px;
}
.about-text p {
  color: var(--text-secondary); margin-bottom: 16px; font-size: 1rem;
}
.about-credentials {
  display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 20px;
  padding: 12px 16px; border-left: 3px solid var(--accent-blue);
  background: rgba(99, 102, 241, 0.06); border-radius: 0 var(--radius) var(--radius) 0;
}
.about-credentials span {
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
  letter-spacing: 0.02em; white-space: nowrap;
}
.about-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.stat-card {
  background: rgba(17, 24, 39, 0.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.stat-number {
  font-size: 2.2rem; font-weight: 800;
  background: var(--accent-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label {
  color: var(--text-muted); font-size: 0.85rem; margin-top: 4px;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.contact-info { padding: 20px 0; }
.contact-info h3 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 16px;
}
.contact-info p { color: var(--text-secondary); margin-bottom: 32px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border-color);
}
.contact-method-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-method-text { font-size: 0.95rem; }
.contact-method-text span { display: block; color: var(--text-muted); font-size: 0.8rem; }
.contact-method-text .email-actions { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; }
.contact-method-text .email-copy,
.footer-links .email-copy-footer {
  color: var(--accent-cyan) !important; cursor: pointer; transition: color .2s;
  text-decoration: none !important; border-bottom: 1px dashed rgba(0,212,255,.4);
}
.contact-method-text .email-copy:hover,
.footer-links .email-copy-footer:hover { color: #fff !important; }
.email-copy.copied, .email-copy-footer.copied { color: #22c55e !important; border-bottom-color: #22c55e; }
.contact-method-text .gmail-link,
.footer-links .gmail-link-footer {
  color: var(--text-muted); text-decoration: none; transition: color .2s;
  font-size: 1.2rem;
}
.contact-method-text .gmail-link:hover,
.footer-links .gmail-link-footer:hover { color: var(--accent-cyan); }

.contact-form {
  background: rgba(17, 24, 39, 0.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 16px;
  background: var(--bg-primary); border: 1px solid var(--border-color);
  border-radius: 8px; color: var(--text-primary);
  font-size: 0.95rem; font-family: var(--font);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-secondary); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-status {
  margin-top: 16px; padding: 12px 16px; border-radius: 8px;
  font-size: 0.9rem; display: none;
}
.form-status.success {
  display: block; background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981;
}
.form-status.error {
  display: block; background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  background: var(--bg-secondary);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--text-muted); margin-top: 16px; font-size: 0.9rem; max-width: 320px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 8px; }
.footer h4 {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-secondary); margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-cyan); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border-color);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-muted); font-size: 0.8rem;
}
.footer-legal-links {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.footer-legal-links a {
  color: var(--text-muted); font-size: 0.8rem;
}
.footer-legal-links a:hover { color: var(--accent-cyan); }

/* --- Newsletter (Footer) --- */
.footer-newsletter-desc {
  color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px;
}
.newsletter-input-row {
  display: flex; gap: 8px;
}
.newsletter-input-row input {
  flex: 1; padding: 10px 14px;
  background: var(--bg-primary); border: 1px solid var(--border-color);
  border-radius: 8px; color: var(--text-primary);
  font-size: 0.9rem; font-family: var(--font);
  transition: border-color var(--transition);
}
.newsletter-input-row input:focus {
  outline: none; border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.newsletter-btn {
  padding: 10px 16px; font-size: 1rem;
  border-radius: 8px; flex-shrink: 0;
}
.newsletter-status {
  margin-top: 8px; font-size: 0.8rem; display: none;
}
.newsletter-status.success { display: block; color: #10b981; }
.newsletter-status.error { display: block; color: #ef4444; }

/* --- Contact Form Checkbox --- */
.form-checkbox { margin-bottom: 20px; }
.checkbox-label {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; font-size: 0.9rem; color: var(--text-secondary);
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

/* --- ROI Calculator --- */
.roi-calculator {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.roi-inputs { display: flex; flex-direction: column; gap: 32px; }
.roi-input-group {}
.roi-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.roi-slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.roi-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  outline: none;
  cursor: pointer;
}
.roi-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.roi-range::-webkit-slider-thumb:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}
.roi-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  cursor: pointer;
}
.roi-number {
  width: 72px;
  padding: 10px 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  text-align: center;
  transition: border-color var(--transition);
}
.roi-number:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
/* Hide number input arrows */
.roi-number::-webkit-outer-spin-button,
.roi-number::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.roi-number[type=number] { -moz-appearance: textfield; }

.roi-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.roi-result-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.roi-result-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: var(--glow-cyan);
}
.roi-result-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 4px;
}
.roi-result-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.roi-payback {
  border-color: rgba(0, 102, 255, 0.2);
}
.roi-payback:hover {
  box-shadow: var(--glow-purple);
}

.roi-cta {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}



/* --- Animations --- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* Energy flux — floating particles */
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}
.energy-particles {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.energy-particle {
  position: absolute; bottom: -10px;
  width: 2px; height: 2px; border-radius: 50%;
  animation: particleFloat linear infinite;
}
.energy-particle:nth-child(1) { left: 10%; background: rgba(0, 212, 255, 0.4); animation-duration: 18s; animation-delay: 0s; }
.energy-particle:nth-child(2) { left: 25%; background: rgba(0, 102, 255, 0.3); animation-duration: 22s; animation-delay: 3s; }
.energy-particle:nth-child(3) { left: 45%; background: rgba(0, 212, 255, 0.3); animation-duration: 20s; animation-delay: 7s; width: 3px; height: 3px; }
.energy-particle:nth-child(4) { left: 65%; background: rgba(0, 102, 255, 0.4); animation-duration: 25s; animation-delay: 2s; }
.energy-particle:nth-child(5) { left: 80%; background: rgba(0, 212, 255, 0.3); animation-duration: 19s; animation-delay: 5s; }
.energy-particle:nth-child(6) { left: 90%; background: rgba(244, 63, 94, 0.2); animation-duration: 24s; animation-delay: 10s; }
.energy-particle:nth-child(7) { left: 35%; background: rgba(16, 185, 129, 0.2); animation-duration: 21s; animation-delay: 8s; width: 3px; height: 3px; }
.energy-particle:nth-child(8) { left: 55%; background: rgba(245, 158, 11, 0.2); animation-duration: 23s; animation-delay: 12s; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .about-content, .contact-grid { grid-template-columns: 1fr; }
  .roi-calculator { grid-template-columns: 1fr; }
  .tool-showcase-item { grid-template-columns: 1fr; gap: 32px; }
  .tool-showcase-item:nth-child(even) .tool-showcase-visual { order: 0; }
  .tool-showcase-item:nth-child(even) .tool-showcase-content { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh;
    background: var(--bg-secondary); border-left: 1px solid var(--border-color);
    flex-direction: column; padding: 80px 32px 32px; gap: 24px;
    z-index: 999; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; z-index: 1001; }
  /* Mobile dropdown: kill ALL desktop hover/animation, use display toggle only */
  .nav-dropdown,
  .nav-dropdown-wrap:hover .nav-dropdown,
  .nav-dropdown-wrap.open .nav-dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
    min-width: auto;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: none;
    box-shadow: none;
    border: 1px solid var(--border-color);
    margin-top: 8px;
    padding: 8px;
  }
  /* Hide by default — !important to override any hover/open state */
  .nav-dropdown { display: none !important; }
  /* Show ONLY via JS .open class — !important guarantees it */
  .nav-dropdown-wrap.open .nav-dropdown { display: block !important; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .nav .container { max-width: 100%; }
  .hero { min-height: auto; padding: 100px 0 40px; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 2.5rem; }
  .hero-chart-card { max-width: 100%; }
  /* Disable heavy animations on mobile for scroll performance */
  .hero-energy { display: none; }
  .hero-arc-1, .hero-arc-2, .hero-arc-3 { display: none; }
  .hero-nexus { display: none; }
  .energy-particle { display: none; }
  .grid-animation { display: none; }
  .glow-orb { display: none; }
  section { padding: 60px 0; }
  .roi-calculator { padding: 28px; }
  .roi-results { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .newsletter-btn { width: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .automations-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .tools-showcase { gap: 48px; }
  .process-steps { grid-template-columns: 1fr; }
  .roi-results { grid-template-columns: 1fr; }
  .roi-calculator { padding: 24px; gap: 32px; }
  .ai-assistant-grid { grid-template-columns: 1fr; }
}

/* ===== AI ASSISTANT SECTION ===== */
#ai-assistant {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(99,102,241,0.04) 0%, transparent 100%);
}
.ai-assistant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.ai-feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.ai-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.3);
}
.ai-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.ai-feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.ai-feature-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .ai-assistant-grid { grid-template-columns: 1fr; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  position: relative;
  padding: 28px 0;
  background: linear-gradient(180deg, rgba(0,212,255,0.04) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
}
.trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--accent-gradient-h);
  opacity: 0.4;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.trust-bar-number {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.trust-bar-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-bar-number { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ===== COMPARISON SECTION ===== */
#comparison {
  padding: 100px 0;
  position: relative;
}
#comparison::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Bar Chart --- */
.comparison-chart {
  max-width: 800px;
  margin: 0 auto 3rem;
  display: none; /* bar chart now lives in hero */
}
.comparison-chart-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.comparison-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comparison-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comparison-bar-highlight {
  position: relative;
}
.comparison-bar-highlight::before {
  content: '';
  position: absolute;
  inset: -8px -12px;
  border-radius: var(--radius);
  background: rgba(0,212,255,0.03);
  border: 1px solid rgba(0,212,255,0.1);
  pointer-events: none;
}
.comparison-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 2px;
}
.comparison-bar-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.comparison-bar-highlight .comparison-bar-name {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.comparison-bar-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.comparison-bar-highlight .comparison-bar-price {
  color: var(--accent-cyan);
  font-weight: 700;
}
.comparison-bar-track {
  position: relative;
  height: 32px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.comparison-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: rgba(100,116,139,0.2);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.comparison-bar-fill-glow {
  background: var(--accent-gradient-h);
  box-shadow: 0 0 20px rgba(0,212,255,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.comparison-bar-row.visible .comparison-bar-fill,
.comparison-chart.visible .comparison-bar-fill,
.hero-chart.visible .comparison-bar-fill {
  width: var(--bar-width);
}
.comparison-bar-pct {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  z-index: 1;
}
.comparison-bar-highlight .comparison-bar-pct {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* --- Feature Grid / Table --- */
.comparison-grid-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 600px;
}
.comparison-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
.comparison-table th {
  padding: 14px 12px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}
.comparison-table th:first-child {
  text-align: left;
  padding-left: 20px;
}
.comparison-table th.cmp-col-tds {
  background: rgba(0,212,255,0.08);
  color: var(--accent-cyan);
  position: relative;
}
.comparison-table th.cmp-col-tds::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient-h);
}
.comparison-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid rgba(148,163,184,0.05);
  color: var(--text-secondary);
}
.comparison-table td:first-child {
  text-align: left;
  padding-left: 20px;
  font-weight: 500;
  color: var(--text-primary);
}
.comparison-table td.cmp-col-tds {
  background: rgba(0,212,255,0.04);
}
.comparison-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Status icons in grid */
.cmp-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  font-weight: 700;
  font-size: 0.85rem;
}
.cmp-col-tds .cmp-yes {
  background: rgba(0,212,255,0.15);
  color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0,212,255,0.2);
}
.cmp-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(100,116,139,0.08);
  color: var(--text-muted);
  font-size: 0.75rem;
  opacity: 0.5;
}
.cmp-partial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(245,158,11,0.1);
  color: #f59e0b;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Comparison CTA */
.comparison-cta-btn {
  font-size: 1rem;
  padding: 14px 36px;
}

/* Responsive - Comparison */
@media (max-width: 768px) {
  .comparison-chart { margin-bottom: 2rem; }
  .comparison-bar-meta { flex-direction: column; gap: 2px; }
  .comparison-bar-track { height: 26px; }
  .comparison-bar-pct { font-size: 0.7rem; right: 8px; }
  .comparison-table { font-size: 0.78rem; }
  .comparison-table th, .comparison-table td { padding: 10px 8px; }
  .cmp-yes, .cmp-no, .cmp-partial { width: 22px; height: 22px; font-size: 0.7rem; }
}

/* ===== SECTORS SECTION ===== */
#sectors { padding: 100px 0 80px; }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 3rem;
}

.sector-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient-h);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: var(--glow-cyan), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sector-card:hover::before { opacity: 1; }

/* Live sector card — subtle glow to highlight available platform */
.sector-card[data-status-color="cyan"] {
  border-color: rgba(0, 212, 255, 0.18);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.06);
}
.sector-card[data-status-color="cyan"]::before { opacity: 1; }

.sector-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sector-card-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.3));
}

.sector-card-status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.sector-status-cyan { color: var(--accent-cyan); background: rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.25); }
.sector-status-amber { color: #fbbf24; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.25); }
.sector-status-emerald { color: #34d399; background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.25); }

.sector-card-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sector-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.sector-card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.sector-card-features li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  position: relative;
  padding-left: 22px;
}

.sector-card-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.8rem;
}

.sector-card-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.9rem;
}

/* ===== CONSULTING SECTION ===== */
#consulting {
  padding: 100px 0 80px;
  position: relative;
}

#consulting::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.consulting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 3rem;
}

.consulting-card {
  position: relative;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(10, 15, 44, 0.9));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.consulting-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--accent-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.consulting-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-purple), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.consulting-card:hover::after { opacity: 1; }

.consulting-card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 16px rgba(0, 102, 255, 0.4));
}

.consulting-card-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.consulting-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.consulting-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 8px;
  display: inline-block;
}

.consulting-card-features {
  list-style: none;
  padding: 0;
}

.consulting-card-features li {
  padding: 5px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  position: relative;
  padding-left: 22px;
}

.consulting-card-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #0066ff;
  font-weight: 700;
  font-size: 0.8rem;
}

.consulting-cta-btn {
  font-size: 1rem;
  padding: 14px 40px;
}

/* ===== TECHNOLOGY / MNEMO SECTION ===== */
#technology {
  padding: 100px 0 80px;
  position: relative;
}

.tech-showcase {
  margin-top: 3rem;
}

.tech-mnemo-card {
  position: relative;
  background: linear-gradient(145deg, rgba(10, 15, 44, 0.95), rgba(17, 24, 39, 0.8));
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.tech-mnemo-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.tech-mnemo-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tech-mnemo-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.tech-mnemo-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.tech-mnemo-name {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.06em;
}

.tech-mnemo-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.tech-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-stat {
  text-align: center;
  padding: 16px 8px;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.tech-stat:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.tech-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.tech-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== TECHNOLOGY TIER ASSESSMENT ===== */
.tech-tier-section {
  margin-top: 3rem;
  text-align: center;
}
.tech-tier-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary, #f1f5f9);
  margin-bottom: 0.5rem;
}
.tech-tier-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted, #94a3b8);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
/* Tech Reference Strip - enterprise AI systems reference frame */
.tech-reference-strip {
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(0, 229, 255, 0.18);
  border-bottom: 1px solid rgba(0, 229, 255, 0.18);
  text-align: center;
  max-width: 880px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.025) 0%, rgba(0, 0, 0, 0) 100%);
}
.ref-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.1rem;
  font-weight: 500;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
}
.ref-names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  line-height: 1.4;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
}
.ref-name {
  white-space: nowrap;
  transition: color 0.2s ease;
}
.ref-separator {
  color: rgba(0, 229, 255, 0.45);
  font-weight: 700;
  font-size: 1.1rem;
}
@media (max-width: 700px) {
  .tech-reference-strip { padding: 1.2rem 1rem; margin-top: 2rem; }
  .ref-names { font-size: 0.95rem; gap: 0.5rem 0.75rem; }
  .ref-label { font-size: 0.65rem; }
  .ref-separator { font-size: 1rem; }
}
.tech-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 1.5rem;
}
.tech-tier-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.tech-tier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.tech-tier-card.active {
  border-color: #d4a017;
  box-shadow: 0 0 30px rgba(212, 160, 23, 0.2);
  background: rgba(17, 24, 39, 0.85);
}
.tech-tier-card.active .tech-tier-level {
  color: #d4a017;
}
.tech-tier-card.active .tech-tier-name {
  color: #f1f5f9;
}
.tech-tier-level {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(148, 163, 184, 0.3);
  line-height: 1;
  margin-bottom: 8px;
}
.tech-tier-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.7);
  margin-bottom: 8px;
}
.tech-tier-desc {
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.5;
  margin: 0;
}

/* ===== TECHNOLOGY DIFFERENTIATORS ===== */
.tech-diff-section {
  margin-top: 2.5rem;
}
.tech-diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tech-diff-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tech-diff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 212, 255, 0.2);
}
.tech-diff-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}
.tech-diff-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary, #f1f5f9);
  margin: 0 0 8px;
}
.tech-diff-desc {
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.55;
  margin: 0;
}

/* ===== TECHNOLOGY RESPONSIVE ===== */
@media (max-width: 1024px) {
  .tech-tier-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tech-tier-grid { grid-template-columns: 1fr; }
  .tech-diff-grid { grid-template-columns: 1fr; }
  .tech-tier-title { font-size: 1.3rem; }
}

/* ===== PRICING CONSULTING CARD ===== */
.pricing-consulting {
  border-color: rgba(0, 102, 255, 0.2);
  background: linear-gradient(145deg, var(--bg-card), rgba(0, 102, 255, 0.04));
}

.pricing-consulting:hover {
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: var(--glow-purple);
}

/* ===== RESPONSIVE - NEW SECTIONS ===== */
@media (max-width: 768px) {
  .sectors-grid { grid-template-columns: 1fr; gap: 20px; }
  .consulting-grid { grid-template-columns: 1fr; gap: 20px; }
  .tech-mnemo-card { padding: 28px 20px; }
  .tech-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tech-mnemo-name { font-size: 1.6rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .consulting-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== WHAT WE DO SECTION ===== */
.wwd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 3rem;
}
.wwd-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
}
.wwd-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.wwd-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.wwd-card:hover::before { opacity: 1; }
.wwd-card[data-accent="cyan"]::before { background: linear-gradient(135deg, var(--accent-cyan), #06b6d4); }
.wwd-card[data-accent="purple"]::before { background: linear-gradient(135deg, var(--accent-purple), #a855f7); }
.wwd-card[data-accent="emerald"]::before { background: linear-gradient(135deg, #10b981, #34d399); }
.wwd-card-icon-wrap {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(0,224,255,0.1), rgba(139,92,246,0.1));
  border: 1px solid rgba(255,255,255,0.06);
}
.wwd-card[data-accent="cyan"] .wwd-card-icon-wrap { background: linear-gradient(135deg, rgba(0,224,255,0.15), rgba(6,182,212,0.08)); }
.wwd-card[data-accent="purple"] .wwd-card-icon-wrap { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(168,85,247,0.08)); }
.wwd-card[data-accent="emerald"] .wwd-card-icon-wrap { background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(52,211,153,0.08)); }
.wwd-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.wwd-card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.wwd-card-cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .wwd-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .wwd-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== PRICING LEAN (2-card) ===== */
.pricing-lean-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-lean-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
}
.pricing-lean-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.pricing-lean-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.pricing-lean-card:hover::before { opacity: 1; }
.pricing-lean-card[data-accent="cyan"]::before { background: linear-gradient(135deg, var(--accent-cyan), #06b6d4); }
.pricing-lean-card[data-accent="purple"]::before { background: linear-gradient(135deg, var(--accent-purple), #a855f7); }
.pricing-lean-icon { font-size: 2.2rem; margin-bottom: 16px; }
.pricing-lean-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pricing-lean-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.pricing-lean-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}
.pricing-lean-from {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: lowercase;
}
.pricing-lean-amount {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}
.pricing-lean-card[data-accent="purple"] .pricing-lean-amount {
  background: linear-gradient(135deg, var(--accent-purple), #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
}
.pricing-lean-period {
  font-size: 1rem;
  color: var(--text-muted);
}
.pricing-lean-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.pricing-lean-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}
.pricing-lean-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-size: 0.88rem;
  position: relative;
  padding-left: 24px;
}
.pricing-lean-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}
.pricing-lean-card[data-accent="purple"] .pricing-lean-features li::before {
  color: var(--accent-purple);
}
.pricing-lean-features li.coming-soon {
  color: #fbbf24;
  font-style: italic;
  font-weight: 600;
  border-bottom: none;
}
.pricing-lean-features li.coming-soon::before {
  content: '\23F3';
  color: #fbbf24;
  font-style: normal;
}
.pricing-lean-cta {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
}
@media (max-width: 768px) {
  .pricing-lean-grid { grid-template-columns: 1fr; gap: 20px; max-width: 400px; }
}

/* ===== Hero Visual — Sector Constellation ===== */
.hero-visual {
  flex: 0 0 420px;
  max-width: 420px;
  height: 400px;
  position: relative;
}
.hero-constellation {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Animated rings */
.constellation-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.08);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: constellationPulse 4s ease-in-out infinite;
}
.constellation-ring-1 {
  width: 260px; height: 260px;
  border-color: rgba(0, 212, 255, 0.1);
}
.constellation-ring-2 {
  width: 360px; height: 360px;
  border-color: rgba(0, 102, 255, 0.06);
  animation-delay: -2s;
}
@keyframes constellationPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

/* Central AI core */
.constellation-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), 0 0 80px rgba(0, 102, 255, 0.2);
  z-index: 10;
  animation: coreGlow 3s ease-in-out infinite;
}
.constellation-core-label {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
}
@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), 0 0 80px rgba(0, 102, 255, 0.2); }
  50% { box-shadow: 0 0 60px rgba(0, 212, 255, 0.6), 0 0 120px rgba(0, 102, 255, 0.35); }
}

/* Orbit track — rotates all nodes + lines as one unit */
.constellation-orbit-track {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  animation: orbitSpin 50s linear infinite;
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Sector nodes */
.constellation-node {
  position: absolute;
  left: var(--node-x); top: var(--node-y);
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 10;
}

/* Counter-rotate inner content so labels stay upright */
.constellation-node-inner {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: orbitCounterSpin 50s linear infinite;
  cursor: pointer; transition: transform 0.2s;
}
.constellation-node-inner:hover {
  transform: scale(1.1);
}
@keyframes orbitCounterSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* Energy trail behind each node */
.constellation-node-trail {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, rgba(0, 102, 255, 0.12) 40%, transparent 70%);
  filter: blur(10px);
  animation: trailPulse 3s ease-in-out infinite;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
.constellation-node-1 .constellation-node-trail { animation-delay: 0s; }
.constellation-node-2 .constellation-node-trail { animation-delay: -0.8s; }
.constellation-node-3 .constellation-node-trail { animation-delay: -1.6s; }
.constellation-node-4 .constellation-node-trail { animation-delay: -2.4s; }
@keyframes trailPulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.8); }
}

.constellation-node-pulse {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  animation: nodePulseGlow 3s ease-in-out infinite;
  top: -4px; left: 50%;
  transform: translateX(-50%);
}
.constellation-node-1 .constellation-node-pulse { animation-delay: -0.5s; }
.constellation-node-2 .constellation-node-pulse { animation-delay: -1.5s; }
.constellation-node-3 .constellation-node-pulse { animation-delay: -2.5s; }
.constellation-node-4 .constellation-node-pulse { animation-delay: -3.5s; }
@keyframes nodePulseGlow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.3); }
}

.constellation-node-icon {
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.constellation-node:hover .constellation-node-icon {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.2);
  transform: scale(1.1);
}
.constellation-node-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Connecting lines (SVG) — inside orbit track, rotate with nodes */
.constellation-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 5;
}
.constellation-line line {
  stroke: rgba(0, 212, 255, 0.15);
  stroke-width: 0.5;
  stroke-dasharray: 4 3;
  animation: lineDash 8s linear infinite;
}
.constellation-line-1 line { animation-delay: 0s; }
.constellation-line-2 line { animation-delay: -2s; }
.constellation-line-3 line { animation-delay: -4s; }
.constellation-line-4 line { animation-delay: -6s; }
@keyframes lineDash {
  to { stroke-dashoffset: -28; }
}

/* Bottom stats row */
.constellation-stats {
  position: absolute;
  bottom: -35px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 20px;
  z-index: 10;
}
.constellation-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 20px;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 10px;
}
.constellation-stat-num {
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}
.constellation-stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Responsive — constellation */
@media (max-width: 1024px) {
  .hero-visual { flex: 0 0 340px; max-width: 340px; height: 340px; }
  .constellation-ring-1 { width: 200px; height: 200px; }
  .constellation-ring-2 { width: 290px; height: 290px; }
  .constellation-core { width: 56px; height: 56px; }
  .constellation-core-label { font-size: 1rem; }
  .constellation-node-icon { width: 36px; height: 36px; font-size: 1.1rem; }
}
@media (max-width: 768px) {
  .hero-visual { flex: none; width: 300px; max-width: 100%; height: 300px; margin: 0 auto; }
  .constellation-ring-1 { width: 160px; height: 160px; }
  .constellation-ring-2 { width: 240px; height: 240px; }
  /* Keep orbit rotation (GPU-composited, lightweight) */
  .constellation-orbit-track { animation: orbitSpin 60s linear infinite; }
  .constellation-node-inner { animation: orbitCounterSpin 60s linear infinite; }
  /* Disable heavy animations (blur, scale, pulse) for scroll performance */
  .constellation-node-trail { animation: none; opacity: 0.3; transform: translateX(-50%) scale(1); }
  .constellation-node-pulse { animation: none; opacity: 0.4; }
  .constellation-ring { animation: none; opacity: 0.6; }
  .constellation-line line { animation: none; }
  .constellation-core { width: 52px; height: 52px; }
  .constellation-core-label { font-size: 0.9rem; }
  /* Pull edge nodes inward so they don't clip */
  .constellation-node-1 { left: 50% !important; top: 4% !important; }
  .constellation-node-2 { left: 90% !important; top: 45% !important; }
  .constellation-node-3 { left: 72% !important; top: 88% !important; }
  .constellation-node-4 { left: 10% !important; top: 45% !important; }
  .constellation-node-icon { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }
  .constellation-node-label { font-size: 0.6rem; }
  .constellation-stats { gap: 8px; }
  .constellation-stat { padding: 6px 10px; }
  .constellation-stat-num { font-size: 0.8rem; }
  .constellation-stat-label { font-size: 0.58rem; }
}

/* ═══════════════════════════════════════════════════════════════
   COMPLIANCE BADGE (Privacy Initiative, Commercial Launch Sprint 1.D)
   - .pad-compliance-badge-footer: mini globale (tutte le pagine)
   - .pad-compliance-badge-expanded: panel esteso in pagina privacy
   Claim onesti: zero "DPO formale", zero "ISO 27001/SOC 2 certified".
   ═══════════════════════════════════════════════════════════════ */

.pad-compliance-badge-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 24px;
    margin: 0 auto;
    max-width: 1200px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(241, 245, 249, 0.72);
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    background: rgba(0, 212, 255, 0.025);
}
.pad-compliance-badge-footer .badge-icon {
    color: var(--accent-cyan);
    font-size: 16px;
    flex-shrink: 0;
}
.pad-compliance-badge-footer .badge-text { flex: 1; min-width: 0; }
.pad-compliance-badge-footer .badge-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
    flex-shrink: 0;
}
.pad-compliance-badge-footer .badge-link:hover {
    color: #0066ff;
    text-decoration: underline;
}
@media (max-width: 640px) {
    .pad-compliance-badge-footer {
        padding: 12px 16px;
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

.pad-compliance-badge-expanded {
    margin: 32px 0;
    padding: 28px 32px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, rgba(0, 102, 255, 0.02) 100%);
}
.pad-compliance-badge-expanded h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-cyan);
}
.pad-compliance-badge-expanded h3 .badge-icon { font-size: 1.5rem; }
.pad-badge-claims {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.pad-badge-claims li {
    padding: 9px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(241, 245, 249, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pad-badge-claims li:last-child { border-bottom: none; }
.pad-badge-claims .check {
    color: #10b981;
    font-weight: 700;
    margin-right: 8px;
}
.pad-badge-claims .info {
    color: var(--accent-cyan);
    font-weight: 700;
    margin-right: 8px;
}
.pad-badge-disclosure {
    margin: 16px 0 12px 0;
    padding: 14px 18px;
    background: rgba(245, 158, 11, 0.06);
    border-left: 3px solid #f59e0b;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(241, 245, 249, 0.9);
}
.pad-badge-disclosure strong { color: #f59e0b; }
.pad-badge-disclosure a {
    color: var(--accent-cyan);
    text-decoration: underline;
}
.pad-badge-version {
    margin: 12px 0 0 0;
    font-size: 0.78rem;
    color: rgba(241, 245, 249, 0.5);
    font-family: monospace;
}
@media (max-width: 640px) {
    .pad-compliance-badge-expanded {
        padding: 20px 18px;
        margin: 24px 0;
    }
    .pad-compliance-badge-expanded h3 { font-size: 1.1rem; }
}

/* ============================================================
 * BACK-HOME-FASE-0-START
 * Back Home Strategy FASE 0 (MCC #1496) classes used by templates
 * insights_hub_index, insights_lang_index, post, paolo, newsletter_thanks.
 * Aggiunto 2026-05-13. Marker idempotenti per re-build sicuro.
 * Scale tipografiche allineate al design system esistente.
 * ============================================================ */

body.page-insights-hub,
body.page-insights-lang,
body.page-post,
body.page-paolo,
body.page-thanks {
  background: var(--bg-primary);
}
body.page-insights-hub main,
body.page-insights-lang main,
body.page-post main,
body.page-paolo main,
body.page-thanks main {
  padding-top: 90px;
}

.tag-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 6px 6px 0;
}

.insight-hub-hero {
  padding: 64px 24px 32px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.insight-hub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 16px;
}
.insight-hub-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-gradient-h);
  border-radius: 1px;
}
.insight-hub-eyebrow a { color: inherit; text-decoration: none; }
.insight-hub-eyebrow a:hover { color: var(--text-primary); }
.insight-hub-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--text-primary);
}
.insight-hub-deck {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 auto 24px;
  max-width: 720px;
}
.insight-hub-lang {
  display: inline-flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 999px;
  margin-top: 8px;
}
.insight-hub-lang-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}
.insight-hub-lang-btn:hover,
.insight-hub-lang-btn[aria-current="page"] {
  background: var(--accent-gradient);
  color: #fff;
}

.insight-hub-grid {
  padding: 24px 24px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.insight-hub-grid-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 24px;
}
.insight-hub-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.insight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient-h);
  opacity: 0;
  transition: opacity var(--transition);
}
.insight-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.2);
}
.insight-card:hover::before { opacity: 1; }
.insight-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.insight-card-lang {
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.insight-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.insight-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 16px;
  flex: 1;
}
.insight-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  align-self: flex-start;
}

.insight-hub-newsletter {
  padding: 48px 24px 80px;
  max-width: 880px;
  margin: 0 auto;
}
.insight-hub-newsletter-inner {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(0, 102, 255, 0.04));
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
}
.insight-hub-newsletter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 10px;
}
.insight-hub-newsletter-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-gradient-h);
  border-radius: 1px;
}
.insight-hub-newsletter-title {
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--text-primary);
}
.insight-hub-newsletter-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 auto 20px;
  max-width: 620px;
}
.newsletter-form-hub .newsletter-input-row {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-form-hub input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(3, 7, 18, 0.6);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font);
}
.newsletter-form-hub input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-cyan);
}
.newsletter-form-hub .newsletter-btn {
  white-space: nowrap;
  padding: 12px 22px;
  font-size: 0.92rem;
}
.newsletter-consent-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 14px auto 0;
  max-width: 520px;
  line-height: 1.5;
}
.newsletter-consent-hint a { color: var(--accent-cyan); text-decoration: underline; }
.newsletter-status {
  margin-top: 12px;
  font-size: 0.85rem;
  min-height: 1.2em;
}
.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;
}

.insight-article {
  padding: 56px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}
.insight-article-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}
.insight-article-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.insight-article-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-gradient-h);
  border-radius: 1px;
}
.insight-article-eyebrow a { color: inherit; text-decoration: none; }
.insight-article-eyebrow a:hover { color: var(--text-primary); }
.insight-article-lang {
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.insight-article-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--text-primary);
}
.insight-article-deck {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 22px;
}
.insight-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.insight-article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.insight-article-tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 8px;
}

.insight-article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.insight-article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
  line-height: 1.3;
}
.insight-article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 12px;
  line-height: 1.35;
}
.insight-article-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 10px;
}
.insight-article-body p { margin: 0 0 18px; }
.insight-article-body ul,
.insight-article-body ol {
  padding-left: 22px;
  margin: 0 0 18px;
}
.insight-article-body li { margin-bottom: 8px; }
.insight-article-body a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.insight-article-body a:hover { color: var(--text-primary); }
.insight-article-body strong { color: var(--text-primary); }
.insight-article-body em { color: var(--text-secondary); }
.insight-article-body code {
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
}
.insight-article-body pre {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px 20px;
  overflow-x: auto;
  margin: 0 0 22px;
}
.insight-article-body pre code {
  background: none;
  color: var(--text-primary);
  padding: 0;
}
.insight-article-body blockquote {
  border-left: 3px solid var(--accent-cyan);
  padding: 4px 0 4px 20px;
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-style: italic;
}
.insight-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 0.95rem;
}
.insight-article-body th,
.insight-article-body td {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  text-align: left;
}
.insight-article-body th {
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  font-weight: 700;
}
.insight-article-body hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 32px 0;
}

.insight-article-related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}
.insight-article-related-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px;
}
.insight-article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.related-card {
  display: block;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.related-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.08);
}
.related-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.35;
}
.related-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
.related-empty { font-size: 0.9rem; color: var(--text-muted); }

.insight-article-newsletter {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(0, 102, 255, 0.04));
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.insight-article-newsletter-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.insight-article-newsletter-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 auto 18px;
  max-width: 560px;
}

.paolo-hero {
  padding: 56px 24px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.paolo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.paolo-hero-photo { display: flex; justify-content: center; }
.paolo-hero-img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--glow-cyan);
}
.paolo-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 16px;
}
.paolo-hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-gradient-h);
  border-radius: 1px;
}
.paolo-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 22px;
  color: var(--text-primary);
}
.paolo-hero-title .gradient-text {
  background: var(--accent-gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.paolo-hero-deck {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 24px;
}
.paolo-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.paolo-section {
  padding: 48px 24px;
  max-width: 980px;
  margin: 0 auto;
}
.paolo-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 14px;
}
.paolo-section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-gradient-h);
  border-radius: 1px;
}
.paolo-section-title {
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--text-primary);
}
.paolo-section-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.paolo-section-body p { margin: 0 0 16px; }
.paolo-section-channels-intro,
.paolo-section-latest-intro { margin-bottom: 28px; }
.paolo-section-cta { margin-top: 28px; }

.paolo-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}
.paolo-channel-card {
  display: flex;
  flex-direction: column;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.paolo-channel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient-h);
  opacity: 0;
  transition: opacity var(--transition);
}
.paolo-channel-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.2);
}
.paolo-channel-card:hover::before { opacity: 1; }
.paolo-channel-home { border-color: rgba(0, 212, 255, 0.25); }
.paolo-channel-amp { opacity: 0.92; }
.paolo-channel-icon { font-size: 1.6rem; margin-bottom: 10px; }
.paolo-channel-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.paolo-channel-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 14px;
  flex: 1;
}
.paolo-channel-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.thanks-hero {
  padding: 64px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}
.thanks-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.06), 0 20px 40px rgba(0, 0, 0, 0.2);
}
.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent-cyan);
  font-size: 2rem;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 212, 255, 0.3);
}
.thanks-title {
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 16px;
  line-height: 1.2;
}
.thanks-deck {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 32px;
}
.thanks-deck strong { color: var(--text-primary); }

.thanks-expectations {
  text-align: left;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
}
.thanks-expectations-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.thanks-expectations-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}
.thanks-expectations-list li { margin-bottom: 10px; }
.thanks-expectations-list li:last-child { margin-bottom: 0; }
.thanks-expectations-list strong { color: var(--text-primary); }
.thanks-expectations-list a { color: var(--accent-cyan); text-decoration: underline; }

.thanks-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.thanks-compliance {
  border-top: 1px solid var(--border-color);
  padding-top: 22px;
}
.thanks-compliance-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: left;
  margin: 0;
}
.thanks-compliance-text a { color: var(--accent-cyan); text-decoration: underline; }

@media (max-width: 720px) {
  .paolo-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .paolo-hero-cta { justify-content: center; }
  .insight-hub-hero { padding: 40px 20px 24px; }
  .insight-article { padding: 40px 20px 64px; }
  .thanks-card { padding: 36px 24px; }
  .newsletter-form-hub .newsletter-input-row { flex-direction: column; }
  .insight-article-meta { gap: 12px; }
}

/* BACK-HOME-FASE-0-END */
