:root {
  --navy: #0b1426;
  --cream: #f5ecd7;
  --gold: #d4af37;
  --gold-hover: #b5952f;
  --gold-light: rgba(212, 175, 55, 0.2);
  --border-gold: rgba(212, 175, 55, 0.4);
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
}

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

body {
  background-color: var(--navy);
  color: var(--cream);
  font-family: var(--font-sans);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Backgrounds */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('https://offertabs.s3.amazonaws.com/offer/ydo6my/site/media/69f0d894dcfd84.99543241.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: luminosity;
  z-index: -2;
  pointer-events: none;
}

.glow {
  position: fixed;
  top: 0;
  left: 10%;
  width: 80vw;
  height: 80vh;
  background: radial-gradient(circle at center, rgba(212,175,55,0.12) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* Layout */
.layout-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Status Banner */
.status-banner {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.two-column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.col-text {
  flex: 1.2;
}

.col-form {
  flex: 0.8;
  max-width: 480px;
  width: 100%;
}

/* Typography */
.headline {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--cream);
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.divider {
  height: 1px;
  width: 100%;
  max-width: 200px;
  background: var(--gold);
  margin-bottom: 2rem;
}

.divider.small {
  margin: 2rem auto;
  opacity: 0.3;
}

.subhead {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(245, 236, 215, 0.8);
  max-width: 440px;
}

/* Form Card */
.form-card {
  background: rgba(11, 20, 38, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6), inset 0 0 20px rgba(212,175,55,0.05);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-align: center;
}

.card-desc {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(245, 236, 215, 0.7);
  margin-bottom: 2.5rem;
}

/* Form Elements */
.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.75rem;
  flex: 1;
  position: relative;
}

label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245, 236, 215, 0.6);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 236, 215, 0.2);
  color: var(--cream);
  padding: 0.5rem 0;
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus {
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 var(--gold);
}

/* Custom Checkbox */
.checkbox-group {
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 28px;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(245, 236, 215, 0.8);
  font-size: 0.85rem;
  font-weight: 400;
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
  background-color: transparent;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.checkbox-label:hover input ~ .checkmark {
  border-color: var(--gold);
}

.checkbox-label input:checked ~ .checkmark {
  background-color: var(--gold);
  border-color: var(--gold);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
  display: block;
}

/* Button */
.submit-btn {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.submit-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3), 0 0 15px rgba(212,175,55,0.3);
}

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

/* Trust Bar / Footer */
.trust-bar {
  padding: 2rem 0 3rem;
  margin-top: auto;
}

.trust-row {
  display: flex;
  justify-content: flex-start;
  gap: 3rem;
  border-top: 1px solid rgba(245, 236, 215, 0.1);
  padding-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(245, 236, 215, 0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-item svg {
  color: var(--gold);
}

/* Share Panel */
.share-panel {
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

.share-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.share-desc {
  font-size: 0.85rem;
  color: rgba(245, 236, 215, 0.7);
  margin-bottom: 1.5rem;
}

.share-input-group {
  display: flex;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  overflow: hidden;
}

.share-input-group input {
  flex: 1;
  background: rgba(0,0,0,0.2);
  border: none;
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-family: monospace;
  font-size: 0.9rem;
  outline: none;
}

.share-input-group button {
  background: var(--gold-light);
  color: var(--gold);
  border: none;
  border-left: 1px solid var(--border-gold);
  padding: 0 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.share-input-group button:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Messages & Utilities */
.error-msg {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fca5a5;
  padding: 0.75rem;
  border-radius: 2px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hidden {
  display: none !important;
}

#wbx-powered-by-slot {
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  width: 100%;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .two-column {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .divider {
    margin: 0 auto 2rem;
  }
  
  .subhead {
    margin: 0 auto;
  }
  
  .col-form {
    max-width: 100%;
  }

  .glow {
    left: 0;
    width: 100vw;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
  }
  
  .form-card {
    padding: 2rem 1.5rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .trust-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  
  .headline {
    font-size: 3.5rem;
  }
}
