/* CSS Custom Properties - Space Theme Color Palette */
:root {
  /* Space Colors */
  --space-black: #0a0a0a;
  --deep-space: #1a1a2e;
  --nebula-purple: #16213e;
  --cosmic-blue: #0f3460;
  --stellar-cyan: #00d4ff;
  --plasma-pink: #ff006e;
  --aurora-green: #8338ec;
  --star-white: #ffffff;
  --moon-silver: #f8f9fa;
  --asteroid-gray: #6c757d;
  
  /* Gradients */
  --gradient-nebula: linear-gradient(135deg, var(--deep-space) 0%, var(--nebula-purple) 50%, var(--cosmic-blue) 100%);
  --gradient-aurora: linear-gradient(45deg, var(--stellar-cyan) 0%, var(--aurora-green) 50%, var(--plasma-pink) 100%);
  --gradient-cosmic: radial-gradient(circle, var(--cosmic-blue) 0%, var(--deep-space) 70%);
  
  /* Typography */
  --font-primary: 'Orbitron', monospace;
  --font-secondary: 'Exo 2', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-padding: 0 20px;
  --border-radius: 15px;
  
  /* Animation */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

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

body {
  font-family: var(--font-secondary);
  background: var(--space-black);
  color: var(--star-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-nebula);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
  color: var(--star-white);
}

.rocket-loader {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
}

.rocket {
  font-size: 3rem;
  animation: rocketLaunch 2s ease-in-out infinite;
}

.trail {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 40px;
  background: var(--gradient-aurora);
  border-radius: 50px;
  animation: trailGlow 2s ease-in-out infinite;
}

@keyframes rocketLaunch {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes trailGlow {
  0%, 100% { 
    opacity: 0.5;
    height: 20px;
  }
  50% { 
    opacity: 1;
    height: 50px;
  }
}

.loading-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-aurora);
  width: 0%;
  animation: progressFill 3s ease-out forwards;
}

@keyframes progressFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Animated Space Background */
.space-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.stars-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, transparent),
    radial-gradient(2px 2px at 40px 70px, #fff, transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, #fff, transparent),
    radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
}

.stars-1 {
  animation: moveStars 50s linear infinite;
}

.stars-2 {
  animation: moveStars 100s linear infinite reverse;
  opacity: 0.7;
}

.stars-3 {
  animation: moveStars 150s linear infinite;
  opacity: 0.5;
}

@keyframes moveStars {
  from { transform: translateY(-100px); }
  to { transform: translateY(100vh); }
}

.nebula-layer {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(138, 56, 236, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
  animation: nebulaFloat 30s ease-in-out infinite;
}

@keyframes nebulaFloat {
  0%, 100% { transform: translate(-10%, -10%) rotate(0deg); }
  50% { transform: translate(10%, 10%) rotate(180deg); }
}

.planets-layer {
  position: absolute;
  width: 100%;
  height: 100%;
}

.planet {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-cosmic);
}

.planet-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  right: 10%;
  animation: planetOrbit 60s linear infinite;
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
}

.planet-2 {
  width: 120px;
  height: 120px;
  bottom: 30%;
  left: 5%;
  animation: planetOrbit 80s linear infinite reverse;
  box-shadow: 0 0 80px rgba(138, 56, 236, 0.3);
}

.planet-3 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 70%;
  animation: planetOrbit 100s linear infinite;
  box-shadow: 0 0 40px rgba(255, 0, 110, 0.3);
}

@keyframes planetOrbit {
  from { transform: rotate(0deg) translateX(100px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

.shooting-stars {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shooting-stars::before,
.shooting-stars::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--star-white);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--stellar-cyan);
  animation: shootingStar 3s linear infinite;
}

.shooting-stars::before {
  top: 20%;
  left: 100%;
  animation-delay: 0s;
}

.shooting-stars::after {
  top: 60%;
  left: 100%;
  animation-delay: 1.5s;
}

@keyframes shootingStar {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(-100vw) translateY(100px);
    opacity: 0;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--star-white);
  text-decoration: none;
}

.logo-icon {
  margin-right: 10px;
  font-size: 2rem;
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(5deg); }
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item {
  margin: 0 20px;
}

.nav-link {
  color: var(--moon-silver);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--stellar-cyan);
  text-shadow: 0 0 10px var(--stellar-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-aurora);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.cart-btn {
  background: var(--gradient-aurora);
  border: none;
  border-radius: var(--border-radius);
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-bounce);
  position: relative;
}

.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.cart-count {
  background: var(--plasma-pink);
  color: var(--star-white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--star-white);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 20px 80px;
}

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

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.2;
}

.title-line {
  display: block;
  animation: titleSlideIn 1s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);
}

.title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.title-line:nth-child(3) {
  animation-delay: 0.4s;
}

.highlight {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

@keyframes titleSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--moon-silver);
  margin-bottom: 40px;
  max-width: 500px;
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
  transform: translateY(30px);
}

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

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-bounce);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-aurora);
  color: var(--star-white);
}

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

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

.floating-elements {
  position: relative;
  height: 400px;
}

.code-snippet {
  position: absolute;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--stellar-cyan);
  border-radius: var(--border-radius);
  padding: 15px 20px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.9rem;
  color: var(--stellar-cyan);
  animation: codeFloat 6s ease-in-out infinite;
  white-space: nowrap;
}

.code-snippet:nth-child(1) {
  top: 20%;
  left: 10%;
}

.code-snippet:nth-child(2) {
  top: 50%;
  right: 20%;
  animation-delay: 2s;
}

.code-snippet:nth-child(3) {
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes codeFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s infinite;
}

.mouse {
  width: 3px;
  padding: 10px 15px;
  height: 35px;
  border: 2px solid var(--stellar-cyan);
  border-radius: 25px;
  opacity: 0.75;
  box-sizing: content-box;
}

.wheel {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background: var(--stellar-cyan);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  to {
    opacity: 0;
    top: 60px;
  }
}

.arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.arrows span {
  display: block;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--stellar-cyan);
  border-right: 2px solid var(--stellar-cyan);
  transform: rotate(45deg);
  margin: -5px;
  animation: arrowMove 2s infinite;
}

.arrows span:nth-child(2) {
  animation-delay: -0.2s;
}

.arrows span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes arrowMove {
  0%, 20% {
    opacity: 0;
    transform: rotate(45deg) translate(-20px, -20px);
  }
  50% {
    opacity: 1;
  }
  80%, 100% {
    opacity: 0;
    transform: rotate(45deg) translate(20px, 20px);
  }
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--moon-silver);
  max-width: 600px;
  margin: 0 auto;
}

/* Products Section */
.products-section {
  padding: var(--section-padding);
}

.product-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 25px;
  background: transparent;
  border: 2px solid var(--asteroid-gray);
  color: var(--moon-silver);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--stellar-cyan);
  color: var(--stellar-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition-bounce);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

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

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--stellar-cyan);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.product-image {
  width: 100%;
  height: 250px;
  background: var(--gradient-cosmic);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--star-white);
}

.product-description {
  color: var(--moon-silver);
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--stellar-cyan);
  margin-bottom: 20px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background: var(--gradient-aurora);
  border: none;
  border-radius: var(--border-radius);
  color: var(--star-white);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(138, 56, 236, 0.3);
}

/* About Section */
.about-section {
  padding: var(--section-padding);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-description {
  font-size: 1.2rem;
  color: var(--moon-silver);
  margin-bottom: 40px;
  line-height: 1.8;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: rgba(26, 26, 46, 0.4);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--stellar-cyan);
  transition: var(--transition-smooth);
}

.feature-item:hover {
  transform: translateX(10px);
  background: rgba(26, 26, 46, 0.6);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-text h3 {
  color: var(--star-white);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.feature-text p {
  color: var(--moon-silver);
  line-height: 1.6;
}

.about-visual {
  position: relative;
  height: 500px;
}

.astronaut-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.astronaut {
  font-size: 8rem;
  animation: astronautFloat 4s ease-in-out infinite;
}

@keyframes astronautFloat {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.code-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bubble {
  position: absolute;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--stellar-cyan);
  border-radius: 20px;
  padding: 10px 15px;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--stellar-cyan);
  animation: bubbleFloat 6s ease-in-out infinite;
}

.bubble:nth-child(1) {
  top: 20%;
  left: 10%;
}

.bubble:nth-child(2) {
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
}

@keyframes bubbleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) scale(1.05);
    opacity: 1;
  }
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  background: var(--gradient-nebula);
  text-align: center;
}

.newsletter-content h2 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.newsletter-content p {
  font-size: 1.2rem;
  color: var(--moon-silver);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.form-group input {
  flex: 1;
  min-width: 250px;
  padding: 15px 20px;
  border: 2px solid var(--stellar-cyan);
  background: rgba(26, 26, 46, 0.8);
  color: var(--star-white);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus {
  outline: none;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  background: rgba(26, 26, 46, 1);
}

.form-group input::placeholder {
  color: var(--asteroid-gray);
}

/* Contact Section */
.contact-section {
  padding: var(--section-padding);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: rgba(26, 26, 46, 0.4);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: var(--transition-smooth);
}

.contact-item:hover {
  border-color: var(--stellar-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: var(--star-white);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contact-details p {
  color: var(--moon-silver);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--asteroid-gray);
  background: rgba(26, 26, 46, 0.6);
  color: var(--star-white);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--font-secondary);
  transition: var(--transition-smooth);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--stellar-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  background: rgba(26, 26, 46, 0.8);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--asteroid-gray);
}

/* Footer */
.footer {
  background: var(--deep-space);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--star-white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--moon-silver);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
  color: var(--stellar-cyan);
  text-indent: 10px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--star-white);
  margin-bottom: 15px;
}

.footer-section p {
  color: var(--moon-silver);
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  color: var(--moon-silver);
  text-decoration: none;
  padding: 10px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.social-link:hover {
  background: var(--stellar-cyan);
  color: var(--space-black);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  color: var(--asteroid-gray);
}

.footer-bottom p {
  margin-bottom: 5px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--gradient-nebula);
  margin: 5% auto;
  padding: 0;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
  border: 1px solid var(--stellar-cyan);
}

@keyframes modalSlideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.modal-header h2 {
  font-family: var(--font-primary);
  color: var(--star-white);
  margin: 0;
}

.close-btn {
  color: var(--asteroid-gray);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-btn:hover {
  color: var(--plasma-pink);
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
}

.modal-footer {
  padding: 20px 30px;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

/* Cart Items */
.cart-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  color: var(--star-white);
  font-weight: 600;
  margin-bottom: 5px;
}

.cart-item-price {
  color: var(--stellar-cyan);
  font-size: 0.9rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  background: var(--stellar-cyan);
  border: none;
  color: var(--space-black);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition-smooth);
}

.quantity-btn:hover {
  background: var(--aurora-green);
  transform: scale(1.1);
}

.cart-quantity {
  color: var(--star-white);
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

.remove-btn {
  background: var(--plasma-pink);
  border: none;
  color: var(--star-white);
  padding: 5px 10px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.remove-btn:hover {
  background: #ff1a8c;
  transform: scale(1.05);
}

.cart-total {
  border-top: 2px solid var(--stellar-cyan);
  padding-top: 20px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--moon-silver);
}

.total-line.total {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--star-white);
  padding-top: 10px;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

/* Product Modal */
.product-modal-content {
  max-width: 800px;
}

.product-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 30px;
}

.product-modal-image {
  width: 100%;
  height: 400px;
  background: var(--gradient-cosmic);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.product-modal-info h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--star-white);
  margin-bottom: 15px;
}

.product-modal-info .price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--stellar-cyan);
  margin-bottom: 20px;
}

.product-modal-info .description {
  color: var(--moon-silver);
  line-height: 1.6;
  margin-bottom: 30px;
}

.size-selector {
  margin-bottom: 30px;
}

.size-selector h4 {
  color: var(--star-white);
  margin-bottom: 15px;
}

.size-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-btn {
  padding: 10px 15px;
  border: 2px solid var(--asteroid-gray);
  background: transparent;
  color: var(--moon-silver);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.size-btn.active,
.size-btn:hover {
  border-color: var(--stellar-cyan);
  color: var(--stellar-cyan);
  background: rgba(0, 212, 255, 0.1);
}

/* Notifications */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.notification {
  background: var(--gradient-aurora);
  color: var(--star-white);
  padding: 15px 25px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
  animation: notificationSlideIn 0.3s ease forwards;
  position: relative;
  overflow: hidden;
}

.notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--star-white);
  animation: notificationProgress 3s linear forwards;
}

@keyframes notificationSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes notificationProgress {
  from { width: 100%; }
  to { width: 0%; }
}

/* Particle Canvas */
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--gradient-nebula);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(20px);
    padding: 30px 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  .hero {
    padding: 100px 20px 60px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
  
  .product-modal-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .modal-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .nav-container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .floating-elements {
    height: 300px;
  }
  
  .code-snippet {
    font-size: 0.8rem;
    padding: 10px 15px;
  }
  
  .astronaut {
    font-size: 6rem;
  }
  
  .bubble {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  
  .notification-container {
    left: 10px;
    right: 10px;
    top: 10px;
  }
  
  .notification {
    padding: 12px 20px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --space-black: #000000;
    --star-white: #ffffff;
    --stellar-cyan: #00ffff;
    --plasma-pink: #ff00ff;
  }
}

/* Dark mode preference (already dark by default) */
@media (prefers-color-scheme: light) {
  /* Users who prefer light mode can still use the dark space theme */
  /* or we could add a light space theme variant here */
}

/* INSANE NEW FEATURES - MIND-BLOWING EFFECTS! */

/* Matrix Rain Canvas */
.matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.matrix-active .matrix-canvas {
  opacity: 0.3;
}

/* Constellation Drawing Canvas */
.constellation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 10;
  cursor: crosshair;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.constellation-mode .constellation-canvas {
  opacity: 1;
}

/* Voice Command Indicator */
.voice-indicator {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid var(--stellar-cyan);
  border-radius: 25px;
  padding: 15px 20px;
  z-index: 1001;
  transition: all 0.3s ease;
  opacity: 0;
  animation: voiceIndicatorPulse 2s ease-in-out infinite;
}

.voice-indicator.active {
  opacity: 1;
  background: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.voice-wave {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--stellar-cyan) 0%, transparent 70%);
  margin: 0 auto 10px;
  animation: voiceWave 1s ease-in-out infinite;
}

.voice-text {
  color: var(--stellar-cyan);
  font-size: 0.9rem;
  text-align: center;
  white-space: nowrap;
}

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

@keyframes voiceWave {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.3;
  }
}

/* Audio Visualizer */
.audio-visualizer {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.audio-visualizer.active {
  opacity: 1;
}

.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 60px;
}

.bar {
  width: 6px;
  background: var(--gradient-aurora);
  border-radius: 3px;
  animation: equalizerBar 0.8s ease-in-out infinite alternate;
  transform-origin: bottom;
}

.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }
.bar:nth-child(6) { animation-delay: 0.5s; }
.bar:nth-child(7) { animation-delay: 0.6s; }
.bar:nth-child(8) { animation-delay: 0.7s; }

@keyframes equalizerBar {
  0% { height: 10px; }
  100% { height: 60px; }
}

/* Holographic UI Elements */
.hologram-ui {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hologram-ui.active {
  opacity: 1;
}

.holo-element {
  position: absolute;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--stellar-cyan);
  border-radius: 10px;
  padding: 15px;
  font-family: var(--font-primary);
  color: var(--stellar-cyan);
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  animation: holoGlow 2s ease-in-out infinite alternate;
}

.holo-time {
  top: 20px;
  left: 20px;
  min-width: 200px;
}

.holo-stats {
  top: 20px;
  right: 20px;
  min-width: 150px;
}

.holo-quote {
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 400px;
  text-align: center;
}

@keyframes holoGlow {
  0% {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
    border-color: rgba(0, 212, 255, 1);
  }
}

/* 3D Product Card Effects */
.product-card {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
  transform: translateY(-20px) rotateX(15deg) rotateY(5deg) scale(1.02);
  box-shadow: 
    0 40px 80px rgba(0, 212, 255, 0.3),
    0 0 50px rgba(138, 56, 236, 0.2),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.product-image {
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.product-image::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: rotate(-45deg);
  transition: transform 0.6s ease;
  opacity: 0;
}

.product-card:hover .product-image::before {
  transform: rotate(-45deg) translate(100%, 100%);
  opacity: 1;
}

/* Glitch Effect for Special Mode */
.glitch-mode .section-title {
  animation: glitch 1s linear infinite;
}

@keyframes glitch {
  2%, 64% {
    transform: translate(2px, 0) skew(0deg);
  }
  4%, 60% {
    transform: translate(-2px, 0) skew(0deg);
  }
  62% {
    transform: translate(0, 0) skew(5deg);
  }
}

.glitch-mode .section-title::before,
.glitch-mode .section-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-mode .section-title::before {
  animation: glitch-2 1s linear infinite;
  color: var(--plasma-pink);
  z-index: -1;
}

.glitch-mode .section-title::after {
  animation: glitch-3 1s linear infinite;
  color: var(--stellar-cyan);
  z-index: -2;
}

@keyframes glitch-2 {
  2%, 64% {
    transform: translate(2px, 0) skew(0deg);
  }
  4%, 60% {
    transform: translate(-2px, 0) skew(0deg);
  }
  62% {
    transform: translate(13px, 0) skew(-13deg);
  }
}

@keyframes glitch-3 {
  2%, 64% {
    transform: translate(-2px, 0) skew(0deg);
  }
  4%, 60% {
    transform: translate(2px, 0) skew(0deg);
  }
  62% {
    transform: translate(-13px, 0) skew(13deg);
  }
}

/* Cyberpunk Grid Effect */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: gridMove 20s linear infinite;
}

.cyber-mode .cyber-grid {
  opacity: 0.3;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Liquid Cursor Effect */
.liquid-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--stellar-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: all 0.1s ease;
  opacity: 0;
}

.liquid-cursor.active {
  opacity: 1;
}

.liquid-cursor::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  animation: cursorPulse 1s ease-in-out infinite;
}

@keyframes cursorPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Typewriter Effect */
.typewriter {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
  animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

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

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

/* Print styles */
@media print {
  .space-background,
  .navbar,
  .particle-canvas,
  .matrix-canvas,
  .constellation-canvas,
  .modal,
  .notification-container,
  .voice-indicator,
  .audio-visualizer,
  .hologram-ui,
  .cyber-grid,
  .liquid-cursor {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero,
  .products-section,
  .about-section,
  .contact-section {
    padding: 20px 0 !important;
  }
}