/* ==========================================================================
   West Hyderabad Residences — Practice Lab
   Design System & Responsive Stylesheet
   Color Palette: Ivory backgrounds, Deep Navy text, Restrained Blue accents
   Typography: Native System Fonts Stack
   ========================================================================== */

/* --- CSS Reset & Custom Properties --- */
:root {
  /* Colors */
  --color-bg-base: #FDFBF7;           /* Elegant warm ivory background */
  --color-bg-alt: #F4F0E8;            /* Secondary ivory surface */
  --color-surface-white: #FFFFFF;     /* Clean card white */
  --color-surface-tint: #EFF6FF;      /* Restrained blue tint */
  --color-surface-dark: #0F172A;      /* Deep midnight navy */
  
  --color-text-main: #0F172A;         /* High-contrast deep navy */
  --color-text-muted: #334155;        /* Slate navy for secondary text */
  --color-text-subtle: #64748B;       /* Muted caption text */
  --color-text-light: #F8FAFC;       /* Light text on dark navy */

  --color-brand-blue: #2563EB;        /* Primary restrained blue */
  --color-brand-blue-hover: #1D4ED8;  /* Deep hover blue */
  --color-brand-blue-subtle: #DBEAFE; /* Soft blue border/tag */
  --color-accent-sky: #0284C7;        /* Architectural blue accent */

  --color-border: #E2E8F0;            /* Neutral crisp border */
  --color-border-warm: #E7E2D7;       /* Warm ivory border */
  --color-border-focus: #2563EB;      /* Accessible focus border */
  
  --color-error: #DC2626;             /* Accessible red for validation */
  --color-error-bg: #FEF2F2;          /* Light red alert surface */
  --color-error-border: #F87171;      /* Crisp alert border */

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Elevation & Shadows (Subtle 3D Depth) */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-3d-card: 0 12px 24px -4px rgba(15, 23, 42, 0.07), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-icon-3d: 0 8px 16px -2px rgba(37, 99, 235, 0.16), 0 4px 6px -2px rgba(15, 23, 42, 0.08);

  /* Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --max-width: 1140px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip; /* Strictly prevent horizontal scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 3px solid var(--color-brand-blue);
  outline-offset: 3px;
}

/* Screen-reader only utility */
.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;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Top Simulation Notice Bar --- */
.notice-bar {
  background-color: var(--color-surface-dark);
  color: #E2E8F0;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #1E293B;
}

.notice-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.notice-badge {
  background-color: #1E293B;
  color: #93C5FD;
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
}

.notice-text {
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- Site Header --- */
.site-header {
  background-color: var(--color-surface-white);
  border-bottom: 1px solid var(--color-border-warm);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-text-main);
  flex-wrap: wrap;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
}

.brand-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--color-surface-tint);
  color: var(--color-brand-blue);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-brand-blue-subtle);
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--color-brand-blue);
}

/* --- Button Component System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--color-brand-blue);
  color: #FFFFFF;
  border-color: var(--color-brand-blue);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-brand-blue-hover);
  border-color: var(--color-brand-blue-hover);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-text-main);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-base);
  border-color: var(--color-text-subtle);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
  width: 100%;
}

.btn-outline:hover {
  background-color: var(--color-surface-tint);
}

.btn-header {
  background-color: var(--color-text-main);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-header:hover {
  background-color: var(--color-brand-blue);
}

.btn-large {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

.btn-submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
}

/* --- Hero Section --- */
.hero-section {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, var(--color-bg-base) 0%, var(--color-bg-alt) 100%);
  border-bottom: 1px solid var(--color-border-warm);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border-warm);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-brand-blue);
  border-radius: 50%;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text-main);
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* Rotating Prompts Container (Space pre-reserved to prevent layout shifts) */
.rotating-prompts-wrapper {
  height: 2.25rem;
  position: relative;
  overflow: hidden;
  margin-top: -0.25rem;
}

.rotating-prompts {
  position: relative;
  width: 100%;
  height: 100%;
}

.rotating-prompt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.rotating-prompt.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 36rem;
}

.hero-simulation-callout {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-surface-tint);
  border-left: 3px solid var(--color-brand-blue);
  padding: 0.6rem 0.9rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.callout-icon {
  color: var(--color-brand-blue);
  font-weight: 700;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Hero Visual / Illustration */
.hero-visual {
  position: relative;
}

.visual-frame {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border-warm);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: var(--shadow-3d-card);
  overflow: hidden;
}

.hero-illustration {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.visual-caption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0 0.4rem;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  font-weight: 500;
}

.caption-dot {
  width: 6px;
  height: 6px;
  background-color: #64748B;
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Common Section Styles --- */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--color-border-warm);
}

.section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
}

/* 3D-styled SVG Icon Navigation Cue */
.section-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-icon-3d);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .section-icon-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -2px rgba(37, 99, 235, 0.24);
  }
}

.section-cue-icon {
  display: block;
  width: 48px;
  height: 48px;
}

.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-blue);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Configuration Cards --- */
.config-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .config-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.config-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid #CBD5E1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.config-card.highlight-card {
  border-top-color: var(--color-brand-blue);
  box-shadow: var(--shadow-3d-card);
}

@media (hover: hover) and (pointer: fine) {
  .config-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3d-card);
  }
}

.card-header {
  margin-bottom: 1.5rem;
}

.config-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #F1F5F9;
  color: var(--color-text-main);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.config-badge-highlight {
  background-color: var(--color-surface-tint);
  color: var(--color-brand-blue);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.card-subhead {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.feature-bullet {
  color: var(--color-brand-blue);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: -0.1rem;
}

.card-footer {
  margin-top: auto;
}

.text-footnote {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  margin-top: 1.5rem;
}

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

/* --- Location Considerations --- */
.location-section {
  background-color: var(--color-bg-alt);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.location-card {
  padding: 1.75rem;
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border-warm);
}

.location-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.location-step-num {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-accent-sky);
  background-color: #F0F9FF;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid #BAE6FD;
}

.location-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.location-card-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.location-boundary-notice {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border-warm);
  border-left: 4px solid var(--color-accent-sky);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* --- How It Works Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--color-surface-tint);
  color: var(--color-brand-blue);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Form Section --- */
.form-section {
  background: linear-gradient(180deg, var(--color-bg-base) 0%, var(--color-bg-alt) 100%);
}

.form-container {
  max-width: 42rem;
}

.form-wrapper {
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-3d-card);
  border: 1px solid var(--color-border-warm);
}

@media (min-width: 600px) {
  .form-wrapper {
    padding: 3rem 2.5rem;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.form-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-blue);
  display: inline-block;
  margin-bottom: 0.35rem;
}

.form-main-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* Mandatory Simulation Callout in Form */
.simulation-banner-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--color-surface-tint);
  border: 1px solid var(--color-brand-blue-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.banner-icon-col {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.banner-highlight {
  font-size: 0.875rem;
  color: var(--color-text-main);
  margin-bottom: 0.4rem;
  line-height: 1.45;
}

.banner-subtext {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* No-Script Warning */
.noscript-warning {
  background-color: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  color: var(--color-error);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

/* Practice Form Field Controls */
.practice-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.required-indicator {
  color: var(--color-error);
  font-weight: 700;
}

.form-control,
.form-select {
  width: 100%;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text-main);
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-control::placeholder {
  color: #94A3B8;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Form validation error states */
.form-control.input-error,
.form-select.input-error {
  border-color: var(--color-error);
  background-color: #FFFDFD;
}

.form-control.input-error:focus,
.form-select.input-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.field-error {
  font-size: 0.8125rem;
  color: var(--color-error);
  font-weight: 500;
  min-height: 1.25rem;
  line-height: 1.35;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-top: -0.15rem;
}

.form-action-group {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  text-align: center;
  line-height: 1.45;
}

/* --- Confirmation / Thank You Page Styles --- */
.thankyou-wrapper {
  max-width: 44rem;
  margin: 3.5rem auto 4.5rem;
}

.thankyou-card {
  padding: 3rem 2rem;
  text-align: center;
}

@media (min-width: 600px) {
  .thankyou-card {
    padding: 3.5rem 3rem;
  }
}

.thankyou-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #16A34A;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px -2px rgba(22, 163, 74, 0.15);
}

.thankyou-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.thankyou-explanation {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.thankyou-alert-box {
  background-color: var(--color-surface-tint);
  border: 1px solid var(--color-brand-blue-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.thankyou-alert-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
}

.thankyou-alert-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Site Footer --- */
.site-footer {
  background-color: var(--color-surface-dark);
  color: #94A3B8;
  padding: 4rem 0 2.5rem;
  margin-top: auto;
  border-top: 1px solid #1E293B;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #F8FAFC;
}

.footer-subtitle {
  font-size: 0.875rem;
  color: #94A3B8;
}

.footer-nav-col {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-link {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #38BDF8;
}

.footer-divider {
  height: 1px;
  background-color: #1E293B;
  margin-bottom: 2rem;
}

.footer-disclaimer-box {
  background-color: #020617;
  border: 1px solid #1E293B;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.disclaimer-heading {
  color: #E2E8F0;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.disclaimer-text {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #94A3B8;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: #64748B;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-status-pill {
  color: #94A3B8;
  font-weight: 500;
}

/* --- Reduced Motion Accessibility Mode --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rotating-prompt {
    transition: none;
  }

  /* In reduced motion, keep only the first prompt statically visible */
  .rotating-prompt:first-child {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .rotating-prompt:not(:first-child) {
    display: none !important;
  }

  .section-icon-wrapper,
  .config-card,
  .btn {
    transition: none !important;
    transform: none !important;
  }
}
