:root {
  --primary-gold: #c5a059;
  --light-gold: #e2c08d;
  --dark-gold: #a67c37;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --deep-bg: #0a0a0a;
}

/* Base Styles */
/* Mobile Background Jump Fix */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh; /* Use Large Viewport Height to stay solid regardless of UI shifts */
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.9) 100%
    ),
    url("../images/background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family:
    "Outfit",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: white;
  background-color: var(--deep-bg);
  /* Force a stable rendering layer */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Typography */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 span {
  background: linear-gradient(to right, var(--light-gold), var(--primary-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-gold);
}

header {
  text-align: center;
  padding: 60px 20px 40px;
}

.logo {
  max-width: 320px;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

/* Layout */
.container {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  align-items: center;
  gap: 60px;
  min-height: 60vh;
}

.content {
  flex: 1.2;
}

.form-container {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

/* Features */
.features {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.features li {
  margin-bottom: 18px;
  padding-left: 35px;
  position: relative;
  font-size: 1.1rem;
  color: #e0e0e0;
}

.features li::before {
  content: "\f058"; /* FontAwesome check-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-gold);
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Form Elements */
input:not([type="checkbox"]),
textarea,
select {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-gold);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.1);
}

.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--primary-gold);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--dark-gold), var(--primary-gold));
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(166, 124, 55, 0.3);
  filter: brightness(1.1);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Form Toggle */
.form-toggle {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 30px;
  border: 1px solid var(--glass-border);
}

.toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  padding: 12px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.toggle-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--light-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Icon Row */
.icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 60px auto 40px;
  padding: 0 20px;
}

.icon-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
}

.icon-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary-gold);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.icon-box i {
  color: var(--primary-gold) !important;
  text-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.icon-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #bbb;
}

.icon-box strong {
  color: white;
  display: block;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Privacy & Disclaimer */
.privacy-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 15px;
}

.checkbox-container {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  cursor: pointer;
}

.checkbox-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Site Footer */
.site-footer {
  padding: 60px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.contact-item i {
  color: var(--primary-gold);
}

.contact-item:hover {
  color: var(--primary-gold);
}

.footer-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--glass-border),
    transparent
  );
  max-width: 800px;
  margin: 0 auto 40px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  margin: 0 15px;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.disclaimer {
  max-width: 700px;
  margin: 30px auto 0;
  color: rgba(255, 255, 255, 0.3);
  font-style: normal;
  line-height: 1.8;
  font-size: 0.75rem;
}

#thank-you-message a {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  transition: filter 0.3s;
}

#thank-you-message a:hover {
  filter: brightness(1.2);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .icon-row {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .features li {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  header {
    padding-top: 40px;
  }

  .glass-card {
    padding: 30px 20px;
  }

  h1 {
    font-size: 2.2rem;
  }
}
