/* ========================================
   Realtor Bowl - Premium Landing Page Style
   Colors: Brand Orange (#ff6f00), Sports Black/Navy (#0e1117), Light Gray (#f4f6f8)
   Fonts: Work Sans (Google Fonts)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary-color: #ff6f00;
  --primary-hover: #e65c00;
  --primary-glow: rgba(255, 111, 0, 0.4);
  
  --bg-dark: #0e1117;
  --bg-dark-card: #161b22;
  --bg-dark-border: rgba(255, 255, 255, 0.08);
  
  --bg-light: #ffffff;
  --bg-light-secondary: #f6f8fa;
  --bg-light-border: rgba(0, 0, 0, 0.06);
  
  --text-dark-primary: #ffffff;
  --text-dark-secondary: #c9d1d9;
  --text-dark-muted: #8b949e;
  
  --text-light-primary: #1f2328;
  --text-light-secondary: #444d56;
  --text-light-muted: #6e7681;
  
  --font-main: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --container-width: 1200px;
  --header-height: 80px;
}

/* --- Reset & Global Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light-primary);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #30363d;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header & Footer Titles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: inherit;
}

/* Section Title Styling Helper */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-light-secondary);
}

/* --- Sticky Glassmorphic Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-light-border);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header-inner {
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-primary);
}

.header-brand span {
  color: var(--primary-color);
}

.header-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.header-nav ul li a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light-secondary);
  padding: 8px 0;
  position: relative;
}

.header-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

.header-nav ul li a:hover {
  color: var(--primary-color);
}

.header-nav ul li a:hover::after,
.header-nav ul li a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-cta-nav {
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--primary-color);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.2);
}

.header-cta-nav:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.3);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-light-primary);
  margin: 6px 0;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.index-section--hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  color: #fff;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 5s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(14, 17, 23, 0.5) 0%, rgba(14, 17, 23, 0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(255, 111, 0, 0.15);
  border: 1px solid rgba(255, 111, 0, 0.3);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(5px);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 111, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 111, 0, 0); }
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  color: var(--primary-color);
  background: linear-gradient(135deg, #ff9f1c 0%, #ff6f00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark-secondary);
  max-width: 700px;
  margin-bottom: 40px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-tagline strong {
  color: #fff;
  font-weight: 700;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background-color: var(--primary-color);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 8px 25px rgba(255, 111, 0, 0.3);
  transition: var(--transition-smooth);
}

.hero-cta-btn svg {
  transition: transform 0.3s ease;
}

.hero-cta-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 111, 0, 0.45);
}

.hero-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.scroll-indicator:hover {
  color: #fff;
}

.scroll-indicator-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: bounce 2s infinite;
}

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

/* --- Section Layouts --- */
.content-section {
  padding: 120px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.content-section--light {
  background-color: var(--bg-light);
}

.content-section--secondary {
  background-color: var(--bg-light-secondary);
}

.content-section--dark {
  background-color: var(--bg-dark);
  color: #fff;
  max-width: none;
  width: 100%;
}

.content-section--dark .content-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.content-section--dark .section-desc {
  color: var(--text-dark-secondary);
}

/* --- How it Works Section --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.step-card {
  background-color: #fff;
  border: 1px solid var(--bg-light-border);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #e2e8f0;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.step-card:hover::before {
  background-color: var(--primary-color);
}

.step-num {
  font-size: 40px;
  font-weight: 800;
  color: rgba(226, 232, 240, 0.6);
  line-height: 1;
  margin-bottom: 20px;
  font-style: italic;
  transition: var(--transition-smooth);
}

.step-card:hover .step-num {
  color: rgba(255, 111, 0, 0.15);
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light-primary);
  text-transform: uppercase;
}

.step-card p {
  font-size: 15px;
  color: var(--text-light-secondary);
  line-height: 1.7;
}

/* --- The Stakes Grid Section (Collage replacement) --- */
.stakes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 24px;
  margin-top: 40px;
}

.stakes-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--border-radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stakes-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(255, 111, 0, 0.08) 0%, rgba(255, 111, 0, 0) 60%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.stakes-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 111, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stakes-card:hover::after {
  opacity: 1;
}

.stakes-card--large {
  grid-column: span 2;
  background: linear-gradient(135deg, #1b1f27 0%, #161b22 100%);
  border: 1px solid rgba(255, 111, 0, 0.2);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.stakes-card--large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 0%, rgba(255, 111, 0, 0.12) 0%, rgba(255, 111, 0, 0) 70%);
}

.stakes-card--large .stakes-text-wrapper {
  position: relative;
  z-index: 1;
}

.stakes-card--large .stakes-image-wrapper {
  height: 100%;
  min-height: 250px;
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.stakes-card--large .stakes-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
}

.stakes-card--large:hover .stakes-image-wrapper img {
  transform: scale(1.06);
}

.stakes-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 8px;
}

.stakes-card--large .stakes-label {
  color: var(--primary-color);
  background-color: rgba(255, 111, 0, 0.1);
  padding: 6px 12px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 16px;
}

.stakes-value {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -0.01em;
}

.stakes-card--large .stakes-value {
  font-size: 54px;
  background: linear-gradient(135deg, #fff 30%, #ff9f1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stakes-desc {
  font-size: 15px;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

.stakes-card--large .stakes-desc {
  font-size: 16px;
  line-height: 1.7;
}

/* --- Registration Form Section --- */
.registration-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.registration-info h2 {
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.registration-info p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-light-secondary);
  margin-bottom: 32px;
}

.registration-benefits {
  list-style: none;
}

.registration-benefits li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light-primary);
}

.registration-benefits li svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Glass Form Card */
.form-card {
  background: #ffffff;
  border: 1px solid var(--bg-light-border);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.signup-form .form-group {
  margin-bottom: 24px;
  position: relative;
}

.signup-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.signup-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-secondary);
  margin-bottom: 8px;
}

.signup-form input {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text-light-primary);
  background-color: var(--bg-light-secondary);
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  outline: none;
  transition: var(--transition-smooth);
}

.signup-form input:focus {
  background-color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.signup-form input::placeholder {
  color: var(--text-light-muted);
}

.form-submit-btn {
  width: 100%;
  padding: 18px;
  background-color: var(--text-light-primary);
  color: #fff;
  border: none;
  border-radius: var(--border-radius-md);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.form-submit-btn:hover {
  background-color: var(--primary-color);
  box-shadow: 0 8px 25px var(--primary-glow);
  transform: translateY(-2px);
}

.form-submit-btn:disabled {
  background-color: var(--text-light-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Spinner Animation */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-status {
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  display: none;
  align-items: center;
  gap: 12px;
  animation: slide-down 0.3s ease forwards;
}

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

.form-status.success {
  display: flex;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: flex;
  background-color: #fff5f5;
  color: #9b2c2c;
  border: 1px solid #fed7d7;
}

/* --- Contact Info Bar --- */
.contact-bar {
  background-color: var(--bg-light-secondary);
  border-top: 1px solid var(--bg-light-border);
  border-bottom: 1px solid var(--bg-light-border);
  padding: 60px 24px;
  text-align: center;
}

.contact-bar-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-bar h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light-primary);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
}

.contact-link-item svg {
  color: var(--primary-color);
}

.contact-link-item:hover {
  color: var(--primary-color);
  background-color: rgba(255, 111, 0, 0.05);
}

/* --- Site Footer --- */
.site-footer {
  padding: 80px 24px 60px;
  background-color: var(--bg-dark);
  color: #fff;
  border-top: 1px solid var(--bg-dark-border);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand-info {
  max-width: 350px;
}

.footer-brand-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand-title span {
  color: var(--primary-color);
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

.footer-nav-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-nav-col ul {
  list-style: none;
}

.footer-nav-col ul li {
  margin-bottom: 12px;
}

.footer-nav-col ul li a {
  font-size: 14px;
  color: var(--text-dark-secondary);
}

.footer-nav-col ul li a:hover {
  color: #fff;
  transform: translateX(4px);
  display: inline-block;
}

.footer-social-links {
  display: flex;
  gap: 16px;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  color: var(--text-dark-secondary);
  border-radius: var(--border-radius-sm);
}

.social-icon-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--bg-dark-border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dark-muted);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a {
  color: var(--text-dark-secondary);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #fff;
}

/* --- Floating Index Navigation (dots) --- */
.index-nav {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: rgba(14, 17, 23, 0.4);
  padding: 20px 10px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.index-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.index-nav .nav-dot {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.index-nav a.active .nav-dot {
  background-color: var(--primary-color);
  transform: scale(1.5);
  box-shadow: 0 0 10px var(--primary-color);
}

.index-nav .nav-label {
  position: absolute;
  right: 28px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--bg-dark);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--bg-dark-border);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: var(--transition-smooth);
}

.index-nav a:hover .nav-label {
  opacity: 1;
  transform: translateX(0);
}

/* Light background state for floating nav */
.index-nav.on-light {
  background-color: rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 0, 0, 0.06);
}

.index-nav.on-light .nav-dot {
  background-color: rgba(0, 0, 0, 0.25);
}

.index-nav.on-light a.active .nav-dot {
  background-color: var(--primary-color);
}

/* --- Scroll-triggered Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for stagger reveal */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* --- Standalone Registration Styling override --- */
.registration-standalone-hero {
  min-height: 50vh;
  padding: 160px 24px 80px;
}

.registration-standalone-body {
  padding: 80px 24px 120px;
}

.registration-standalone-body .form-card {
  max-width: 600px;
  margin: 0 auto;
}

/* --- Mobile Navigation Overlay --- */
.header-nav-row.mobile-open {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 1050;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fade-in 0.3s ease forwards;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.header-nav-row.mobile-open ul {
  flex-direction: column;
  gap: 36px;
  align-items: center;
}

.header-nav-row.mobile-open ul li a {
  font-size: 18px;
  letter-spacing: 0.2em;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .stakes-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stakes-card--large {
    grid-column: span 2;
  }
  
  .registration-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-title {
    font-size: 50px;
  }
  
  .hero-tagline {
    font-size: 18px;
  }
  
  .index-nav {
    display: none; /* Hide floating side dots on tablet/mobile */
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-nav {
    display: none;
  }
  
  .header-actions {
    display: none;
  }
  
  .site-header {
    height: 70px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .stakes-card--large {
    grid-template-columns: 1fr;
    grid-column: span 2;
    padding: 30px;
  }
  
  .stakes-card--large .stakes-image-wrapper {
    min-height: 200px;
    order: -1;
  }
  
  .form-card {
    padding: 30px 24px;
  }
}

@media (max-width: 580px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .stakes-grid {
    grid-template-columns: 1fr;
  }
  
  .stakes-card--large {
    grid-column: span 1;
  }
  
  .signup-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .section-title {
    font-size: 28px;
  }
}