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

:root {
  /* Colors */
  --primary-bg: #0a0a0f;
  --secondary-bg: #1a1a2e;
  --card-bg: #16213e;
  --accent-blue: #00d4ff;
  --accent-orange: #ff6b35;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    var(--accent-blue) 0%,
    var(--accent-purple) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--accent-orange) 0%,
    var(--accent-purple) 100%
  );
  --gradient-success: linear-gradient(
    135deg,
    var(--accent-green) 0%,
    var(--accent-blue) 100%
  );

  /* Spacing */
  --container-padding: 2rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
  --shadow-glow-orange: 0 0 30px rgba(255, 107, 53, 0.3);
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--primary-bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Elements */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 212, 255, 0.1) 0%,
    transparent 70%
  );
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float var(--duration, 10s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.floating-element:nth-child(1) {
  top: 10%;
  left: 10%;
}
.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
}
.floating-element:nth-child(3) {
  bottom: 20%;
  left: 20%;
}
.floating-element:nth-child(4) {
  top: 30%;
  right: 30%;
}

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

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Logo Section */
.logo-section {
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out;
}

.logo-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-glow);
  animation: pulse 3s ease-in-out infinite;
}

.brand-name {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero-section {
  max-width: 800px;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.main-title {
  font-size: clamp(1rem, 6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Countdown Timer */
.countdown-container {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.countdown-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.time-value {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.time-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.time-separator {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin: 0 0.5rem;
}

/* Features Preview */
.features-preview {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-width: 150px;
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.feature-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Email Signup */
.signup-section {
  max-width: 500px;
  margin: 0 auto 3rem;
}

.signup-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.signup-section p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.email-form {
  margin-bottom: 1rem;
}

.input-group {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow);
}

.input-group input {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}

.input-group input::placeholder {
  color: var(--text-muted);
}

.submit-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 16px 24px;
  background: var(--gradient-primary);
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.submit-btn:hover {
  transform: translateX(-2px);
  box-shadow: var(--shadow-glow);
}

.signup-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Social Section */
.social-section {
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.social-section p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  color: var(--text-primary);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Footer */
.footer {
  color: var(--text-muted);
  font-size: 0.9rem;
  animation: fadeInUp 1s ease-out 1.2s both;
  margin-top: 20px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

.modal-close {
  padding: 12px 24px;
  background: var(--gradient-success);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: var(--shadow-glow);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .logo-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .countdown-timer {
    gap: 0.5rem;
  }

  .time-unit {
    min-width: 60px;
  }

  .time-value {
    font-size: 2rem;
  }

  .time-separator {
    font-size: 1.5rem;
    margin: 0 0.25rem;
  }

  .features-preview {
    gap: 1rem;
  }

  .feature-item {
    min-width: 120px;
    padding: 1rem;
  }

  .input-group {
    flex-direction: column;
  }

  .submit-btn {
    justify-content: center;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .modal {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .countdown-timer {
    flex-direction: column;
    gap: 1rem;
  }

  .time-separator {
    display: none;
  }

  .features-preview {
    flex-direction: column;
    align-items: center;
  }
}
