:root {
  --color-bg: #0d1117;
  --color-bg-deep: #060a0e;
  --color-surface: #161b22;
  --color-text: #e6edf3;
  --color-text-secondary: #8b949e;
  --color-text-muted: #9ea3aa;
  --color-accent-green: #3fb950;
  --color-accent-blue: #58a6ff;
  --color-accent-orange: #f78166;
  --color-brand-orange: #f28b2a;
  --color-brand-orange-dark: #d97a1f;
  --color-glass-bg: #ffffff20;
  --color-glass-border: #ffffff14;
  --font-display: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;
}

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

html, body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
}

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

/* =====================
   Mouse Spotlight
   ===================== */

.mouse-spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* =====================
   Navigation
   ===================== */

#new-nav {
  background-color: #0d1117d9;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

#new-nav.with-border {
  border-bottom: 1px solid var(--color-glass-border);
}

.new-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.new-nav-logo img {
  height: 36px;
}

.new-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.new-nav-links a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-weight: 400;
  font-size: 0.9rem;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px 10px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.new-nav-links a:hover {
  color: var(--color-brand-orange);
  border-color: #f28b2a4d;
  background-color: #f28b2a14;
}

.new-nist-link img {
  height: 12px;
  vertical-align: middle;
  filter: invert(1);
}

.new-siemens-link img {
  height: 18px;
  vertical-align: middle;
}

.new-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.new-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-secondary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.new-hamburger.active .new-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--color-brand-orange);
}

.new-hamburger.active .new-bar:nth-child(2) {
  opacity: 0;
}

.new-hamburger.active .new-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--color-brand-orange);
}

.new-mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--color-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: 8px;
  padding: 12px;
  position: absolute;
  top: 70px;
  right: 20px;
  box-shadow: 0 8px 24px #00000066;
  z-index: 1001;
  min-width: 200px;
}

.new-mobile-menu.active {
  display: flex;
}

.new-mobile-menu a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 8px;
  border-bottom: 1px solid var(--color-glass-border);
  transition: color 0.2s ease;
}

.new-mobile-menu a:last-child {
  border-bottom: none;
}

.new-mobile-menu a:hover {
  color: var(--color-brand-orange);
}

/* =====================
   Main Content
   ===================== */

.new-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* =====================
   Gradient Mesh Blobs
   ===================== */

.gradient-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float-slow 12s ease-in-out infinite;
}

.blob:nth-child(2) {
  animation: float-drift 16s ease-in-out infinite;
}

.blob:nth-child(3) {
  animation: float-slow 20s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -40px) scale(1.10); }
  50% { transform: translate(-35px, 35px) scale(0.92); }
  75% { transform: translate(45px, 18px) scale(1.07); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-drift {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(-45px, -55px) scale(1.13) rotate(2deg); }
  66% { transform: translate(38px, 28px) scale(0.90) rotate(-2deg); }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

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

/* =====================
   Vignette overlay
   ===================== */

.vignette-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, #00000080 100%);
}

/* =====================
   Glow text effects
   ===================== */

.text-glow-green {
  text-shadow: 0 0 20px #f28b2a80, 0 0 40px #f28b2a33;
}

.text-glow-blue {
  text-shadow: 0 0 20px #58a6ff80, 0 0 40px #58a6ff33;
}

.text-glow-orange {
  text-shadow: 0 0 20px #f28b2a80, 0 0 40px #f28b2a33;
}

@keyframes glow-pulse {
  0%, 100% {
    text-shadow: 0 0 20px #f28b2a80, 0 0 40px #f28b2a33;
  }
  
  50% {
    text-shadow: 0 0 32px #f28b2ae6, 0 0 64px #f28b2a66;
  }
}

.glow-pulse {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* =====================
   Reveal animation
   ===================== */

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

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

/* =====================
   Eyebrow label
   ===================== */

.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-brand-orange);
  margin-bottom: 1.2rem;
  display: block;
}

/* =====================
   CTA Button
   ===================== */

.new-cta-button {
  display: inline-block;
  padding: 14px 32px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--color-brand-orange) 0%, var(--color-brand-orange-dark) 100%);
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 20px rgb(242 139 42 / 30%);
}

.new-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgb(242 139 42 / 50%);
  opacity: 0.95;
}

.new-cta-button.secondary {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  color: var(--color-text);
  box-shadow: none;
}

.new-cta-button.secondary:hover {
  background: rgb(255 255 255 / 8%);
  border-color: rgb(255 255 255 / 16%);
  box-shadow: none;
}

/* =====================
   Glass Card
   ===================== */

.glass-card {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgb(0 0 0 / 30%);
  border-color: rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 6%);
}

/* =====================
   Section containers
   ===================== */

.new-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.new-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
  z-index: 2;
}

.new-section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-brand-orange);
  margin-bottom: 0.5rem;
}

.new-section-label.blue {
  color: var(--color-accent-blue);
}

.new-section-label.orange {
  color: var(--color-accent-orange);
}

.new-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.new-section-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* =====================
   Particle Canvas
   ===================== */

.particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}


/* =====================
   CTA Button
   ===================== */

.cta-button {
  display: inline-block;
  padding: 1em 2em;
  border: none;
  border-radius: 30px;
  background-color: #f28b2a;
  color: #ffffff;
  cursor: pointer;
  font-size: medium;
  font-weight: bold;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #d97a1f;
}

/* =====================
   Pricing CTA (inline link styled as button)
   ===================== */

a.pricing-cta {
  padding: 0.5em;
  border-radius: 30px;
  border: 1px solid var(--color-brand-orange);
  color: var(--color-brand-orange);
  cursor: pointer;
  font-size: medium;
  text-decoration: none;
  display: block;
  width: fit-content;
  margin-top: 0.4em;
}

a.pricing-cta:hover {
  background-color: var(--color-brand-orange-dark);
  color: var(--color-text);
}

/* =====================
   Tool integration cards (mix-and-match)
   ===================== */

.interchange-wrap {
  position: relative;
  border-radius: 16px;
  background: rgb(255 255 255 / 2%);
  border: 1px solid var(--color-glass-border);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 2%);
}

.lane-title {
  position: absolute;
  top: 16px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-secondary);
  z-index: 3;
}

.lane-title-left {
  left: 24px;
}

.lane-title-right {
  right: 24px;
}

.lane {
  position: absolute;
  top: 48px;
  bottom: 18px;
  width: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
}

.lane-left {
  left: 18px;
}

.lane-right {
  right: 18px;
}

.stack-card {
  position: relative;
  min-height: 56px;
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
  background: rgb(255 255 255 / 3.5%);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.stack-card.tool-card {
  border-left: 3px solid var(--color-accent-blue);
}

.stack-card.neo-card {
  border-right: 3px solid var(--color-brand-orange);
}

.stack-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text);
}

.stack-meta {
  font-size: 0.68rem;
  color: var(--color-text-secondary);
  margin-top: 0.16rem;
}

.mix-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mix-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--color-glass-border);
  animation: mix-breathe 5s ease-in-out infinite;
}

.ring-1 {
  width: 72px;
  height: 72px;
  border-color: rgb(88 166 255 / 22%);
}

.ring-2 {
  width: 112px;
  height: 112px;
  border-color: rgb(242 139 42 / 18%);
  animation-delay: 0.5s;
}

.ring-3 {
  width: 154px;
  height: 154px;
  border-color: rgb(247 129 102 / 14%);
  animation-delay: 1s;
}

.mix-label {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text);
  background: rgb(255 255 255 / 4.5%);
  border: 1px solid rgb(255 255 255 / 10%);
  box-shadow: 0 0 30px #58a6ff14, 0 0 40px #f28b2a14;
  text-transform: lowercase;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

@keyframes mix-breathe {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.75; 
  }

  50% { 
    transform: scale(1.05); 
    opacity: 1; 
  }
}

.token-stream {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-blue);
  opacity: 0.35;
  box-shadow: 0 0 12px rgb(88 166 255 / 45%);
}

.token-stream-1 {
  animation: orbit-1 5s linear infinite;
}

.token-stream-2 {
  animation: orbit-2 6s linear infinite;
  background: var(--color-brand-orange);
  box-shadow: 0 0 12px rgb(242 139 42 / 45%);
}

.token-stream-3 {
  animation: orbit-3 7s linear infinite;
  background: var(--color-accent-orange);
  box-shadow: 0 0 12px rgb(247 129 102 / 45%);
}

@keyframes orbit-1 {
  0% { transform: translate(-30px, 0); }
  25% { transform: translate(0, -30px); }
  50% { transform: translate(30px, 0); }
  75% { transform: translate(0, 30px); }
  100% { transform: translate(-30px, 0); }
}

@keyframes orbit-2 {
  0% { transform: translate(42px, 0); }
  25% { transform: translate(0, 42px); }
  50% { transform: translate(-42px, 0); }
  75% { transform: translate(0, -42px); }
  100% { transform: translate(42px, 0); }
}

@keyframes orbit-3 {
  0% { transform: translate(0, -58px); }
  25% { transform: translate(58px, 0); }
  50% { transform: translate(0, 58px); }
  75% { transform: translate(-58px, 0); }
  100% { transform: translate(0, -58px); }
}

.stack-card.emphasis {
  transform: translateX(6px) scale(1.015);
  box-shadow: 0 0 0 1px #ffffff0a, 0 0 20px #58a6ff1f;
  border-color: #ffffff29;
  background: rgb(255 255 255 / 5.5%);
}

.stack-card.neo-card.emphasis {
  transform: translateX(-6px) scale(1.015);
  box-shadow: 0 0 0 1px #ffffff0a, 0 0 22px #f28b2a26;
}

.mix-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.flow-path {
  fill: none;
  stroke: rgb(255 255 255 / 6%);
  stroke-width: 2;
}

.flow-path.active-path {
  stroke: url(#mixGradOrange);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 6px rgb(242 139 42 / 35%));
}

.pulse-dot {
  filter: drop-shadow(0 0 8px rgb(88 166 255 / 65%));
}

/* =====================
   Stats bar
   ===================== */

.stats-bar {
  display: inline-flex;
  gap: 2.5rem;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: 12px;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.stat-divider {
  width: 1px;
  background: var(--color-glass-border);
  align-self: stretch;
}

/* =====================
   Info cards grid
   ===================== */

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.info-card {
  padding: 1.8rem;
  border-radius: 12px;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgb(0 0 0 / 30%);
  border-color: rgb(242 139 42 / 20%);
}

.info-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-brand-orange);
}

.info-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.info-card-text {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* =====================
   Compliance logos
   ===================== */

.compliance-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  padding: 24px;
  background: rgb(255 255 255 / 3%);
  border-radius: 12px;
  border: 1px solid var(--color-glass-border);
}

.compliance-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgb(255 255 255 / 4%);
  border-radius: 8px;
  border: 1px solid var(--color-glass-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.compliance-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgb(0 0 0 / 30%);
}

.compliance-logo-item img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0.85) contrast(1.1);
}

/* =====================
   Checklist
   ===================== */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
  padding-left: 1.8rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  color: var(--color-brand-orange);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1rem;
}

.check-list li strong {
  color: var(--color-text);
  font-weight: 600;
}

/* =====================
   Highlight box
   ===================== */

.highlight-box {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: rgb(242 139 42 / 6%);
  border: 1px solid rgb(242 139 42 / 20%);
  border-radius: 12px;
}

.highlight-box p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.highlight-box strong {
  color: var(--color-brand-orange);
}

/* =====================
   CTA group
   ===================== */

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

/* =====================
   Footer
   ===================== */

.new-footer {
  width: 100%;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-glass-border);
  color: var(--color-text-secondary);
  padding: 2.5rem 2rem;
  margin-top: auto;
}

.new-footer-container {
  display: flex;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.new-footer-section {
  flex: 1 1 200px;
}

.new-footer-logo {
  max-width: min(220px, 90%);
  margin-bottom: 1rem;
  display: block;
}

.new-soc-logo {
  max-width: min(80px, 40%);
  margin-top: 0.5rem;
}

.new-footer-icons {
  display: flex;
  gap: 14px;
  margin-bottom: 0.75rem;
}

.new-footer-icons a {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.new-footer-icons a:hover {
  color: var(--color-brand-orange);
  transform: scale(1.15);
}

.new-footer-links ul,
.new-footer-company ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.new-footer-links ul li,
.new-footer-company ul li {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

.new-footer-links ul li a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.new-footer-links ul li a:hover {
  color: var(--color-brand-orange);
}

/* =====================
   Responsive
   ===================== */

@media (width < 768px) {
  .new-nav-links {
    display: none;
  }

  .new-hamburger {
    display: flex;
  }

  .new-nav-wrapper {
    padding: 16px 20px;
  }

  .compliance-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .compliance-logo-item img {
    max-height: 45px;
  }

  .stats-bar {
    gap: 1.5rem;
    padding: 0.8rem 1.2rem;
  }

  .stat-divider {
    display: none;
  }

  .info-cards-grid {
    grid-template-columns: 1fr;
  }

  .lane {
    width: 160px;
  }

  .lane-left {
    left: 10px;
  }

  .lane-right {
    right: 10px;
  }

  .new-footer-container {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (width < 480px) {
  .compliance-logos {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .new-cta-button {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

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