/* Import elegant Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --bg-primary: #0a0c10;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-color: #e5c158;
  /* Gold to match logo */
  --accent-glow: rgba(229, 193, 88, 0.4);
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Background animated glow orbs */
.glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
  top: -10%;
  left: 10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  animation-duration: 25s;
}

.orb-2 {
  bottom: -10%;
  right: 10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #818cf8 0%, transparent 70%);
  animation-duration: 30s;
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(8%, 10%) scale(1.1);
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 900px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}

/* Brand/Logo */
.logo-container {
  margin-bottom: 30px;
  animation: fadeInDown 1s ease-out;
}

.logo {
  max-height: 250px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.15));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
  transform: scale(1.05);
}

/* Glass Card */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Typography */
h1 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent-color) 0%, #b8901c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

/* Countdown Timer */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.countdown-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.countdown-value::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Subscription Form */
.subscribe-form {
  display: flex;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.75rem;
  position: relative;
}

.input-group {
  position: relative;
  flex-grow: 1;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
  font-size: 1.1rem;
}

.subscribe-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1rem 1rem 2.75rem;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.subscribe-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow);
}

.subscribe-btn {
  background: linear-gradient(135deg, var(--accent-color) 0%, #b8901c 100%);
  color: #0a0c10;
  border: none;
  padding: 0 1.75rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(229, 193, 88, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 193, 88, 0.5);
  background: linear-gradient(135deg, #f3e5ab 0%, var(--accent-color) 100%);
}

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

.distributor-text {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: inline-block;
  background: linear-gradient(135deg, #f3e5ab 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Form Message */
.form-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
}

.form-message.success {
  color: #4ade80;
  opacity: 1;
  transform: translateY(0);
}

.form-message.error {
  color: #f87171;
  opacity: 1;
  transform: translateY(0);
}

/* Footer / Contact */
.footer {
  margin-top: 3rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  animation: fadeIn 1.5s ease-out both;
}

.footer a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--accent-color);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive Queries */
@media (max-width: 640px) {
  .card {
    padding: 2rem 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  .countdown {
    gap: 0.75rem;
  }

  .countdown-value {
    font-size: 1.75rem;
    width: 65px;
    height: 65px;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-btn {
    padding: 1rem;
  }
}