/* ============================================
   Move Assistant - Editorial Design Theme
   Magazine-style light theme with variant colors
   ============================================ */

/* CSS Reset & Base Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Editorial color palette */
  --ink: #1a1a1a;
  --paper: #faf9f7;
  --cream: #f5f3ef;
  --muted: #555;
  --border: rgba(0,0,0,0.1);

  /* Variant accent colors - default is control (blue) */
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light: #3b82f6;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================
   HEADER - Editorial Masthead Design
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    to bottom,
    rgba(250, 249, 247, 0.97) 0%,
    rgba(250, 249, 247, 0.95) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.06),
    0 4px 16px -4px rgba(0, 0, 0, 0.08),
    0 8px 32px -8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* Editorial accent bar - subtle brand touch */
.site-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-light) 50%,
    var(--accent) 100%
  );
  background-size: 200% 100%;
  animation: headerAccentShimmer 8s ease-in-out infinite;
}

@keyframes headerAccentShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Main header content container */
.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Scrolled state - enhanced shadow */
.site-header.scrolled {
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.08),
    0 6px 20px -4px rgba(0, 0, 0, 0.12),
    0 12px 40px -8px rgba(0, 0, 0, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.logo:hover .logo-img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
}

/* Subtle editorial flourish under logo text */
.logo-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-text::after {
  opacity: 0.6;
  transform: scaleX(1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

/* Elegant underline animation */
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Register link - subtle CTA styling */
.nav-links a[href="#register"] {
  background: rgba(37, 99, 235, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  transition: all 0.3s ease;
}

.nav-links a[href="#register"]:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.nav-links a[href="#register"]::before {
  display: none;
}

/* ============================================
   MOBILE MENU TOGGLE (hidden on desktop)
   ============================================ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.menu-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate to X when open */
.menu-toggle.menu-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.menu-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.menu-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO SECTION - Two Column Editorial Layout
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
  position: relative;
}

.hero-inner {
  display: contents;
}

.hero-left {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-left::before {
  content: 'REGISTER FOR FREE ACCESS';
  position: absolute;
  top: 4rem;
  left: 4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  width: fit-content;
}

.badge svg {
  width: 14px;
  height: 14px;
}

.hero-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: var(--ink);
}

.hero-left h1 .accent-word {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-subtitle .highlight-value {
  color: var(--accent);
  font-weight: 600;
}

.hero-right {
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  width: 85%;
  padding: 2rem;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.image-caption {
  position: absolute;
  bottom: -1rem;
  right: 2rem;
  background: var(--ink);
  color: white;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  max-width: 280px;
}

.image-caption strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* Scroll Chevron Animation */
.scroll-chevron {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  animation: bounce 2s infinite;
  stroke: var(--ink);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(4px);
  }
  60% {
    transform: translateY(2px);
  }
}

/* ============================================
   EDITORIAL DIVIDER / SCROLL INDICATOR
   ============================================ */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  gap: 2rem;
  background: none;
  border: none;
  outline: none;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.divider:hover {
  opacity: 0.8;
}

.divider-line {
  display: none;
}

.divider-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.divider-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #777;
}

.divider:hover .scroll-chevron {
  opacity: 1;
}

/* ============================================
   BENEFITS SECTION - Magazine Grid Layout
   ============================================ */
.benefits {
  padding: 4rem;
  background: var(--paper);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  padding: 3rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
  background: white;
}

.benefit-card:nth-child(3n) {
  border-right: none;
}

.benefit-card:nth-child(n+4) {
  border-bottom: none;
}

.benefit-card:hover {
  background: var(--cream);
}

.benefit-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(0,0,0,0.08);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.benefit-card:hover .benefit-icon {
  background: var(--accent);
}

.benefit-card:hover .benefit-icon span {
  filter: brightness(0) invert(1);
}

.benefit-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.benefit-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* ============================================
   PULL QUOTE SECTION - Dark Background Form Area
   ============================================ */
.pull-quote {
  background: var(--ink);
  color: white;
  padding: 6rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.quote-content {
  position: relative;
}

.quote-content::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 12rem;
  position: absolute;
  top: -4rem;
  left: -2rem;
  color: rgba(255,255,255,0.1);
  line-height: 1;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.quote-text .accent-word {
  color: var(--accent-light);
}

/* Form card within pull-quote section */
.quote-form {
  background: rgba(255,255,255,0.05);
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: white;
}

.form-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

/* ============================================
   VALUE SECTION
   ============================================ */
.value-section {
  padding: 5rem 4rem;
  background: var(--cream);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.value-badge {
  text-align: center;
}

.value-amount {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.value-label {
  font-size: 1.25rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.value-content h3 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.value-list {
  list-style: none;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #444;
}

.value-list li::before {
  content: '01';
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  min-width: 24px;
}

.value-list li:nth-child(2)::before { content: '02'; }
.value-list li:nth-child(3)::before { content: '03'; }
.value-list li:nth-child(4)::before { content: '04'; }

/* ============================================
   FOOTER - 4 Column Grid
   ============================================ */
.site-footer {
  background: var(--ink);
  color: white;
  padding: 4rem;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.site-footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.5);
}

.site-footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.site-footer a:hover {
  color: var(--accent-light);
}

.copyright {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   FORM STYLES - Editorial Dark Theme
   ============================================ */
.search-card {
  /* This is now inside quote-form */
  display: contents;
}

.preregistration-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.preregistration-cta {
  margin-bottom: 0.5rem;
  text-align: left;
}

.preregistration-cta-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.5rem 0;
}

.preregistration-cta-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.6;
}

.preregistration-cta-text .highlight-value {
  color: var(--accent-light);
  font-weight: 600;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-value-section {
  margin-bottom: 0.5rem;
}

.offer-countdown {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
}

.form-label-visible {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.preregistration-form input[type="email"],
.preregistration-form input[type="text"],
.preregistration-form select,
.preregistration-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all 0.3s;
}

.preregistration-form input::placeholder,
.preregistration-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.preregistration-form input:focus,
.preregistration-form select:focus,
.preregistration-form textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  background: rgba(255,255,255,0.15);
}

/* Highlight when empty/unfilled */
.preregistration-form input:placeholder-shown:not(:focus) {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

/* Validation states */
.preregistration-form input.valid {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.preregistration-form input.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.input-validation-message {
  display: none;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

.input-validation-message.error {
  display: block;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
  border-left: 3px solid #ef4444;
}

.input-validation-message.success {
  display: block;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  border-left: 3px solid #10b981;
}

/* Preregistration details section */
.preregistration-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.preregistration-details.show {
  animation: slideDown 0.3s ease-out;
}

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

.form-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
}

.form-description {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.required {
  color: var(--accent-light);
}

/* Searchable Dropdown */
.searchable-dropdown {
  position: relative;
  width: 100%;
}

.searchable-dropdown-input-wrapper {
  position: relative;
}

.searchable-dropdown-search {
  width: 100%;
  padding: 1rem 2.5rem 1rem 1.25rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all 0.3s;
}

.searchable-dropdown-search::placeholder {
  color: rgba(255,255,255,0.4);
}

.searchable-dropdown-search:focus {
  outline: none;
  border-color: var(--accent-light);
  background: rgba(255,255,255,0.15);
}

.searchable-dropdown-search:placeholder-shown:not(:focus) {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.searchable-dropdown-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  pointer-events: none;
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.searchable-dropdown.open .searchable-dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.searchable-dropdown-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: rgba(30, 41, 59, 0.98);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0.25rem;
}

.searchable-dropdown-options li {
  padding: 0.75rem 1rem;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
  font-size: 0.95rem;
}

.searchable-dropdown-options li:hover,
.searchable-dropdown-options li.highlighted {
  background: rgba(59, 130, 246, 0.2);
}

.searchable-dropdown-options li.selected {
  background: var(--accent);
  font-weight: 600;
}

.searchable-dropdown-options li.no-results {
  color: rgba(255,255,255,0.5);
  cursor: default;
  text-align: center;
  font-style: italic;
}

/* Checkboxes */
.interests-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: background 0.2s;
  font-size: 0.95rem;
  color: white;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.checkbox-item:hover {
  background: rgba(255,255,255,0.1);
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Fieldset styling */
.form-section fieldset {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
}

.form-section fieldset[data-empty="true"] {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.form-section legend {
  padding: 0 0.5rem;
  font-weight: 600;
  color: white;
}

/* Select dropdown */
.preregistration-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.preregistration-form select:invalid:not(:focus) {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.preregistration-form select option {
  background: #1e293b;
  color: white;
}

/* Other interest container */
.other-interest-container {
  margin-top: 0.75rem;
  margin-left: 1.75rem;
  animation: slideDown 0.3s ease-out;
}

/* Submit Button */
.btn-primary {
  width: 100%;
  padding: 1.25rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.button-text {
  flex: 1;
  text-align: center;
}

.button-icon {
  width: 18px;
  height: 18px;
}

/* Early Access Benefits */
.early-access-benefits {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.early-access-benefits h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0 0 1rem 0;
  color: white;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.benefits-list li svg {
  flex-shrink: 0;
  stroke: var(--accent-light);
}

.benefits-list li .benefit-highlight {
  color: var(--accent-light);
  font-weight: 600;
}

/* Error and Success Messages */
.error-messages {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  padding: 1rem;
}

.error-message {
  color: #fca5a5;
  font-size: 0.9rem;
  margin: 0;
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 6px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.success-icon {
  background: #22c55e;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.success-text {
  color: #86efac;
  font-size: 0.9rem;
  line-height: 1.5;
}

.success-text strong {
  color: #4ade80;
}

#voucherCodeDisplay {
  display: inline-block;
  margin: 0.5rem 0;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent-light);
  letter-spacing: 1px;
}

/* Privacy Notice */
.privacy-notice {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.privacy-notice p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.5;
}

.privacy-notice a {
  color: var(--accent-light);
  text-decoration: none;
}

.privacy-notice a:hover {
  text-decoration: underline;
}

/* Sample Report Section */
.sample-report-section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}

.sample-report-section h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0 0 1rem 0;
  color: white;
}

.sample-report-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s;
}

.sample-report-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.sample-report-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.sample-report-info {
  flex: 1;
}

.sample-report-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.sample-badge {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sample-postcode {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
}

.sample-report-description {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.sample-report-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.sample-report-link:hover .sample-report-action {
  background: rgba(59, 130, 246, 0.2);
}

.sample-note {
  display: block;
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ============================================
   VARIANT-SPECIFIC STYLES
   ============================================ */

/* Control Variant - Blue (default) */
body.variant-control {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light: #3b82f6;
}

/* First-Time Buyers - Green */
body.variant-ftb {
  --accent: #10b981;
  --accent-dark: #059669;
  --accent-light: #34d399;
}

body.variant-ftb .badge {
  background: var(--accent);
}

body.variant-ftb .btn-primary {
  background: var(--accent);
}

body.variant-ftb .btn-primary:hover:not(:disabled) {
  background: var(--accent-dark);
}

/* Growing Families - Purple */
body.variant-families {
  --accent: #8b5cf6;
  --accent-dark: #7c3aed;
  --accent-light: #a78bfa;
}

body.variant-families .badge {
  background: var(--accent);
}

body.variant-families .btn-primary {
  background: var(--accent);
}

body.variant-families .btn-primary:hover:not(:disabled) {
  background: var(--accent-dark);
}

/* Investors - Amber */
body.variant-investors {
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fbbf24;
}

body.variant-investors .badge {
  background: var(--accent);
}

body.variant-investors .btn-primary {
  background: var(--accent);
}

body.variant-investors .btn-primary:hover:not(:disabled) {
  background: var(--accent-dark);
}

/* Corporate - Teal */
body.variant-corporate {
  --accent: #0891b2;
  --accent-dark: #0e7490;
  --accent-light: #06b6d4;
}

body.variant-corporate .badge {
  background: var(--accent);
}

body.variant-corporate .btn-primary {
  background: var(--accent);
}

body.variant-corporate .btn-primary:hover:not(:disabled) {
  background: var(--accent-dark);
}

/* ============================================
   FREE BADGE - Prominent call-out for free offer
   ============================================ */
.free-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  font-weight: 700;
  font-size: 0.85em;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow:
    0 2px 4px rgba(16, 185, 129, 0.3),
    0 0 0 2px rgba(16, 185, 129, 0.1);
  animation: freePulse 2s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 0.15em;
}

@keyframes freePulse {
  0%, 100% {
    box-shadow:
      0 2px 4px rgba(16, 185, 129, 0.3),
      0 0 0 2px rgba(16, 185, 129, 0.1);
  }
  50% {
    box-shadow:
      0 2px 8px rgba(16, 185, 129, 0.5),
      0 0 0 4px rgba(16, 185, 129, 0.15);
  }
}

/* Dark background variant (for the benefits list in dark section) */
.free-badge-dark {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow:
    0 2px 4px rgba(52, 211, 153, 0.4),
    0 0 0 2px rgba(52, 211, 153, 0.2);
}

.free-badge-dark {
  animation: freePulseDark 2s ease-in-out infinite;
}

@keyframes freePulseDark {
  0%, 100% {
    box-shadow:
      0 2px 4px rgba(52, 211, 153, 0.4),
      0 0 0 2px rgba(52, 211, 153, 0.2);
  }
  50% {
    box-shadow:
      0 2px 8px rgba(52, 211, 153, 0.6),
      0 0 0 4px rgba(52, 211, 153, 0.25);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .site-header-inner {
    padding: 1.25rem 2rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
  }

  .hero-left {
    padding: 4rem 2rem;
    order: 1;
  }

  .hero-left::before {
    top: 2rem;
    left: 2rem;
  }

  .hero-right {
    padding: 2rem;
    order: 2;
    min-height: 400px;
  }

  .hero-image-container {
    width: 100%;
    padding: 1rem;
  }

  .image-caption {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    max-width: 100%;
  }

  .pull-quote {
    grid-template-columns: 1fr;
    padding: 4rem 2rem;
    gap: 3rem;
  }

  .quote-content::before {
    font-size: 8rem;
    top: -2rem;
    left: -1rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-card:nth-child(2n) {
    border-right: none;
  }

  .benefit-card:nth-child(n+5) {
    border-bottom: none;
  }

  .value-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .value-content {
    text-align: left;
  }

  .site-footer .cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header-inner {
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid var(--border);
    margin-top: 0.75rem;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a[href="#register"] {
    margin-top: 0.5rem;
    text-align: center;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .hero-left {
    padding: 3rem 1.5rem;
  }

  .hero-left::before {
    top: 1.5rem;
    left: 1.5rem;
  }

  .benefits {
    padding: 2rem 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .benefit-card:last-child {
    border-bottom: none;
  }

  .pull-quote {
    padding: 3rem 1.5rem;
  }

  .quote-form {
    padding: 1.5rem;
  }

  .value-section {
    padding: 3rem 1.5rem;
  }

  .site-footer {
    padding: 2rem 1.5rem;
  }

  .site-footer .cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .interests-checkboxes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .quote-text {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .benefit-card {
    padding: 2rem 1.5rem;
  }

  .value-amount {
    font-size: 4rem;
  }

  .value-content h3 {
    font-size: 1.5rem;
  }
}

/* ============================================
   LEGACY SUPPORT - Elements still referenced by JS
   ============================================ */

/* Old badge-inline selector for backwards compatibility */
.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  width: fit-content;
}

.badge-inline svg {
  width: 14px;
  height: 14px;
}

/* Hero-copy for variant loader compatibility */
.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: var(--ink);
}

.hero-copy .lead {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-copy .lead .highlight-value {
  color: var(--accent);
  font-weight: 600;
}

/* Feature grid - now in benefits section */
.feature-grid {
  display: none; /* Hidden as content now in benefits-grid */
}

/* Search card compatibility */
.search-card h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: white;
}

.search-card .desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

/* Instructions - hidden in new design */
.form-instructions {
  display: none;
}

/* Original form - hidden */
.postcode-form {
  display: none;
}

/* Examples section */
.examples {
  display: none;
}

/* ============================================
   FEEDBACK PAGE - Editorial Design
   ============================================ */
.feedback-hero {
  padding: 5rem 4rem 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.feedback-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feedback-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.feedback-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.feedback-section {
  display: block;
  padding: 4rem 4rem;
}

.feedback-form-card {
  max-width: 720px;
  margin: 0 auto;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .feedback-hero {
    padding: 3rem 1.5rem 2rem;
  }
  .feedback-section {
    padding: 2.5rem 1.5rem;
  }
}

/* ============================================
   NEWS TICKER
   ============================================ */
.ticker-container {
  background: linear-gradient(90deg, #1e3a5f 0%, #2563eb 50%, #1e3a5f 100%);
  color: #fff;
  overflow: hidden;
  height: 40px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ticker-container.hidden {
  display: none;
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll var(--ticker-duration, 30s) linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 2rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.ticker-item:hover {
  color: #93c5fd;
}

.ticker-item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.ticker-item--experimental {
  color: #93c5fd;
}

.ticker-item--experimental::before {
  background: #93c5fd;
}

.ticker-item--experimental .ticker-topic {
  background: rgba(147, 197, 253, 0.25);
}

.ticker-topic {
  text-transform: uppercase;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.15);
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .ticker-container {
    height: 36px;
  }
  .ticker-item {
    font-size: 0.75rem;
    padding: 0 1.5rem;
  }
  .ticker-topic {
    display: none;
  }
}

/* Print styles */
@media print {
  .hero-right,
  .pull-quote .quote-form,
  .site-footer,
  .ticker-container {
    display: none;
  }
}
