/* CSS Variables */
:root {
  --primary-navy: #3a3680;
  --primary-orange: #ff8c4a;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --text-gray: #6c757d;
  --gradient-start: #4a4590;
  --gradient-end: #6b68a8;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  min-height: 100vh;
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Background Elements */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(242, 107, 35, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(242, 107, 35, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Main Content */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Logo */
.logo-container {
  margin-bottom: 2.5rem;
  animation: fadeInDown 0.8s ease-out;
}

.logo {
  width: 350px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

/* Heading */
.heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.heading-line {
  display: block;
}

.heading-line.accent {
  color: var(--primary-orange);
}

/* Description */
.description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Countdown */
.countdown {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  min-width: 80px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.countdown-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-orange);
  line-height: 1;
}

.countdown-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

/* Signup Form */
.signup-form {
  width: 100%;
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.input-wrapper {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.375rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrapper:focus-within {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(242, 107, 35, 0.2);
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  color: var(--white);
  outline: none;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: #e05a12;
  transform: scale(1.02);
}

.submit-btn:active {
  transform: scale(0.98);
}

.form-message {
  margin-top: 1rem;
  font-size: 0.875rem;
  min-height: 1.25rem;
}

.form-message.success {
  color: #4ade80;
}

.form-message.error {
  color: #f87171;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-3px);
}

/* Footer */
.footer {
  padding: 1.5rem 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 640px) {
  .countdown {
    gap: 0.5rem;
  }
  
  .countdown-item {
    padding: 1rem;
    min-width: 65px;
  }
  
  .countdown-value {
    font-size: 1.5rem;
  }
  
  .countdown-label {
    font-size: 0.625rem;
  }
  
  .input-wrapper {
    flex-direction: column;
    border-radius: 16px;
    padding: 0.5rem;
  }
  
  .email-input {
    text-align: center;
    padding: 0.75rem;
  }
  
  .submit-btn {
    width: 100%;
    justify-content: center;
  }
  
  .logo {
    width: 280px;
  }
}

@media (max-width: 400px) {
  .countdown {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .countdown-item {
    flex: 0 0 calc(50% - 0.5rem);
  }
}
