:root {
  /* Color Palette - DEEP BLUE TECH */
  --primary-deep: #0a0f1e;
  --primary-dark: #1a2342;
  --accent-blue: #4a90e2;
  --accent-cyan: #6bb8ff;
  --accent-electric: #8fbfff;
  --glow-white: #b8d4ff;
  --text-muted: #9ca3c7;
  
  /* Animation speeds */
  --speed-fast: 3s;
  --speed-medium: 6s;
  --speed-slow: 12s;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(ellipse at center, #000000 0%, #0a0f1e 50%, #000000 100%);
  color: var(--glow-white);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Canvas Background */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  background: radial-gradient(ellipse at center, #0a0f1e 0%, #000000 100%);
}

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

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

.hero-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 1.5s ease-out;
  position: relative;
  z-index: 10;
}

/* Brand Name */
.brand-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 3rem;
  opacity: 0.8;
  font-family: 'Inter', monospace;
}

@keyframes blink-warning {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 20px var(--accent-blue), 0 0 40px var(--accent-blue), 0 0 60px var(--accent-blue);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
    text-shadow: 0 0 30px var(--accent-blue), 0 0 50px var(--accent-blue), 0 0 70px var(--accent-blue);
  }
}

/* Main Heading */
.main-heading {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.sub-heading {
  margin-bottom: 3rem;
}

.scroll-indicator {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.9;
}

.hero-footer {
  margin-top: 3rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 400;
  opacity: 0.7;
  font-style: italic;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--glow-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift var(--speed-medium) ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.highlight-text {
  color: var(--glow-white);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
  from {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  }
  to {
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 40px rgba(59, 130, 246, 0.4);
  }
}

/* Tagline */
.tagline {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.blink {
  animation: blink 2s infinite;
  color: var(--accent-cyan);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--glow-white) 100%);
  color: #000000;
  border: 2px solid var(--glow-white);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 40px rgba(74, 144, 226, 0.6);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(74, 144, 226, 0.8);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: all 0.6s ease;
}

.feature-item[data-animate="true"] {
  opacity: 1;
  animation: slideUp 0.8s ease-out;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.feature-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a1a 100%);
  padding: 3rem;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s;
}

.modal-close:hover {
  color: var(--glow-white);
  transform: rotate(90deg);
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--glow-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-content > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

#waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#email-input {
  padding: 1rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: var(--glow-white);
  transition: all 0.3s;
}

#email-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

#email-input::placeholder {
  color: var(--text-muted);
}

.btn-submit {
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--glow-white) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.modal-footer {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* New Sections */
.mystery-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  text-align: center;
}

.countdown-area {
  max-width: 600px;
}

.mystery-text p {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  opacity: 0.8;
  animation: fadeInSlow 2s ease-out;
  text-transform: none;
  line-height: 1.8;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift var(--speed-medium) ease-in-out infinite;
}


.features {
  padding: 8rem 2rem;
}

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

.features-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--glow-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift var(--speed-medium) ease-in-out infinite;
}

.features-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: glow 2s ease-in-out infinite alternate;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.feature-item h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.feature-item p {
  font-size: 1rem;
  font-weight: 500;
}

.warning-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-top: 1px solid rgba(0, 240, 255, 0.3);
  border-bottom: 1px solid rgba(0, 240, 255, 0.3);
}

.warning-content {
  text-align: center;
  max-width: 900px;
}

.warning-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--glow-white);
  text-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
  animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px var(--accent-cyan);
  }
  50% {
    opacity: 0.7;
    text-shadow: 0 0 20px var(--accent-cyan), 0 0 30px var(--accent-cyan);
  }
}

@keyframes fadeInSlow {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.6;
  }
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  opacity: 0.5;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .main-heading {
    font-size: 2.8rem;
  }
  
  .section-title, .features-title, .warning-title {
    font-size: 2rem;
  }
  
  .features-subtitle {
    font-size: 1.5rem;
  }
  
  .warning-text {
    font-size: 1.3rem;
  }
  
  .btn-primary {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
  
  .features {
    grid-template-columns: 1fr;
    padding: 4rem 2rem;
  }
  
  .modal-content {
    padding: 2rem;
  }
  
  .mystery-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .main-heading {
    font-size: 2rem;
  }
  
  .glow-text {
    font-size: 0.75rem;
  }
  
  .section-title, .features-title, .warning-title {
    font-size: 1.5rem;
  }
  
  .features-subtitle {
    font-size: 1.2rem;
  }
  
  .warning-list {
    grid-template-columns: 1fr;
  }
}

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