/* ═══════════════════════════════════════════════════════════════ */
/* NEXUS DARKNET STORE - ENHANCED PROFESSIONAL CSS */
/* ═══════════════════════════════════════════════════════════════ */

/* ROOT VARIABLES */
:root {
  --color-primary: #0f0f1a;
  --color-secondary: #1a1a2e;
  --color-accent: #e94560;
  --color-accent-dark: #c2334d;
  --color-text: #f0f0f0;
  --color-text-light: #b8b8b8;
  --color-text-muted: #888;
  --color-border: #2a2a3e;
  --color-hover: #ff6b7a;
  --color-success: #4CAF50;
  --color-warning: #ff9800;
  --color-danger: #f44336;
  
  --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.5);
  
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* LOADING SCREEN */
.nexus-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
}

.ring-segment {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid var(--color-accent);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.ring-segment:nth-child(2) {
  border-top: 3px solid var(--color-text-light);
  animation-delay: -0.5s;
}

.loader-text {
  text-align: center;
  font-family: var(--font-mono);
}

.loader-text span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.loader-brand {
  font-size: 1.2rem !important;
  font-weight: 700;
  color: var(--color-accent) !important;
  letter-spacing: 2px;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff6b7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

h3 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

h4 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.8;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-hover);
}

/* NAVIGATION */
.navbar {
  background-color: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--color-text);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--color-accent);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 8rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(233, 69, 96, 0.1) 0%, transparent 50%);
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.hero .subtitle {
  font-size: 1.3rem;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* FEATURE CARDS */
.nexus-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.1), transparent);
  transition: left 0.6s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.feature-card h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* STATS */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem auto;
  max-width: 800px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.stats-counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.stat-label {
  color: var(--color-text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CRYPTO BADGES */
.crypto-badges {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.crypto-badge {
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: 25px;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  font-family: var(--font-mono);
}

.crypto-badge:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

/* TIMELINE */
.timeline {
  position: relative;
  margin: 3rem 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-primary);
}

.timeline-item h3 {
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* SECURITY BADGES */
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 0.8rem 1.2rem;
  margin: 0.5rem 0.5rem 0.5rem 0;
  font-size: 0.9rem;
  transition: var(--transition);
}

.security-badge:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

/* COMPARISON TABLE */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--color-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background: var(--color-primary);
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.verified-check {
  color: var(--color-success);
  font-weight: bold;
}

.warning-cross {
  color: var(--color-warning);
  font-weight: bold;
}

/* MIRRORS */
.mirror-list {
  margin: 2rem 0;
}

.mirror-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.mirror-item:hover {
  border-color: var(--color-accent);
  transform: translateX(5px);
}

.mirror-label {
  background: var(--color-accent);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 100px;
  text-align: center;
}

.mirror-item code {
  flex: 1;
  font-family: var(--font-mono);
  color: var(--color-text-light);
  font-size: 0.9rem;
  word-break: break-all;
}

.btn-copy {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.btn-copy:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

/* MIRROR VERIFICATION */
.mirror-verification {
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--color-accent);
}

.mirror-verification h4 {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mirror-checklist {
  list-style: none;
}

.mirror-checklist li {
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.mirror-checklist li:last-child {
  border-bottom: none;
}

.mirror-checklist li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: bold;
  font-size: 1.1rem;
}

/* SECURITY NOTE */
.security-note {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid var(--color-danger);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.security-note h4 {
  color: var(--color-danger);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* CTA SECTION */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  border-radius: var(--border-radius-lg);
  margin: 4rem 0;
  border: 1px solid var(--color-border);
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* MAIN CONTENT */
main {
  padding: 4rem 0;
}

.section {
  margin-bottom: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.section:last-child {
  border-bottom: none;
}

/* FOOTER */
.footer {
  background-color: var(--color-secondary);
  border-top: 1px solid var(--color-border);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

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

.footer-section h4 {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--color-text-light);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

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

/* ANIMATIONS */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

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

@keyframes pulse-glow {
  from { box-shadow: 0 0 5px rgba(233, 69, 96, 0.5); }
  to { box-shadow: 0 0 20px rgba(233, 69, 96, 0.8); }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--color-accent) }
}

.floating-animation {
  animation: float 6s ease-in-out infinite;
}

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

.typewriter {
  overflow: hidden;
  border-right: 3px solid var(--color-accent);
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 6rem 2rem;
  }
  
  .nexus-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .navbar .container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-menu {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .hero {
    padding: 5rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  main {
    padding: 2rem 0;
  }

  .section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mirror-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .mirror-item code {
    width: 100%;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .crypto-badges {
    justify-content: flex-start;
  }
  
  .comparison-table {
    font-size: 0.8rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .navbar .container {
    padding: 0.8rem 1rem;
  }

  .nav-brand {
    font-size: 1.2rem;
  }

  .nav-menu {
    gap: 0.8rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  
  .nexus-feature-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .stats-counter {
    font-size: 2rem;
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .nexus-loader {
    display: none;
  }
}

/* PRINT STYLES */
@media print {
  .navbar,
  .footer,
  .btn,
  .nexus-loader {
    display: none;
  }

  body {
    background-color: white;
    color: black;
  }

  a {
    color: blue;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .section {
    break-inside: avoid;
  }
}