/* ============================================
   MWADI3.ONLINE - MAIN STYLESHEET
   Design: Iron Wallet Style + Neon Sci-Fi Gaming
   ============================================ */

/* === CSS CUSTOM PROPERTIES (VARIABLES) === */
:root {
  /* Primary Neon Colors */
  --neon-purple: #a855f7;
  --bright-purple: #d946ef;
  --neon-cyan: #06b6d4;
  --neon-pink: #ec4899;
  --bright-pink: #f472b6;
  
  /* Neutral Colors */
  --dark-bg: #0a0a14;
  --dark-secondary: #121220;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a8;
  --border-color: #2d2d44;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Typography */
  --font-header: 'Orbitron', monospace;
  --font-body: 'Sora', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* === HEADER & NAVIGATION === */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-header);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}

nav a {
  font-family: var(--font-header);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 0.25rem;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  transition: width 0.4s ease;
}

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

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    rgba(168, 85, 247, 0.1) 0%, 
    rgba(6, 182, 212, 0.1) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
  font-size: 4.5rem;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glitch 5s infinite;
  margin-bottom: 2rem;
}

@keyframes glitch {
  0%, 90%, 100% {
    transform: translate(0);
  }
  91% {
    transform: translate(-2px, 2px);
  }
  92% {
    transform: translate(2px, -2px);
  }
  93% {
    transform: translate(-2px, 2px);
  }
  94% {
    transform: translate(2px, -2px);
  }
  95% {
    transform: translate(0);
  }
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 1rem 3rem;
  font-family: var(--font-header);
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  border: 2px solid var(--neon-purple);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--neon-purple), var(--bright-purple));
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

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

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

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
}

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

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--neon-cyan), var(--bright-purple));
  border-color: var(--bright-purple);
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.5);
}

/* === SECTIONS === */
section {
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--neon-purple), 
    var(--neon-cyan), 
    transparent);
  box-shadow: 0 0 20px var(--neon-purple);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-header h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  border-radius: 2px;
}

/* === BENEFITS GRID === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: var(--spacing-md);
}

.benefit-card {
  background: linear-gradient(135deg, 
    rgba(18, 18, 32, 0.8), 
    rgba(45, 45, 68, 0.4));
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: var(--neon-purple);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
  background: linear-gradient(135deg, 
    rgba(18, 18, 32, 1), 
    rgba(45, 45, 68, 0.6));
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

/* === WEARABLES GRID === */
.wearables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: var(--spacing-md);
}

.wearable-card {
  background: linear-gradient(135deg, 
    rgba(18, 18, 32, 0.9), 
    rgba(45, 45, 68, 0.5));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: fadeInUp 0.8s ease-out backwards;
}

.wearable-card:nth-child(1) { animation-delay: 0.1s; }
.wearable-card:nth-child(2) { animation-delay: 0.2s; }
.wearable-card:nth-child(3) { animation-delay: 0.3s; }
.wearable-card:nth-child(4) { animation-delay: 0.4s; }
.wearable-card:nth-child(5) { animation-delay: 0.5s; }
.wearable-card:nth-child(6) { animation-delay: 0.6s; }

.wearable-card:hover {
  transform: translateY(-15px) perspective(1000px) rotateX(5deg);
  border-color: var(--neon-purple);
  box-shadow: 
    0 30px 60px rgba(168, 85, 247, 0.4),
    0 0 40px rgba(168, 85, 247, 0.2);
}

.wearable-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.5s ease;
  filter: brightness(0.9);
}

.wearable-card:hover .wearable-image {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.wearable-content {
  padding: 2rem;
}

.wearable-category {
  display: inline-block;
  font-family: var(--font-header);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.wearable-content h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.wearable-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.wearable-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stat-badge {
  font-family: var(--font-header);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, 
    rgba(168, 85, 247, 0.2), 
    rgba(236, 72, 153, 0.2));
  border: 1px solid var(--neon-purple);
  border-radius: 20px;
  color: var(--bright-pink);
  transition: all 0.3s ease;
}

.wearable-card:hover .stat-badge {
  background: linear-gradient(135deg, 
    rgba(168, 85, 247, 0.4), 
    rgba(236, 72, 153, 0.4));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

/* === TECH FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: var(--spacing-md);
}

.feature-block {
  background: linear-gradient(135deg, 
    rgba(18, 18, 32, 0.8), 
    rgba(45, 45, 68, 0.3));
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.feature-block::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-block:hover::after {
  opacity: 1;
}

.feature-block:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(168, 85, 247, 0.3);
}

.feature-number {
  font-family: var(--font-header);
  font-size: 4rem;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1;
}

.feature-block h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, 
    rgba(168, 85, 247, 0.1), 
    rgba(6, 182, 212, 0.1));
  border-radius: 20px;
  padding: var(--spacing-lg);
  text-align: center;
  border: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle, rgba(168, 85, 247, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 30px);
  }
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

/* === INSIGHTS SECTION === */
.insights-content {
  background: linear-gradient(135deg, 
    rgba(18, 18, 32, 0.8), 
    rgba(45, 45, 68, 0.4));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  max-width: 900px;
  margin: var(--spacing-md) auto 0;
}

.insights-content h3 {
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
}

.insights-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* === FOOTER === */
footer {
  background: var(--dark-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  font-family: var(--font-header);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 0.25rem;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
  width: 100%;
}

.footer-disclaimer {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--neon-purple);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.footer-disclaimer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.footer-bottom {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 2rem;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

/* === LEGAL PAGES === */
.legal-page {
  min-height: 100vh;
  padding-top: var(--spacing-lg);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, 
    rgba(18, 18, 32, 0.9), 
    rgba(45, 45, 68, 0.5));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-content h2 {
  font-size: 1.75rem;
  color: var(--neon-cyan);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  color: var(--bright-purple);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-meta {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .header-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  nav ul {
    gap: 1.5rem;
  }
  
  .hero {
    min-height: 80vh;
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .benefits-grid,
  .wearables-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .legal-content {
    padding: 2rem 1.5rem;
  }
  
  .wearable-image {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .wearables-grid {
    grid-template-columns: 1fr;
  }
  
  .wearable-card {
    min-width: 100%;
  }
}

/* === UTILITY CLASSES === */
.text-gradient {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* === ANIMATIONS === */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  animation: shimmer 3s infinite linear;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  background-size: 1000px 100%;
}

/* === PRINT STYLES === */
@media print {
  header, footer, .btn {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}
