/* CSS Variables matching Ecommerify theme */
:root {
  --background: #111111;
  --backgroundl1: #1D1D1D;
  --backgroundl2: #292929;
  --backgroundl3: #414141;
  --backgroundl4: #585858;
  --backgroundl5: #707070;
  --backgroundl6: #888888;
  --foreground: #171717;
  --purple: #7000fd;
  --gray: #a3a3a3;
  --white: #ffffff;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lexend', sans-serif;
  background: var(--background);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Container */
.container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Background particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--purple);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  top: 80%;
  left: 40%;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  top: 40%;
  left: 60%;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  top: 10%;
  left: 90%;
  animation-delay: 3s;
}

.particle:nth-child(6) {
  top: 90%;
  left: 10%;
  animation-delay: 5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 1;
  }
}

/* Main content */
.main-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

/* Logo section */
.logo-section {
  margin-bottom: 3rem;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.logo-icon {
  margin-right: 1rem;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--white), #FFFFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 1.2rem;
  color: var(--gray);
  font-weight: 300;
}

/* Coming soon section */
.coming-soon-section {
  margin-bottom: 3rem;
}

.coming-soon-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white), var(--gray));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coming-soon-description {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-card {
  background: var(--backgroundl1);
  border: 1px solid var(--backgroundl3);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--purple);
  transform: translateY(-5px);
}

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

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Countdown section */
.countdown-section {
  margin-bottom: 3rem;
}

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

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

.time-unit {
  background: var(--backgroundl1);
  border: 1px solid var(--backgroundl3);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  min-width: 100px;
  transition: all 0.3s ease;
}

.time-unit:hover {
  border-color: var(--purple);
}

.time-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.time-label {
  display: block;
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

/* Signup section */
.signup-section {
  margin-bottom: 3rem;
}

.signup-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.signup-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.input-group {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 0.5rem;
}

.email-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--backgroundl1);
  border: 1px solid var(--backgroundl3);
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.email-input:focus {
  border-color: var(--purple);
}

.email-input::placeholder {
  color: var(--gray);
}

.signup-button {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--purple), #9333ea);
  border: none;
  border-radius: 8px;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.signup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(112, 0, 253, 0.3);
}

.signup-button:active {
  transform: translateY(0);
}

.button-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.signup-success {
  margin-top: 1rem;
  color: #10b981;
  font-weight: 500;
}

/* Social section */
.social-section {
  margin-bottom: 2rem;
}

.social-title {
  color: var(--gray);
  margin-bottom: 1rem;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--backgroundl1);
  border: 1px solid var(--backgroundl3);
  border-radius: 12px;
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1rem;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  animation: fade-in 0.8s ease-out forwards;
  opacity: 0;
}

.slide-in {
  animation: slide-in 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.slide-in-delayed {
  animation: slide-in 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.slide-in-delayed-2 {
  animation: slide-in 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

.slide-in-delayed-3 {
  animation: slide-in 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.8s;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .logo-text {
    font-size: 2rem;
  }
  
  .coming-soon-title {
    font-size: 2rem;
  }
  
  .countdown-timer {
    gap: 1rem;
  }
  
  .time-unit {
    min-width: 80px;
    padding: 1rem 0.5rem;
  }
  
  .time-value {
    font-size: 1.5rem;
  }
  
  .input-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}
