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

ul[role="list"] {
  list-style: none;
}

img, svg {
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

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

html {
  scroll-behavior: smooth;
}


/* ============================================================
   VARIABLES
============================================================ */
:root {
  /* Colors */
  --color-bg:          #04080f;
  --color-bg-alt:      #060c1a;
  --color-bg-card:     rgba(8, 14, 32, 0.7);
  --color-bg-card-hov: rgba(13, 22, 46, 0.95);
  --color-blue:        #2d5ec4;
  --color-blue-hover:  #3d6fd4;
  --color-electric:    #4a7aff;
  --color-white:       #eef2ff;
  --color-gray-1:      #8aa3cc;
  --color-gray-2:      #7a9ac0;
  --color-gray-3:      #4d6b9a;
  --color-gray-4:      #3d5a7a;
  --color-border:      rgba(255, 255, 255, 0.07);
  --color-border-blue: rgba(74, 122, 255, 0.28);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --section-py:   110px;
  --container-px: 5%;
  --container-max: 1200px;

  /* Border radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  14px;
  --radius-xl:  16px;

  /* Transitions */
  --transition: 0.3s ease;
}


/* ============================================================
   GLOBAL
============================================================ */
body {
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}



::selection { background: rgba(45, 94, 196, 0.35); color: var(--color-white); }

input::placeholder,
textarea::placeholder { color: rgba(138, 163, 204, 0.35); }

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

.section {
  padding-block: var(--section-py);
}

.section--alt {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.text-accent {
  color: var(--color-blue);
}


/* ============================================================
   ANIMATIONS (keyframes)
============================================================ */
@keyframes dash-flow {
  from { stroke-dashoffset: 11; }
  to   { stroke-dashoffset: 0; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50%       { translate: 0 -7px; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fade-in-x {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Scroll-triggered fade-in */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}


/* ============================================================
   SECTION LABELS & TITLES
============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  border-radius: 100px;
  border: 1px solid var(--color-border-blue);
  /* background: rgba(74, 122, 255, 0.07); */
  color: #6b9fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin-inline: auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-white);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--color-gray-2);
  line-height: 1.75;
  font-weight: 300;
  max-width: 560px;
}


/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 32px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 0 0 rgba(45, 94, 196, 0);
}

.btn-primary:hover {
  background: var(--color-blue-hover);
  box-shadow: 0 0 24px rgba(45, 94, 196, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gray-1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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


/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 16px;
  right: var(--container-px);
  z-index: 1000;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  pointer-events: none;
  transition:
    transform 0.4s cubic-bezier(.16, 1, .3, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
  will-change: transform;
}

.nav.scrolled {
  background: transparent;
  backdrop-filter: none;
  border-color: transparent;
}

.nav--hidden {
  transform: translateY(-110%);
}

.nav-logo {
  display: none;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  align-items: center;
  width: 100px;
}

.nav-logo-dot {
  color: var(--color-blue);
  font-size: 26px;
  line-height: 1;
  position: relative;
  top: 1px;
}

.nav-logo-link {
  display: none;
  align-items: center;
  flex-shrink: 0;
}

.nav-tagline {
  display: none;
  margin-bottom: 0;
  margin-right: auto;
}

.nav-logo-img {
  width: 100px;
  display: block;
  opacity: 0.88;
  transition: opacity var(--transition);
}

.nav-logo-link:hover .nav-logo-img {
  opacity: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
}

.nav-cta {
  display: none;
}

.nav-link {
  color: var(--color-gray-2);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(8, 14, 32, 0.55);
  transition: background var(--transition), border-color var(--transition);
  pointer-events: auto;
}

.nav-toggle:hover,
.nav-toggle.open {
  background: rgba(13, 22, 46, 0.95);
  border-color: var(--color-border-blue);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gray-1);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 72px;
  right: var(--container-px);
  z-index: 999;
  
  background: rgba(4, 7, 15, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 35px;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  font-size: 14px;
  color: var(--color-gray-2);
  font-weight: 500;
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--color-white); }
.mobile-menu .btn {
  margin-top: 8px;
  text-align: center;
  color: #fff;
}


/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, #04070f 0%, #060c1a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px var(--container-px) 60px;
  position: relative;
  overflow: hidden;
}

.logo-hero{
  width: 200px;
  margin: 0 30px 30px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(74, 122, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 122, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  translate: -50% 0;
  width: 80%;
  height: 60%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(45, 94, 196, 0.14) 0%, transparent 70%);
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 990px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 22px;
  margin-top: 32px;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--color-gray-2);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 35px 0;
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 5vw, 60px);
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--color-gray-3);
  margin-top: 3px;
  letter-spacing: 0.02em;
}


/* ============================================================
   ECOSYSTEM VISUALIZATION
============================================================ */
.eco-viz {
  position: relative;
  width: 100%;
  max-width: 1190px;
  aspect-ratio: 5 / 3; /* matches SVG viewBox 800×600 exactly */
  z-index: 1;
}

.eco-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* SVG elements */
.orbit-ring {
  fill: none;
  stroke-dasharray: 4 10;
}

.orbit-outer { stroke: rgba(74, 122, 255, 0.09); stroke-width: 1; }
.orbit-inner { stroke: rgba(74, 122, 255, 0.07); stroke-width: 1; stroke-dasharray: 3 8; }

.eco-line {
  stroke: rgba(74, 122, 255, 0.22);
  stroke-width: 1;
  stroke-dasharray: 6 5;
  animation: dash-flow 2.8s linear infinite;
  transition: stroke var(--transition), stroke-width var(--transition);
}

.eco-line-0 { animation-delay: 0s; }
.eco-line-1 { animation-delay: -0.4s; }
.eco-line-2 { animation-delay: -0.8s; }
.eco-line-3 { animation-delay: -1.2s; }
.eco-line-4 { animation-delay: -1.6s; }
.eco-line-5 { animation-delay: -2.0s; }
.eco-line-6 { animation-delay: -2.4s; }

.eco-dot {
  fill: var(--color-blue);
  opacity: 0.7;
  transition: fill var(--transition), opacity var(--transition);
}

.center-ring {
  fill: #040810;
  stroke: var(--color-blue);
  stroke-width: 1.5;
  opacity: 0.95;
}

.center-ring-inner {
  fill: none;
  stroke: var(--color-blue);
  stroke-width: 0.5;
  opacity: 0.3;
}

.center-pulse {
  fill: none;
  stroke: var(--color-blue);
  stroke-width: 1;
  animation: pulse-ring 2.6s ease-out infinite;
  transform-origin: 400px 300px;
}

/* Center label */
.eco-center {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  text-align: center;
  user-select: none;
  z-index: 2;
  pointer-events: none;
  width: 100px;
}

.eco-center-name {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.eco-center-dot {
  color: var(--color-blue);
}

.eco-center-sub {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(6px, 0.9vw, 8px);
  letter-spacing: 0.12em;
  color: #5a7aa0;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 5px;
}

/* Eco cards */
.eco-card {
  position: absolute;
  translate: -50% -50%;
  scale: 1;
  width: clamp(130px, 17vw, 230px);
  background: rgba(8, 15, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: clamp(10px, 1.2vw, 14px);
  backdrop-filter: blur(14px);
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  /* animation: float 2.8s ease-in-out infinite; */
}

.eco-card:hover,
.eco-card:focus-visible,
.eco-card.active {
  background: rgba(13, 24, 52, 0.97);
  border-color: rgba(74, 122, 255, 0.72);
  scale: 1.04;
  box-shadow:
    0 0 0 1px rgba(74, 122, 255, 0.2),
    0 0 34px rgba(74, 122, 255, 0.34),
    0 12px 34px rgba(0, 0, 0, 0.48);
  z-index: 10;
}

.eco-card:focus-visible {
  outline: 2px solid rgba(168, 196, 255, 0.9);
  outline-offset: 4px;
}

/* Dim sibling cards when any is hovered — only on real hover devices */
@media (hover: hover) {
  .eco-viz:has(.eco-card:hover) .eco-card:not(:hover) {
    opacity: 0.4;
  }
}

.eco-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.eco-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(45, 94, 196, 0.18);
  border: 1px solid rgba(74, 122, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-electric);
  flex-shrink: 0;
}

.eco-card-count {
  font-family: var(--font-heading);
  font-size: clamp(11px, 0.8vw, 12px);
  color: var(--color-gray-3);
  font-weight: 500;
}

.eco-card-title {
  font-family: var(--font-heading);
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #d4e0ff;
  line-height: 1.3;
}

.eco-card-preview {
  font-size: clamp(11px, 0.8vw, 12px);
  color: #6b84b0;
  margin-top: 6px;
  line-height: 1.45;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.eco-card:hover .eco-card-preview,
.eco-card:focus-visible .eco-card-preview,
.eco-card.active .eco-card-preview {
  max-height: 60px;
}


/* ============================================================
   SOLUTIONS SECTION
============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.solution-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all var(--transition);
}

.solution-card:hover {
  background: var(--color-bg-card-hov);
  border-color: rgba(74, 122, 255, 0.4);
  box-shadow: 0 8px 40px rgba(45, 94, 196, 0.18);
}

.solution-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(45, 94, 196, 0.1);
  border: 1px solid rgba(74, 122, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a6da0;
  margin-bottom: 18px;
  transition: all var(--transition);
}

.solution-card:hover .solution-card-icon {
  background: rgba(45, 94, 196, 0.22);
  border-color: rgba(74, 122, 255, 0.35);
  color: #7ab0ff;
}

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #c8d8f0;
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color var(--transition);
}

.solution-card:hover h3 { color: var(--color-white); }

.solution-card p {
  font-size: 13px;
  color: #5a7590;
  line-height: 1.65;
  font-weight: 300;
}


/* ============================================================
   ECOSYSTEM TABS SECTION
============================================================ */
#ecosystem {
  position: relative;
  overflow: hidden;
}

#ecosystem::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 44%, rgba(45, 94, 196, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, rgba(8, 14, 32, 0.2), transparent 58%);
  pointer-events: none;
}

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

.eco-filter-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 14px;
  color: #4f6f9d;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eco-filter-label strong {
  color: #7594c6;
  font-size: 10px;
  font-weight: 600;
}

.eco-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-start;
  margin-bottom: 30px;
}

.eco-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.018);
  color: #607b9f;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.005em;
  transition: all var(--transition);
}

.eco-tab:hover {
  color: #a8c4ff;
  border-color: rgba(74, 122, 255, 0.3);
}

.eco-tab.active {
  background: rgba(45, 94, 196, 0.12);
  border-color: rgba(74, 122, 255, 0.48);
  color: #a8c4ff;
  font-weight: 500;
  box-shadow: 0 0 14px rgba(45, 94, 196, 0.14);
}

.eco-tab svg { flex-shrink: 0; }

.eco-panel {
  display: grid;
  grid-template-areas: "summary list detail";
  grid-template-columns: 1.1fr 0.9fr 0px;
  background:
    linear-gradient(135deg, rgba(11, 20, 46, 0.98), rgba(4, 8, 18, 0.94)),
    rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(74, 122, 255, 0.16);
  overflow: hidden;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: 
    grid-template-columns 0.55s cubic-bezier(.16, 1, .3, 1), 
    border-color 0.42s ease, 
    box-shadow 0.42s ease, 
    background 0.42s ease;
  position: relative;
}

.eco-panel.is-detail-open {
  grid-template-columns: 0px 300px 1fr;
  border-color: rgba(91, 137, 255, 0.36);
  background:
    radial-gradient(circle at 84% 8%, rgba(74, 122, 255, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(9, 18, 42, 0.98), rgba(3, 7, 16, 0.96));
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.42), 0 0 42px rgba(45, 94, 196, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

/* Description panels inside eco-panel-left */
.eco-panel-desc {
  display: none;
  flex-direction: column;
  height: 100%;
}

.eco-panel-desc.active {
  display: flex;
}

.eco-panel-left {
  grid-area: summary;
  padding: clamp(32px, 4vw, 52px);
  background:
    radial-gradient(circle at 18% 18%, rgba(74, 122, 255, 0.12), transparent 34%),
    rgba(6, 12, 26, 0.9);
  border-right: 1px solid rgba(74, 122, 255, 0.12);
  opacity: 1;
  transform: none;
  transition: 
    opacity 0.45s cubic-bezier(.16, 1, .3, 1), 
    transform 0.45s cubic-bezier(.16, 1, .3, 1),
    padding-left 0.55s cubic-bezier(.16, 1, .3, 1),
    padding-right 0.55s cubic-bezier(.16, 1, .3, 1),
    border-right-width 0.55s cubic-bezier(.16, 1, .3, 1);
  min-width: 0;
  overflow: hidden;
  contain: layout;
  will-change: opacity, transform, padding-left, padding-right;
}

.eco-panel.is-detail-open .eco-panel-left {
  padding-left: 0;
  padding-right: 0;
  border-right-width: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-20px);
}

.eco-context-kicker,
.eco-panel-context {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eco-context-kicker {
  color: #6f9fff;
  margin-bottom: 24px;
}

.eco-panel-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(45, 94, 196, 0.18);
  border: 1px solid rgba(74, 122, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-electric);
  margin-bottom: 24px;
}

.eco-panel-left h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.eco-panel-left p {
  font-size: 15px;
  color: var(--color-gray-2);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 32px;
}

.eco-panel-left .eco-context-kicker {
  color: #6f9fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.45;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.eco-panel-cta {
  color: var(--color-electric);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: letter-spacing var(--transition);
}

.eco-panel-cta:hover {
  letter-spacing: 0.03em;
}

.eco-panel-right {
  grid-area: list;
  padding: clamp(28px, 3.5vw, 48px);
  background:
    linear-gradient(180deg, rgba(4, 8, 18, 0.78), rgba(8, 14, 32, 0.82));
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid transparent;
  transition: 
    padding 0.55s cubic-bezier(.16, 1, .3, 1), 
    background 0.55s cubic-bezier(.16, 1, .3, 1), 
    border-color 0.55s cubic-bezier(.16, 1, .3, 1);
  will-change: padding, background;
  contain: layout;
}

.eco-panel.is-detail-open .eco-panel-right {
  align-self: start;
  justify-content: flex-start;
  min-height: 100%;
  padding: 26px 18px;
  border-right: 1px solid rgba(74, 122, 255, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(74, 122, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(7, 14, 32, 0.92), rgba(3, 7, 16, 0.94));
  position: sticky;
  top: 88px;
}

.eco-panel-context {
  color: #8fb0e7;
  margin-bottom: 10px;
}

.eco-panel-count {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #3d5a80;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eco-panel.is-detail-open .eco-panel-context {
  color: #75a0f6;
  margin-bottom: 8px;
}

.eco-panel.is-detail-open .eco-panel-count {
  margin-bottom: 18px;
}

.solution-detail {
  grid-area: detail;
  display: none;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 0%, rgba(74, 122, 255, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(7, 13, 30, 0.72), rgba(5, 10, 22, 0.86));
  contain: layout;
}

.eco-panel.is-detail-open .solution-detail {
  display: block;
  animation: detail-reveal 0.55s cubic-bezier(.16, 1, .3, 1) both;
}

.solution-detail-scroll {
  padding: clamp(24px, 3vw, 36px);
}

/* Staggered entrance for detail items */
.solution-detail-topbar,
.solution-hero,
.solution-detail-grid {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s cubic-bezier(.16, 1, .3, 1), transform 0.25s cubic-bezier(.16, 1, .3, 1);
}

.eco-panel.is-detail-open .solution-detail-topbar {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(.16, 1, .3, 1) 50ms, transform 0.5s cubic-bezier(.16, 1, .3, 1) 50ms;
}

.eco-panel.is-detail-open .solution-hero {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(.16, 1, .3, 1) 120ms, transform 0.5s cubic-bezier(.16, 1, .3, 1) 120ms;
}

.eco-panel.is-detail-open .solution-detail-grid {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(.16, 1, .3, 1) 190ms, transform 0.5s cubic-bezier(.16, 1, .3, 1) 190ms;
}


.solution-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.solution-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #6e8bb6;
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 1.4;
}

.solution-breadcrumb strong {
  color: #dbe7ff;
  font-weight: 500;
}

.solution-close {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #c8d8f0;
  font-size: 13px;
  transition: color var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.solution-close:hover,
.solution-close:focus-visible {
  color: var(--color-white);
  border-color: rgba(74, 122, 255, 0.38);
  background: rgba(45, 94, 196, 0.12);
  box-shadow: 0 0 22px rgba(45, 94, 196, 0.14);
}

.solution-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.solution-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #85aaff;
  background:
    radial-gradient(circle at 45% 0%, rgba(121, 166, 255, 0.24), transparent 58%),
    rgba(45, 94, 196, 0.16);
  border: 1px solid rgba(91, 137, 255, 0.38);
  box-shadow: 0 0 28px rgba(45, 94, 196, 0.18);
}

.solution-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #6f9fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.solution-hero h3 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 8px;
}

.solution-subtitle,
.solution-description {
  color: #8fa6ca;
  font-size: 15px;
  line-height: 1.65;
}

.solution-subtitle {
  margin-bottom: 2px;
}

.solution-description {
  max-width: 720px;
}

.solution-detail-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
}

.solution-block {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.solution-block:nth-child(2n) {
  border-right: none;
}

.solution-block:nth-last-child(-n + 2) {
  border-bottom: none;
}

.solution-block--what,
.solution-block--apply,
.solution-block--benefits {
  min-height: 178px;
}

.solution-block-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
}

.solution-block-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 137, 255, 0.48);
  color: #8fb0ff;
  font-family: var(--font-heading);
  font-size: 11px;
  line-height: 1;
}

.solution-block h4 {
  color: #8fb0ff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.solution-block p,
.apply-cards p,
.benefit-grid span,
.problem-list li {
  color: #9aacca;
  font-size: 13px;
  line-height: 1.65;
}

.apply-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.apply-cards article,
.benefit-grid article {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  background: rgba(4, 8, 18, 0.35);
}

.apply-cards article {
  min-height: 92px;
  padding: 14px 12px;
}

.apply-cards span {
  color: #5f84d8;
  font-family: var(--font-heading);
  font-size: 11px;
}

.apply-cards strong,
.benefit-grid strong {
  display: block;
  color: #d9e5fb;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  margin: 4px 0 3px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.benefit-grid article {
  padding: 14px;
}

.problem-list {
  display: grid;
  gap: 9px;
}

.problem-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.problem-list li::before {
  content: '✓';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 137, 255, 0.35);
  color: #95b4ff;
  font-size: 10px;
  flex-shrink: 0;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-tags span {
  padding: 7px 10px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #9db3d4;
  font-size: 12px;
}

.solution-block--cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.solution-block--cta .btn {
  margin-top: auto;
  padding: 11px 18px;
  font-size: 13px;
}

@keyframes detail-reveal {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.solutions-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  color: #c8d8f0;
  font-weight: 400;
  transition: all var(--transition);
  animation: fade-in-x 0.4s ease both;
}

.solutions-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-electric);
  opacity: 0.7;
  flex-shrink: 0;
}

.solutions-list li:hover {
  background: rgba(45, 94, 196, 0.1);
  border-color: rgba(74, 122, 255, 0.25);
}

.solutions-list li:nth-child(1) { animation-delay: 0ms; }
.solutions-list li:nth-child(2) { animation-delay: 50ms; }
.solutions-list li:nth-child(3) { animation-delay: 100ms; }
.solutions-list li:nth-child(4) { animation-delay: 150ms; }
.solutions-list li:nth-child(5) { animation-delay: 200ms; }
.solutions-list li:nth-child(6) { animation-delay: 250ms; }
.solutions-list li:nth-child(7) { animation-delay: 300ms; }
.solutions-list li:nth-child(8) { animation-delay: 350ms; }
.solutions-list li:nth-child(9) { animation-delay: 400ms; }


/* ============================================================
   SEGMENTS
============================================================ */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.segment-card {
  background: rgba(7, 13, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.segment-card:hover {
  background: rgba(11, 20, 46, 0.98);
  border-color: rgba(74, 122, 255, 0.4);
  box-shadow: 0 8px 40px rgba(45, 94, 196, 0.18);
}

.segment-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.segment-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(45, 94, 196, 0.1);
  border: 1px solid rgba(74, 122, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a6da0;
  flex-shrink: 0;
  transition: all var(--transition);
}

.segment-card:hover .segment-card-icon {
  background: rgba(45, 94, 196, 0.22);
  border-color: rgba(74, 122, 255, 0.35);
  color: #7ab0ff;
}

.segment-card-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #c8d8f0;
  transition: color var(--transition);
}

.segment-card:hover h3 { color: var(--color-white); }

.segment-card-body { flex: 1; }

.segment-label {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--color-gray-4);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 12px;
}

.segment-label:first-child { margin-top: 0; }

.segment-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.segment-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 300;
}

.segment-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}

.segment-list--pain li::before { background: #c0392b; opacity: 0.7; }
.segment-list--pain li { color: #6a7f9a; }

.segment-list--solution li::before { background: var(--color-electric); opacity: 0.7; }
.segment-list--solution li { color: #8aaacf; }

.segment-gain {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(45, 94, 196, 0.08);
  border: 1px solid rgba(74, 122, 255, 0.14);
  margin-bottom: 18px;
  font-size: 12px;
  color: #7aabce;
  line-height: 1.5;
  font-style: italic;
}

.segment-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #5a7a9a;
  transition: all var(--transition);
}

.segment-cta:hover {
  border-color: var(--color-blue);
  background: rgba(45, 94, 196, 0.15);
  color: #a8c4ff;
}


/* ============================================================
   DIFERENCIAIS / ABOUT
============================================================ */
.about {
  background: #060c1a;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(45, 94, 196, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-title {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.pillar-card {
  background: rgba(6, 12, 26, 0.95);
  padding: clamp(28px, 3vw, 40px);
  transition: background var(--transition);
}

.pillar-card:hover {
  background: rgba(13, 22, 50, 0.98);
}

.pillar-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  margin-bottom: 20px;
  transition: color var(--transition);
}

.pillar-card:hover .pillar-number {
  color: rgba(74, 122, 255, 0.35);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(45, 94, 196, 0.1);
  border: 1px solid rgba(74, 122, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a6da0;
  margin-bottom: 18px;
  transition: all var(--transition);
}

.pillar-card:hover .pillar-icon {
  background: rgba(45, 94, 196, 0.22);
  border-color: rgba(74, 122, 255, 0.35);
  color: #7ab0ff;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #c0d0ea;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.pillar-card:hover h3 { color: var(--color-white); }

.pillar-card p {
  font-size: 14px;
  color: #4d6b8a;
  line-height: 1.7;
  font-weight: 300;
  transition: color var(--transition);
}

.pillar-card:hover p { color: #8aaacf; }

.about-quote {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(45, 94, 196, 0.12) 0%, rgba(74, 122, 255, 0.05) 100%);
  border: 1px solid rgba(74, 122, 255, 0.2);
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-quote p {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 26px);
  color: #c8d8f0;
  font-weight: 500;
  line-height: 1.45;
  font-style: italic;
  max-width: 720px;
  margin: 0 auto 16px;
  letter-spacing: -0.01em;
}

.about-quote cite {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--color-gray-4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-style: normal;
}


/* ============================================================
   RESULTADOS / METRICS
============================================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 60px;
}

.metric-card {
  text-align: center;
  padding: clamp(28px, 3vw, 40px) 20px;
  background: rgba(7, 13, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.metric-card:hover {
  border-color: rgba(74, 122, 255, 0.3);
  box-shadow: 0 8px 40px rgba(45, 94, 196, 0.15);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: 4px;
}

.metric-suffix {
  color: var(--color-electric);
  font-size: 0.7em;
}

.metric-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #c8d8f0;
  margin-bottom: 6px;
}

.metric-sub {
  font-size: 12px;
  color: #4d6b8a;
  line-height: 1.5;
}

.outcomes-box {
  background: rgba(6, 12, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
}

.outcomes-label {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-gray-4);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}

.outcomes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.outcomes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: #8aaacf;
  font-weight: 300;
}

.outcomes-list li svg { color: var(--color-electric); flex-shrink: 0; }


/* ============================================================
   PARTNERS
============================================================ */
.partners {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 48px;
}

.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: rgba(7, 13, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.partner-badge:hover {
  background: rgba(13, 22, 46, 0.95);
  border-color: rgba(74, 122, 255, 0.3);
  box-shadow: 0 8px 30px rgba(45, 94, 196, 0.15);
}

.partner-badge-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #4a6080;
  transition: all var(--transition);
}

.partner-badge:hover .partner-badge-logo {
  background: rgba(45, 94, 196, 0.18);
  border-color: rgba(74, 122, 255, 0.3);
  color: #7ab0ff;
}

.partner-badge-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #6a8aaa;
  transition: color var(--transition);
  text-align: center;
}

.partner-badge:hover .partner-badge-name { color: #c8d8f0; }

.partner-badge-cat {
  font-size: 11px;
  color: #3d5570;
  line-height: 1.3;
  text-align: center;
}

.certifications {
  padding: 18px 28px;
  background: rgba(6, 12, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 48px);
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  color: #4d6b8a;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.cert-item svg { color: var(--color-blue); flex-shrink: 0; }


/* ============================================================
   CONTACT / CTA FINAL
============================================================ */
.contact {
  background: linear-gradient(135deg, var(--color-bg) 0%, #060d20 50%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

.contact-bg-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  translate: -50% 0;
  width: 60%;
  height: 60%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(45, 94, 196, 0.12) 0%, transparent 70%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-white);
  margin-bottom: 18px;
}

.contact-desc {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--color-gray-2);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 36px;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #8aaacf;
  font-weight: 300;
}

.trust-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(45, 94, 196, 0.2);
  border: 1px solid rgba(74, 122, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-electric);
}

/* Form */
.contact-form-wrap {
  background: rgba(6, 12, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.contact-form h3,
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 12px;
  color: #4d6b8a;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--color-white);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(74, 122, 255, 0.6);
  background: rgba(45, 94, 196, 0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-note {
  font-size: 11px;
  color: #3d5570;
  text-align: center;
  line-height: 1.5;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 0;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(45, 94, 196, 0.2);
  border: 1px solid rgba(74, 122, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-electric);
}

.form-success p {
  font-size: 15px;
  color: var(--color-gray-2);
  line-height: 1.65;
}


/* ============================================================
   FOOTER
============================================================ */
.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(45, 94, 196, 0.18) 0%, rgba(45, 94, 196, 0.05) 34%, transparent 68%),
    linear-gradient(180deg, #04080f 0%, #02050b 100%);
  border-top: 1px solid rgba(116, 158, 255, 0.12);
  padding: clamp(76px, 9vw, 116px) var(--container-px) clamp(38px, 5vw, 52px);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(680px, 72vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116, 158, 255, 0.62), transparent);
  transform: translateX(-50%);
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.footer-logo {
  width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 18px;
  text-shadow: 0 0 34px rgba(74, 122, 255, 0.24);
  transition: color var(--transition), text-shadow var(--transition), transform var(--transition);
}

.footer-logo-dot { color: var(--color-blue); }

.footer-logo:hover {
  color: #ffffff;
  text-shadow: 0 0 42px rgba(74, 122, 255, 0.38);
  transform: translateY(-1px);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #7da4e8;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: #9ab1d4;
  line-height: 1.75;
  font-weight: 300;
  max-width: 600px;
  margin-bottom: 34px;
}

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 46px;
}

.footer-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}

.footer-btn--whatsapp {
  color: #b7c8e6;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-btn--primary {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(62, 111, 212, 0.98), rgba(45, 94, 196, 0.98));
  border: 1px solid rgba(125, 164, 232, 0.46);
  box-shadow: 0 14px 34px rgba(45, 94, 196, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.footer-btn:hover {
  transform: translateY(-2px);
}

.footer-btn--whatsapp:hover {
  color: #ffffff;
  background: rgba(45, 94, 196, 0.12);
  border-color: rgba(116, 158, 255, 0.34);
  box-shadow: 0 14px 32px rgba(45, 94, 196, 0.14);
}

.footer-btn--primary:hover {
  background: linear-gradient(180deg, rgba(73, 126, 234, 1), rgba(51, 105, 215, 1));
  border-color: rgba(157, 190, 255, 0.68);
  box-shadow: 0 18px 42px rgba(45, 94, 196, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.footer-copy {
  font-size: 12px;
  color: #3f5c86;
}


/* ============================================================
   SEGMENT FILTER (primary filter row — above specialty tabs)
============================================================ */
.seg-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(74, 122, 255, 0.12);
}

.seg-tab {
  min-height: 92px;
  padding: 16px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(180deg, rgba(15, 26, 58, 0.74), rgba(6, 12, 26, 0.78));
  color: #8aa3cc;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: left;
  white-space: normal;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}

.seg-tab,
.seg-tab > span:last-child {
  display: flex;
  flex-direction: column;
}

.seg-tab {
  gap: 11px;
}

.seg-tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 94, 196, 0.13);
  border: 1px solid rgba(74, 122, 255, 0.18);
  color: #6896ff;
  font-size: 13px;
  line-height: 1;
}

.seg-tab strong {
  color: #dbe6fb;
  font-size: 14px;
  line-height: 1.15;
}

.seg-tab small {
  color: #5e789e;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 4px;
}

.seg-tab:hover {
  transform: translateY(-3px);
  color: #dce7ff;
  border-color: rgba(74, 122, 255, 0.55);
  background:
    linear-gradient(180deg, rgba(25, 43, 90, 0.9), rgba(9, 17, 39, 0.95));
  box-shadow: 0 16px 42px rgba(45, 94, 196, 0.18);
}

.seg-tab.active {
  background:
    radial-gradient(circle at 18% 0%, rgba(96, 144, 255, 0.24), transparent 48%),
    linear-gradient(180deg, rgba(27, 49, 104, 0.96), rgba(8, 16, 40, 0.98));
  border-color: rgba(91, 137, 255, 0.82);
  color: #eef4ff;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(74, 122, 255, 0.14), 0 0 34px rgba(45, 94, 196, 0.34);
}

.seg-tab.active .seg-tab-icon {
  background: rgba(74, 122, 255, 0.22);
  border-color: rgba(148, 180, 255, 0.46);
  color: #bcd0ff;
}


/* ============================================================
   SOLUTION ITEMS (filterable grid inside eco-panel-right)
============================================================ */
.eco-sol-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.18s ease;
}

.eco-sol-grid.is-filtering {
  opacity: 0;
  pointer-events: none;
}

.sol-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.026);
  font-family: var(--font-body);
  font-size: 14px;
  color: #c8d8f0;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  transition: 
    background 0.2s ease, 
    border-color 0.2s ease, 
    transform 0.2s cubic-bezier(.16, 1, .3, 1),
    opacity 0.3s ease;
  will-change: transform, opacity;
  animation: fade-in-x 0.35s ease both;
}

.sol-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-electric);
  opacity: 0.7;
  flex-shrink: 0;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.sol-item:hover,
.sol-item:focus-visible {
  background: rgba(45, 94, 196, 0.1);
  border-color: rgba(74, 122, 255, 0.25);
  transform: translateX(3px);
}

/* Staggered entry animation delays for search/filter list items */
.sol-item:nth-child(1) { animation-delay: 0ms; }
.sol-item:nth-child(2) { animation-delay: 30ms; }
.sol-item:nth-child(3) { animation-delay: 60ms; }
.sol-item:nth-child(4) { animation-delay: 90ms; }
.sol-item:nth-child(5) { animation-delay: 120ms; }
.sol-item:nth-child(6) { animation-delay: 150ms; }
.sol-item:nth-child(7) { animation-delay: 180ms; }
.sol-item:nth-child(8) { animation-delay: 210ms; }
.sol-item:nth-child(9) { animation-delay: 240ms; }
.sol-item:nth-child(10) { animation-delay: 270ms; }

.sol-item.active,
.sol-item[aria-selected="true"] {
  color: #eef4ff;
  background:
    radial-gradient(circle at 10% 50%, rgba(91, 137, 255, 0.22), transparent 34%),
    rgba(45, 94, 196, 0.16);
  border-color: rgba(91, 137, 255, 0.58);
  box-shadow: 0 0 0 1px rgba(74, 122, 255, 0.08), 0 0 26px rgba(45, 94, 196, 0.22);
}

.sol-item.active::before,
.sol-item[aria-selected="true"]::before {
  opacity: 1;
  box-shadow: 0 0 14px rgba(74, 122, 255, 0.82);
}

.eco-panel.is-detail-open .sol-item:not(.active) {
  opacity: 0.56;
}

.eco-panel.is-detail-open .sol-item:not(.active):hover,
.eco-panel.is-detail-open .sol-item:not(.active):focus-visible {
  opacity: 1;
}

/* Empty state */
.eco-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 20px;
  color: #3d5570;
  text-align: center;
}

.eco-empty p {
  font-size: 13px;
  color: #3d5570;
  line-height: 1.55;
}


/* ============================================================
   DESKTOP NAV (≥769px)
============================================================ */
@media (min-width: 769px) {
  .nav {
    left: 0;
    right: 0;
    top: 0;
    /* Align with .container: use 5% on small screens, auto-center on wide screens */
    padding-block: 0;
    padding-inline: max(var(--container-px), calc((100vw - var(--container-max)) / 2));
    height: 72px;
    justify-content: space-between;
    gap: 32px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    pointer-events: auto;
  }

  .nav.scrolled {
    background: rgba(4, 8, 15, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-color: rgba(255, 255, 255, 0.07);
  }

  .logo-hero {
    display: none;
  }

  .nav-logo-link {
    display: flex;
    flex-shrink: 0;
  }

  .nav-tagline {
    display: inline-flex;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero {
    padding-top: 132px;
  }
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .seg-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eco-panel.is-detail-open {
    grid-template-columns: 0px minmax(230px, 280px) minmax(0, 1fr);
  }

  .solution-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-block,
  .solution-block:nth-child(3n),
  .solution-block:nth-last-child(-n + 3) {
    border-right: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }

  .solution-block:nth-child(2n) {
    border-right: none;
  }

  .solution-block:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .hero-content { text-align: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-title { font-size: clamp(32px, 8vw, 48px); }

  /* Ecosystem vis: replace orbit with 2-col card grid */
  .eco-viz {
    aspect-ratio: unset;
    padding-bottom: 0;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 8px;
    width: 100%;
  }

  .eco-svg {
    display: none;
  }

  .eco-center {
    display: none;
  }

  .eco-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    translate: none !important;
    width: 100% !important;
    max-width: none;
  }

  .eco-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .eco-card .eco-card-preview {
    max-height: 60px;
  }

  .eco-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "summary"
      "list";
  }

  .eco-panel.is-detail-open {
    grid-template-columns: 1fr;
    grid-template-areas:
      "list"
      "detail";
  }

  .eco-panel-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .eco-panel.is-detail-open .eco-panel-left {
    display: none;
  }

  .eco-panel.is-detail-open .eco-panel-right {
    position: relative;
    top: auto;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid rgba(74, 122, 255, 0.16);
  }

  /* Reset layout constraints for mobile details */
  .solution-detail {
    display: none;
    visibility: visible;
    opacity: 1;
    transition: none;
  }

  .eco-panel.is-detail-open .solution-detail {
    display: block;
  }

  .solution-detail-scroll {
    max-height: none;
    overflow-y: visible;
  }

  .solution-hero {
    grid-template-columns: 1fr;
  }

  .solution-detail-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .solution-detail-grid,
  .apply-cards,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .solution-block,
  .solution-block:nth-child(2n),
  .solution-block:nth-child(3n),
  .solution-block:nth-last-child(-n + 2),
  .solution-block:nth-last-child(-n + 3) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }

  .solution-block:last-child {
    border-bottom: none;
  }

  .seg-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eco-filter-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-desc {
    max-width: 520px;
  }
}

@media (max-width: 540px) {
  :root { --section-py: 64px; --container-px: 24px; }

  .eco-viz {
    gap: 8px;
  }

  .eco-tabs {
    gap: 6px;
  }

  .eco-tab {
    font-size: 12px;
    padding: 8px 12px;
  }

  .seg-tabs {
    grid-template-columns: 1fr;
  }

  .seg-tab {
    min-height: 74px;
    padding: 13px 14px;
    flex-direction: row;
    align-items: center;
  }

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

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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