/* ==========================================================================
   1. GLOBAL RESETS & BASE STYLES
   ========================================================================== */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #020817;
  color: white;
}

/* ==========================================================================
   2. HERO BANNER BACKGROUND & EFFECTS
   ========================================================================== */
.hero {
  min-height: 100vh;
  background: url('../images/hero-cathedral.jpg') center center no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, .12), transparent 60%);
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  50% { opacity: .4; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, .12), transparent 45%),
              linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .8));
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ==========================================================================
   3. INNER ELEMENT STYLING (TYPOGRAPHY, CARDS, FORMS)
   ========================================================================== */
h1 {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 30px;
  margin-bottom: 20px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .4);
}

.subtitle {
  font-size: 1.35rem;
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
  opacity: .95;
}

.launch-badge {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(212, 175, 55, .15);
  border: 1px solid rgba(212, 175, 55, .3);
  color: #d4af37;
  margin-bottom: 25px;
  letter-spacing: 2px;
  font-size: .85rem;
  text-transform: uppercase;
}

/* Countdown Widgets */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.count-card {
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: 20px;
  padding: 18px;
}

.count-card span {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #d4af37;
}

.count-card label {
  letter-spacing: 2px;
  font-size: .8rem;
}

/* Signup Forms Alignment Framework */
.signup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  width: 100%;
  max-width: 600px;
}

.form-input-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.signup-form input[type="email"] {
  width: 350px;
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
}

.signup-form button {
  padding: 16px 28px;
  background: #d4af37;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

/* PERSISTENT HORIZONTAL INLINE CHECKBOX FIX */
.gdpr-consent {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  color: white;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto !important;
  margin: 0;
  cursor: pointer;
}

/* Social Icon Blocks */
.socials {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.socials a {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(212, 175, 55, .25);
  color: #d4af37;
  font-size: 1.3rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all .3s ease;
}

.socials a:hover {
  transform: translateY(-4px);
  background: rgba(212, 175, 55, .18);
  border-color: #d4af37;
  box-shadow: 0 0 20px rgba(212, 175, 55, .35);
}

/* ==========================================================================
   4. DESKTOP SPLIT VIEW LAYOUT (PREVENTS SCROLLING)
   ========================================================================== */
@media (min-width: 992px) {
  html, body, .hero {
    height: 100vh !important;
    overflow: hidden !important;
  }

  .hero-content.horizontal-split {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1350px !important;
    width: 100% !important;
    text-align: center !important;
  }

  .left-side {
    flex: 0 0 40% !important;
    max-width: 40% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important; 
    padding-right: 80px !important; 
    box-sizing: border-box !important;
  }

  .left-side .logo {
    width: 600px !important; 
    height: auto !important;
    margin: 0 !important;
    filter: drop-shadow(0 0 30px rgba(212,175,55,.35));
  }

  .right-side {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .right-side h1 {
    font-size: 3.2rem !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   5. MOBILE RESPONSIVENESS FALLBACK RULES
   ========================================================================== */
@media (max-width: 991px) {
  .hero-content.horizontal-split {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .left-side {
    width: 100% !important;
    padding-right: 0 !important;
    margin-bottom: 25px !important;
  }
  
  .left-side .logo {
    width: 180px !important;
    margin: 0 auto !important;
  }
  
  h1 {
    font-size: 2.8rem;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-input-row {
    flex-direction: column;
    gap: 10px;
  }

  .signup-form input[type="email"] {
    width: 100%;
  }
}

/* ==========================================================================
   6. GDPR VALIDATION ERRORS & CONFIRMATION BOX PANELS
   ========================================================================== */
.gdpr-error-msg {
  display: none;
  color: #ff4a4a;
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.signup-form input[type="checkbox"]:invalid:focus ~ .gdpr-error-msg {
  display: block !important;
}

/* Frosted Confirmation Panel Sizing Theme */
.form-success-box {
  display: none; 
  width: 100%;
  margin-top: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
  animation: revealConfirmationBox 0.4s ease-out forwards;
}

.form-success-box i {
  color: #d4af37;
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}

.form-success-box p {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
}

@keyframes revealConfirmationBox {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}