:root {
  /* Brand Colors - Premium Light Mode Design */
  --bg: hsl(220, 20%, 97%);
  --bg-elevated: hsla(220, 20%, 93%, 0.85);
  --panel: hsla(0, 0%, 100%, 0.75);
  --panel-border: hsla(220, 20%, 80%, 0.4);
  --panel-border-glow: hsla(190, 100%, 40%, 0.3);
  
  --text: hsl(220, 40%, 12%);
  --text-dim: hsl(220, 15%, 35%);
  --muted: hsl(220, 10%, 55%);
  
  --cyan: hsl(190, 100%, 36%);
  --cyan-glow: hsla(190, 100%, 40%, 0.15);
  --blue: hsl(215, 100%, 50%);
  --orange: hsl(25, 100%, 45%);
  --orange-glow: hsla(25, 100%, 50%, 0.15);
  
  --line: hsla(220, 20%, 20%, 0.05);
  --shadow: 0 16px 48px hsla(220, 20%, 30%, 0.08);
  --glow-shadow: 0 0 30px hsla(190, 100%, 40%, 0.06);
  --radius: 28px;
  --radius-sm: 16px;
  --max-width: 1440px;
  
  /* Animation timings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-slow: 0.8s;
  --duration-fast: 0.3s;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: hsla(230, 40%, 20%, 0.8);
  border-radius: 10px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 0% 0%, hsla(215, 100%, 50%, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 100% 0%, hsla(25, 100%, 50%, 0.05) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, hsla(190, 100%, 50%, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}

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

button {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bg-canvas,
.bg-grid,
.bg-noise,
.bg-beam,
.bg-radial,
.bg-glow {
  pointer-events: none;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 88%);
  animation: gridDrift 18s linear infinite;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4) 0.5px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.24) 0.5px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.22) 0.5px, transparent 1px);
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.bg-beam {
  position: fixed;
  top: -12%;
  width: 38vw;
  height: 130vh;
  z-index: -3;
  filter: blur(36px);
  opacity: 0.16;
}

.bg-beam-left {
  left: -10vw;
  background: linear-gradient(180deg, rgba(98, 220, 255, 0.2), transparent 74%);
  transform: rotate(14deg);
  animation: beamFloatLeft 14s ease-in-out infinite;
}

.bg-beam-right {
  right: -12vw;
  background: linear-gradient(180deg, rgba(255, 139, 61, 0.16), transparent 74%);
  transform: rotate(-12deg);
  animation: beamFloatRight 17s ease-in-out infinite;
}

.bg-radial {
  position: fixed;
  border-radius: 50%;
  z-index: -2;
  filter: blur(72px);
  opacity: 0.18;
}

.bg-radial-top {
  top: -180px;
  left: 18%;
  width: 440px;
  height: 440px;
  background: rgba(98, 220, 255, 0.18);
  animation: pulseAura 10s ease-in-out infinite;
}

.bg-radial-bottom {
  right: 8%;
  bottom: -180px;
  width: 520px;
  height: 520px;
  background: rgba(255, 139, 61, 0.12);
  animation: pulseAura 12s ease-in-out infinite reverse;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: -1;
}

.bg-glow-cyan {
  width: 420px;
  height: 420px;
  background: var(--cyan);
  top: 12%;
  right: -120px;
}

.bg-glow-orange {
  width: 360px;
  height: 360px;
  background: var(--orange);
  bottom: 10%;
  left: -140px;
}

.topbar,
.section {
  width: min(calc(100% - 56px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  margin-top: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 0 30px rgba(98, 220, 255, 0.2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.nav,
.topbar-actions,
.lang-toggle,
.hero-actions,
.hero-metrics,
.architecture-mini,
.capabilities,
.dashboard-grid,
.card-grid,
.assistant-layout,
.use-cases-grid,
.stack-flow,
.cta-actions {
  display: flex;
}

.nav {
  gap: 18px;
  flex-wrap: wrap;
}

.nav a,
.btn,
.lang-btn {
  transition: 180ms ease;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.topbar-actions {
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: var(--bg-elevated);
}

.lang-btn {
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-btn.is-active {
  color: var(--text);
  background: rgba(98, 220, 255, 0.14);
}

.section {
  padding: 96px 0;
}

.hero {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 80px hsla(190, 100%, 65%, 0.1);
  filter: drop-shadow(0 0 30px hsla(190, 100%, 65%, 0.05));
}

.telemetry-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  padding: 24px;
  min-width: 240px;
  border-radius: 20px;
  z-index: 5;
  animation: float 6s ease-in-out infinite;
}

.telemetry-line {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.telemetry-label {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.telemetry-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
}

.telemetry-val-alt {
  color: var(--orange);
}

.telemetry-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.telemetry-progress {
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
  width: 85%;
}

.telemetry-progress.alt {
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange-glow);
  width: 62%;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy > * {
  animation: fadeRise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.hero-copy > :nth-child(1) {
  animation-delay: 120ms;
}

.hero-copy > :nth-child(2) {
  animation-delay: 220ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 320ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 420ms;
}

.hero-copy > :nth-child(5) {
  animation-delay: 520ms;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  color: var(--text);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.7;
}

.glass {
  background: var(--panel);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  transition: border-color var(--duration-fast) var(--ease-out), 
              box-shadow var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.glass:hover {
  border-color: var(--panel-border-glow);
  box-shadow: 0 0 40px hsla(190, 100%, 65%, 0.1);
}

.hero-text {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 1.08rem;
}

.hero-actions {
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn-primary {
  color: #021018;
  background: linear-gradient(135deg, var(--cyan), #effcff);
  box-shadow: 0 12px 30px rgba(98, 220, 255, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(98, 220, 255, 0.4);
}

.btn-secondary,
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover,
.btn-ghost:hover,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible {
  border-color: rgba(98, 220, 255, 0.4);
  background: rgba(98, 220, 255, 0.08);
}

.hero-metrics {
  grid-column: 1 / -1;
  gap: 16px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.metric-card,
.panel,
.signal-card,
.chat-bubble,
.feature-item,
.stack-pill {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.metric-card {
  min-width: 160px;
  padding: 16px 18px;
  border-radius: 20px;
}

.metric-value {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.metric-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-height: auto;
  padding-top: 18px;
  max-width: 560px;
  width: 100%;
  justify-self: end;
}

.hero-scene {
  position: relative;
  height: 420px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(98, 220, 255, 0.12);
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transform-origin: center right;
  animation: sceneFloat 11s ease-in-out infinite;
}

.hero-scene-image,
.module-image,
.assistant-visual img,
.use-case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out), opacity 0.4s ease;
}

.hero-scene-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 11, 18, 0.1), rgba(6, 11, 18, 0.85)),
    linear-gradient(135deg, rgba(44, 124, 255, 0.18), rgba(255, 139, 61, 0.08));
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(98, 220, 255, 0.16) 48%, transparent 52%, transparent 100%);
  transform: translateX(-120%);
  animation: scanSweep 7.5s linear infinite;
}

.dashboard-card {
  position: relative;
  right: auto;
  top: auto;
  width: 100%;
  padding: 22px;
  z-index: 2;
  animation: panelFloat 9s ease-in-out infinite;
}

.dashboard-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  border: 1px solid rgba(98, 220, 255, 0.12);
  pointer-events: none;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.panel-title {
  color: var(--text);
  font-weight: 700;
}

.panel-status {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(98, 220, 255, 0.14);
  color: var(--cyan);
  font-size: 0.84rem;
}

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

.signal-card,
.chart-card,
.assistant-card {
  border-radius: 22px;
  padding: 18px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.signal-card:hover,
.chart-card:hover,
.assistant-card:hover,
.module-card:hover,
.stack-card:hover,
.use-case:hover,
.feature-item:hover,
.capability:hover {
  transform: translateY(-8px);
  border-color: var(--panel-border-glow);
  box-shadow: var(--glow-shadow), 0 24px 60px rgba(0, 0, 0, 0.4);
}

.signal-card {
  min-height: 124px;
}

.signal-card-wide {
  grid-column: 1 / -1;
}

.signal-label,
.chart-caption {
  color: var(--muted);
  font-size: 0.88rem;
}

.signal-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
}

.signal-trend {
  font-size: 0.92rem;
}

.positive {
  color: #8ffacb;
}

.architecture-mini {
  margin-top: 14px;
  gap: 10px;
  flex-wrap: wrap;
}

.architecture-mini span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.84rem;
}

.chart-card {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(44, 124, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
}

.chart-bars span {
  flex: 1;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--cyan), rgba(98, 220, 255, 0.14));
  box-shadow: 0 0 18px rgba(98, 220, 255, 0.2);
}

.chart-caption {
  display: block;
  margin-top: 18px;
}

.assistant-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid rgba(255, 139, 61, 0.24);
  background: linear-gradient(135deg, rgba(255, 139, 61, 0.1), rgba(255, 255, 255, 0.03));
}

.assistant-badge {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #1b0d04;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), #ffd5b9);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading p {
  margin-top: 18px;
  max-width: 62ch;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.architecture {
  padding: 28px;
}

.architecture-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.arch-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s var(--ease-out);
}

.arch-node:hover {
  border-color: var(--cyan);
  background: rgba(98, 220, 255, 0.05);
  transform: scale(1.02);
}

.arch-node-core {
  border-color: var(--cyan);
  background: rgba(98, 220, 255, 0.1);
  box-shadow: 0 0 30px var(--cyan-glow);
}

.arch-icon,
.module-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.arch-icon {
  color: #071018;
  background: linear-gradient(135deg, var(--cyan), #dcfbff);
}

.arch-arrow {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  position: relative;
  overflow: hidden;
}

.arch-arrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  transform: translateX(-100%);
  animation: flowLine 2s linear infinite;
}

@keyframes flowLine {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

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

.capability {
  min-height: 156px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.capability p {
  margin-top: 10px;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.modules-grid > *,
.platform-grid > * {
  min-width: 0;
}

.modules-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.platform-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.module-card,
.stack-card,
.use-case,
.cta {
  padding: 26px;
}

.module-card,
.stack-card,
.use-case {
  height: 100%;
}

.module-image {
  height: 220px;
  margin: -26px -26px 20px;
  border-radius: 24px 24px 0 0;
  opacity: 0.7;
  filter: grayscale(0.2);
  transition: all 0.5s var(--ease-out);
}

.module-card:hover .module-image {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

.module-card:hover .module-image,
.use-case:hover .use-case-image,
.assistant-panel:hover .assistant-visual img {
  transform: scale(1.045);
  opacity: 0.96;
}

.module-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.module-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.module-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(98, 220, 255, 0.4);
}

.module-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--panel-border);
}

.module-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.85;
}

.module-card p,
.stack-card p,
.use-case p {
  margin-top: 14px;
}

.assistant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.assistant-panel {
  padding: 24px;
  height: 100%;
}

.assistant-visual {
  height: 210px;
  margin-bottom: 20px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-window {
  display: grid;
  gap: 14px;
}

.chat-row {
  display: flex;
}

.chat-row:nth-child(odd) {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 88%;
  padding: 16px 20px;
  border-radius: 22px;
  line-height: 1.5;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-bubble.user {
  background: rgba(98, 220, 255, 0.08);
  border-color: rgba(98, 220, 255, 0.2);
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
  background: rgba(255, 255, 255, 0.03);
  border-bottom-left-radius: 4px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature-item {
  padding: 20px;
  border-radius: 20px;
  min-height: 122px;
}

.feature-item p {
  margin-top: 8px;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.use-case {
  position: relative;
  min-width: 0;
}

.use-case-image {
  height: 150px;
  margin: -26px -26px 18px;
  border-radius: 24px 24px 18px 18px;
  opacity: 0.82;
  transition: transform 500ms ease, opacity 300ms ease;
}

.use-case-logo-image {
  object-fit: contain;
  padding: 18px;
  background: rgba(3, 9, 20, 0.92);
}

.case-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--orange);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
}

.stack-flow {
  gap: 14px;
  padding: 24px;
  flex-wrap: wrap;
}

.platform-grid .stack-card:nth-child(1),
.platform-grid .stack-card:nth-child(2),
.platform-grid .stack-card:nth-child(3),
.platform-grid .stack-card:nth-child(4) {
  grid-column: span 3;
}

.platform-grid .stack-card:nth-child(5),
.platform-grid .stack-card:nth-child(6) {
  grid-column: span 6;
}

.stack-pill {
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--text);
}

.cta-section {
  padding-bottom: 120px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-color: var(--panel-border);
  background:
    linear-gradient(135deg, rgba(255, 139, 61, 0.06), rgba(98, 220, 255, 0.06)),
    var(--panel);
  box-shadow: var(--shadow);
}

.cta p {
  margin-top: 16px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 22px;
}

.contact-link,
.contact-location {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: var(--bg-elevated);
  color: var(--text-dim);
  transition: all 0.2s var(--ease-out);
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--cyan);
  background: var(--panel);
  color: var(--text);
}

.cta-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes sceneFloat {
  0%,
  100% {
    transform: perspective(1400px) rotateY(-8deg) rotateX(4deg) translateY(0);
  }
  50% {
    transform: perspective(1400px) rotateY(-6deg) rotateX(3deg) translateY(-12px);
  }
}

@keyframes pulseAura {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.16;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.24;
  }
}

@keyframes scanSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes beamFloatLeft {
  0%,
  100% {
    transform: rotate(14deg) translateX(0) translateY(0);
  }
  50% {
    transform: rotate(10deg) translateX(40px) translateY(-18px);
  }
}

@keyframes beamFloatRight {
  0%,
  100% {
    transform: rotate(-12deg) translateX(0) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateX(-34px) translateY(20px);
  }
}

/* Hardware Distribution Section */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.hardware-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  height: 100%;
}

.hw-image {
  background: hsla(230, 45%, 12%, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid var(--panel-border);
}

.hw-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(98, 220, 255, 0.2));
  transition: transform 0.5s var(--ease-out);
}

.hardware-card:hover .hw-image img {
  transform: scale(1.1) rotate(2deg);
}

.hw-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hw-content h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.4rem;
}

.hw-content p {
  font-size: 1rem;
  margin-bottom: 24px;
  color: var(--text-dim);
}

.hw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hw-tags span {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Animations Core */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 0 72px; }
}

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

@keyframes scanSweep {
  from { transform: translateX(-150%); }
  to { transform: translateX(150%); }
}

@keyframes beamFloatLeft {
  0%, 100% { transform: rotate(14deg) translateY(0); }
  50% { transform: rotate(16deg) translateY(30px); }
}

@keyframes beamFloatRight {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-25px); }
}

@keyframes pulseAura {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.22; transform: scale(1.1); }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.cert-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
}

.cert-card img {
  width: auto;
  max-width: 160px;
  height: 64px !important;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: transform 0.4s var(--ease-out);
  padding: 0 8px;
  flex-shrink: 0;
}

.cert-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--cyan);
  box-shadow: 0 0 30px var(--cyan-glow);
}

.cert-card:hover img {
  transform: scale(1.1);
}

.cert-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cert-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.3;
}

.social-links {
  display: flex;
  gap: 16px;
  margin: 12px 0 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(98, 220, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--cyan-glow);
}

/* ==========================================
   Devantix OS Stack & Layer Styles
   ========================================== */
.os-stack-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.os-layer {
  display: grid;
  grid-template-columns: 120px 50px 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  border-radius: 20px;
  transition: all 0.3s var(--ease-out);
}

.os-layer:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--panel-border-glow);
  box-shadow: var(--shadow);
}

.os-layer-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.os-layer:hover .os-layer-icon {
  opacity: 1;
  transform: scale(1.1);
}

.layer-badge {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan);
  background: rgba(98, 220, 255, 0.1);
  border: 1px solid var(--cyan-glow);
  padding: 6px 12px;
  border-radius: 10px;
  text-align: center;
  letter-spacing: 0.05em;
  width: max-content;
}

.layer-info h3 {
  margin: 0 0 6px 0;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.layer-info p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.layer-techs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tech-tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 10px;
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.os-layer:hover .tech-tag {
  border-color: rgba(98, 220, 255, 0.2);
  color: var(--text);
  background: rgba(98, 220, 255, 0.05);
}

/* ==========================================
   Engineering Services Section
   ========================================== */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.service-icon-wrapper {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(98, 220, 255, 0.1);
  color: var(--cyan);
  border: 1px solid var(--cyan-glow);
  box-shadow: 0 0 15px rgba(98, 220, 255, 0.15);
}

.service-card h3 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   Ecosystem & Brands Section
   ========================================== */
.ecosystem-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.ecosystem-card {
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ecosystem-img {
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--panel-border);
}

.ecosystem-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.ecosystem-card:hover .ecosystem-img img {
  transform: scale(1.05);
}

.text-fallback-wrapper {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(6, 11, 18, 0.6), rgba(98, 220, 255, 0.05));
  height: 200px;
  border-bottom: 1px solid var(--panel-border);
}

.ecosystem-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ecosystem-content h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.ecosystem-content p {
  font-size: 0.96rem;
  line-height: 1.5;
}

.ecosystem-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
}

.ecosystem-tags span {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--muted);
}

/* ==========================================
   Blog Section & Cards
   ========================================== */
.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.blog-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-image {
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid var(--panel-border);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-date {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.blog-card p {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan);
  margin-top: auto;
  padding-top: 12px;
  transition: color 0.2s ease;
}

.blog-link svg {
  transition: transform 0.2s ease;
}

.blog-link:hover svg {
  transform: translateX(4px);
}

/* Catalog Styles */
.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--text-dim);
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  box-shadow: var(--shadow);
}

.filter-btn:hover {
  border-color: var(--cyan);
  color: var(--text);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #071018;
  box-shadow: 0 4px 16px var(--cyan-glow);
}

.catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}

.product-image-wrapper {
  height: 180px;
  background: var(--bg-elevated);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image-wrapper img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-card .brand-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text);
}

.product-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.product-specs li {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-specs li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.product-action {
  width: 100%;
}


@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }

  .telemetry-card {
    right: 20px;
    bottom: -20px;
  }

  .hardware-grid {
    grid-template-columns: 1fr;
  }
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

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

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

  .platform-grid .stack-card:nth-child(1),
  .platform-grid .stack-card:nth-child(2),
  .platform-grid .stack-card:nth-child(3),
  .platform-grid .stack-card:nth-child(4),
  .platform-grid .stack-card:nth-child(5),
  .platform-grid .stack-card:nth-child(6) {
    grid-column: span 1;
  }

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

  .assistant-layout {
    grid-template-columns: 1fr;
  }

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

  .nav {
    display: none;
  }

  .hero {
    padding-top: 44px;
    gap: 40px;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 0;
    max-width: 100%;
  }

  .hero-scene {
    height: 420px;
    transform: none;
    animation: none;
  }

  .dashboard-card {
    width: 100%;
  }

  /* Devantix OS Stack Mobile Overrides */
  .os-layer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    text-align: center;
  }

  .os-layer-icon {
    margin: 0 auto;
  }

  .layer-badge {
    margin: 0 auto;
  }

  .layer-techs {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .topbar,
  .section {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .topbar-actions {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .capabilities,
  .platform-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-wrapper {
    max-width: 100%;
  }

  .telemetry-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 20px;
    width: 100%;
  }

  .hardware-card {
    grid-template-columns: 1fr;
  }

  .hw-image {
    border-right: 0;
    border-bottom: 1px solid var(--panel-border);
    height: 200px;
  }

  .dashboard-card {
    position: relative;
    width: 100%;
  }

  .signal-card-wide {
    grid-column: auto;
  }

  .assistant-layout,
  .cta {
    display: flex;
    flex-direction: column;
  }

  .chat-bubble {
    max-width: 100%;
  }

  /* Final Mobile Polish */
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.1;
  }
  
  .hardware-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
