@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root {
  --night: #0D0805;
  --night-warm: #110A04;
  --ember: #C4520A;
  --ember-glow: #E8722A;
  --sand: #B8864E;
  --star: #FFF8EC;
  --glass: rgba(200,169,110,0.05);
  --glass-border: rgba(200,169,110,0.15);
  
  --success: #1A7A3A;
  --shadow: 0 4px 24px rgba(184,134,78,0.12);
  --shadow-lg: 0 12px 48px rgba(184,134,78,0.22);
  --font-body: 'DM Sans', sans-serif;
  --font-head: 'Playfair Display', serif;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--night);
  color: var(--star);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--star);
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── NAV STYLES ────────────────────────────── */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.2rem 2.5rem;
  background: transparent;
  transition: background 0.4s;
}
.main-nav.scrolled {
  background: rgba(13,8,5,0.85);
  backdrop-filter: blur(16px);
}
.lang-btn {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: var(--star);
  padding: 6px 14px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}
.lang-btn:first-child {
  border-radius: 20px 0 0 20px;
  border-right: none;
}
.lang-btn:last-child {
  border-radius: 0 20px 20px 0;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--sand);
  border-color: var(--sand);
  color: #fff;
}
.lang-btn.active {
  pointer-events: none;
}

/* ── Cinematic Hero ────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.hero-vid {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,8,5,0.4) 0%, rgba(13,8,5,0.7) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  max-width: 800px;
  animation: fadeUp 1s ease-out forwards;
}

.eyeline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ember), var(--ember-glow));
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(196,82,10,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(196,82,10,0.6);
}

.hero-badges {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.badge-urgency {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.social-proof-line {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: scrollDrop 1.5s infinite;
}
@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

.section {
  padding: 80px 0;
  background: var(--night-warm);
}

.section-fade-bottom {
  position: relative;
}
.section-fade-bottom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #0D0805);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-style: italic;
  margin-bottom: 16px;
}
.section-header p {
  color: rgba(255,248,236,0.6);
  font-size: 1.1rem;
}

/* ── Form Section ────────────────────────────── */
.upload-flow {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 40px 30px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.progress-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--glass-border);
  z-index: 1;
}
.step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--night);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: rgba(255,248,236,0.6);
  transition: all 0.3s;
}
.step.active .step-num {
  border-color: var(--sand);
  background: var(--sand);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(184,134,78,0.1);
}
.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,248,236,0.6);
}
.step.active .step-label { color: var(--star); }

/* Reward Selection inside form */
.rewards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
@media(min-width: 768px) {
  .rewards-grid { flex-direction: row; }
}
.reward-card {
  flex: 1;
  cursor: pointer;
  display: block;
}
.reward-input { display: none; }
.reward-content {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
}
.reward-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.reward-info h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.reward-info p {
  font-size: 0.9rem;
  color: rgba(255,248,236,0.6);
}

.reward-input:checked + .reward-content {
  border-color: var(--sand);
  background: var(--glass);
  transform: scale(1.02);
  box-shadow: var(--shadow);
}
.reward-card:hover .reward-content {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--star);
  transition: border 0.3s;
}
.form-control:focus {
  border-color: var(--sand);
  outline: none;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 8px;
}
.star-input { display: none; }
.star-label {
  font-size: 2.5rem;
  color: var(--glass-border);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 40px;
  text-align: center;
}
.star-rating .star-label:hover,
.star-rating .star-label:hover ~ .star-label,
.star-input:checked ~ .star-label {
  color: var(--sand);
  transform: scale(1.1);
}

.upload-area {
  position: relative;
  border: 2px dashed var(--sand);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  background: var(--glass);
  cursor: pointer;
  transition: all 0.3s;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.upload-area:hover, .upload-area.dragover {
  background: rgba(184,134,78,0.08);
}
.upload-area.pulse-border {
  animation: pulseBorder 2s infinite;
}
@keyframes pulseBorder {
  0% { border-color: rgba(184,134,78,1); }
  50% { border-color: rgba(184,134,78,0.3); }
  100% { border-color: rgba(184,134,78,1); }
}
.upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.upload-text {
  font-weight: 700;
  font-size: 1.1rem;
}
.upload-hint {
  font-size: 0.9rem;
  color: rgba(255,248,236,0.6);
  margin-top: 8px;
}

.video-preview {
  display: none;
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 16px;
  background: #000;
}
.video-preview video {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  opacity: 0.6;
}
.preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  pointer-events: none;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--ember), var(--ember-glow));
  color: #fff;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 18px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(196,82,10,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 24px;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(196,82,10,0.4);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.privacy-note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,248,236,0.6);
  margin-top: 16px;
}

/* Success State */
.success-state {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.success-emoji { font-size: 4rem; margin-bottom: 24px; animation: bounce 1s; }
.success-state h2 { font-style: italic; margin-bottom: 16px; }
.success-state p { color: rgba(255,248,236,0.6); margin-bottom: 32px; }

.reward-ticket {
  background: linear-gradient(135deg, var(--sand), var(--ember));
  color: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.reward-ticket::before {
  content: ''; position: absolute; top: -50px; left: -50px; width: 100px; height: 100px;
  background: rgba(255,255,255,0.2); border-radius: 50%;
}
.ticket-title { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; margin-bottom: 8px; }
.ticket-reward { font-family: var(--font-head); font-size: 1.8rem; font-style: italic; margin-bottom: 16px; }
.ticket-code {
  background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
  padding: 12px 24px; border-radius: 8px; font-family: monospace; font-size: 1.5rem;
  letter-spacing: 2px;
}

.countdown { font-weight: 700; color: var(--ember); margin-top: 24px; }


/* Sticky CTA Mobile */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(13,8,5,0.9);
  backdrop-filter: blur(10px);
  padding: 16px;
  border-top: 1px solid var(--glass-border);
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
@media(max-width: 767px) {
  .sticky-cta.visible { display: block; }
  .sticky-cta .btn-submit { margin-top: 0; padding: 14px; }
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--night); color: #fff; padding: 14px 24px; border-radius: 50px;
  font-weight: 600; z-index: 9999; opacity: 0; transition: all 0.4s;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.error { background: #C4520A; }

/* Progress bar inside form */
.progress-wrap { display: none; margin-top: 16px; }
.progress-bar { height: 8px; background: var(--glass-border); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--sand); transition: width 0.3s; }

/* Footer */
footer { text-align: center; padding: 40px 20px; font-size: 0.9rem; color: rgba(255,248,236,0.6); }
footer a { color: var(--sand); text-decoration: none; }

/* Inline Country Code Selector (Maintains exact colors and rounded theme) */
.phone-input-inline-container {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(200,169,110,0.25);
  border-radius: 12px;
  color: var(--sand-light);
  padding: 0 16px;
  transition: all 0.3s;
  height: 52px;
}

.phone-input-inline-container:hover {
  border-color: rgba(200,169,110,0.45);
  background: rgba(255,255,255,0.06);
}

.phone-input-inline-container:focus-within {
  border-color: var(--sand);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 12px rgba(184,134,78,0.15);
}

.country-inline-select {
  background: transparent;
  border: none;
  color: var(--sand-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  padding: 12px 8px 12px 0;
  min-width: 95px;
  height: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23b8864e' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 20px;
}

.country-inline-select option {
  background: #12100E;
  color: #FFF8EC;
}

.phone-separator {
  width: 1px;
  height: 20px;
  background: rgba(200,169,110,0.25);
  margin: 0 4px;
}

.phone-inline-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--sand-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  padding: 12px 0;
  width: 100%;
  height: 100%;
}

.phone-inline-input::placeholder {
  color: rgba(255,248,236,0.3);
}

/* Premium Duplicate Notice Card */
.duplicate-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(200,169,110,0.06);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  margin-top: 1.2rem;
  animation: slideDown 0.4s cubic-bezier(0.34,1.56,0.64,1);
  backdrop-filter: blur(12px);
}

.duplicate-notice.type-pending {
  border-color: rgba(196,82,10,0.35);
  background: rgba(196,82,10,0.08);
}

.duplicate-notice.type-approved {
  border-color: rgba(34,150,70,0.35);
  background: rgba(34,150,70,0.08);
}

.duplicate-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.duplicate-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFF8EC;
  margin-bottom: 0.3rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.duplicate-sub {
  font-size: 0.85rem;
  color: rgba(255,248,236,0.65);
  line-height: 1.6;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
