/* ==========================================================================
   DetanZa™ — Official Brand Coming Soon Stylesheet
   Harmonized with DetanZa Brand Identity: Royal Blue & Vibrant Teal
   ========================================================================== */

:root {
  /* DetanZa Official Brand Palette */
  --brand-blue: #253b8a;
  --brand-blue-light: #3b82f6;
  --brand-blue-dark: #1b285f;
  
  --brand-teal: #00a3a6;
  --brand-teal-light: #2dd4bf;
  --brand-teal-dark: #007577;

  /* Theme Backgrounds */
  --bg-dark: #070a12;
  --bg-card: rgba(14, 20, 36, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-brand: rgba(0, 163, 166, 0.3);

  /* Gradients */
  --brand-gradient: linear-gradient(135deg, #60a5fa 0%, #00a3a6 55%, #2dd4bf 100%);
  --btn-gradient: linear-gradient(135deg, #253b8a 0%, #0284c7 50%, #00a3a6 100%);
  
  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Ambient Background Effects (Electric Blue & Vibrant Teal)
   ========================================================================== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(0, 163, 166, 0.28) 0%, rgba(0, 163, 166, 0) 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-2 {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(37, 59, 138, 0.32) 0%, rgba(37, 59, 138, 0) 70%);
  bottom: -100px;
  right: -5%;
  animation-duration: 22s;
}

.glow-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18) 0%, rgba(45, 212, 191, 0) 70%);
  bottom: 25%;
  left: -8%;
  animation-duration: 25s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
  100% { transform: translate(-25px, 25px) scale(0.95); }
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 163, 166, 0.16) 0%, rgba(37, 59, 138, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* ==========================================================================
   Page Layout
   ========================================================================== */
.page-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2.2rem 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   Header with Logo Badge
   ========================================================================== */
.brand-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0 2rem;
}

.brand-logo-badge {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(0, 163, 166, 0.22), 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: var(--transition-smooth);
}

.brand-logo-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 163, 166, 0.35);
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.brand-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-teal);
  box-shadow: 0 0 0 rgba(0, 163, 166, 0.5);
  animation: pulseEffect 2s infinite;
}

@keyframes pulseEffect {
  0% { box-shadow: 0 0 0 0 rgba(0, 163, 166, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(0, 163, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 163, 166, 0); }
}

/* ==========================================================================
   Hero Content
   ========================================================================== */
.hero-content {
  width: 100%;
  max-width: 840px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0 3rem;
}

.badge-container {
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-teal-light);
  background: rgba(0, 163, 166, 0.1);
  border: 1px solid var(--border-brand);
  padding: 0.45rem 1.15rem;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.sparkle-icon {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
  color: #ffffff;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
  max-width: 640px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 2.8rem;
}

/* ==========================================================================
   Countdown Timer
   ========================================================================== */
.countdown-wrapper {
  margin-bottom: 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.countdown-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.25rem 2rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

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

.time-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 163, 166, 0.35);
}

.time-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.4rem;
}

.time-separator {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--brand-teal);
  opacity: 0.6;
  margin-top: -0.8rem;
  user-select: none;
}

/* ==========================================================================
   Waitlist Form & Input
   ========================================================================== */
.form-container {
  width: 100%;
  max-width: 550px;
  margin-bottom: 2.8rem;
}

.notify-form {
  position: relative;
  width: 100%;
}

.input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.4rem 0.45rem 0.4rem 1.2rem;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
}

.input-group:focus-within {
  border-color: var(--brand-teal);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(0, 163, 166, 0.2), 0 15px 35px -10px rgba(0, 0, 0, 0.6);
}

.input-icon {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  margin-right: 0.65rem;
  transition: var(--transition-smooth);
}

.input-group:focus-within .input-icon {
  color: var(--brand-teal-light);
}

.notify-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 400;
  padding: 0.5rem 0;
}

.notify-form input[type="email"]::placeholder {
  color: var(--text-dim);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--btn-gradient);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 163, 166, 0.35);
  white-space: nowrap;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 163, 166, 0.5);
}

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

.submit-btn .arrow-icon {
  transition: transform 0.25s ease;
}

.submit-btn:hover .arrow-icon {
  transform: translateX(3px);
}

/* Form Feedback */
.form-feedback {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  min-height: 24px;
  opacity: 0;
  transform: translateY(-5px);
  transition: var(--transition-smooth);
}

.form-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

.form-feedback.success {
  color: var(--brand-teal-light);
}

.form-feedback.error {
  color: #f87171;
}

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

/* ==========================================================================
   Feature Highlight Badges
   ========================================================================== */
.highlights-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-top: 0.5rem;
}

.highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.highlight-icon {
  color: var(--brand-teal-light);
  font-size: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.brand-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-logo {
  background: #ffffff;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--brand-teal-light);
  border-color: var(--border-brand);
  background: rgba(0, 163, 166, 0.1);
  transform: translateY(-2px);
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 640px) {
  .page-wrapper {
    padding: 1.8rem 1.1rem 1.5rem;
  }

  .brand-header {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .brand-logo-img {
    height: 32px;
  }

  .countdown-timer {
    padding: 1rem 1.2rem;
    gap: 0.4rem;
  }

  .time-block {
    min-width: 52px;
  }

  .time-separator {
    font-size: 1.4rem;
    margin-top: -0.5rem;
  }

  .input-group {
    flex-direction: column;
    border-radius: 18px;
    padding: 0.75rem;
    gap: 0.65rem;
  }

  .input-icon {
    display: none;
  }

  .notify-form input[type="email"] {
    width: 100%;
    text-align: center;
    padding: 0.5rem;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
  }

  .highlights-row {
    gap: 0.8rem 1.2rem;
  }
}
