/* Dark Matter Market - Quantum-Secured Design System */

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #23252e;
  color: #eeedec;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Cosmic Background Animation */
.cosmic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
}

.stars::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eeedec, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #50a5ff, transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 160px 30px, #eeedec, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: twinkle 4s linear infinite;
}

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

.nebula {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(80, 165, 255, 0.1) 0%, transparent 70%);
  animation: nebulaPulse 8s ease-in-out infinite;
}

@keyframes nebulaPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.1) rotate(2deg); opacity: 0.5; }
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particles::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 25% 25%, rgba(80, 165, 255, 0.5), transparent),
    radial-gradient(1px 1px at 75% 75%, rgba(255, 255, 255, 0.3), transparent);
  animation: particleFloat 12s linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-100vh) rotate(360deg); }
}

/* Container & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  color: #eeedec;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  animation: slideInUp 0.8s ease-out;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #50a5ff, #8affb1);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #b5b7c6;
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease-out 0.3s both;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(80, 165, 255, 0.3); }
  50% { box-shadow: 0 0 30px rgba(80, 165, 255, 0.6); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
  position: relative;
}

.hero-content {
  animation: fadeIn 1.5s ease-out;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-logo {
  width: 200px;
  height: auto;
  margin-bottom: 1rem;
  animation: pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(80, 165, 255, 0.5));
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #eeedec, #50a5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInUp 1s ease-out 0.5s both;
}

.title-main {
  display: block;
  font-size: 4.5rem;
}

.title-sub {
  display: block;
  font-size: 3rem;
  font-weight: 400;
  opacity: 0.8;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #50a5ff;
  margin-bottom: 1.5rem;
  animation: slideInUp 1s ease-out 0.7s both;
}

.hero-description {
  font-size: 1.1rem;
  color: #b5b7c6;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  animation: slideInUp 1s ease-out 0.9s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  animation: slideInUp 1s ease-out 1.1s both;
}

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

.stat-number {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: #50a5ff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #b5b7c6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mirror Section */
.mirror-section {
  padding: 5rem 0;
  background: rgba(35, 37, 46, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(80, 165, 255, 0.2);
  border-bottom: 1px solid rgba(80, 165, 255, 0.2);
}

.mirror-box {
  background: rgba(45, 47, 56, 0.9);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(80, 165, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: glow 4s ease-in-out infinite;
}

.mirror-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.mirror-item {
  animation: slideInUp 0.6s ease-out;
}

.mirror-link {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: rgba(35, 37, 46, 0.8);
  border: 1px solid rgba(80, 165, 255, 0.2);
  border-radius: 12px;
  text-decoration: none;
  color: #eeedec;
  transition: all 0.3s ease;
  font-family: 'Orbitron', monospace;
}

.mirror-link:hover {
  border-color: #50a5ff;
  background: rgba(80, 165, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(80, 165, 255, 0.2);
}

.mirror-url {
  flex: 1;
  margin: 0 1rem;
  font-size: 0.9rem;
}

.mirror-status {
  background: #8affb1;
  color: #1a1c23;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.mirror-warning {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 84, 84, 0.1);
  border: 1px solid rgba(255, 84, 84, 0.3);
  border-radius: 12px;
}

.mirror-note {
  color: #eeedec;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Icons */
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.i-shield::before { content: '🛡️'; }
.i-link::before { content: '🔗'; }
.i-warning::before { content: '⚠️'; }
.i-quantum::before { content: '⚛️'; }
.i-xmr::before { content: '🪙'; }
.i-time::before { content: '⏰'; }
.i-microscope::before { content: '🔬'; }
.i-lock::before { content: '🔒'; }
.i-multisig::before { content: '🔐'; }
.i-2fa::before { content: '🔑'; }
.i-decentralized::before { content: '🌐'; }
.i-compartment::before { content: '📦'; }
.i-audit::before { content: '🔍'; }
.i-crown::before { content: '👑'; }
.i-shield-check::before { content: '✅'; }
.i-star::before { content: '⭐'; }
.i-chevron-down::before { content: '▼'; }
.i-forum::before { content: '💬'; }
.i-workshop::before { content: '🛠️'; }
.i-podcast::before { content: '🎙️'; }
.i-beaker::before { content: '🧪'; }
.i-molecule::before { content: '🧬'; }
.i-scale::before { content: '⚖️'; }

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, rgba(35, 37, 46, 0.9), rgba(45, 47, 56, 0.9));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(45, 47, 56, 0.8);
  border: 1px solid rgba(80, 165, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease-out;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #50a5ff;
  box-shadow: 0 15px 30px rgba(80, 165, 255, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #50a5ff;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #eeedec;
}

.feature-card p {
  color: #b5b7c6;
  line-height: 1.6;
}

/* Security Section */
.security-section {
  background: rgba(25, 27, 36, 0.9);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.security-card {
  background: rgba(45, 47, 56, 0.8);
  border: 1px solid rgba(80, 165, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
  animation: slideInLeft 0.8s ease-out;
}

.security-card:hover {
  border-color: #50a5ff;
  background: rgba(80, 165, 255, 0.05);
}

.security-icon {
  font-size: 2rem;
  color: #50a5ff;
  flex-shrink: 0;
}

.security-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #eeedec;
}

.security-card p {
  color: #b5b7c6;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Registration Section */
.registration-section {
  background: linear-gradient(135deg, rgba(35, 37, 46, 0.9), rgba(25, 27, 36, 0.9));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.process-step {
  background: rgba(45, 47, 56, 0.8);
  border: 1px solid rgba(80, 165, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease-out;
}

.process-step:hover {
  transform: translateY(-3px);
  border-color: #50a5ff;
  box-shadow: 0 10px 25px rgba(80, 165, 255, 0.15);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #50a5ff, #8affb1);
  color: #1a1c23;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-image {
  margin: 1.5rem 0;
}

.step-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #eeedec;
}

.process-step p {
  color: #b5b7c6;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Verification Section */
.verification-section {
  background: rgba(25, 27, 36, 0.9);
}

.verification-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.verification-description {
  font-size: 1.1rem;
  color: #b5b7c6;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.verification-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

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

.verification-stat .stat-number {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #8affb1;
  margin-bottom: 0.5rem;
}

.verification-stat .stat-label {
  font-size: 0.9rem;
  color: #b5b7c6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.verification-note {
  color: #eeedec;
  font-style: italic;
  border-left: 3px solid #50a5ff;
  padding-left: 1rem;
}

.verification-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lab-equipment {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 4rem;
  animation: pulse 2s ease-in-out infinite;
}

/* Vendor Section */
.vendor-section {
  background: linear-gradient(135deg, rgba(35, 37, 46, 0.9), rgba(45, 47, 56, 0.9));
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.vendor-card {
  background: rgba(45, 47, 56, 0.8);
  border: 1px solid rgba(80, 165, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease-out;
}

.vendor-card:hover {
  transform: translateY(-5px);
  border-color: #50a5ff;
  box-shadow: 0 15px 30px rgba(80, 165, 255, 0.2);
}

.vendor-card.featured {
  border-color: #8affb1;
  background: rgba(138, 255, 177, 0.05);
}

.vendor-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #50a5ff, #8affb1);
  color: #1a1c23;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.vendor-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #50a5ff;
}

.vendor-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #eeedec;
}

.vendor-stats {
  display: flex;
  justify-content: space-around;
  margin: 1.5rem 0;
}

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

.vendor-stat .stat-value {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: #8affb1;
  margin-bottom: 0.3rem;
}

.vendor-stat .stat-label {
  font-size: 0.8rem;
  color: #b5b7c6;
  text-transform: uppercase;
}

.vendor-description {
  color: #b5b7c6;
  font-size: 0.95rem;
  line-height: 1.5;
}

.vendor-info {
  text-align: center;
  padding: 2rem;
  background: rgba(45, 47, 56, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(80, 165, 255, 0.2);
}

.vendor-info p {
  color: #b5b7c6;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* FAQ Section */
.faq-section {
  background: rgba(25, 27, 36, 0.9);
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: rgba(45, 47, 56, 0.8);
  border: 1px solid rgba(80, 165, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease-out;
}

.faq-item:hover {
  border-color: #50a5ff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: rgba(35, 37, 46, 0.8);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(80, 165, 255, 0.1);
}

.faq-question h3 {
  font-size: 1.1rem;
  color: #eeedec;
  margin: 0;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #b5b7c6;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: slideInUp 0.3s ease-out;
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

/* Community Section */
.community-section {
  background: linear-gradient(135deg, rgba(35, 37, 46, 0.9), rgba(25, 27, 36, 0.9));
}

.community-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.community-description {
  font-size: 1.1rem;
  color: #b5b7c6;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.community-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.community-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(45, 47, 56, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(80, 165, 255, 0.1);
}

.community-feature .icon {
  font-size: 1.5rem;
  color: #50a5ff;
  margin-top: 0.2rem;
}

.community-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #eeedec;
}

.community-feature p {
  color: #b5b7c6;
  font-size: 0.95rem;
  line-height: 1.5;
}

.community-motto {
  font-style: italic;
  color: #50a5ff;
  font-size: 1.05rem;
  line-height: 1.7;
  border-left: 3px solid #50a5ff;
  padding-left: 1rem;
  margin-top: 2rem;
}

.community-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.community-stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(45, 47, 56, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(80, 165, 255, 0.2);
}

.community-stat .stat-number {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #8affb1;
  margin-bottom: 0.5rem;
}

.community-stat .stat-label {
  font-size: 0.9rem;
  color: #b5b7c6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
.footer {
  background: rgba(15, 17, 26, 0.95);
  border-top: 1px solid rgba(80, 165, 255, 0.2);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  width: 40px;
  height: auto;
}

.footer-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: #eeedec;
}

.footer-info {
  text-align: center;
  color: #b5b7c6;
  font-size: 0.9rem;
}

.footer-update {
  margin-top: 0.5rem;
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: #b5b7c6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #50a5ff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .title-main {
    font-size: 3.5rem;
  }
  
  .title-sub {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .verification-content,
  .community-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .title-main {
    font-size: 3rem;
  }
  
  .title-sub {
    font-size: 2rem;
  }
  
  .mirror-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .security-grid,
  .process-grid,
  .vendor-grid {
    grid-template-columns: 1fr;
  }
}

