/* =========================================================
   T Energy — Modern Clean Tech Design System
   Energia & Sostenibilità · Premium Editorial Style
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand Colors - Sophisticated Dark Blue & Luminous Gold Yellow */
  --primary: #1e40af;          /* Trusted Deep Blue */
  --primary-600: #1e3a8a;      /* Navy Blue */
  --primary-700: #172554;      /* Deep Navy */
  --primary-800: #0f172a;      /* Dark Slate Blue */
  --primary-50: #f0f9ff;       /* Soft Blue Tint */
  --primary-100: #e0f2fe;      /* Light Blue Tint */

  --accent: #eab308;           /* Luminous Gold Yellow */
  --accent-hi: #facc15;        /* Bright Yellow */
  --accent-deep: #ca8a04;      /* Dark Yellow */
  
  --ink: #0b132b;              /* Deep Navy Black (Corporate dark) */
  --ink-2: #1c2541;            /* Slate Navy 800 */
  --ink-3: #3a506b;            /* Slate Navy 700 */
  --muted: #3a506b;            /* Muted Deep Slate Navy */
  --muted-2: #6b7c96;          /* Muted Medium Slate Navy */
  --line: #cbd5e1;             /* Slate 300 (Cool grey line) */
  --line-2: #f1f5f9;           /* Slate 100 */

  --bg: #f4f6fc;               /* Cool grey-blue page background */
  --bg-soft: #e8ecf7;          /* Slate 100 */
  --bg-cream: #fcfdfe;

  /* Legacy aliases for general styling */
  --text-dark: var(--ink);
  --text-secondary: var(--muted);
  --text-muted: var(--muted-2);
  --bg-page: var(--bg);
  --border: var(--line);
  --secondary: #0b132b;

  /* Advanced Gradients */
  --grad-primary: linear-gradient(135deg, #0b132b 0%, #1c2541 60%, #3a506b 100%);
  --grad-accent: linear-gradient(102deg, #facc15 0%, #eab308 100%);
  --grad-aurora: radial-gradient(60% 80% at 20% 0%, rgba(234,179,8,.15) 0%, transparent 60%),
                 radial-gradient(50% 60% at 90% 20%, rgba(30,58,138,.2) 0%, transparent 60%),
                 radial-gradient(70% 80% at 50% 100%, rgba(250,204,21,.1) 0%, transparent 60%),
                 linear-gradient(180deg, #0b132b 0%, #080d1e 60%, #1c2541 100%);

  /* Typography */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Border Radii */
  --r-xs: 0px;
  --r-sm: 0px;
  --r-md: 0px;
  --r-lg: 0px;
  --r-xl: 0px;
  --r-pill: 0px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(9,13,22,.03);
  --shadow-sm: 0 4px 18px rgba(9,13,22,.04);
  --shadow-md: 0 12px 36px rgba(9,13,22,.06);
  --shadow-lg: 0 28px 68px rgba(9,13,22,.10);
  --shadow-glow: 0 18px 60px -10px rgba(234,179,8,.2);
  --shadow-emerald: 0 18px 40px -10px rgba(30,58,138,.2);

  --gutter: 32px;
  --section: 140px;
  --maxw: 1280px;
  --ease: cubic-bezier(.16,1,.3,1); /* Smooth custom ease */
}

/* =========================================================
   General resets
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--primary); color: #fff; }

/* =========================================================
   Utilities
   ========================================================= */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary-600);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 8px 16px; border-radius: var(--r-pill);
}
.eyebrow-light {
  color: rgba(255,255,255,.95);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(234,179,8,.2);
}

.divider-line {
  width: 64px; height: 4px;
  background: var(--grad-accent);
  border-radius: var(--r-pill);
  margin: 24px 0 32px;
}

/* =========================================================
   Header & Navigation
   ========================================================= */
.main-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,250,249,.82);
  backdrop-filter: saturate(190%) blur(16px);
  -webkit-backdrop-filter: saturate(190%) blur(16px);
  border-bottom: 1px solid rgba(226,232,240,.6);
  padding: 16px 32px;
  transition: all .3s var(--ease);
}
.header-container {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { height: 38px; width: auto; display: block; }
.logo-icon { filter: drop-shadow(0 4px 10px rgba(30,58,138,.2)); }
.logo-text {
  font-family: var(--font-display);
  font-weight: 800; font-size: 21px;
  color: var(--primary-700);
  letter-spacing: -0.03em;
  display: flex; align-items: center;
}
.logo-text span { color: var(--accent); }

.nav-links { display: flex; gap: 40px; }
.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--ink-3);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 2px;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--accent); border-radius: 2px;
  transition: right .3s var(--ease);
}
.nav-link:hover { color: var(--primary-600); }
.nav-link:hover::after { right: 0; }

.header-cta .btn-primary { padding: 10px 20px; font-size: 13.5px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn-primary, .btn-secondary, .btn-ghost {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 14.5px;
  border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer;
  border: none;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-accent);
  color: #ffffff;
  box-shadow: var(--shadow-emerald);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px -10px rgba(234,179,8,.6);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.2);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-600);
  border: 1.5px solid var(--primary-100);
}
.btn-ghost:hover {
  background: var(--primary-50);
  border-color: var(--primary-600);
  transform: translateY(-1px);
}

.btn-arrow { transition: transform .3s var(--ease); }
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow,
.btn-ghost:hover .btn-arrow { transform: translateX(5px); }

/* =========================================================
   Hero section with aurora animation
   ========================================================= */
.hero {
  position: relative;
  min-height: 780px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: #090d16; /* Deep dark fallback */
  display: flex; align-items: center;
  padding: 100px 0 100px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 19, 43, 0.9) 0%, rgba(11, 19, 43, 0.4) 60%, rgba(11, 19, 43, 0.95) 100%),
              radial-gradient(circle at 80% 20%, rgba(234, 179, 8, 0.15), transparent 45%);
  z-index: -2;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute; inset: -20% -10% -10% -10%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.05) 0, transparent 20%),
    radial-gradient(circle at 75% 60%, rgba(234,179,8,.15) 0, transparent 25%),
    radial-gradient(circle at 50% 100%, rgba(30,58,138,.25) 0, transparent 35%);
  filter: blur(50px);
  z-index: -4; /* Position fallback aurora below video */
  animation: aurora 22s ease-in-out infinite alternate;
}

@keyframes aurora {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-3%, 2%) scale(1.03); }
  100% { transform: translate(2%,-2%) scale(.97); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='30' width='30'%3E%3Cpolyline points='0,0 15,5 15,25 0,30' style='fill:none;stroke:rgba(255,255,255,0.03);stroke-width:1.5'/%3E%3Cpolyline points='30,0 15,5 15,25 30,30' style='fill:none;stroke:rgba(255,255,255,0.03);stroke-width:1.5'/%3E%3C/svg%3E"), 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='30' width='30'%3E%3Cpolyline points='0,0 15,5 15,25 0,30' style='fill:none;stroke:rgba(255,255,255,0.03);stroke-width:1.5'/%3E%3Cpolyline points='30,0 15,5 15,25 30,30' style='fill:none;stroke:rgba(255,255,255,0.03);stroke-width:1.5'/%3E%3C/svg%3E");
  background-position: 0 0, 15px 25px;
  background-size: 30px 50px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; }

.hero-content { max-width: 100%; margin: 0; }

.hero-grid-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-graphic-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-frame {
  width: 100%;
  height: 100%;
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--ink-2);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-glow-back {
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  z-index: -1;
  filter: blur(8px);
  opacity: 0.8;
  animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { transform: scale(1); filter: blur(6px); opacity: 0.7; }
  100% { transform: scale(1.03); filter: blur(10px); opacity: 0.9; }
}

/* Hero Interactive Calculator */
.hero-calculator {
  background: rgba(28, 37, 65, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 32px;
  max-width: 480px;
}

.calc-input-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-200);
  margin-bottom: 8px;
}

.calc-input-group .input-wrapper {
  display: flex;
  gap: 12px;
}

.calc-input-group input {
  flex: 1;
  background: rgba(11, 19, 43, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.3s ease;
}

.calc-input-group input:focus {
  border-color: var(--accent);
}

.calc-input-group button {
  background: var(--accent);
  color: var(--ink);
  border: none;
  border-radius: var(--r-sm);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calc-input-group button:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.calc-result {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  animation: fadeIn 0.4s ease forwards;
}

.calc-result strong {
  font-size: 20px;
  color: var(--accent);
  font-family: var(--font-display);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 72px);
  font-weight: 800;
  color: #fff;
  margin: 24px 0;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.hero h1 .accent {
  position: relative;
  background: linear-gradient(120deg, #fef08a 0%, #eab308 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 6px;
  background: rgba(234,179,8,.18); border-radius: 3px; z-index: -1;
}

.hero p.lede {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  margin: 0 0 44px;
  max-width: 680px;
  margin-left: 0;
  margin-right: auto;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: flex-start; margin-bottom: 48px; }

.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: flex-start;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stats .stat { color: #fff; }
.hero-stats .stat .n {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.hero-stats .stat .l {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-top: 4px;
  font-weight: 600;
}

/* Hero visual floating images */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 540px; margin: 0 auto;
}

.bolt-card {
  position: absolute;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 35px 70px -15px rgba(0,0,0,.45);
  width: 330px;
  height: 205px;
  animation: float 8s ease-in-out infinite;
}
.bolt-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(1deg); }
}

.bolt-1 { top: 6%; left: 4%; animation-delay: 0s; }
.bolt-2 { bottom: 16%; right: -2%; animation-delay: -2.5s; }
.bolt-3 { bottom: 4%; left: 10%; animation-delay: -5s; }

.bolt-orb {
  position: absolute; inset: 16% 16% 16% 16%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(234,179,8,.45) 0%, rgba(234,179,8,0) 65%),
              radial-gradient(circle at 70% 70%, rgba(30,58,138,.4) 0%, rgba(30,58,138,0) 65%),
              conic-gradient(from 220deg at 50% 50%, rgba(234,179,8,.2), rgba(30,58,138,.2), rgba(234,179,8,.2));
  filter: blur(8px);
  box-shadow: inset 0 0 60px rgba(255,255,255,.05), 0 25px 60px rgba(0,0,0,.25);
  animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50%      { transform: scale(1.05); opacity: 1; }
}

.bolt-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.bolt-icon svg { width: 96px; height: 96px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.3)); }

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 80px; z-index: 2;
}
.hero-wave svg { width: 100%; height: 100%; }
.hero-wave path { fill: var(--bg); }

/* =========================================================
   Trust Marquee
   ========================================================= */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  overflow: hidden;
}
.trust-track {
  display: flex; gap: 64px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-item {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink-3); font-size: 14.5px; font-weight: 600;
}
.trust-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); }
.trust-item::after {
  content: ''; display: inline-block; width: 4px; height: 4px;
  border-radius: 50%; background: var(--muted-2);
  margin-left: 64px;
}

/* =========================================================
   Section Layouts
   ========================================================= */
.section {
  padding: var(--section) 0;
}
.section-head {
  max-width: 800px; margin: 0 auto 72px; text-align: center;
}
.section-head.left { margin: 0 0 56px; text-align: left; }
.section-title {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 16px 0 20px;
}
.section-title .accent {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title .underline {
  position: relative; display: inline-block;
  color: var(--primary-600);
}
.section-title .underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
  background: var(--primary-50); border-radius: 4px; z-index: -1;
}
.section-sub {
  font-size: 18px; color: var(--muted); margin: 0; line-height: 1.7;
}
.section-on-dark .section-title { color: #fff; }
.section-on-dark .section-sub { color: rgba(255,255,255,.75); }

/* =========================================================
   Features
   ========================================================= */
.features {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 44px 36px 36px;
  transition: all .4s var(--ease);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: var(--grad-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(234,179,8,.2);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 100%);
  border: 1px solid var(--primary-100);
  color: var(--primary);
}
.feature-icon.warm {
  background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 100%);
  border-color: #a7f3d0;
  color: var(--accent-deep);
}
.feature-icon svg { width: 26px; height: 26px; }

.feature-card h4 {
  font-size: 20px; font-weight: 700; color: var(--ink);
  margin: 0 0 14px; letter-spacing: -.02em;
}
.feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* =========================================================
   How it works
   ========================================================= */
.how-it-works {
  position: relative;
  background: var(--grad-primary);
  color: #fff;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(234,179,8,.15) 0%, transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(255,255,255,.05) 0%, transparent 40%);
  pointer-events: none;
}
.how-it-works > .container { position: relative; z-index: 2; }
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hiw-step {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all .35s var(--ease);
}
.hiw-step:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.08);
  border-color: rgba(234,179,8,.4);
}
.hiw-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--grad-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800; font-size: 17px;
  margin-bottom: 24px;
  box-shadow: 0 10px 20px -8px rgba(234,179,8,.5);
}
.hiw-step h5 {
  font-size: 17px; font-weight: 700; color: #fff;
  margin: 0 0 12px;
}
.hiw-step p {
  font-size: 14.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   Split sections (perché GR)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.split-visual {
  position: relative;
  aspect-ratio: 16 / 11;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Reviews
   ========================================================= */
.reviews {
  background: var(--bg-soft);
  position: relative;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 32px;
  align-items: stretch;
}
.rv-panel {
  background: var(--grad-primary);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 48px 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.rv-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 110%, rgba(234,179,8,.25), transparent 55%);
  pointer-events: none;
}
.rv-panel > * { position: relative; z-index: 2; }
.rv-panel .stars { color: var(--accent-hi); font-size: 20px; letter-spacing: .12em; }
.rv-panel h3 { color: #fff; font-size: 28px; margin: 20px 0 12px; letter-spacing: -.02em; }
.rv-panel p { color: rgba(255,255,255,.75); font-size: 15px; margin: 0; line-height: 1.65; }
.rv-panel .big {
  font-family: var(--font-display); font-weight: 800; font-size: 60px; line-height: 1;
  color: #fff;
  letter-spacing: -.03em;
  margin-top: 32px;
}
.rv-panel .big small { font-size: 17px; font-weight: 600; color: rgba(255,255,255,.65); margin-left: 6px; }

.rv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rv-card {
  background: #ffffff;
  border-radius: var(--r-md);
  padding: 36px 30px;
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
  display: flex; flex-direction: column;
}
.rv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234,179,8,.2);
  box-shadow: var(--shadow-md);
}
.rv-card .quote { color: var(--primary-100); font-size: 32px; line-height: 1; font-family: serif; }
.rv-card .stars { color: var(--accent); font-size: 13px; letter-spacing: .08em; margin: 4px 0 12px; }
.rv-card h5 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.rv-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 24px; }
.rv-card .author { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.rv-card .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.rv-card .author-name { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.rv-card .author-meta { font-size: 11.5px; color: var(--muted); }

/* =========================================================
   Final CTA
   ========================================================= */
.cta-final {
  position: relative;
  background: var(--grad-primary);
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding: 120px 0;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(234,179,8,.15), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(30,58,138,.3), transparent 40%);
  pointer-events: none;
}
.cta-final > .container { position: relative; z-index: 2; max-width: 780px; }
.cta-final h2 {
  font-size: clamp(34px, 5vw, 52px);
  color: #fff; margin: 0 0 20px;
  letter-spacing: -.03em;
}
.cta-final p {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  margin: 0 0 44px;
}
.cta-final .actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Footer Section
   ========================================================= */
.main-footer {
  background: #090d16;
  color: rgba(255,255,255,.7);
  padding: 100px 32px 36px;
  position: relative;
  overflow: hidden;
}
.main-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-container {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand svg {
  filter: brightness(0) invert(1);
}
.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0 0;
  max-width: 320px;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: var(--accent); }

.footer-col h4 {
  font-family: var(--font-display);
  color: #fff; font-size: 13.5px;
  text-transform: uppercase; letter-spacing: .12em;
  font-weight: 700; margin: 0 0 24px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 14.5px;
  margin-bottom: 14px;
  transition: all .25s var(--ease);
}
.footer-col a:hover { color: var(--accent); transform: translateX(3px); }

.footer-bottom {
  max-width: var(--maxw); margin: 80px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
  color: rgba(255,255,255,.35);
  font-size: 12.5px;
  line-height: 1.6;
}

/* =========================================================
   Interior page hero
   ========================================================= */
.page-hero {
  position: relative;
  background: var(--grad-aurora);
  color: #fff;
  padding: 130px 32px 150px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='30' width='30'%3E%3Cpolyline points='0,0 15,5 15,25 0,30' style='fill:none;stroke:rgba(255,255,255,0.04);stroke-width:1.5'/%3E%3Cpolyline points='30,0 15,5 15,25 30,30' style='fill:none;stroke:rgba(255,255,255,0.04);stroke-width:1.5'/%3E%3C/svg%3E"), 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='30' width='30'%3E%3Cpolyline points='0,0 15,5 15,25 0,30' style='fill:none;stroke:rgba(255,255,255,0.04);stroke-width:1.5'/%3E%3Cpolyline points='30,0 15,5 15,25 30,30' style='fill:none;stroke:rgba(255,255,255,0.04);stroke-width:1.5'/%3E%3C/svg%3E");
  background-position: 0 0, 15px 25px;
  background-size: 30px 50px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 75%);
  z-index: 0;
}
.page-hero > .container { position: relative; z-index: 2; max-width: 860px; }
.page-hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  color: #fff;
  margin: 24px 0 20px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.page-hero h1 .accent {
  background: linear-gradient(120deg, #fef08a, #eab308);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p {
  font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,.8);
  margin: 0 auto; max-width: 660px;
}
.page-hero .wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 70px; z-index: 2; }
.page-hero .wave svg { width: 100%; height: 100%; }
.page-hero .wave path { fill: var(--bg); }

/* =========================================================
   Offers Page specific details
   ========================================================= */
.tab-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: var(--r-pill);
  max-width: max-content;
  margin-left: auto; margin-right: auto;
  border: 1px solid var(--line);
}
.tab-btn {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600; font-size: 14px;
  color: var(--muted);
  transition: all .25s var(--ease);
  font-family: var(--font-body);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--primary-600); }
.tab-btn.active {
  background: #ffffff; color: var(--primary-700);
  box-shadow: var(--shadow-sm);
}

.offer-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all .4s var(--ease);
  display: flex; flex-direction: column;
}
.offer-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--ribbon-color, var(--primary));
}
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(234,179,8,.15);
}
.offer-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 18px 45px -12px rgba(234,179,8,.25);
}
.offer-card.featured::before {
  background: var(--grad-accent);
  height: 6px;
}

.offer-ribbon {
  padding: 32px 32px 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ribbon-text, var(--primary-700));
}
.offer-ribbon .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--ribbon-bg, var(--primary-50));
  color: var(--ribbon-text, var(--primary-700));
  border-radius: var(--r-pill);
  border: 1px solid var(--ribbon-border, var(--primary-100));
}
.offer-ribbon .pill.warm {
  background: var(--primary-50); color: var(--accent-deep); border-color: #a7f3d0;
}
.offer-ribbon .lock {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--accent-deep);
  background: var(--primary-50); padding: 6px 12px;
  border-radius: var(--r-pill); border: 1px solid #a7f3d0;
}

.offer-card-body { padding: 12px 32px 32px; display: flex; flex-direction: column; flex: 1; }

.offer-name {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 800;
  color: var(--ink); letter-spacing: -.02em;
  margin: 0 0 6px;
}
.offer-type { color: var(--muted); font-size: 13.5px; margin: 0 0 24px; }

.price-block {
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  padding: 22px;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.price-label {
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.price-main {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800;
  color: var(--primary-700); letter-spacing: -.02em;
  line-height: 1.1;
}
.price-alt {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--muted);
}
.price-locked {
  margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 6px;
}

.offer-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.offer-features li {
  list-style: none;
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--ink-3);
}
.offer-features li svg {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}
.offer-features ul { padding: 0; margin: 0; }

.offer-note {
  font-size: 12.5px; color: var(--muted);
  background: var(--bg-soft);
  padding: 12px 16px;
  border-radius: var(--r-xs);
  margin-bottom: 24px;
  border-left: 3px solid var(--primary-100);
  line-height: 1.5;
}

.offer-card .btn-primary { width: 100%; margin-top: auto; }

/* =========================================================
   Glossary Page details
   ========================================================= */
.glossary {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
}
.glossary-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.glossary-card {
  background: #ffffff;
  border-radius: var(--r-sm);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.glossary-card:hover { transform: translateY(-4px); border-color: rgba(30,58,138,.2); box-shadow: var(--shadow-sm); }
.glossary-card .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-50); color: var(--primary);
  margin-bottom: 20px;
}
.glossary-card .ico svg { width: 20px; height: 20px; }
.glossary-card h4 {
  font-size: 17px; font-weight: 700;
  color: var(--ink); margin: 0 0 10px;
}
.glossary-card p {
  font-size: 14px; color: var(--muted);
  line-height: 1.6; margin: 0;
}

/* =========================================================
   Contact Form & Info Layout
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 70px;
  align-items: flex-start;
}
.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-xs);
}
.contact-info-list { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-info-item .ico {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-50); color: var(--primary);
  flex-shrink: 0;
}
.contact-info-item .ico svg { width: 20px; height: 20px; }
.contact-info-item .label { font-weight: 700; color: var(--ink); margin-bottom: 2px; font-size: 13.5px; }
.contact-info-item .meta { color: var(--muted); font-size: 12.5px; margin-bottom: 4px; }
.contact-info-item a {
  color: var(--primary-600); font-weight: 700; font-size: 15px;
  text-decoration: none;
}
.contact-info-item a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-card-cta {
  margin-top: 32px;
  background: var(--grad-primary);
  border-radius: var(--r-md);
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-card-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 100%, rgba(234,179,8,.35), transparent 55%);
  pointer-events: none;
}
.contact-card-cta > * { position: relative; z-index: 2; }
.contact-card-cta .label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.contact-card-cta .name { font-family: var(--font-display); font-size: 18px; font-weight: 800; margin: 10px 0 16px; }
.contact-card-cta .price {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.02em;
}
.contact-card-cta .price small { font-size: 13px; color: rgba(255,255,255,.7); margin-left: 4px; -webkit-text-fill-color: rgba(255,255,255,.7); }
.contact-card-cta .note { font-size: 12.5px; color: rgba(255,255,255,.65); margin: 4px 0 20px; }
.contact-card-cta a.see-all {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); color: #fff; font-weight: 700;
  padding: 10px 20px; border-radius: var(--r-pill);
  text-decoration: none; font-size: 13.5px;
  border: 1px solid rgba(255,255,255,.15);
  transition: all .2s var(--ease);
}
.contact-card-cta a.see-all:hover { background: rgba(255,255,255,.2); }

.contact-form {
  background: #ffffff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  padding: 56px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-size: 26px; margin: 0 0 8px;
  color: var(--ink); letter-spacing: -.025em;
}
.contact-form .sub {
  color: var(--muted); font-size: 15px; margin: 0 0 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; position: relative; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  background: #ffffff;
  transition: all .25s var(--ease);
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30,58,138,.12);
}
.form-input.textarea { resize: vertical; min-height: 140px; line-height: 1.5; }

.field-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  min-height: 18px;
}

.consent-label {
  display: flex; gap: 10px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  align-items: flex-start; line-height: 1.55;
}
.consent-label a { color: var(--primary-600); font-weight: 600; text-decoration: underline; }

.success-msg {
  display: none;
  margin-top: 20px;
  background: var(--primary-50);
  border: 1px solid #fef08a;
  border-radius: var(--r-sm);
  padding: 28px;
  text-align: center;
  color: var(--primary-600);
}
.success-msg .ico {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fef08a;
  color: var(--primary-600);
}

/* =========================================================
   About Page Stats & Banner
   ========================================================= */
.stat-strip {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 90px 32px;
}
.stat-strip-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -.03em;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat-item .l {
  margin: 14px 0 0;
  font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}

.quote-banner {
  position: relative;
  background: var(--grad-primary);
  color: #fff;
  text-align: center;
  padding: 120px 32px;
  overflow: hidden;
}
.quote-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(234,179,8,.25), transparent 50%);
}
.quote-banner > * { position: relative; z-index: 2; }
.quote-banner .mark {
  font-family: var(--font-display);
  font-size: 80px; line-height: 0.4;
  color: var(--accent);
  margin-bottom: 28px;
}
.quote-banner h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  color: #fff;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 auto 28px;
  max-width: 860px;
  letter-spacing: -.02em;
}
.quote-banner .by { color: rgba(255,255,255,.7); font-size: 15px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* =========================================================
   Responsive queries
   ========================================================= */
@media (max-width: 1024px) {
  .hero { padding: 120px 0; min-height: auto; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; gap: 32px; }
  .hero-visual { max-width: 420px; }
  
  .features-container { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 48px; }
  .rv-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 48px; }
  .stat-strip-grid { grid-template-columns: repeat(2, 1fr); }
  :root { --section: 100px; }
}

@media (max-width: 768px) {
  .features-container { grid-template-columns: 1fr; }
  .hiw-steps { grid-template-columns: 1fr; }
  .rv-cards { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 36px; }
  .stat-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .nav-links { display: none; }
  .header-cta .btn-primary { padding: 9px 16px; font-size: 13px; }
  .hero h1 { font-size: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 36px 28px; }
  .tab-bar { padding: 5px; }
  .tab-btn { padding: 8px 14px; font-size: 13px; }
  :root { --section: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1; transform: none;
}

/* Submit button disabled state */
#btnSubmit:disabled,
#btnSubmit[disabled] {
  opacity: 0.55;
  filter: grayscale(70%);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
#btnSubmit:disabled:hover,
#btnSubmit[disabled]:hover {
  opacity: 0.55;
  filter: grayscale(70%);
  transform: none;
  box-shadow: none;
}

/* =========================================================
   Illumia-style Section
   ========================================================= */
.illumia-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  padding: 100px 0;
}

/* Tabs */
.illumia-tabs {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 9999px;
  margin-top: 32px;
}
.illumia-tab {
  background: transparent;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.illumia-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* Cards Grid */
.illumia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* Bento Grid Layout overrides */
@media (min-width: 993px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .card-bento-2x {
    grid-column: span 2;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }
  
  .card-bento-1x {
    grid-column: span 1;
  }
  
  .card-bento-3x {
    grid-column: span 3;
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
  }
  
  .card-bento-3x .illumia-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0 !important;
  }
}

/* CO2 Calculator Widget */
.co2-calculator {
  background: var(--line-2);
  border-radius: var(--r-sm);
  padding: 16px;
  margin-top: 20px;
  border: 1px solid var(--line);
}
.co2-calculator h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}
.co2-sub {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.4;
}
.co2-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.co2-slider {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}
.co2-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}
.co2-result {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-600);
}
.co2-result strong {
  font-size: 15px;
  color: var(--accent-deep);
}

/* Individual Cards */
.illumia-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
}
.illumia-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

/* Borders matching theme colors */
.border-luce {
  border-top: 4px solid var(--accent) !important;
}
.border-gas {
  border-top: 4px solid var(--primary) !important;
}
.border-combo {
  border-top: 4px solid var(--ink) !important;
}

/* Featured Combo Card */
.featured-combo {
  background: var(--bg-soft);
  border: 2px solid var(--ink);
}

/* Badges */
.illumia-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.badge-luce {
  background: rgba(234, 179, 8, 0.08);
  color: var(--accent);
}
.badge-gas {
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary);
}
.badge-combo {
  background: var(--ink);
  color: #ffffff;
}

.illumia-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.illumia-card-body h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.illumia-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 28px;
}

/* Price block */
.illumia-price-container {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.illumia-price-prefix {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.illumia-price-val {
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
}
.illumia-price-unit {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

/* Details list */
.illumia-details {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  flex: 1;
}
.illumia-details li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.illumia-details li .checkmark {
  color: var(--accent);
  font-weight: 800;
}

/* Buttons */
.btn-illumia {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.btn-luce {
  background: var(--accent);
  color: #ffffff;
}
.btn-luce:hover {
  background: var(--accent-deep);
  box-shadow: 0 8px 20px rgba(234, 179, 8, 0.25);
  transform: translateY(-2px);
}
.btn-gas {
  background: var(--primary);
  color: #ffffff;
}
.btn-gas:hover {
  background: var(--primary-600);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
  transform: translateY(-2px);
}
.btn-combo {
  background: var(--ink);
  color: #ffffff;
}
.btn-combo:hover {
  background: var(--ink-2);
  box-shadow: 0 8px 20px rgba(11, 15, 25, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .illumia-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-grid-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-graphic-container {
    max-width: 320px;
    margin-top: 20px;
  }
  .hero {
    padding: 80px 0 60px;
  }
}

/* ===== Modernist Split Grid System ===== */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--bg);
  border: 1px solid var(--line);
  margin: 0;
  width: 100%;
}
.split-block-reverse {
  direction: rtl;
}
.split-block-reverse > * {
  direction: ltr;
}
.split-block-image {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.split-block-image img,
.split-block-image video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-block-content {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-block-content.dark-bg {
  background: var(--ink);
  color: #ffffff;
}
.split-block-content.dark-bg p {
  color: var(--muted-2);
}
.split-block-content.teal-bg {
  background: var(--primary);
  color: #ffffff;
}
.split-block-content.teal-bg p {
  color: var(--primary-100);
}
.split-block-content.stone-bg {
  background: var(--bg-soft);
}

@media (max-width: 992px) {
  .split-block {
    grid-template-columns: 1fr;
  }
  .split-block-reverse {
    direction: ltr;
  }
  .split-block-image {
    min-height: 320px;
  }
  .split-block-content {
    padding: 48px 24px;
  }
}
/* ===== Modernist Split Hero ===== */
.hero-split-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 80vh;
  margin-top: 80px; /* space for fixed header */
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-split-content {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.hero-split-content h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  margin: 20px 0 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-split-content p.lede {
  font-size: 17px;
  color: var(--muted-2);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 600px;
  text-align: left;
}
.hero-split-video {
  position: relative;
  overflow: hidden;
  background: #090d16;
  border-left: 1px solid var(--line);
}
.hero-split-video video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (max-width: 992px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    margin-top: 70px;
  }
  .hero-split-content {
    padding: 60px 24px;
  }
  .hero-split-video {
    min-height: 350px;
    border-left: none;
    border-top: 1px solid var(--line);
  }
}
