/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0b0524;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  background: radial-gradient(circle at center, #170a3d 0%, #0b0524 70%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  padding: 40px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 140, 26, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: atmoshpereShift 20s ease-in-out infinite;
}

.hero-bg-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 140, 26, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(0, 229, 255, 0.2), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 140, 26, 0.1), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(0, 229, 255, 0.15), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 140, 26, 0.25), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(0, 229, 255, 0.1), transparent);
  background-repeat: repeat;
  background-size: 200% 200%, 150% 150%, 300% 300%, 250% 250%, 200% 200%, 350% 350%;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: twinkleStar 15s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: heroContentFadeIn 1s ease 0.3s both;
}

.hero h1 {
  font-size: 5rem;
  letter-spacing: 4px;
  color: #ff8c1a;
  text-transform: uppercase;
  font-weight: 900;
  animation: titleGlow 4s ease-in-out infinite;
  text-shadow:
    0 0 20px #ff8c1a,
    0 0 40px rgba(255, 140, 26, 0.5),
    0 0 60px rgba(255, 140, 26, 0.3);
  margin-bottom: 15px;
  letter-spacing: 6px;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: #ff8c1a;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f3eeff;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.btn {
  padding: 16px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  display: inline-block;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn.primary {
  background: linear-gradient(135deg, #ff8c1a 0%, #ff4f6d 100%);
  color: #0b0524;
  box-shadow:
    0 0 20px rgba(255, 140, 26, 0.4),
    0 0 40px rgba(255, 140, 26, 0.2),
    0 10px 30px rgba(255, 140, 26, 0.3);
  border: 2px solid #ff8c1a;
}

.btn.primary:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 30px rgba(255, 140, 26, 0.6),
    0 0 60px rgba(255, 140, 26, 0.3),
    0 15px 40px rgba(255, 140, 26, 0.4);
}

.btn.secondary {
  border: 2px solid #ff8c1a;
  color: #ff8c1a;
  background: transparent;
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.2);
}

.btn.secondary:hover {
  background: rgba(255, 140, 26, 0.15);
  box-shadow:
    0 0 30px rgba(255, 140, 26, 0.4),
    0 0 60px rgba(255, 140, 26, 0.2);
  transform: translateY(-5px);
  color: #ffd166;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  background: #ff8c1a;
  color: #0b0524;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-top: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.3);
}

.btn-small:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(255, 140, 26, 0.6);
}

/* ===== HERO ORB ===== */
.hero-orb-container {
  position: absolute;
  bottom: 8%;
  right: 8%;
  width: 350px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.hero-orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0%, #ffe08a 15%, #ff8c1a 35%, #e8590c 60%, #0b0524 100%);
  box-shadow:
    /* Outer glow layers */
    0 0 40px #ff8c1a,
    0 0 80px #ff8c1a,
    0 0 120px rgba(255, 140, 26, 0.8),
    0 0 160px rgba(255, 140, 26, 0.6),
    0 0 200px rgba(255, 140, 26, 0.4),
    0 0 240px rgba(255, 140, 26, 0.2),
    /* Inset depth */
    inset -50px -50px 100px rgba(0, 0, 0, 0.95),
    inset 30px 30px 80px rgba(255, 255, 255, 0.2),
    inset -20px -20px 40px rgba(0, 0, 0, 0.8);
  animation: rotateOrbEnhanced 20s linear infinite;
  position: relative;
  filter: drop-shadow(0 0 100px rgba(255, 140, 26, 0.5));
}

.orb-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #ff8c1a;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
  animation: rotateRing 30s linear infinite reverse;
  box-shadow: 0 0 20px rgba(255, 140, 26, 0.6), inset 0 0 20px rgba(255, 140, 26, 0.2);
}

.orb-ring-1 {
  width: 320px;
  height: 320px;
  border-color: #ff8c1a;
  box-shadow: 0 0 30px rgba(255, 140, 26, 0.8), inset 0 0 30px rgba(255, 140, 26, 0.3);
  animation-duration: 25s;
}

.orb-ring-2 {
  width: 360px;
  height: 360px;
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6), inset 0 0 25px rgba(0, 229, 255, 0.2);
  animation-duration: 35s;
}

.orb-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 140, 26, 0.3) 30%, transparent 70%);
  animation: orbGlowPulse 3s ease-in-out infinite;
  filter: blur(40px);
  box-shadow: 0 0 80px rgba(255, 140, 26, 0.4);
}

@keyframes rotateOrbEnhanced {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.02); }
}

@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbGlowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes twinkleStar {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

@keyframes atmoshpereShift {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow:
      0 0 20px #ff8c1a,
      0 0 40px rgba(255, 140, 26, 0.5),
      0 0 60px rgba(255, 140, 26, 0.3);
  }
  50% {
    text-shadow:
      0 0 30px #ff8c1a,
      0 0 60px rgba(255, 140, 26, 0.7),
      0 0 90px rgba(255, 140, 26, 0.5);
  }
}

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

/* ===== SECTIONS ===== */
.section {
  padding: 120px 60px;
  text-align: center;
  position: relative;
  background: #0b0524;
}

.section h2 {
  font-size: 4rem;
  color: #ff8c1a;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 900;
  animation: fadeInDown 0.8s ease;
  text-shadow: 0 0 20px rgba(255, 140, 26, 0.3);
}

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

/* ===== ECOSYSTEM SECTION ===== */
.ecosystem {
  background: linear-gradient(180deg, #0b0524 0%, #170a3d 100%);
  position: relative;
}

.ecosystem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff8c1a, transparent);
  opacity: 0.5;
}

.modules {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.module {
  background: linear-gradient(135deg, rgba(22, 10, 56, 0.8) 0%, rgba(38, 16, 88, 0.8) 100%);
  border: 2px solid rgba(255, 140, 26, 0.3);
  padding: 50px;
  width: 360px;
  border-radius: 16px;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.module::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg, transparent, rgba(255, 140, 26, 0.15), transparent);
  transition: all 0.6s ease;
  pointer-events: none;
}

.module::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff8c1a, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.module h3 {
  color: #ff8c1a;
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.module-tagline {
  color: #b8a83f;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}

.module p {
  color: #c0c0c0;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.module-cta {
  margin-top: 25px;
  position: relative;
  z-index: 1;
}

.module:hover {
  transform: translateY(-20px) scale(1.02);
  border-color: #ff8c1a;
  box-shadow:
    0 0 40px rgba(255, 140, 26, 0.4),
    0 0 80px rgba(255, 140, 26, 0.2),
    0 20px 60px rgba(0, 0, 0, 0.6),
    inset 0 0 30px rgba(255, 140, 26, 0.1);
}

.module:hover::before {
  top: -50%;
  left: -50%;
}

.module:hover::after {
  opacity: 1;
}

.module:hover .btn-small {
  box-shadow: 0 0 30px rgba(255, 140, 26, 0.6);
}

/* ===== LEGEND LAB ===== */
.legend-lab {
  background: linear-gradient(180deg, #170a3d 0%, #0b0524 100%);
  position: relative;
}

.legend-lab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff8c1a, transparent);
  opacity: 0.5;
}

.legend-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.legend-visual {
  position: relative;
}

.legend-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(255, 140, 26, 0.1) 0%, rgba(0, 229, 255, 0.05) 100%);
  border: 2px solid rgba(255, 140, 26, 0.3);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 30px rgba(255, 140, 26, 0.2),
    inset 0 0 30px rgba(255, 140, 26, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 140, 26, 0.3) 0%, rgba(0, 229, 255, 0.2) 100%);
  animation: overlayShift 6s ease-in-out infinite;
}

.ui-overlay {
  position: relative;
  z-index: 2;
  color: #ff8c1a;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0.6;
}

@keyframes overlayShift {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.legend-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.legend-text p {
  font-size: 1.5rem;
  line-height: 2;
  margin-bottom: 25px;
  color: #f3eeff;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.legend-text p:first-child {
  color: #ff8c1a;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.legend-text .btn {
  align-self: flex-start;
  margin-top: 20px;
}

/* ===== BLUEPRINT TIMELINE ===== */
.blueprint {
  background: #0b0524;
  position: relative;
}

.blueprint::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff8c1a, transparent);
  opacity: 0.5;
}

.timeline {
  display: flex;
  justify-content: space-around;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff8c1a 20%, #ff8c1a 80%, transparent);
  opacity: 0.3;
}

.timeline-item {
  flex: 1;
  min-width: 280px;
  padding: 40px;
  background: linear-gradient(135deg, #170a3d 0%, #15151f 100%);
  border: 2px solid rgba(255, 140, 26, 0.2);
  border-radius: 12px;
  position: relative;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ff8c1a;
  border-radius: 50%;
  top: -27px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px #ff8c1a;
}

.timeline-item h3 {
  color: #ff8c1a;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.timeline-item p {
  color: #d6ccff;
  font-size: 1.05rem;
  line-height: 1.8;
}

.timeline-item:hover {
  transform: translateY(-15px);
  border-color: #ff8c1a;
  box-shadow:
    0 0 30px rgba(255, 140, 26, 0.3),
    0 0 60px rgba(255, 140, 26, 0.1),
    0 15px 40px rgba(0, 0, 0, 0.5);
}

/* ===== NETWORK SECTION ===== */
.network {
  background: linear-gradient(180deg, #0b0524 0%, #170a3d 100%);
  position: relative;
}

.network::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff8c1a, transparent);
  opacity: 0.5;
}

.network p {
  max-width: 700px;
  margin: 0 auto 50px;
  opacity: 0.9;
  font-size: 1.2rem;
  color: #f3eeff;
  line-height: 1.9;
  letter-spacing: 0.5px;
}

/* ===== EMAIL FORMS & SIGNUP ===== */
.email-form {
  max-width: 600px;
  margin: 50px auto 0;
  animation: slideUp 0.8s ease;
}

.form-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.form-input {
  flex: 1;
  min-width: 280px;
  padding: 16px 24px;
  background: rgba(22, 10, 56, 0.6);
  border: 2px solid rgba(255, 140, 26, 0.3);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.form-input:focus {
  outline: none;
  border-color: #ff8c1a;
  box-shadow: 0 0 30px rgba(255, 140, 26, 0.3);
  background: rgba(22, 10, 56, 0.8);
}

.form-input::placeholder {
  color: #666;
}

.form-message {
  margin-top: 20px;
  font-size: 1rem;
  min-height: 25px;
  animation: slideUp 0.5s ease;
  font-weight: 600;
}

.form-message.success {
  color: #4ade80;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.form-message.error {
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.form-message.info {
  color: #64b5f6;
  text-shadow: 0 0 10px rgba(100, 181, 246, 0.3);
  font-style: italic;
}

.network-form {
  margin-top: 50px;
  padding: 50px;
  background: linear-gradient(135deg, rgba(22, 10, 56, 0.7) 0%, rgba(38, 16, 88, 0.7) 100%);
  border: 2px solid rgba(255, 140, 26, 0.2);
  border-radius: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 30px rgba(255, 140, 26, 0.1);
}

/* Module Forms */
.module-cta {
  margin-top: 25px;
}

.module-form {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 15px;
}

.module-form.hidden {
  max-height: 0;
}

.module-form.visible {
  max-height: 200px;
}

.quick-form {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.quick-form input {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid #ff8c1a;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.quick-form input:focus {
  outline: none;
  box-shadow: 0 0 20px rgba(255, 140, 26, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.btn-small-submit {
  padding: 10px 16px;
  background: #ff8c1a;
  color: #0b0524;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.3);
}

.btn-small-submit:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(255, 140, 26, 0.6);
}

.btn-small-submit:active {
  transform: scale(0.98);
}

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Staggered animations for modules */
.module:nth-child(1) {
  animation: bounceIn 0.7s ease 0s;
}

.module:nth-child(2) {
  animation: bounceIn 0.7s ease 0.15s;
}

.module:nth-child(3) {
  animation: bounceIn 0.7s ease 0.3s;
}

/* Timeline item animations */
.timeline-item:nth-child(1) {
  animation: slideIn 0.6s ease;
}

.timeline-item:nth-child(2) {
  animation: slideIn 0.6s ease 0.2s;
}

.timeline-item:nth-child(3) {
  animation: slideIn 0.6s ease 0.4s;
}

/* ===== FOOTER CONSOLE ===== */
.footer-console {
  background: linear-gradient(180deg, #170a3d 0%, #0b0524 100%);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid rgba(255, 140, 26, 0.3);
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
}

.footer-console::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff8c1a, transparent);
  opacity: 0.3;
}

.footer-left {
  color: #ff8c1a;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 1;
}

.sml-orb-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff8c1a 0%, #0b0524 70%);
  box-shadow: 0 0 20px #ff8c1a;
  animation: pulseOrb 2.5s infinite;
  display: inline-block;
  margin-right: 12px;
}

@keyframes pulseOrb {
  0%, 100% { box-shadow: 0 0 20px #ff8c1a; }
  50% { box-shadow: 0 0 35px #ff8c1a; }
}

.footer-center {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 1;
}

.footer-center a {
  color: #ff8c1a;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-center a:hover {
  text-shadow: 0 0 20px #ff8c1a;
  transform: translateY(-3px);
}

.footer-right {
  text-align: right;
  z-index: 1;
}

.footer-right small {
  display: block;
  opacity: 0.65;
  font-size: 0.85rem;
  margin: 6px 0;
  color: #d6ccff;
  letter-spacing: 0.5px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .legend-content {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 40px;
  }

  .modules {
    gap: 30px;
  }

  .module {
    width: 100%;
    max-width: 340px;
    padding: 40px;
  }

  .hero-orb-container {
    width: 280px;
    height: 280px;
  }

  .hero-orb {
    width: 220px;
    height: 220px;
  }

  .orb-ring-1 {
    width: 250px;
    height: 250px;
  }

  .orb-ring-2 {
    width: 280px;
    height: 280px;
  }

  .orb-glow {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 30px;
  }

  .hero h1 {
    font-size: 3rem;
    letter-spacing: 3px;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-buttons {
    gap: 15px;
    margin-top: 40px;
  }

  .btn {
    padding: 13px 30px;
    font-size: 0.95rem;
  }

  .hero-orb-container {
    width: 220px;
    height: 220px;
    bottom: 5%;
    right: 5%;
  }

  .hero-orb {
    width: 180px;
    height: 180px;
  }

  .section {
    padding: 60px 30px;
  }

  .section h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
  }

  .modules {
    gap: 20px;
  }

  .module {
    width: 100%;
    max-width: 100%;
    padding: 30px;
  }

  .timeline {
    flex-direction: column;
    gap: 30px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item::before {
    display: none;
  }

  .footer-console {
    flex-direction: column;
    padding: 40px 30px;
    gap: 25px;
    text-align: center;
  }

  .footer-center {
    order: 2;
    gap: 20px;
  }

  .footer-left {
    order: 1;
    justify-content: center;
  }

  .footer-right {
    order: 3;
    text-align: center;
  }

  .form-group {
    flex-direction: column;
  }

  .form-input {
    min-width: 100%;
  }

  .network-form {
    padding: 30px;
  }

  .legend-image-placeholder {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 50px 20px;
  }

  .section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .module {
    padding: 25px;
    width: 100%;
  }

  .hero-orb-container {
    display: none;
  }

  .form-group {
    flex-direction: column;
  }

  .form-input {
    min-width: 100%;
  }

  .footer-right small {
    font-size: 0.75rem;
  }

  .btn-small {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}
.coming-soon-badge{border-color:#00e5ff!important;color:#00e5ff!important;box-shadow:0 0 14px rgba(0,229,255,.4);background:rgba(0,229,255,.08)}
.module{transition:transform .25s ease,box-shadow .25s ease}
.module:hover{transform:translateY(-6px);box-shadow:0 12px 40px rgba(255,79,109,.25),0 0 0 1px rgba(255,140,26,.5)}
.btn.primary{background:linear-gradient(135deg,#ff8c1a,#ff4f6d)!important;color:#fff!important}
/* SML-CREST: neon HUD rings and a 3D SML that bursts toward the viewer */
@keyframes energySpin{to{transform:rotate(360deg)}}
@keyframes crestPulse{0%,100%{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}
@keyframes smlPop{0%{transform:perspective(520px) translateZ(-70px) scale(.82) rotateX(10deg) rotateY(-14deg);opacity:.55;filter:drop-shadow(0 0 4px rgba(0,229,255,.4))}45%{transform:perspective(520px) translateZ(120px) scale(1.32) rotateX(-4deg) rotateY(8deg);opacity:1;filter:drop-shadow(0 0 26px rgba(0,229,255,.95)) drop-shadow(0 0 54px rgba(255,79,109,.8))}70%{transform:perspective(520px) translateZ(40px) scale(1.08) rotateX(2deg) rotateY(-4deg);opacity:1}100%{transform:perspective(520px) translateZ(-70px) scale(.82) rotateX(10deg) rotateY(-14deg);opacity:.55;filter:drop-shadow(0 0 4px rgba(0,229,255,.4))}}
@keyframes shockwave{0%{transform:scale(.55);opacity:.95}100%{transform:scale(2.1);opacity:0}}
.hero-orb-container{filter:drop-shadow(0 0 20px rgba(0,229,255,.45)) drop-shadow(0 0 44px rgba(255,79,109,.35))}
.hero-orb{background:repeating-conic-gradient(from 0deg,#00e5ff 0 16deg,transparent 16deg 22deg)!important;box-shadow:none!important;filter:none!important;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 10px),#000 calc(100% - 9px));mask:radial-gradient(farthest-side,transparent calc(100% - 10px),#000 calc(100% - 9px));animation:energySpin 12s linear infinite!important}
.orb-ring{border-style:solid!important;border-width:3px!important;background:none!important}
.orb-ring-1{border-color:transparent!important;border-top-color:#00e5ff!important;border-bottom-color:#00e5ff!important;box-shadow:0 0 16px rgba(0,229,255,.7)!important}
.orb-ring-2{border-color:transparent!important;border-left-color:#ff4f6d!important;border-right-color:#ff4f6d!important;box-shadow:0 0 16px rgba(255,79,109,.65)!important}
.orb-glow{background:radial-gradient(circle,rgba(124,58,237,.55) 0%,rgba(0,229,255,.18) 45%,transparent 72%)!important;box-shadow:none!important;animation:crestPulse 3.5s ease-in-out infinite!important}
.hero-orb-container::before{content:"";position:absolute;inset:18%;border-radius:50%;border:2px solid rgba(0,229,255,.9);box-shadow:0 0 18px rgba(0,229,255,.7);animation:shockwave 3.5s ease-out infinite;pointer-events:none}
.hero-orb-container::after{content:"SML";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:3.1rem;letter-spacing:.06em;color:#eaffff;pointer-events:none;text-shadow:.02em .02em 0 #00cfe6,.04em .04em 0 #00a9c4,.06em .06em 0 #00849c,.08em .08em 0 #006277,.1em .1em 0 #00424f,0 0 .5em rgba(0,229,255,.9),0 0 1.1em rgba(255,79,109,.6);animation:smlPop 3.5s cubic-bezier(.3,.7,.3,1) infinite;transform-origin:center}
.sml-orb-small{background:conic-gradient(#00e5ff,#7c3aed,#ff4f6d,#ff8c1a,#00e5ff)!important;box-shadow:0 0 14px rgba(255,79,109,.8)!important;animation:energySpin 5s linear infinite!important}
@media (prefers-reduced-motion:reduce){.hero-orb,.hero-orb-container::before,.hero-orb-container::after,.orb-glow,.sml-orb-small{animation:none!important}}
@media (max-width:900px){.hero-orb-container{width:170px!important;height:170px!important;bottom:1.5%!important;right:3%!important}.hero-orb{width:130px!important;height:130px!important}.orb-ring-1{width:152px!important;height:152px!important}.orb-ring-2{width:170px!important;height:170px!important}.orb-glow{width:170px!important;height:170px!important}.hero-orb-container::after{font-size:1.8rem}}
/* extra polish */
html{scroll-behavior:smooth}
::selection{background:#ff4f6d;color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #00e5ff;outline-offset:3px}
@keyframes titleShine{to{background-position:200% center}}
.hero h1{background:linear-gradient(90deg,#ffd166,#ff8c1a,#ff4f6d,#ffd166);background-size:200% auto;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;text-shadow:none!important;filter:drop-shadow(0 0 14px rgba(255,140,26,.5));animation:titleShine 6s linear infinite}
.section h2{display:inline-block}
.section h2::after{content:"";display:block;height:4px;margin:.6rem auto 0;width:60%;border-radius:4px;background:linear-gradient(90deg,#00e5ff,#ff4f6d,#ff8c1a)}
.btn,.btn-small,.btn-small-submit{position:relative;overflow:hidden}
.btn::after,.btn-small::after{content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);transition:left .6s ease;pointer-events:none}
.btn:hover::after,.btn-small:hover::after{left:140%}
.module{position:relative}
.module::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(0,229,255,.75),rgba(255,79,109,0) 40%,rgba(255,140,26,.75));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:.55;transition:opacity .25s}
.module:hover::before{opacity:1}
.timeline-item{transition:transform .25s ease,box-shadow .25s ease}
.timeline-item:hover{transform:translateY(-5px);box-shadow:0 10px 30px rgba(0,229,255,.18),0 0 0 1px rgba(0,229,255,.45)}
@supports (animation-timeline:view()){@keyframes reveal{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}.section{animation:reveal linear both;animation-timeline:view();animation-range:entry 0% entry 35%}}
.footer-console{border-top:2px solid transparent;border-image:linear-gradient(90deg,transparent,#00e5ff,#ff4f6d,#ff8c1a,transparent) 1}
@media (prefers-reduced-motion:reduce){.hero h1{animation:none}.section{animation:none!important}html{scroll-behavior:auto}}
/* contact section */
#contact{text-align:center}
#contact p{max-width:720px;margin:0 auto 1rem}
#contact .contact-line{font-size:1.15rem}
#contact a{color:#ffd166;font-weight:700;text-decoration:none;border-bottom:2px solid #ff4f6d}
#contact a:hover{color:#00e5ff;border-bottom-color:#00e5ff}
#contact .price{display:inline-block;margin:.4rem 0 1rem;padding:.35rem 1rem;border-radius:999px;font-weight:800;color:#fff;background:linear-gradient(135deg,#ff8c1a,#ff4f6d)}
/* SML-PORTAL: AAIS access card and legal notice */
.legend-visual{display:flex;align-items:center;justify-content:center}
.aais-portal{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;width:100%;max-width:420px;min-height:300px;padding:2rem 1.5rem;text-align:center;text-decoration:none;color:#fff;border-radius:20px;overflow:hidden;background:linear-gradient(160deg,rgba(23,10,61,.95),rgba(8,4,28,.98));border:1px solid rgba(0,229,255,.45);box-shadow:0 0 40px rgba(0,229,255,.18),inset 0 0 40px rgba(124,58,237,.18);transition:transform .3s,box-shadow .3s}
.aais-portal:hover{transform:translateY(-6px) scale(1.02);box-shadow:0 0 60px rgba(255,79,109,.35),0 0 0 1px rgba(255,79,109,.6),inset 0 0 50px rgba(0,229,255,.18)}
.aais-portal::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(0,229,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(0,229,255,.07) 1px,transparent 1px);background-size:28px 28px;-webkit-mask-image:radial-gradient(circle at center,#000 30%,transparent 75%);mask-image:radial-gradient(circle at center,#000 30%,transparent 75%);pointer-events:none}
.aais-scan{position:absolute;left:0;right:0;height:60px;top:-60px;background:linear-gradient(180deg,transparent,rgba(0,229,255,.28),transparent);animation:aaisScan 4.5s linear infinite;pointer-events:none}
@keyframes aaisScan{to{transform:translateY(420px)}}
.aais-portal>span,.aais-portal>i{position:relative}
.aais-eyebrow{font-size:.7rem;letter-spacing:.35em;color:#00e5ff}
.aais-name{font-size:4.2rem;font-weight:900;letter-spacing:.12em;line-height:1;background:linear-gradient(135deg,#00e5ff,#ff4f6d 55%,#ffd166);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;filter:drop-shadow(0 0 18px rgba(0,229,255,.5))}
.aais-full{font-size:.8rem;letter-spacing:.2em;text-transform:uppercase;color:#d6ccff}
.aais-status{display:inline-flex;align-items:center;gap:.5rem;font-size:.75rem;letter-spacing:.2em;color:#fff;margin-top:.6rem}
.aais-dot{width:10px;height:10px;border-radius:50%;background:#888;display:inline-block}
.aais-dot.on{background:#39ff88;box-shadow:0 0 12px #39ff88;animation:crestPulse 2s ease-in-out infinite}
.aais-dot.warn{background:#ffd166;box-shadow:0 0 12px #ffd166}
.aais-dot.off{background:#ff4f6d;box-shadow:0 0 12px #ff4f6d}
.aais-mods{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:center;min-height:1.4rem}
.aais-mods em{font-style:normal;font-size:.65rem;letter-spacing:.2em;padding:.15rem .6rem;border:1px solid rgba(0,229,255,.5);border-radius:999px;color:#00e5ff}
.aais-cta{margin-top:.9rem;padding:.7rem 1.6rem;border-radius:999px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.85rem;background:linear-gradient(135deg,#ff8c1a,#ff4f6d);box-shadow:0 0 22px rgba(255,79,109,.45)}
@media (prefers-reduced-motion:reduce){.aais-scan,.aais-dot.on{animation:none}}
.legal-notice{text-align:center}
.legal-notice h2{font-size:1.4rem!important}
.legal-notice .legal-card{max-width:960px;margin:1.2rem auto 0;padding:1.6rem 1.8rem;border-radius:16px;border:1px solid rgba(255,79,109,.45);background:linear-gradient(135deg,rgba(38,16,88,.55),rgba(11,5,36,.7));box-shadow:0 0 30px rgba(255,79,109,.12)}
.legal-notice p{margin:0 auto 1rem;font-size:.9rem;line-height:1.7;color:#d6ccff}
.legal-notice p:last-child{margin-bottom:0}
.legal-notice strong{color:#ffd166}
#support{text-align:center}
#support .support-card{max-width:900px;margin:1.2rem auto 0;padding:2rem 1.8rem;border-radius:20px;border:1px solid rgba(255,209,102,.5);background:radial-gradient(circle at 20% 0%,rgba(255,79,109,.18),transparent 55%),linear-gradient(135deg,rgba(38,16,88,.7),rgba(11,5,36,.85));box-shadow:0 0 40px rgba(255,140,26,.15)}
#support p{max-width:720px;margin:0 auto 1rem;line-height:1.7}
#support .support-fine{font-size:.78rem;color:#cfc6f5;opacity:.9}
#support .support-btn{display:inline-block;margin:.6rem 0 1rem;padding:.9rem 2.2rem;border-radius:999px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#fff;text-decoration:none;background:linear-gradient(135deg,#ff8c1a,#ff4f6d);box-shadow:0 0 26px rgba(255,79,109,.5);transition:transform .25s,box-shadow .25s}
#support .support-btn:hover{transform:translateY(-3px) scale(1.03);box-shadow:0 0 40px rgba(255,79,109,.7)}
.legal-notice a{color:#ffd166;font-weight:700;text-decoration:none;border-bottom:1px solid #ff4f6d}
.legal-notice a:hover{color:#00e5ff;border-bottom-color:#00e5ff}
