@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
  --bg-0: #020408;
  --bg-1: #050c14;
  --bg-2: #08111b;
  --surface: rgba(164, 249, 87, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.04);
  --border: rgba(164, 249, 87, 0.12);
  --border-strong: rgba(255, 255, 255, 0.12);
  --green: #a4f957;
  --green-dim: #8fd93b;
  --green-glow: rgba(164, 249, 87, 0.22);
  --purple: #635ae4;
  --purple-dim: rgba(99, 90, 228, 0.18);
  --cyan: #00e5ff;
  --text: #e0f0e8;
  --text-dim: rgba(200, 230, 215, 0.7);
  --text-muted: rgba(200, 230, 215, 0.42);
  --t0: var(--text);
  --t1: var(--text-dim);
  --gold: #ffc857;
  --grad-heading: linear-gradient(90deg, #a4f957 0%, #9fdd74 24%, #9db9b0 50%, #8d88d8 72%, #635ae4 100%);
  --grad-line: linear-gradient(90deg, rgba(164, 249, 87, 0.95), rgba(164, 249, 87, 0.2));
  --grad-line-v: linear-gradient(180deg, rgba(164, 249, 87, 0.95), rgba(164, 249, 87, 0.2));
  --glass-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 38%, rgba(255, 255, 255, 0.03) 100%), linear-gradient(140deg, rgba(164, 249, 87, 0.045) 0%, rgba(99, 90, 228, 0.045) 100%);
  --glass-shadow: 0 24px 48px rgba(0, 0, 0, 0.44), 0 0 32px rgba(99, 90, 228, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --glass-border: var(--border-strong);
  --f-head: 'Orbitron', monospace;
  --f-body: 'Rajdhani', sans-serif;
  --f-mono: 'Share Tech Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--green) var(--bg-1);
}

body {
  font-family: var(--f-body);
  background:
    radial-gradient(circle at top center, rgba(164, 249, 87, 0.07), transparent 34%),
    radial-gradient(circle at bottom right, rgba(99, 90, 228, 0.12), transparent 28%),
    linear-gradient(180deg, #020408 0%, #050c14 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green), var(--purple));
  border-radius: 999px;
  border: 2px solid var(--bg-1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #b8ff73, #7a72f2);
}

.progress-container {
  width: 100%;
  height: 3px;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.progress-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--purple));
  box-shadow: 0 0 14px rgba(164, 249, 87, 0.25);
  width: 0%;
  transition: width 0.1s ease;
}

#satellitesCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
}

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

.g-text,
.hero-h1,
.sec-h,
.feature-card h3,
.kf-content h4,
.legal-content h2,
.footer-links h4 {
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.008) 100%),
    rgba(4, 8, 14, 0.42);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.14);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
}

.logo-wrap { text-decoration: none; }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--green); }

.btn-primary,
.btn-outline {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  color: var(--bg-0);
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(164, 249, 87, 0.1), 0 10px 28px rgba(164, 249, 87, 0.14);
}

.btn-primary:hover {
  background: #b8ff73;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(164, 249, 87, 0.22);
}

.btn-primary.btn-xl,
.btn-outline.btn-xl {
  padding: 16px 40px;
  font-size: 0.78rem;
}

.btn-outline {
  color: var(--green);
  background: rgba(164, 249, 87, 0.02);
  border-color: rgba(164, 249, 87, 0.35);
  box-shadow: inset 0 0 0 1px rgba(164, 249, 87, 0.06);
}

.btn-outline:hover {
  border-color: var(--green);
  background: rgba(164, 249, 87, 0.08);
  transform: translateY(-2px);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.sec-glass,
.sec-dark {
  position: relative;
}

.sec-glass::before,
.sec-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(164, 249, 87, 0.08);
  border-bottom: 1px solid rgba(164, 249, 87, 0.08);
  background: linear-gradient(180deg, rgba(164, 249, 87, 0.02), rgba(255, 255, 255, 0.01));
  pointer-events: none;
}

.sec-h {
  font-family: var(--f-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-sub,
.hero-p,
.feature-card p,
.kf-content p,
.footer-desc,
.footer-links a,
.legal-content p,
.legal-content ul,
.form-group label,
.checkbox-group label {
  color: var(--text-dim);
}

.section-sub {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 60px;
  line-height: 1.75;
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 0;
  z-index: 1;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: min(80vw, 820px);
  height: min(80vw, 820px);
  background: radial-gradient(circle, rgba(164, 249, 87, 0.08) 0%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.hero-h1 {
  font-family: var(--f-head);
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero-p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cube-wrap {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  perspective: 1200px;
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 20s infinite linear;
}

@keyframes rotateCube {
  0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  100% { transform: rotateX(360deg) rotateY(720deg) rotateZ(360deg); }
}

.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 60px;
  left: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 90, 228, 0.08);
  border: 1px solid rgba(164, 249, 87, 0.35);
  color: var(--green);
  font-family: var(--f-head);
  font-size: 24px;
  box-shadow: 0 0 28px rgba(99, 90, 228, 0.25), inset 0 0 18px rgba(164, 249, 87, 0.12);
  backdrop-filter: blur(4px);
}

.front  { transform: translateZ(100px); }
.back   { transform: rotateY(180deg) translateZ(100px); }
.right  { transform: rotateY(90deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.top    { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

.cube-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(164, 249, 87, 0.15) 0%, rgba(99, 90, 228, 0.1) 35%, transparent 68%);
  z-index: -1;
}

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

.key-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.ecosystem-slider {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(164, 249, 87, 0.06), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(99, 90, 228, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(9, 15, 18, 0.96), rgba(7, 12, 18, 0.92));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ecosystem-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(164, 249, 87, 0.03), transparent 55%);
  pointer-events: none;
}

.ecosystem-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(164, 249, 87, 0.03), transparent 28%, transparent 72%, rgba(99, 90, 228, 0.04));
  pointer-events: none;
}

.ecosystem-slider-inner {
  position: relative;
  padding: 24px 28px 12px;
}

.ecosystem-slider-track {
  display: flex;
  width: max-content;
  animation: ecosystemMarquee 30s linear infinite;
  padding: 18px 0;
  position: relative;
}

.ecosystem-slider:hover .ecosystem-slider-track {
  animation-play-state: paused;
}

.ecosystem-slider-track::before,
.ecosystem-slider-track::after {
  content: '';
  position: absolute;
  width: 34%;
  height: 3px;
  left: -6%;
  background: linear-gradient(90deg, rgba(164, 249, 87, 0), rgba(164, 249, 87, 0.92) 40%, rgba(164, 249, 87, 0.18));
  box-shadow: 0 0 16px rgba(164, 249, 87, 0.3), 0 0 28px rgba(164, 249, 87, 0.14);
  animation: sliderSweep 5.8s linear infinite;
  border-radius: 999px;
  pointer-events: none;
}

.ecosystem-slider-track::before {
  top: 0;
}

.ecosystem-slider-track::after {
  bottom: 0;
  animation-delay: 2.9s;
}

.ecosystem-slider-group {
  display: flex;
  align-items: center;
  gap: 68px;
  padding: 0 34px;
  min-width: max-content;
}

.ecosystem-logo {
  height: 58px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.74;
  filter: grayscale(1) brightness(0.88) contrast(1.08);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.ecosystem-logo.is-wide {
  height: 50px;
}

.ecosystem-logo:hover {
  opacity: 1;
  filter: grayscale(0.2) brightness(1.02);
  transform: translateY(-2px);
}

@keyframes ecosystemMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes sliderSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  78% {
    opacity: 0.95;
  }
  100% {
    transform: translateX(360%);
    opacity: 0;
  }
}

.feature-card,
.contact-form,
.legal-content,
.globe-panel,
.info-card {
  background:
    radial-gradient(circle at 20% 0%, rgba(164, 249, 87, 0.06), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(99, 90, 228, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(9, 15, 18, 0.96), rgba(7, 12, 18, 0.92));
  border: none;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 25px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.feature-card::before,
.contact-form::before,
.legal-content::before,
.globe-panel::before,
.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(164, 249, 87, 0.03), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.feature-card::after,
.contact-form::after,
.legal-content::after,
.globe-panel::after,
.info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: none;
  background: linear-gradient(135deg, rgba(164, 249, 87, 0.03), transparent 28%, transparent 72%, rgba(99, 90, 228, 0.04));
  pointer-events: none;
  z-index: 0;
}

.feature-card .card-edge-comet,
.contact-form .card-edge-comet,
.legal-content .card-edge-comet,
.globe-panel .card-edge-comet,
.info-card .card-edge-comet {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.feature-card .card-edge-comet::before,
.contact-form .card-edge-comet::before,
.legal-content .card-edge-comet::before,
.globe-panel .card-edge-comet::before,
.info-card .card-edge-comet::before,
.feature-card .card-edge-comet::after,
.contact-form .card-edge-comet::after,
.legal-content .card-edge-comet::after,
.globe-panel .card-edge-comet::after,
.info-card .card-edge-comet::after {
  content: '';
  position: absolute;
  top: -30%;
  width: 3px;
  height: 34%;
  background: linear-gradient(180deg, rgba(164, 249, 87, 0) 0%, rgba(164, 249, 87, 0.9) 38%, rgba(164, 249, 87, 0.28) 100%);
  box-shadow: 0 0 16px rgba(164, 249, 87, 0.45), 0 0 26px rgba(164, 249, 87, 0.2);
  animation: cardEdgeComet 4.2s linear infinite;
  border-radius: 999px;
}

.feature-card .card-edge-comet::before,
.contact-form .card-edge-comet::before,
.legal-content .card-edge-comet::before,
.globe-panel .card-edge-comet::before,
.info-card .card-edge-comet::before {
  left: 0;
}

.feature-card .card-edge-comet::after,
.contact-form .card-edge-comet::after,
.legal-content .card-edge-comet::after,
.globe-panel .card-edge-comet::after,
.info-card .card-edge-comet::after {
  right: 0;
  animation-delay: 2.1s;
}

@keyframes cardEdgeComet {
  0% {
    transform: translateY(-135%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  78% {
    opacity: 0.95;
  }
  100% {
    transform: translateY(410%);
    opacity: 0;
  }
}

.feature-card:hover,
.contact-form:hover,
.legal-content:hover,
.globe-panel:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.56), 0 0 30px rgba(164, 249, 87, 0.08);
}

.feature-card:hover::before,
.contact-form:hover::before,
.legal-content:hover::before,
.globe-panel:hover::before,
.info-card:hover::before {
  opacity: 1;
}

.feature-card > *,
.contact-form > *,
.legal-content > *,
.globe-panel > *,
.info-card > * {
  position: relative;
  z-index: 1;
}

.feature-card {
  padding: 40px 32px;
}

.feature-card h3 {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.72;
}

.kf-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.kf-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(164, 249, 87, 0.08), rgba(99, 90, 228, 0.08));
  border: 1px solid rgba(164, 249, 87, 0.28);
  box-shadow: 0 0 20px rgba(164, 249, 87, 0.12);
  position: relative;
}

.kf-content h4 {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.kf-content p {
  font-size: 1rem;
}

#footer {
  background: rgba(2, 4, 8, 0.92);
  border-top: 1px solid rgba(164, 249, 87, 0.08);
  padding: 32px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-desc {
  font-size: 1rem;
  margin-top: 16px;
  max-width: 250px;
}

.footer-links h4 {
  font-family: var(--f-head);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form,
.legal-content,
.globe-panel,
.info-card {
  border-radius: 25px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  text-align: left;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(164, 249, 87, 0.18);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(164, 249, 87, 0.08);
  background: rgba(164, 249, 87, 0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.checkbox-group input {
  margin-top: 4px;
  accent-color: var(--green);
}

.checkbox-group label {
  font-size: 0.95rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  text-align: left;
}

.legal-content h2 {
  font-family: var(--f-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 32px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 1rem;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.globe-panel {
  width: 100%;
  height: 500px;
  margin: 40px auto;
  overflow: hidden;
  position: relative;
}

.info-card {
  padding: 40px;
  margin-top: 40px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-0);
  background: var(--green);
  border: none;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  box-shadow: 0 12px 30px rgba(164, 249, 87, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease;
  z-index: 1100;
}

.back-to-top::before {
  content: 'Top';
  font-family: var(--f-head);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #b8ff73;
  transform: translateY(-2px);
}

.back-to-top:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.nav-links a:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid rgba(164, 249, 87, 0.9);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .feature-grid,
  .key-feature-list,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .ecosystem-slider-group {
    gap: 36px;
  }

  .ecosystem-logo {
    height: 44px;
  }

  .ecosystem-logo.is-wide {
    height: 38px;
  }

  .header-inner {
    padding: 0 18px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-cube-wrap {
    width: 220px;
    height: 220px;
  }

  .cube-face {
    width: 140px;
    height: 140px;
    font-size: 16px;
    top: 40px;
    left: 40px;
  }

  .front { transform: translateZ(70px); }
  .back { transform: rotateY(180deg) translateZ(70px); }
  .right { transform: rotateY(90deg) translateZ(70px); }
  .left { transform: rotateY(-90deg) translateZ(70px); }
  .top { transform: rotateX(90deg) translateZ(70px); }
  .bottom { transform: rotateX(-90deg) translateZ(70px); }
}

@media (max-width: 640px) {
  #header {
    height: auto;
    padding: 14px 0;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  #hero {
    padding-top: 160px;
  }

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

  .btn-primary,
  .btn-outline {
    width: min(100%, 320px);
    text-align: center;
  }

  .feature-card,
  .contact-form,
  .legal-content,
  .info-card {
    padding: 28px 22px;
  }

  .globe-panel {
    height: 360px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}
