/* --- VARIABLES & DESIGN SYSTEM --- */
:root {
  --color-primary: #F5C518;     
  --color-secondary: #111111;   
  --color-charcoal: #181818;
  --color-background: #FAFAFA;  
  --color-surface: #FFFFFF;     
  --color-text: #1A1A1A;        
  --color-text-light: #666666;  
  
  --font-heading: 'Playfair Display', serif; 
  --font-body: 'Manrope', sans-serif;        

  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 3rem;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.hidden { display: none !important; }

/* --- OPENING EXPERIENCE --- */
.opening-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background-color: var(--color-secondary); color: var(--color-background);
  display: flex; align-items: center; justify-content: center; text-align: center;
  z-index: 1000; padding: var(--spacing-lg); transition: opacity 0.8s ease-in-out;
}
.giant-number { 
  font-family: var(--font-body); font-size: 10rem; 
  font-weight: 800; line-height: 1; margin-bottom: var(--spacing-md); 
  background: linear-gradient(135deg, #FFE27A 0%, #F5C518 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -4px; 
}

.opening-text { 
  font-family: var(--font-heading); 
  font-size: 2.5rem; 
  font-style: italic; font-weight: 500; 
  margin-top: var(--spacing-md); 
  opacity: 0; transform: translateY(10px); transition: all 0.6s ease; 
  line-height: 1.2;
}
.fade-in-up { opacity: 1; transform: translateY(0); }

/* --- EDITORIAL SPLIT LAYOUT --- */
.layout-split { display: flex; flex-direction: column; min-height: 100vh; }

/* --- LUXURY BRAND PANEL (ELEVATED LEFT SIDE) --- */
.brand-panel {
  background: radial-gradient(circle at 15% 15%, #FFE27A 0%, #F5C518 55%, #DFB200 100%);
  color: var(--color-secondary);
  position: relative; 
  overflow: hidden; 
  padding: var(--spacing-xl) var(--spacing-lg);
  display: flex; 
  flex-direction: column;
  box-shadow: inset -12px 0 35px rgba(0, 0, 0, 0.04);
}

.panel-grid-overlay {
  position: absolute; 
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(17, 17, 17, 0.14) 1.5px, transparent 1.5px);
  background-size: 24px 24px; 
  z-index: 1;
  pointer-events: none;
}

.brand-panel-content { 
  position: relative; 
  z-index: 3; 
  height: 100%; 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
  min-height: 480px; 
}

.brand-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px dashed rgba(17, 17, 17, 0.2);
}

.logo { 
  font-family: var(--font-body); 
  font-weight: 800; 
  font-size: 1.15rem; 
  letter-spacing: 2.5px; 
  line-height: 1.2; 
  text-transform: uppercase;
}
.logo span { 
  display: block; 
  font-weight: 600; 
  font-size: 0.75rem; 
  letter-spacing: 5px; 
  opacity: 0.75; 
  margin-top: 4px; 
}

.est-badge { 
  font-size: 0.7rem; 
  font-weight: 800; 
  border: 1.5px dashed var(--color-secondary); 
  padding: 5px 12px; 
  border-radius: 40px; 
  letter-spacing: 1.5px; 
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.18);
}

/* --- 2. DOUBLE ROTATING TICKER WITH VARIABLE HOVER SPEED --- */
.ticker-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: var(--spacing-xl) 0;
}

.ticker-row {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ticker-track {
  display: inline-flex;
  gap: 1.5rem;
  animation-duration: 25s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.ticker-track.left { animation-name: marqueeLeft; }
.ticker-track.right { animation-name: marqueeRight; }

.ticker-row:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.ticker-item strong { font-weight: 900; }
.ticker-item span { font-weight: 300; opacity: 0.8; }

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.brand-footer {
  padding-top: 1.25rem;
  border-top: 1.5px dashed rgba(17, 17, 17, 0.2);
}

.line-accent { 
  width: 28px; 
  height: 3px; 
  background-color: var(--color-secondary); 
  margin-bottom: 12px; 
  border-radius: 2px;
}

.footer-chapter { 
  font-family: var(--font-heading); 
  font-size: 2.4rem; 
  font-style: italic; 
  font-weight: 600; 
  line-height: 1; 
  color: var(--color-secondary); 
  letter-spacing: -0.5px;
}

.footer-sub { 
  font-family: var(--font-body); 
  font-size: 0.75rem; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 3px; 
  margin-top: 8px; 
  opacity: 0.8; 
}

/* --- 1. MONUMENTAL "18" WATERMARK FRAME --- */
.hero-section {
  position: relative;
  background: var(--color-surface);
  border: 1px solid #EAEAEA;
  border-left: 4px solid var(--color-primary);
  border-radius: 16px;
  padding: var(--spacing-xl) var(--spacing-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  z-index: 1;
}

.watermark-hero-18 {
  position: absolute;
  top: -20%;
  right: -10%;
  font-family: var(--font-body);
  font-size: 24rem;
  font-weight: 900;
  line-height: 0.75;
  background: linear-gradient(135deg, #DFB200 0%, #FFE27A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  animation: float18 10s ease-in-out infinite alternate;
}

@keyframes float18 {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.04) translateY(-15px); }
}

/* --- SCROLLING RIGHT PANE --- */
.content-panel { 
  flex: 1; 
  background-color: #F8F8F6;
  background-image: radial-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
}
.content-wrapper { 
  max-width: 680px; 
  margin: 0 auto; 
  padding: var(--spacing-xl) var(--spacing-lg); 
  display: flex; 
  flex-direction: column; 
  gap: 2rem; 
}

.content-section { width: 100%; }

.hero-heading { 
  font-family: var(--font-heading); 
  font-size: 2.2rem; 
  font-weight: 600; 
  line-height: 1.25; 
  margin-bottom: 0.75rem; 
  color: var(--color-secondary); 
  letter-spacing: -0.5px; 
}

.hero-body { 
  font-size: 0.95rem; 
  color: var(--color-text-light); 
  margin-bottom: 1.25rem; 
  line-height: 1.6;
}

/* --- 5. SUBMIT BUTTON WITH SHIMMER SWEEP --- */
.btn {
  font-family: var(--font-body); 
  font-size: 0.9rem; 
  font-weight: 700;
  padding: 0.85rem 1.6rem; 
  border: none; 
  border-radius: 8px;
  cursor: pointer; 
  text-align: center; 
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary { 
  background-color: var(--color-primary); 
  color: var(--color-secondary); 
  padding: 1rem 2rem; 
  font-size: 0.95rem;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 100%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.btn-primary:hover::after {
  left: 150%;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245, 197, 24, 0.3); }

/* --- 3. PROMPT QUESTION CARDS (2x3 GRID) --- */
.prompts-section { margin-top: 0.5rem; }
.section-header { margin-bottom: 1rem; }
.section-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; color: var(--color-secondary); }
.section-subtitle { font-size: 0.85rem; color: var(--color-text-light); font-weight: 500; }

.prompts-grid {
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.prompt-card {
  background: var(--color-surface);
  border: 1px solid #EAEAEA;
  border-left: 3px solid var(--color-primary);
  padding: 1rem 1.1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.prompt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(245, 197, 24, 0.2);
  border-color: rgba(245, 197, 24, 0.5);
  border-left-color: var(--color-primary);
}

.prompt-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #888888;
  text-transform: uppercase;
}

.prompt-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.45;
}

/* --- 4. VIDEO FLOW & SOCIAL PROOF --- */
.ui-card {
  background-color: var(--color-surface); 
  border: 1px solid #E6E6E6;
  border-radius: 16px; 
  padding: var(--spacing-lg); 
  box-shadow: 0 8px 25px rgba(0,0,0,0.03);
}

.social-proof-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #FFF9E6;
  border: 1px solid #FFE699;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #8A6D00;
  margin-bottom: 1.25rem;
}

/* Tab Toggle Pills */
.segmented-control { 
  display: flex; 
  background-color: #F0F0F0; 
  padding: 4px; 
  border-radius: 30px; 
  margin-bottom: 1.25rem; 
}

.seg-btn { 
  flex: 1; 
  border: none; 
  background: transparent; 
  padding: 0.6rem 1rem; 
  font-family: var(--font-body); 
  font-size: 0.85rem; 
  font-weight: 700; 
  color: var(--color-text-light); 
  border-radius: 25px; 
  cursor: pointer; 
  transition: all 0.25s ease; 
}

.seg-btn.active { 
  background-color: var(--color-primary); 
  color: var(--color-secondary); 
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

/* Camera Frame & Circular Progress Arc */
.camera-frame { 
  position: relative; 
  width: 100%; 
  aspect-ratio: 16/9; 
  background-color: #0A0A0A; 
  border-radius: 12px; 
  overflow: hidden; 
  margin-bottom: var(--spacing-md); 
}

#camera-preview, #playback-video { width: 100%; height: 100%; object-fit: cover; }

.recording-indicator { 
  position: absolute; 
  top: 1rem; 
  right: 1rem; 
  background-color: rgba(0,0,0,0.85); 
  color: #FFF; 
  padding: 0.4rem 0.8rem; 
  border-radius: 20px; 
  font-size: 0.8rem; 
  font-weight: 700; 
  display: flex; 
  align-items: center; 
  gap: 0.6rem; 
  z-index: 10; 
  backdrop-filter: blur(6px); 
}

.timer-arc-wrapper {
  position: relative;
  width: 18px;
  height: 18px;
}

.timer-arc-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.timer-arc-circle {
  stroke: var(--color-primary);
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  transition: stroke-dashoffset 1s linear;
}

.red-dot { width: 8px; height: 8px; background-color: #FF4A3F; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --- 5. FLOATING FORM FIELDS & BRANDED CHECKBOX --- */
.floating-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.floating-input {
  width: 100%;
  padding: 1.1rem 0.95rem 0.4rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid #E0E0E0;
  border-radius: 8px;
  background-color: #FAFAFA;
  color: var(--color-text);
  transition: all 0.25s ease;
}

.floating-label {
  position: absolute;
  left: 0.95rem;
  top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  pointer-events: none;
  transition: all 0.2s ease;
}

.floating-input:focus, .floating-input:not(:placeholder-shown) {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
  background-color: #FFFFFF;
}

.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
  top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--color-secondary);
  text-transform: uppercase;
}

/* Custom Branded Checkbox */
.custom-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-light);
  background: #F9F9F9;
  padding: 0.85rem;
  border-radius: 8px;
  border: 1px solid #EAEAEA;
}

.custom-checkbox-container input { display: none; }

.checkmark {
  width: 18px;
  height: 18px;
  border: 1.5px solid #CCC;
  border-radius: 4px;
  background-color: #FFF;
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
  margin-top: 2px;
}

.custom-checkbox-container input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox-container input:checked ~ .checkmark::after { display: block; }

/* --- 6. FULL-BLEED CLOSING LANDING --- */
.success-section {
  background-color: var(--color-charcoal);
  color: #FFFFFF;
  border-radius: 20px;
  padding: var(--spacing-xl) var(--spacing-lg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.success-title { color: var(--color-primary); }
.success-subtitle { color: #CCCCCC; }

/* Desktop Grid Adjustments */
@media (min-width: 900px) {
  .layout-split { flex-direction: row; }
  .brand-panel { position: sticky; top: 0; width: 35%; height: 100vh; padding: var(--spacing-xl); }
  .content-panel { width: 65%; overflow-y: auto; }
  .prompts-grid { grid-template-columns: 1fr 1fr; } 
  .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
}