/* ============================================
       CSS CUSTOM PROPERTIES
       ============================================ */
@property --ring-percent {
      syntax: '<number>';
      initial-value: 0;
      inherits: false;
    }

/* ============================================
       RESET & BASE
       ============================================ */
main {
      display: flex;
      flex-direction: column;
    }

/* Unified icon system (inline SVG) */
.icon {
      display: block;
      width: 1em;
      height: 1em;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      vector-effect: non-scaling-stroke;
      overflow: visible;
      flex-shrink: 0;
    }

.icon-font {
      display: block;
      width: 1em;
      height: 1em;
      line-height: 1;
      font-size: 1em;
      font-style: normal;
      flex-shrink: 0;
    }

/* ============================================
       LAYOUT
       ============================================ */
.container--wide { max-width: var(--max-w-wide); }

/* ============================================
       SECTION HEADER
       ============================================ */
.section-header { text-align: center; margin-bottom: var(--space-3xl); max-width: 700px; margin-left: auto; margin-right: auto; }

.section-header__label {
      display: inline-block;
      font-size: var(--fs-xs);
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: var(--space-md);
      position: relative;
      padding: 0 var(--space-lg);
    }

.section-header__label::before, .section-header__label::after {
      content: '';
      position: absolute;
      top: 50%;
      width: 24px;
      height: 1px;
      background: var(--accent);
      opacity: 0.4;
    }

.section-header__label::before { right: 100%; }

.section-header__label::after { left: 100%; }

.section-header__title {
      font-size: var(--fs-3xl);
      font-weight: 700;
      color: var(--text);
      line-height: 1.2;
      margin-bottom: var(--space-md);
    }

.section-header__subtitle {
      font-size: var(--fs-lg);
      color: var(--text-secondary);
      line-height: 1.6;
    }

/* Light section headers on dark backgrounds */
.section--dark .section-header__title { color: var(--white); }

.section--dark .section-header__subtitle { color: rgba(255,255,255,0.7); }

.section--dark .section-header__label { color: var(--accent); }

.section--dark .section-header__label::before, .section--dark .section-header__label::after { background: var(--accent); }

/* ============================================
       BUTTONS
       ============================================ */
.btn--primary:hover {
      background: var(--accent-hover);
      border-color: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(246,211,7,0.35);
    }

.btn--secondary:hover {
      border-color: var(--white);
      background: rgba(255,255,255,0.08);
    }

.btn--outline {
      background: transparent;
      color: var(--accent);
      border-color: var(--accent);
    }

.btn--outline:hover {
      background: var(--accent);
      color: var(--white);
      transform: translateY(-2px);
    }

.btn--full { width: 100%; }

.btn__ripple {
      position: absolute;
      border-radius: 50%;
      background: rgba(255,255,255,0.25);
      transform: scale(0);
      animation: rippleEffect 0.6s ease-out forwards;
      pointer-events: none;
    }

@keyframes rippleEffect {
      to { transform: scale(4); opacity: 0; }
    }

/* ============================================
       CARDS
       ============================================ */
.card {
      background: var(--primary);
      border-radius: var(--radius-lg);
      padding: var(--space-xl);
      transition: transform var(--transition), box-shadow var(--transition);
      border: 1px solid var(--border);
    }

.card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }

/* ============================================
       COUNTER GLOW PULSE
       ============================================ */
@keyframes counterGlow {
      0% { text-shadow: 0 0 0 transparent; }
      50% { text-shadow: 0 0 20px rgba(246,211,7,0.6), 0 0 40px rgba(246,211,7,0.25); }
      100% { text-shadow: 0 0 0 transparent; }
    }

.counter-glow {
      animation: counterGlow 0.8s ease-out;
    }

/* ============================================
       SCROLL PROGRESS INDICATOR
       ============================================ */
/* ============================================
       SCROLL REVEAL
       ============================================ */
.reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

.reveal--left { transform: translateX(-40px); }

.reveal--right { transform: translateX(40px); }

.reveal--scale { opacity: 0; transform: scale(0.95); }

.reveal.is-visible {
      opacity: 1;
      transform: translate(0,0) scale(1);
    }

.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }

.stagger > .reveal:nth-child(2) { transition-delay: 100ms; }

.stagger > .reveal:nth-child(3) { transition-delay: 200ms; }

.stagger > .reveal:nth-child(4) { transition-delay: 300ms; }

.stagger > .reveal:nth-child(5) { transition-delay: 400ms; }

.stagger > .reveal:nth-child(6) { transition-delay: 500ms; }

.stagger > .reveal:nth-child(7) { transition-delay: 600ms; }

/* ============================================
       NAVIGATION
       ============================================ */
/* ============================================
       HERO
       ============================================ */
.hero {
      position: relative;
      min-height: 100svh;
      overflow: hidden;
      background: var(--primary-dark);
    }

.hero::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background:
        radial-gradient(circle at 22% 32%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 22%, rgba(0, 0, 0, 0.14) 40%, rgba(0, 0, 0, 0) 62%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.04) 44%, rgba(0, 0, 0, 0) 62%);
    }

.hero__bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(145deg, #050506 0%, var(--primary-dark) 24%, #10263E 58%, #12314D 100%);
    }

#heroShader {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
    }

.hero__bg::before, .hero__bg::after {
      content: '';
      position: absolute;
      border: 1px solid rgba(46,107,138,0.14);
      border-radius: 2px;
    }

.hero__bg::before {
      width: 200px; height: 200px;
      top: 10%; right: 10%;
      clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
      animation: floatHex1 18s ease-in-out infinite;
    }

.hero__bg::after {
      width: 140px; height: 140px;
      bottom: 20%; left: 8%;
      clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
      animation: floatHex2 22s ease-in-out infinite;
    }

@keyframes floatHex1 {
      0%, 100% { transform: translate(0,0) rotate(0deg); opacity: 0.4; }
      33% { transform: translate(20px,-30px) rotate(10deg); opacity: 0.7; }
      66% { transform: translate(-15px,15px) rotate(-5deg); opacity: 0.3; }
    }

@keyframes floatHex2 {
      0%, 100% { transform: translate(0,0) rotate(0deg); opacity: 0.3; }
      50% { transform: translate(-20px,-20px) rotate(-12deg); opacity: 0.6; }
    }

.hero__container {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding-top: 120px;
      padding-bottom: 60px;
    }

.hero__label {
      font-size: var(--fs-sm);
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: var(--space-lg);
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

.hero__label::before {
      content: '';
      width: 32px;
      height: 2px;
      background: var(--accent);
    }

.hero__headline {
      font-size: var(--fs-hero);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.02em;
      margin-bottom: var(--space-xl);
      max-width: 800px;
      will-change: transform, opacity;
    }

.hero__headline-accent {
      background: linear-gradient(135deg, #FFFFFF 0%, var(--accent) 55%, #E5C306 100%);
      background-size: 200% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: gradientShimmer 4s ease-in-out infinite;
    }

@keyframes gradientShimmer {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

/* Hero Staggered Entrance */
.hero__label, .hero__headline, .hero__subtitle, .hero__actions, .hero__stats, .hero__scroll {
      opacity: 0;
      transform: translateY(30px);
      animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

@keyframes heroEntrance {
      to { opacity: 1; transform: translateY(0); }
    }

.hero__label { animation-delay: 0.15s; }

.hero__headline { animation-delay: 0.4s; }

.hero__subtitle { animation-delay: 0.7s; }

.hero__actions { animation-delay: 1.0s; }

.hero__stats { animation-delay: 1.3s; }

.hero__scroll { animation-delay: 1.7s; }

.hero__subtitle {
      font-size: var(--fs-lg);
      color: rgba(255,255,255,0.7);
      max-width: 560px;
      line-height: 1.7;
      margin-bottom: var(--space-2xl);
      font-weight: 400;
    }

.hero__actions {
      display: flex;
      gap: var(--space-md);
      flex-wrap: wrap;
      margin-bottom: var(--space-4xl);
    }

.hero__stats {
      display: flex;
      gap: 0;
      width: 100%;
      max-width: 700px;
      border-top: 1px solid rgba(255,255,255,0.12);
    }

.hero__stat {
      flex: 1;
      padding: var(--space-xl) var(--space-lg);
      text-align: center;
    }

.hero__stat + .hero__stat {
      border-left: 1px solid rgba(255,255,255,0.12);
    }

.hero__stat-value {
      display: block;
      font-size: var(--fs-2xl);
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0.25rem;
    }

.hero__stat-label {
      font-size: var(--fs-xs);
      color: rgba(255,255,255,0.5);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 500;
    }

.hero__scroll {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      color: rgba(255,255,255,0.4);
      font-size: var(--fs-xs);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      z-index: 2;
    }

.hero__scroll-arrow {
      width: 20px;
      height: 20px;
      border-right: 2px solid rgba(255,255,255,0.4);
      border-bottom: 2px solid rgba(255,255,255,0.4);
      transform: rotate(45deg);
      animation: scrollBounce 2.2s ease-in-out infinite;
    }

@keyframes scrollBounce {
      0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
      50% { transform: rotate(45deg) translateY(6px); opacity: 0.3; }
    }

/* ============================================
       TECHNOLOGY SECTION
       ============================================ */
#korzysci { order: 1; }

#produkty { order: 2; }

#podejscie { order: 3; }

#zespol { order: 4; }

#closing-cta { order: 5; }

#zastosowania { order: 6; }

#download { order: 7; }

#kontakt { order: 8; }

/* Tech section background + mouse spotlight */
.tech {
      position: relative;
      overflow: hidden;
      background: linear-gradient(145deg, #0A0A0B 0%, #121314 55%, #161718 100%);
      --tech-spot-x: -600px;
      --tech-spot-y: -600px;
    }

.tech::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(
        800px circle at var(--tech-spot-x) var(--tech-spot-y),
        rgba(246, 211, 7, 0.14) 0%,
        rgba(246, 211, 7, 0.05) 40%,
        transparent 65%
      );
      pointer-events: none;
      z-index: 0;
    }

.tech::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(46,107,138,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46,107,138,0.12) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: radial-gradient(ellipse 90% 70% at 65% 50%, rgba(0,0,0,0.6) 0%, transparent 75%);
      -webkit-mask-image: radial-gradient(ellipse 90% 70% at 65% 50%, rgba(0,0,0,0.6) 0%, transparent 75%);
      pointer-events: none;
      z-index: 0;
    }

.tech .container {
      position: relative;
      z-index: 1;
    }

.tech__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-3xl);
      align-items: start;
    }

.tech__text {
      font-size: var(--fs-base);
      color: var(--text-secondary);
      line-height: 1.75;
      margin-bottom: var(--space-2xl);
    }

.tech__stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-lg);
    }

.tech__stat-card {
      text-align: center;
      padding: var(--space-lg) var(--space-sm);
      background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(246,211,7,0.05) 100%);
      border-radius: var(--radius-xl);
      border: 1px solid rgba(246,211,7,0.16);
      position: relative;
      overflow: hidden;
      transition: transform var(--transition), box-shadow var(--transition);
    }

.tech__stat-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 32px rgba(246,211,7,0.14);
    }

.tech__stat-ring {
      --ring-size: 96px;
      --ring-inner-size: 72px;
      --ring-dot-size: 10px;
      width: var(--ring-size);
      height: var(--ring-size);
      border-radius: 50%;
      background: conic-gradient(var(--ring-color, var(--accent)) calc(var(--ring-percent) * 3.6deg), rgba(255,255,255,0.12) 0);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto var(--space-sm);
      transition: --ring-percent 1.8s cubic-bezier(0.16,1,0.3,1);
      position: relative;
      box-shadow: 0 0 20px rgba(246,211,7,0.08);
    }

.tech__stat-ring::after {
      content: '';
      position: absolute;
      width: var(--ring-dot-size);
      height: var(--ring-dot-size);
      border-radius: 50%;
      background: var(--ring-color, var(--accent));
      box-shadow: 0 0 12px var(--ring-color, var(--accent));
      top: 50%;
      left: 50%;
      transform:
        translate(-50%, -50%)
        rotate(var(--ring-dot-rotation, 0deg))
        translateY(calc((var(--ring-size) + var(--ring-inner-size)) / -4));
      opacity: 0;
      transition: opacity 0.5s ease 1.8s, transform 1.8s cubic-bezier(0.16,1,0.3,1);
    }

.tech__stat-ring.is-animated::after {
      opacity: 1;
    }

.tech__stat-ring-inner {
      width: var(--ring-inner-size);
      height: var(--ring-inner-size);
      border-radius: 50%;
      background: #0B0C0D;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: var(--fs-lg);
      color: var(--white);
      border: 1px solid rgba(255,255,255,0.08);
      z-index: 1;
    }

.tech__stat-label {
      font-size: var(--fs-xs);
      color: var(--text-secondary);
      font-weight: 500;
    }

/* ============================================
       CHP DIAGRAM v2 — Vertical Premium
       ============================================ */
.diagram2 {
      position: relative;
      background: linear-gradient(180deg, #0A0A0B 0%, #121314 55%, #1C1D1F 100%);
      border-radius: var(--radius-xl);
      padding: 2rem 1.5rem;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      border: 1px solid rgba(246,211,7,0.16);
      box-shadow:
        0 0 0 1px rgba(246,211,7,0.06),
        0 20px 60px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.03);
    }

.diagram2::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(246,211,7,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246,211,7,0.05) 1px, transparent 1px);
      background-size: 40px 40px;
      mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%);
      -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%);
      pointer-events: none;
    }

/* Vertical connector lines between elements */
.diagram2__connector {
      width: 2px;
      height: 40px;
      position: relative;
      z-index: 2;
      background: linear-gradient(180deg, var(--conn-from, #F6D307), var(--conn-to, #F6D307));
      opacity: 0.3;
    }

.diagram2__connector::after {
      content: '';
      position: absolute;
      top: 0; left: 50%;
      width: 6px; height: 6px;
      margin-left: -3px;
      border-radius: 50%;
      background: var(--conn-from, #F6D307);
      box-shadow: 0 0 8px var(--conn-from, #F6D307);
      animation: d2-drop 2s ease-in-out infinite;
      animation-delay: var(--conn-delay, 0s);
    }

@keyframes d2-drop {
      0%   { top: 0; opacity: 0.9; }
      100% { top: 100%; opacity: 0; }
    }

/* Node cards — glassmorphism */
.diagram2__node {
      position: relative;
      z-index: 2;
      background: rgba(255,255,255,0.04);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--radius-lg);
      padding: 1rem 1.5rem;
      color: var(--white);
      display: flex;
      align-items: center;
      gap: 1rem;
      width: 100%;
      opacity: 0;
      transform: translateY(20px);
      filter: blur(6px);
      transition:
        opacity 0.6s cubic-bezier(0.16,1,0.3,1),
        transform 0.6s cubic-bezier(0.16,1,0.3,1),
        filter 0.6s cubic-bezier(0.16,1,0.3,1),
        box-shadow 0.3s ease;
    }

.diagram2.is-visible .diagram2__node { opacity: 1; transform: translateY(0); filter: blur(0); }

.diagram2.is-visible .diagram2__node--fuel { transition-delay: 0ms; }

.diagram2.is-visible .diagram2__node--electric { transition-delay: 500ms; }

.diagram2.is-visible .diagram2__node--heat { transition-delay: 700ms; }

.diagram2__node:hover {
      background: rgba(255,255,255,0.07);
      border-color: rgba(255,255,255,0.15);
      box-shadow: 0 0 24px rgba(var(--node-color-rgb, 246,211,7), 0.18);
    }

/* Shimmer on top edge */
.diagram2__node::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg,
        transparent 0%,
        var(--node-color, #F6D307) 30%,
        var(--node-color-light, #FFE671) 50%,
        var(--node-color, #F6D307) 70%,
        transparent 100%
      );
      background-size: 200% 100%;
      animation: d2-shimmer 3s ease-in-out infinite;
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

@keyframes d2-shimmer {
      0%, 100% { background-position: -100% 0; }
      50% { background-position: 200% 0; }
    }

/* Node icons */
.diagram2__icon {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: relative;
      background: rgba(var(--node-color-rgb, 246,211,7), 0.18);
      color: var(--node-color, #F6D307);
    }

.diagram2__icon::after {
      content: '';
      position: absolute;
      inset: -6px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(var(--node-color-rgb, 246,211,7), 0.24) 0%, transparent 70%);
      z-index: -1;
      animation: d2-icon-breathe 3s ease-in-out infinite;
    }

@keyframes d2-icon-breathe {
      0%, 100% { transform: scale(1); opacity: 0.5; }
      50% { transform: scale(1.2); opacity: 1; }
    }

.diagram2__icon svg, .diagram2__icon .icon-font { width: 22px; height: 22px; font-size: 22px; }

.diagram2__node-text { font-size: var(--fs-sm); font-weight: 600; display: block; line-height: 1.3; }

.diagram2__node-sub { font-size: var(--fs-xs); color: rgba(255,255,255,0.48); display: block; margin-top: 2px; }

.diagram2__badge {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 700;
      color: var(--badge-color, #F6D307);
      background: rgba(255,255,255,0.07);
      border: 1px solid var(--badge-color, #F6D307);
      border-radius: 100px;
      padding: 0.15rem 0.55rem;
      margin-top: 0.3rem;
    }

.diagram2__node-info {
      min-width: 0;
      flex: 1;
    }

/* Central Hub */
.diagram2__hub {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.75rem;
      padding: 0.5rem 0;
      opacity: 0;
      transform: scale(0.7);
      filter: blur(10px);
      transition:
        opacity 0.8s cubic-bezier(0.16,1,0.3,1) 250ms,
        transform 0.8s cubic-bezier(0.16,1,0.3,1) 250ms,
        filter 0.8s cubic-bezier(0.16,1,0.3,1) 250ms;
    }

.diagram2.is-visible .diagram2__hub { opacity: 1; transform: scale(1); filter: blur(0); }

/* Orbit wrapper — rings center on this fixed square */
.diagram2__hub-orbit {
      position: relative;
      width: 170px;
      height: 170px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

.diagram2__hub-ring1 {
      position: absolute;
      top: 50%; left: 50%;
      width: 120px; height: 120px;
      margin: -60px 0 0 -60px;
      border-radius: 50%;
      border: 1.5px solid transparent;
      background: conic-gradient(from 0deg, rgba(246,211,7,0.45), rgba(46,107,138,0.08), rgba(246,211,7,0.45)) border-box;
      -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      animation: d2spin 8s linear infinite;
    }

.diagram2__hub-ring2 {
      position: absolute;
      top: 50%; left: 50%;
      width: 145px; height: 145px;
      margin: -72.5px 0 0 -72.5px;
      border-radius: 50%;
      border: 1px dashed rgba(246,211,7,0.24);
      animation: d2spin 14s linear infinite reverse;
    }

.diagram2__hub-ring3 {
      position: absolute;
      top: 50%; left: 50%;
      width: 170px; height: 170px;
      margin: -85px 0 0 -85px;
      border-radius: 50%;
      border: 1px dotted rgba(246,211,7,0.14);
      animation: d2spin 22s linear infinite;
    }

@keyframes d2spin {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }

.diagram2__hub-core {
      position: relative;
      width: 96px;
      height: 96px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 30%,
        rgba(246,211,7,0.28),
        rgba(246,211,7,0.08) 60%,
        rgba(0,0,0,0.42) 100%
      );
      border: 2px solid rgba(246,211,7,0.5);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      color: var(--white);
      text-align: center;
      box-shadow:
        0 0 40px rgba(246,211,7,0.25),
        0 0 80px rgba(246,211,7,0.08),
        inset 0 0 24px rgba(246,211,7,0.14);
      animation: d2-hub-pulse 4s ease-in-out infinite;
    }

@keyframes d2-hub-pulse {
      0%, 100% {
        box-shadow: 0 0 40px rgba(246,211,7,0.25), 0 0 80px rgba(246,211,7,0.08), inset 0 0 24px rgba(246,211,7,0.14);
      }
      50% {
        box-shadow: 0 0 55px rgba(246,211,7,0.35), 0 0 100px rgba(246,211,7,0.16), inset 0 0 30px rgba(246,211,7,0.15);
      }
    }

.diagram2__hub-core svg, .diagram2__hub-core .icon-font { width: 26px; height: 26px; font-size: 26px; color: #FFE671; }

.diagram2__hub-core > span { font-size: 0.6rem; font-weight: 600; line-height: 1.3; color: rgba(255,255,255,0.72); letter-spacing: 0.02em; }

.diagram2__eff {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
    }

.diagram2__eff-val {
      font-size: var(--fs-2xl);
      font-weight: 800;
      line-height: 1;
      background: linear-gradient(135deg, #FFF6BF 0%, #F6D307 55%, #2E6B8A 100%);
      background-size: 200% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: d2-eff-shimmer 3s ease-in-out infinite;
    }

@keyframes d2-eff-shimmer {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

.diagram2__eff-label {
      font-size: 0.65rem;
      font-weight: 500;
      color: rgba(255,255,255,0.38);
      text-transform: uppercase;
      letter-spacing: 0.07em;
    }

/* Branching connector (hub → two outputs) */
.diagram2__connector--split {
      width: 100%;
      height: 44px;
      position: relative;
      z-index: 2;
      background: none;
    }

.diagram2__connector--split::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 2px;
      height: 22px;
      background: linear-gradient(180deg, rgba(246,211,7,0.5), rgba(229,195,6,0.5));
    }

.diagram2__connector--split::after {
      content: '';
      position: absolute;
      top: 22px;
      left: calc(25% - 1px);
      right: calc(25% - 1px);
      height: 22px;
      background: none;
      border-top: 2px solid rgba(251,191,36,0.4);
      border-left: 2px solid rgba(251,191,36,0.4);
      border-right: 2px solid rgba(249,115,22,0.4);
    }

/* Outputs row — side by side */
.diagram2__outputs {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      width: 100%;
    }

.diagram2__outputs .diagram2__node {
      max-width: none;
      flex-direction: column;
      text-align: center;
      gap: 0.5rem;
      padding: 1.25rem 1rem;
    }

.diagram2__outputs .diagram2__node-info {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
    }

/* Energy loss indicator */
.diagram2__loss {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.75rem 1rem 0;
      z-index: 2;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.5s ease 1s, transform 0.5s ease 1s;
    }

.diagram2.is-visible .diagram2__loss { opacity: 1; transform: translateY(0); }

.diagram2__loss-icon { width: 16px; height: 16px; font-size: 16px; color: rgba(239,68,68,0.6); }

.diagram2__loss-text { font-size: var(--fs-xs); color: rgba(255,255,255,0.35); font-weight: 500; }

.diagram2__loss-badge {
      font-size: 0.65rem;
      font-weight: 700;
      color: rgba(239,68,68,0.7);
      background: rgba(239,68,68,0.08);
      border: 1px solid rgba(239,68,68,0.2);
      border-radius: 100px;
      padding: 0.1rem 0.45rem;
    }

/* Energy split bar (outside diagram) */
.diagram2-splitbar {
      display: flex;
      height: 6px;
      border-radius: 100px;
      overflow: hidden;
      margin-top: var(--space-md);
      background: rgba(255,255,255,0.12);
      gap: 2px;
    }

.diagram2-splitbar__seg {
      height: 100%;
      border-radius: 100px;
      transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
      width: 0;
    }

.diagram2-splitbar__seg--electric { background: linear-gradient(90deg, #FBBF24, #FDE68A); }

.diagram2-splitbar__seg--heat { background: linear-gradient(90deg, #F97316, #FDBA74); }

.diagram2-splitbar__seg--loss { background: linear-gradient(90deg, rgba(239,68,68,0.5), rgba(239,68,68,0.3)); }

.diagram2-splitbar__labels {
      display: grid;
      grid-template-columns: 4fr 5fr 1fr;
      margin-top: 0.35rem;
      font-size: 0.65rem;
      color: var(--text-light);
    }

.diagram2-splitbar__labels span:last-child { text-align: right; }

.diagram2-splitbar__labels span:nth-child(2) {
      text-align: center;
    }

/* ============================================
       BENEFITS SECTION
       ============================================ */
.benefits { background: linear-gradient(180deg, #121314 0%, #161718 100%); }

.benefits__grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-xl);
    }

.benefits__card {
      text-align: center;
      padding: var(--space-2xl) var(--space-xl);
      position: relative;
      overflow: hidden;
      background: linear-gradient(180deg, #131416 0%, #101113 100%);
    }

.benefits__card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--primary-light), var(--accent));
      transform: scaleX(0);
      transition: transform var(--transition);
    }

.benefits__card:hover::before { transform: scaleX(1); }

.benefits__icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(46,107,138,0.24), rgba(246,211,7,0.2));
      border: 1px solid rgba(255,255,255,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto var(--space-lg);
    }

.benefits__icon svg, .benefits__icon .icon-font { width: 28px; height: 28px; font-size: 28px; color: var(--white); }

.benefits__title {
      font-size: var(--fs-xl);
      font-weight: 600;
      color: var(--text);
      margin-bottom: var(--space-sm);
    }

.benefits__desc {
      font-size: var(--fs-sm);
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: var(--space-md);
    }

.benefits__badge {
      display: inline-block;
      padding: 0.3rem 0.85rem;
      border-radius: 100px;
      background: rgba(246,211,7,0.08);
      color: var(--accent);
      border: 1px solid rgba(246,211,7,0.35);
      font-size: var(--fs-xs);
      font-weight: 600;
    }

/* ============================================
       APPLICATIONS SECTION
       ============================================ */
.apps {
      background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 60%, #0D1B2A 100%);
      color: var(--white);
    }

.apps__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-xl);
    }

.apps__card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--radius-lg);
      padding: var(--space-2xl) var(--space-xl);
      transition: all var(--transition);
      text-align: center;
    }

.apps__card:hover {
      background: rgba(255,255,255,0.08);
      transform: translateY(-4px);
      border-color: rgba(246,211,7,0.35);
    }

.apps__icon {
      width: 56px;
      height: 56px;
      border-radius: var(--radius);
      background: rgba(246,211,7,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto var(--space-lg);
    }

.apps__icon svg, .apps__icon .icon-font { width: 26px; height: 26px; font-size: 26px; color: var(--accent); }

.apps__card h3 {
      font-size: var(--fs-lg);
      font-weight: 600;
      margin-bottom: var(--space-sm);
    }

.apps__card p {
      font-size: var(--fs-sm);
      color: rgba(255,255,255,0.6);
      line-height: 1.6;
    }

.apps__card--cta {
      background: linear-gradient(135deg, rgba(246,211,7,0.16) 0%, rgba(246,211,7,0.08) 100%);
      border-color: rgba(246,211,7,0.3);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

.apps__card--cta:hover {
      border-color: rgba(246,211,7,0.6);
      background: rgba(246,211,7,0.18);
    }

.apps__card--cta p {
      margin-bottom: var(--space-lg);
    }

.apps__card--cta .btn {
      margin-top: auto;
    }

/* ============================================
       PRODUCTS SECTION
       ============================================ */
.products__showcase {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-3xl);
      align-items: center;
      margin-bottom: var(--space-4xl);
    }

.products__showcase--reverse .products__image { order: 2; }

.products__showcase--reverse .products__info { order: 1; }

.products__image {
      position: relative;
      border-radius: var(--radius-xl);
      background: linear-gradient(145deg, rgba(255,255,255,0.02), rgba(46,107,138,0.12));
      border: 1px solid var(--border);
      aspect-ratio: 4 / 3;
      min-height: 360px;
      overflow: hidden;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    }

.products__image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      filter: brightness(0.96) contrast(1.02);
    }

.products__image--focus-left img { object-position: 22% center; }

.products__image--focus-right img { object-position: 78% center; }

.products__image--overlay::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(46,107,138,0.16) 0%, transparent 55%);
      pointer-events: none;
      z-index: 1;
    }

.products__badge {
      display: inline-block;
      padding: 0.3rem 0.85rem;
      border-radius: 100px;
      background: rgba(246,211,7,0.14);
      color: var(--accent);
      font-size: var(--fs-xs);
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: var(--space-md);
    }

.products__info h3 {
      font-size: var(--fs-2xl);
      font-weight: 700;
      color: var(--text);
      margin-bottom: var(--space-md);
      line-height: 1.25;
    }

.products__info > p {
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: var(--space-xl);
    }

.products__specs {
      margin-bottom: var(--space-xl);
    }

.products__spec {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
      padding: 1rem 0;
      border-bottom: 1px solid var(--border);
    }

.products__spec:first-child { border-top: 1px solid var(--border); }

.products__spec-label {
      color: var(--text-secondary);
      font-size: var(--fs-sm);
    }

.products__spec-value {
      font-weight: 600;
      color: var(--text);
      font-size: var(--fs-sm);
    }

.products__sub-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-xl);
      margin-top: var(--space-2xl);
    }

.products__sub-card {
      display: flex;
      gap: var(--space-lg);
      align-items: flex-start;
    }

.products__sub-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius);
      background: rgba(246,211,7,0.14);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

.products__sub-icon svg, .products__sub-icon .icon-font { width: 24px; height: 24px; font-size: 24px; color: var(--accent); }

.products__sub-card h4 {
      font-size: var(--fs-lg);
      font-weight: 600;
      margin-bottom: 0.35rem;
    }

.products__sub-card p {
      font-size: var(--fs-sm);
      color: var(--text-secondary);
      line-height: 1.6;
    }

/* ============================================
       PRODUCTION / CREDIBILITY SECTION
       ============================================ */
.production {
      position: relative;
      min-height: 480px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--white);
      overflow: hidden;
    }

.production__bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center 58%;
      will-change: transform;
      transform: scale(1.08);
    }

.production__overlay {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(145deg, rgba(10,10,11,0.86) 0%, rgba(18,19,20,0.74) 100%),
        radial-gradient(circle at center, rgba(246,211,7,0.08), transparent 45%);
    }

.production__content {
      position: relative;
      z-index: 2;
      padding: var(--space-section) var(--px);
      max-width: 700px;
    }

.production__content h2 {
      font-size: var(--fs-3xl);
      font-weight: 700;
      margin-bottom: var(--space-md);
      margin-top: var(--space-md);
    }

.production__content > p {
      color: rgba(255,255,255,0.7);
      line-height: 1.7;
      margin-bottom: var(--space-2xl);
    }

.production__trust {
      display: flex;
      justify-content: center;
      gap: var(--space-2xl);
      flex-wrap: wrap;
    }

.production__trust-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-sm);
    }

.production__trust-icon {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
    }

.production__trust-icon svg, .production__trust-icon .icon-font { width: 24px; height: 24px; font-size: 24px; color: var(--accent); }

.production__trust-item span {
      font-size: var(--fs-sm);
      font-weight: 500;
      color: rgba(255,255,255,0.8);
    }

/* ============================================
       TEAM SECTION
       ============================================ */
.team { background: linear-gradient(180deg, #121314 0%, #161718 100%); }

.team__grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: var(--space-xl);
    }

.team__card {
      flex: 0 1 calc(25% - var(--space-xl));
      min-width: 230px;
      text-align: center;
      padding: var(--space-2xl) var(--space-lg);
    }

.team__avatar {
      width: 68px;
      height: 68px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary-light), var(--accent));
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto var(--space-lg);
      color: var(--white);
    }

.team__avatar svg, .team__avatar .icon-font { width: 28px; height: 28px; font-size: 28px; }

.team__role {
      font-size: var(--fs-base);
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.25rem;
    }

.team__scope {
      font-size: var(--fs-xs);
      color: var(--text-secondary);
      margin-bottom: var(--space-md);
      line-height: 1.5;
    }

.team__email {
      font-size: var(--fs-xs);
      color: var(--accent);
      font-weight: 500;
    }

.team__email:hover { color: var(--accent-hover); }

/* Enhanced glow effect for featured team card (CTO) */
.team__card--featured {
  --glow-border-width: 4px;
  --glow-spread: 50;
}

.team__card--featured .glow-card__glow .glow-inner::after {
  opacity: 0.4;
}

.team__card--featured.is-glowing .glow-card__glow .glow-inner::after {
  opacity: 0.8;
}

/* ============================================
       DOWNLOADS SECTION
       ============================================ */
.downloads__grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-xl);
    }

.downloads__card h4 {
      font-size: var(--fs-lg);
      font-weight: 600;
      margin-bottom: var(--space-lg);
      display: flex;
      align-items: center;
      gap: var(--space-sm);
    }

.downloads__card h4 svg, .downloads__card h4 .icon-font { width: 22px; height: 22px; font-size: 22px; color: var(--accent); flex-shrink: 0; }

.downloads__list li { margin-bottom: 0; }

.downloads__link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-md);
      padding: 0.7rem 0;
      border-bottom: 1px solid var(--border);
      font-size: var(--fs-sm);
      color: var(--text-secondary);
      transition: color var(--transition-fast);
    }

.downloads__link:hover { color: var(--accent); }

.downloads__link span {
      font-size: 0.65rem;
      font-weight: 700;
      color: var(--accent);
      background: rgba(246,211,7,0.08);
      padding: 0.15rem 0.55rem;
      border-radius: 4px;
      letter-spacing: 0.05em;
      flex-shrink: 0;
    }

/* ============================================
       CONTACT SECTION
       ============================================ */
.contact { background: linear-gradient(180deg, #121314 0%, #161718 100%); }

.contact__grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: var(--space-3xl);
    }

.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }

.form__group--full { grid-column: 1 / -1; }

.form__group label {
      display: block;
      font-size: var(--fs-sm);
      font-weight: 500;
      color: var(--text-secondary);
      margin-bottom: 0.4rem;
    }

.form__group input, .form__group select, .form__group textarea {
      width: 100%;
      padding: 0.8rem 1rem;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      font-family: var(--font);
      font-size: var(--fs-sm);
      transition: all var(--transition-fast);
      background: var(--primary-dark);
      color: var(--text);
    }

.form__group input:focus, .form__group select:focus, .form__group textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(246,211,7,0.16);
    }

.form__group textarea { resize: vertical; min-height: 120px; }

.form__group input.is-error, .form__group textarea.is-error {
      border-color: #E53E3E;
      box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
    }

.form__submit { grid-column: 1 / -1; margin-top: var(--space-sm); }

.btn--success { background: #38A169; border-color: #38A169; }

.btn--success:hover { background: #2F855A; border-color: #2F855A; }

.contact__info { display: flex; flex-direction: column; gap: var(--space-2xl); }

.contact__info h3 {
      font-size: var(--fs-xl);
      font-weight: 600;
      margin-bottom: var(--space-lg);
    }

.contact__channels { display: flex; flex-direction: column; gap: var(--space-xl); }

.contact__channel {
      display: flex;
      gap: var(--space-md);
      align-items: flex-start;
    }

.contact__channel-icon {
      width: 44px;
      height: 44px;
      border-radius: var(--radius);
      background: rgba(246,211,7,0.14);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

.contact__channel-icon svg, .contact__channel-icon .icon-font { width: 20px; height: 20px; font-size: 20px; color: var(--accent); }

.contact__channel h4 {
      font-size: var(--fs-base);
      font-weight: 600;
      margin-bottom: 0.15rem;
    }

.contact__channel a {
      display: block;
      font-size: var(--fs-sm);
      color: var(--text-secondary);
    }

.contact__channel a:hover { color: var(--accent); }

.contact__general {
      padding: var(--space-xl);
      background: var(--primary-dark);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
    }

.contact__general h4 {
      font-size: var(--fs-base);
      font-weight: 600;
      margin-bottom: var(--space-sm);
    }

.contact__general a {
      font-size: var(--fs-sm);
      color: var(--accent);
      font-weight: 500;
    }

/* ============================================
       FOOTER
       ============================================ */
.closing-cta {
      background:
        radial-gradient(circle at top right, rgba(246,211,7,0.12), transparent 30%),
        linear-gradient(145deg, #0A0A0B 0%, #10263E 45%, #121314 100%);
      border-top: 1px solid rgba(255,255,255,0.08);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

.closing-cta__box {
      max-width: 760px;
      margin: 0 auto;
      text-align: center;
    }

.closing-cta__box p {
      font-size: var(--fs-lg);
      margin-top: var(--space-md);
    }

/* ============================================
       RESPONSIVE
       ============================================ */
@media (max-width: 1024px) {
.tech__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }

.products__showcase { grid-template-columns: 1fr; gap: var(--space-2xl); }

.products__showcase--reverse .products__image { order: 0; }

.products__showcase--reverse .products__info { order: 0; }

.contact__grid { grid-template-columns: 1fr; }

}

@media (max-width: 768px) {
.reveal--left,
.reveal--right {
  transform: translateY(30px);
}

.hero { min-height: auto; }

.hero__container { padding-top: 100px; padding-bottom: 2.5rem; }

.hero__br-desktop { display: none; }

.hero__headline { line-height: 1.12; max-width: 100%; }

.hero__subtitle { max-width: 100%; margin-bottom: var(--space-xl); }

.hero__actions { margin-bottom: var(--space-2xl); }

.hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
        border-top: 1px solid rgba(255,255,255,0.12);
        gap: 0;
        max-width: none;
      }

.hero__stat {
        flex: 1 1 33.33%;
        min-width: 0;
        padding: var(--space-lg) var(--space-sm);
        border-left: none !important;
        border-top: none;
      }

.hero__stat + .hero__stat { border-left: 1px solid rgba(255,255,255,0.12) !important; }

.hero__stat:first-child { border-top: none; }

.hero__scroll { display: none; }

.section-header { margin-bottom: var(--space-2xl); }

.section-header__label { padding: 0 var(--space-sm); letter-spacing: 0.11em; }

.section-header__label::before, .section-header__label::after { width: 16px; }

.tech__stats { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }

.tech__grid { gap: var(--space-md); }

.tech__stat-ring { --ring-size: 76px; --ring-inner-size: 58px; }

.tech__stat-ring-inner { font-size: var(--fs-base); }

.benefits__grid { grid-template-columns: 1fr; }

.apps__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
      }

.products__image {
        aspect-ratio: 16 / 10;
        min-height: 240px;
      }

.products__sub-grid { grid-template-columns: 1fr; }

.products__spec-value { text-align: left; }

.team__card { flex: 0 1 100%; min-width: 0; }

.downloads__grid { grid-template-columns: 1fr; }

.downloads__link { align-items: flex-start; }

.downloads__link span { margin-left: auto; }

.contact__form { grid-template-columns: 1fr; }

.form__group--full { grid-column: 1; }

.contact__channel { align-items: flex-start; }

.production__bg { background-attachment: scroll !important; }

.diagram2 { padding: 1.5rem 1rem; }

.diagram2__hub-ring2, .diagram2__hub-ring3 { display: none; }

.diagram2__hub-orbit { width: 90px; height: 90px; }

.diagram2__hub-ring1 { width: 80px; height: 80px; margin: -40px 0 0 -40px; }

.diagram2__hub-core { width: 70px; height: 70px; }

.diagram2__outputs { grid-template-columns: 1fr; }

.diagram2__outputs .diagram2__node { flex-direction: row; text-align: left; }

.diagram2__outputs .diagram2__node-info { align-items: flex-start; }

.diagram2-splitbar__labels { font-size: 0.6rem; grid-template-columns: 4fr 5fr 2fr; }

}

@media (max-width: 640px) {
  .hero__headline { font-size: clamp(2rem, 6vw, 3rem); max-width: 100%; }

  .hero__subtitle { font-size: var(--fs-base); }

  .hero__stat-value { font-size: var(--fs-xl); }

  .hero__stat-label { font-size: 0.68rem; }

  .hero__stat { padding: var(--space-md) var(--space-sm); }

  .tech__stats { grid-template-columns: 1fr; }

  .tech__stat-ring { --ring-size: 68px; --ring-inner-size: 52px; }

  .benefits__grid { gap: var(--space-sm); }

  .apps__grid { gap: var(--space-sm); }

  .products__image { min-height: 200px; }

  .section-header__title { font-size: var(--fs-xl); }

  .section-header__subtitle { font-size: var(--fs-base); }

  .card { padding: var(--space-lg); }

  .diagram2 { padding: 1.25rem 0.75rem; }

  .diagram2__hub-orbit { width: 85px; height: 85px; }

  .diagram2__hub-ring1 { width: 75px; height: 75px; margin: -37.5px 0 0 -37.5px; }

  .diagram2__hub-core { width: 65px; height: 65px; }

  .team__card { flex: 0 1 100%; }

  .downloads__grid { gap: var(--space-sm); }
}

@media (max-width: 480px) {
.hero { min-height: auto; }

.hero__container { padding-top: 90px; padding-bottom: 2rem; }

.hero__headline { max-width: 100%; font-size: clamp(1.9rem, 5.5vw, 2.6rem); }

.hero__actions { flex-direction: column; width: 100%; }

.hero__actions .btn { width: 100%; justify-content: center; }

.hero__stats { flex-direction: column; border-top: 1px solid rgba(255,255,255,0.12); }

.hero__stat {
        flex: 1 1 100%;
        padding: var(--space-md) var(--space-sm);
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: var(--space-sm);
      }

.hero__stat + .hero__stat { border-left: none !important; border-top: 1px solid rgba(255,255,255,0.12); }

.hero__stat-value { display: inline; font-size: var(--fs-xl); margin-bottom: 0; }

.hero__stat-label { display: inline; font-size: 0.7rem; }

.section-header__label::before, .section-header__label::after { display: none; }

.tech__stats { grid-template-columns: 1fr; }

.tech__grid { gap: var(--space-sm); }

.benefits__grid,
.apps__grid { gap: var(--space-sm); }

.diagram2__hub-orbit { width: 80px; height: 80px; }

.diagram2__hub-ring1 { width: 70px; height: 70px; margin: -35px 0 0 -35px; }

.diagram2__hub-core { width: 60px; height: 60px; }

.diagram2 { padding: 1.25rem 0.75rem; }

.diagram2__node {
  padding: 0.875rem 1rem;
  gap: 0.75rem;
}

.diagram2__node-text { font-size: 0.8rem; }

.diagram2__node-sub { font-size: 0.7rem; }

.diagram2__badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
}

.products__image {
  aspect-ratio: 16 / 10;
  min-height: 200px;
}

.products__sub-card { flex-direction: column; gap: var(--space-md); }

.downloads__link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
      }

.downloads__link span { margin-left: 0; }

.contact__channel { flex-direction: column; }

.production__trust { gap: var(--space-xl); }

}

@media (max-width: 375px) {
  .hero { min-height: auto; padding-bottom: var(--space-xl); }

  .hero__container { padding-top: 84px; padding-bottom: 1.5rem; }

  .hero__headline { font-size: 1.75rem; max-width: 100%; }

  .hero__subtitle { font-size: 0.9rem; line-height: 1.6; }

  .hero__stat-value { font-size: var(--fs-lg); }

  .hero__stat { padding: var(--space-sm); }

  .section-header { margin-bottom: var(--space-xl); }

  .section-header__title { font-size: var(--fs-lg); }

  .section-header__subtitle { font-size: var(--fs-sm); }

  .card { padding: var(--space-md); }

  .tech__text { font-size: var(--fs-sm); }

  .diagram2 { padding: 1rem 0.5rem; }

  .diagram2__node { padding: 0.75rem; gap: 0.5rem; }

  .diagram2__node-text { font-size: 0.75rem; }

  .diagram2__icon { width: 36px; height: 36px; }

  .diagram2__icon svg, .diagram2__icon .icon-font { width: 18px; height: 18px; font-size: 18px; }

  .products__image { min-height: 160px; }
}

/* ============================================
       SECTION HEADER CLIP REVEAL
       ============================================ */
.section-header__title { opacity: 1; transform: none; }

.header-reveal-enabled .section-header__title {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

.header-reveal-enabled .section-header__title.is-visible { opacity: 1; transform: translateY(0); }

.section-header__label { opacity: 1; transform: none; }

.header-reveal-enabled .section-header__label {
      opacity: 0;
      transform: translateY(12px) scale(0.96);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

.header-reveal-enabled .section-header__label.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.section-header__subtitle { opacity: 1; transform: none; }

.header-reveal-enabled .section-header__subtitle {
      opacity: 0;
      transform: translateY(15px);
      transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
    }

.header-reveal-enabled .section-header__subtitle.is-visible { opacity: 1; transform: translateY(0); }

/* Override for dark sections */
.section--dark .section-header__title.is-visible { color: var(--white); }

/* ============================================
       CARD SPOTLIGHT (mouse-follow gradient)
       ============================================ */
.card-spotlight {
      --spot-x: 50%;
      --spot-y: 50%;
    }

.card-spotlight::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(
        450px circle at var(--spot-x) var(--spot-y),
        rgba(46,107,138,0.08) 0%,
        transparent 55%
      );
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
      z-index: 0;
    }

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

/* Dark section cards - brighter spotlight */
.section--dark .card-spotlight::before {
      background: radial-gradient(
        450px circle at var(--spot-x) var(--spot-y),
        rgba(246,211,7,0.16) 0%,
        rgba(46,107,138,0.1) 38%,
        transparent 55%
      );
    }

/* ============================================
       GLOW CARD BORDER (mouse-tracking)
       ============================================ */
.glow-card {
      position: relative;
      --glow-start: 0;
      --glow-spread: 40;
      --glow-active: 0;
      --glow-border-width: 3px;
      --glow-repeating-times: 5;
      --glow-gradient:
        radial-gradient(circle, #F6D307 10%, #F6D30700 20%),
        radial-gradient(circle at 40% 40%, #E5C306 5%, #E5C30600 15%),
        radial-gradient(circle at 60% 60%, #C8A90A 10%, #C8A90A00 20%),
        radial-gradient(circle at 40% 60%, #2E6B8A 10%, #2E6B8A00 20%),
        repeating-conic-gradient(
          from 236.84deg at 50% 50%,
          #F6D307 0%,
          #E5C306 calc(25% / var(--glow-repeating-times)),
          #C8A90A calc(50% / var(--glow-repeating-times)),
          #2E6B8A calc(75% / var(--glow-repeating-times)),
          #F6D307 calc(100% / var(--glow-repeating-times))
        );
    }

/* Static border (visible when inactive) */
.glow-card__border {
      pointer-events: none;
      position: absolute;
      inset: 0;
      border-radius: inherit;
      border: 1px solid rgba(255,255,255,0.06);
      opacity: 1;
      transition: opacity 0.3s ease;
      z-index: 0;
    }

.glow-card.is-glowing .glow-card__border {
      opacity: 0;
    }

/* Animated glow layer */
.glow-card__glow {
      pointer-events: none;
      position: absolute;
      inset: 0;
      border-radius: inherit;
      z-index: 0;
    }

.glow-card__glow .glow-inner {
      position: absolute;
      inset: 0;
      border-radius: inherit;
    }

.glow-card__glow .glow-inner::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      border: var(--glow-border-width) solid transparent;
      background: var(--glow-gradient);
      background-attachment: fixed;
      opacity: var(--glow-active);
      transition: opacity 0.3s ease;
      -webkit-mask-clip: padding-box, border-box;
      mask-clip: padding-box, border-box;
      -webkit-mask-composite: source-in;
      mask-composite: intersect;
      -webkit-mask-image:
        linear-gradient(#0000, #0000),
        conic-gradient(
          from calc((var(--glow-start) - var(--glow-spread)) * 1deg),
          #00000000 0deg,
          #fff,
          #00000000 calc(var(--glow-spread) * 2deg)
        );
      mask-image:
        linear-gradient(#0000, #0000),
        conic-gradient(
          from calc((var(--glow-start) - var(--glow-spread)) * 1deg),
          #00000000 0deg,
          #fff,
          #00000000 calc(var(--glow-spread) * 2deg)
        );
    }

/* Card content must stack above glow layers */
.glow-card > *:not(.glow-card__border):not(.glow-card__glow) {
      position: relative;
      z-index: 1;
    }

/* Subtle outer glow when active */
.glow-card.is-glowing {
      box-shadow: 0 0 24px -6px rgba(246,211,7,0.16),
                  0 0 24px -6px rgba(46,107,138,0.12);
    }

/* ============================================
       3D PRODUCT TILT
       ============================================ */
.products__image--tiltable {
      perspective: 800px;
    }

.products__image--tiltable img {
      transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99);
    }

/* ============================================
       REDUCED MOTION
       ============================================ */
@media (prefers-reduced-motion: reduce) {
.reveal, .reveal--left, .reveal--right, .reveal--scale { opacity: 1; transform: none; }

.diagram2__node { opacity: 1; transform: none; filter: none; }

.diagram2__hub { opacity: 1; transform: none; filter: none; }

.diagram2__hub-ring1, .diagram2__hub-ring2, .diagram2__hub-ring3 { animation: none; }

.diagram2__hub-core { animation: none; }

.diagram2__connector::after { animation: none; }

.diagram2__icon::after { animation: none; }

.diagram2__node::before { animation: none; }

.diagram2__eff-val { animation: none; }

.diagram2__loss { opacity: 1; transform: none; }

.diagram2-splitbar__seg { transition: none; }

/* New animation overrides */
.hero__label, .hero__headline, .hero__subtitle, .hero__actions, .hero__stats, .hero__scroll {
        opacity: 1; transform: none;
      }

#heroShader { display: none; }

.section-header__title, .section-header__label, .section-header__subtitle { opacity: 1; transform: none; }

.counter-glow { animation: none; }

}

/* ============================================
       HOVER MEDIA QUERY
       ============================================ */
@media (hover: none) {
.card:hover { transform: none; box-shadow: var(--shadow-sm); }

.benefits__card::before { display: none; }

.apps__card:hover { transform: none; }

}
