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

:root {
  --orange: #E78A33; /* unified orange */
  --black: #111111;
  --white: #ffffff;
  --page-bg: #3d3d3d;
  --label-color: #1a1a1a;
  --input-border: #e0e0e0;
  --text-muted: #888;
  --line: #e9e9e9;
  --success-green: #12803D;
  --success-pill-bg: #d8efdd;
  --success-pill-text: #2a7b43;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Barlow', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
}

/* Global utility */
.orange {
  color: var(--orange);
}

/* ─── SHARED PAGE WRAPPER ─────────────────────── */

.card {
  display: flex;
  width: 100%;
  flex: 1;
}

/* ─── SHARED LEFT PANEL (used by both pages) ───── */

.left-panel {
  flex: 0 0 55%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)),
    url('assets/Background.jpg') center center / cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 44px 64px;
}

.logo {
  position: relative;
  z-index: 1;
  width: 550px;
  max-width: 80%;
  height: auto;
  align-self: center;
  margin-top: clamp(80px, 22vh, 220px);
}

.hero-text {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(100px, 16vh, 200px);
}

.hero-text h2 {
  font-size: clamp(3.8rem, 6.5vw, 6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-text h2 .orange {
  color: var(--orange);
}

.hero-text p {
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  max-width: 400px;
}

/* ─── SHARED RIGHT PANEL ───────────────────────── */

.right-panel {
  flex: 0 0 45%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
  overflow-y: auto;
}

/* ─── LANDING PAGE FORM AREA ───────────────────── */

.form-container {
  width: 100%;
  max-width: 400px;
}

.form-container h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.form-container h1 .orange {
  color: var(--orange);
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ─── FORM ─────────────────────────────────────── */

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--label-color);
  text-transform: uppercase;
}

.form-field .optional {
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.68rem;
}

.form-field input {
  border: none;
  border-bottom: 1.5px solid var(--input-border);
  padding: 9px 0;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--black);
  outline: none;
  background: transparent;
  transition: border-color 0.2s;
  border-radius: 0;
}

.form-field input::placeholder {
  color: #c0c0c0;
}

.form-field input:focus {
  border-bottom-color: var(--orange);
}

.btn-primary {
  margin-top: 6px;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 16px;
  width: 100%;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.05s;
  box-shadow: 4px 4px 0px 0px #111111;
}

.btn-primary:hover {
  background: #2a2a2a;
}

.btn-primary:active {
  transform: translate(1px, 1px);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  font-size: 0.84rem;
  margin-top: 8px;
  min-height: 1.2em;
}

.form-message.success {
  color: var(--success-green);
  font-weight: 600;
}

.form-message.error {
  color: #c0392b;
  font-weight: 600;
}

/* ─── DIVIDER ──────────────────────────────────── */

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--input-border);
}

/* ─── SURVEY SECTION ───────────────────────────── */

.survey-section h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.survey-section p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.voucher {
  font-weight: 900;
  color: var(--success-green);
}

.btn-survey {
  display: block;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: opacity 0.2s, transform 0.05s;
  box-shadow: 4px 4px 0px 0px #111111;
}

.btn-survey:hover {
  opacity: 0.88;
}

.btn-survey:active {
  transform: translate(1px, 1px);
}

/* ─── THANK YOU PAGE RIGHT SIDE (NO BOX) ───────── */

.thankyou-right {
  background: #ffffff; /* pure white right panel */
}

.thankyou-content {
  width: 100%;
  max-width: 430px; /* no card box; just content width */
}

.thankyou-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--success-pill-bg);
  color: var(--success-pill-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.thankyou-title {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 900;
  color: var(--black);
  line-height: 0.96;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.thankyou-title .orange {
  color: var(--orange);
}

.thankyou-lead {
  color: #6f6f6f;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

.thankyou-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 22px;
}

.thankyou-section-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* FIX: ensure orange text works inside thank-you section headings */
.thankyou-section-title .orange {
  color: var(--orange);
}

.thankyou-body {
  font-size: 0.95rem;
  color: #5d5d5d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.thankyou-back-link {
  display: inline-block;
  margin-top: 16px;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
}

.thankyou-back-link:hover {
  color: #111;
  text-decoration: underline;
}

/* ─── CONSENT INTRO + CHECKBOXES ──────────────── */

.consent-intro {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 4px;
}

.consent-intro a {
  color: var(--black);
  text-decoration: underline;
}

.consent-intro a:hover {
  color: var(--orange);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--black);
  cursor: pointer;
  border-radius: 0;
}

.form-check-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-check-label a {
  color: var(--black);
  text-decoration: underline;
}

.form-check-label a:hover {
  color: var(--orange);
}

/* ─── PRIZE DRAW TERMS LINK ────────────────────── */

.prize-draw-terms-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.prize-draw-terms-link:hover {
  color: var(--black);
  text-decoration: underline;
}

/* ─── POLICY PAGES ──────────────────────────────── */

.policy-right {
  align-items: flex-start;
  overflow-y: auto;
}

.policy-content {
  width: 100%;
  max-width: 460px;
}

.policy-content h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 6px;
}

.policy-content .policy-date {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  display: block;
}

.policy-content h2 {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 26px 0 8px;
}

.policy-content p,
.policy-content li {
  font-size: 0.875rem;
  color: #5a5a5a;
  line-height: 1.75;
  margin-bottom: 8px;
}

.policy-content ul {
  padding-left: 18px;
  margin-bottom: 8px;
}

.policy-content a {
  color: var(--black);
  text-decoration: underline;
}

.policy-content a:hover {
  color: var(--orange);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin: 12px 0 20px;
}

.policy-table th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--black);
  border-bottom: 2px solid var(--input-border);
  padding: 8px 12px 8px 0;
}

.policy-table td {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--input-border);
  vertical-align: top;
  color: #5a5a5a;
  line-height: 1.6;
}

.policy-table tr:last-child td {
  border-bottom: none;
}

.policy-back-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 0.84rem;
  color: #777;
  text-decoration: none;
}

.policy-back-link:hover {
  color: var(--black);
  text-decoration: underline;
}

/* ─── POLICY PAGE LAYOUT (right panel scrolls, left fixed) ── */

body.policy-page {
  height: 100vh;
  overflow: hidden;
}

body.policy-page .card {
  flex: 1;
  min-height: 0;
}

body.policy-page .left-panel {
  overflow: hidden;
}

body.policy-page .right-panel {
  overflow-y: auto;
}

/* ─── SITE FOOTER (split: black left / white right) ─────── */

.site-footer {
  display: flex;
  width: 100%;
  flex-shrink: 0;
}

.footer-left-panel {
  flex: 0 0 55%;
  background: var(--black);
  padding: 14px 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
}

.footer-right-panel {
  flex: 0 0 45%;
  background: var(--white);
  padding: 14px 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  border-top: 2px solid var(--black);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  margin: 0;
}

.footer-policy-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-policy-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-link {
  color: rgba(0, 0, 0, 0.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.social-link:hover {
  color: var(--orange);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ─── RESPONSIVE: TABLET ───────────────────────── */

@media (max-width: 1024px) {
  .left-panel {
    flex: 0 0 50%;
    padding: 0 32px 44px;
  }

  .right-panel {
    flex: 0 0 50%;
    padding: 40px 36px;
  }

  .logo {
    width: 300px;
    margin-top: clamp(60px, 18vh, 160px);
  }

  .thankyou-content {
    max-width: 100%;
  }

  .footer-left-panel {
    flex: 0 0 50%;
    padding: 14px 32px;
  }

  .footer-right-panel {
    flex: 0 0 50%;
    padding: 14px 36px;
  }
}

/* ─── RESPONSIVE: MOBILE ───────────────────────── */

@media (max-width: 700px) {
  .card {
    flex-direction: column;
    min-height: 100vh;
    height: auto;
  }

  .left-panel {
    flex: none;
    height: auto;
    min-height: 55vh;
    padding: 0 28px 40px;
    background:
      linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
      url('assets/Background.jpg') center center / cover no-repeat;
  }

  .logo {
    width: 300px;
    margin-top: clamp(44px, 10vh, 90px);
  }

  .hero-text {
    margin-top: clamp(48px, 10vh, 80px);
  }

  .hero-text h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-text p {
    font-size: 1.05rem;
  }

  .right-panel {
    flex: none;
    height: auto;
    padding: 40px 28px 52px;
    overflow-y: visible;
    align-items: flex-start;
  }

  .form-container,
  .thankyou-content {
    max-width: 100%;
  }

  .thankyou-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .thankyou-lead,
  .thankyou-body {
    font-size: 0.95rem;
  }

  .policy-content {
    max-width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-left-panel {
    flex: none;
    width: 100%;
    padding: 14px 20px;
    gap: 16px;
  }

  .footer-right-panel {
    flex: none;
    width: 100%;
    padding: 12px 20px;
    justify-content: flex-start;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-right-panel .social-link {
    color: rgba(255, 255, 255, 0.6);
  }

  body.policy-page {
    height: auto;
    overflow: visible;
  }

  body.policy-page .right-panel {
    overflow-y: visible;
    height: auto;
  }
}