/* Basil Real Estate - Modern Premium Design */

:root {
  /* Brand Colors */
  --basil-green: #00C853;
  --deep-green: #00A844;
  --mint: #69F0AE;
  --green-tint: #E8F5E9;
  --pure-black: #000000;
  --near-black: #0A0A0A;
  --dark-card: #121212;
  --elevated: #1A1A1A;
  --off-white: #FAFAFA;
  --white: #FFFFFF;
  --accent-coral: #FF6B6B;
  --accent-orange: #FF8A3D;
  --muted-gray: #9E9E9E;
  --dark-gray: #666666;
  --coral: #FF6B6B;
  --warm-gold: #FFB74D;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--pure-black);
  overflow-x: hidden;
}

.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;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  z-index: 2000;
  background: var(--basil-green);
  color: var(--pure-black);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 8px;
}

:focus-visible {
  outline: 3px solid var(--basil-green);
  outline-offset: 3px;
  border-radius: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 64px;
  font-weight: 800;
}
h2 {
  font-size: 42px;
  font-weight: 700;
}
h3 {
  font-size: 28px;
  font-weight: 600;
}
h4 {
  font-size: 20px;
  font-weight: 600;
}

p { margin-bottom: 1rem; }

a {
  color: var(--basil-green);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--mint);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.95);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

nav .logo-icon-img {
  width: 36px;
  height: 36px;
  display: block;
}

nav .logo-text {
  font-family: 'Georgia', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: flex;
  flex-direction: column;
}

nav .logo-text-light {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

nav .nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

nav .nav-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--basil-green);
  transition: width 0.3s ease;
}

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

nav .nav-links a:hover::after {
  width: 100%;
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-size: 16px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--basil-green) 0%, var(--deep-green) 100%);
  color: var(--pure-black);
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 200, 83, 0.4);
  color: var(--pure-black);
}

.btn-secondary {
  background: rgba(255, 138, 61, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 138, 61, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 138, 61, 0.2);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 138, 61, 0.2);
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 4rem 0 2rem;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%); /* Subtle radial gradient fallback */
}

.hero-join {
  background:
    linear-gradient(180deg, rgba(5, 6, 6, 0.45) 0%, rgba(5, 6, 6, 0.18) 45%, rgba(5, 6, 6, 0.5) 100%),
    url("/images/join-hero-equity-v2.svg"),
    radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Behind the container */
  opacity: 0.6; /* Subtle blend */
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 1rem;
  color: var(--white);
  font-weight: 700;
}

.hero .hero-eyebrow {
  font-size: 20px;
  color: var(--mint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero .tagline {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero .cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 3rem 0;
  position: relative;
}

section.dark {
  background: linear-gradient(180deg, var(--pure-black) 0%, var(--dark-card) 50%, var(--pure-black) 100%);
}

section.elevated {
  background: linear-gradient(180deg, var(--dark-card) 0%, var(--elevated) 50%, var(--dark-card) 100%);
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.02) 0%, var(--pure-black) 50%, rgba(255, 138, 61, 0.02) 100%);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Cards */
.card {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 200, 83, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}

.card:nth-child(odd) h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--basil-green);
  margin-right: 12px;
  border-radius: 2px;
}

.card:nth-child(even) h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--accent-orange);
  margin-right: 12px;
  border-radius: 2px;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.form-group label .required {
  color: var(--coral);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 16px;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(8px);
  color: var(--white);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--basil-green);
  background: rgba(26, 26, 26, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group small {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-admin { background: var(--basil-green); color: var(--pure-black); }
.badge-agent { background: var(--dark-gray); color: var(--white); }
.badge-success { background: var(--deep-green); color: var(--white); }
.badge-warning { background: var(--warm-gold); color: var(--pure-black); }
.badge-danger { background: var(--coral); color: var(--white); }
.badge-new { background: var(--mint); color: var(--pure-black); }

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(18, 18, 18, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  overflow: hidden;
}

table thead {
  background: rgba(26, 26, 26, 0.8);
}

table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

table td {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

table tr {
  transition: background 0.2s ease;
}

table tr:hover {
  background: rgba(0, 200, 83, 0.03);
}

/* Alerts */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border-left: 4px solid;
  backdrop-filter: blur(8px);
}

.alert-success {
  background: rgba(0, 200, 83, 0.1);
  border-color: var(--basil-green);
  color: var(--mint);
}

.alert-error {
  background: rgba(255, 107, 107, 0.1);
  border-color: var(--coral);
  color: var(--coral);
}

.alert-info {
  background: rgba(255, 183, 77, 0.1);
  border-color: var(--warm-gold);
  color: var(--warm-gold);
}

/* Footer */
footer {
  background: var(--dark-card);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 6rem;
}

footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

footer .footer-section h4 {
  color: var(--basil-green);
  margin-bottom: 1.5rem;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

footer .footer-section ul {
  list-style: none;
}

footer .footer-section ul li {
  margin-bottom: 0.75rem;
}

footer .footer-section a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

footer .footer-section a:hover {
  color: var(--basil-green);
}

footer nav {
  position: static;
  top: auto;
  z-index: auto;
  background: transparent;
  border: 0;
  padding: 0;
  backdrop-filter: none;
}

footer .footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.business-address {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
}

.business-address a {
  color: var(--mint);
}

/* Stats Display (for admin dashboard) */
.card .stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--basil-green) 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: block;
}

/* Search Bar */
.search-bar {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 700px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.search-bar:hover {
  border-color: rgba(0, 200, 83, 0.2);
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.1);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: rgba(255, 255, 255, 0.6); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }

/* Glassmorphism effect */
.glass {
  background: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Section Transitions */
section + section {
  margin-top: -2rem;
}

/* Gradient overlays between sections */
.dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, var(--pure-black) 0%, transparent 100%);
  z-index: 1;
}

.dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, var(--pure-black) 100%);
  z-index: 1;
}

.dark .container {
  position: relative;
  z-index: 2;
}

/* ========================================
   Process Columns (Homepage)
   ======================================== */
.process-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.process-column {
  background: rgba(26, 26, 26, 0.4);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease;
}

.process-column:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.process-header {
  text-align: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-header h3 {
  margin-bottom: 0.5rem;
}

.process-header p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-size: 15px;
}

.process-header--green h3 { color: var(--basil-green); }
.process-header--orange h3 { color: var(--accent-orange); }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.step-number--green {
  background: rgba(0, 200, 83, 0.15);
  color: var(--basil-green);
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.step-number--orange {
  background: rgba(255, 138, 61, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 138, 61, 0.3);
}

.step-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.5;
}

.locating-free-callout {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(255, 138, 61, 0.08);
  border: 1px solid rgba(255, 138, 61, 0.2);
  border-radius: 12px;
}

.locating-free-callout p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-align: center;
}

/* ========================================
   Split Sections (Join Page)
   ======================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section--reverse {
  direction: rtl;
}

.split-section--reverse > * {
  direction: ltr;
}

.split-text h2 {
  margin-bottom: 1.5rem;
}

.split-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 16px;
  padding: 2rem;
}

.image-placeholder--dark {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.image-placeholder--green {
  background: rgba(0, 200, 83, 0.05);
  border: 1px solid rgba(0, 200, 83, 0.15);
}

/* ========================================
   Unified Comparison Chart (Join Page)
   ======================================== */
.unified-chart {
  background: rgba(26, 26, 26, 0.4);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
}

.chart-pair {
  margin-bottom: 1.75rem;
}

.chart-pair:last-of-type {
  margin-bottom: 0;
}

.chart-year-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.chart-pair-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chart-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chart-row-label {
  flex-shrink: 0;
  width: 75px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
}

.chart-row-label--green {
  color: rgba(0, 200, 83, 0.6);
}

.chart-bar-track {
  display: flex;
  gap: 2px;
  height: 32px;
  align-items: center;
  flex: 1;
}

.chart-bar {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  min-width: fit-content;
  white-space: nowrap;
}

.chart-bar--traditional {
  background: rgba(102, 102, 102, 0.4);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bar--basil {
  background: rgba(0, 200, 83, 0.2);
  color: var(--basil-green);
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.chart-bar--equity {
  background: rgba(105, 240, 174, 0.15);
  color: var(--mint);
  border: 1px solid rgba(105, 240, 174, 0.3);
  font-size: 11px;
}

.chart-legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-dot--green { background: var(--basil-green); }
.legend-dot--mint { background: var(--mint); }

.section-footnote {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1.5rem;
  text-align: center;
  font-style: italic;
}

.disclaimer {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2rem;
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Wealth Graph (Join Page)
   ======================================== */
.wealth-graph {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(26, 26, 26, 0.4);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.graph-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  text-align: right;
  padding: 0 0.5rem 24px 0;
}

.graph-area {
  position: relative;
}

.graph-svg {
  width: 100%;
  height: 200px;
  display: block;
}

.graph-x-axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  padding-top: 0.5rem;
}

.graph-legend {
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.legend-line {
  display: inline-block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 6px;
}

.legend-line--green { background: var(--basil-green); }
.legend-line--gray {
  background: #666;
  background-image: repeating-linear-gradient(
    90deg,
    #666 0px, #666 6px,
    transparent 6px, transparent 10px
  );
}

/* ========================================
   Checklist (Join Page)
   ======================================== */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(0, 200, 83, 0.2);
  border: 2px solid var(--basil-green);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }

  .hero {
    min-height: 75vh;
    padding: 4rem 0 2rem;
  }

  .hero h1 { font-size: 42px; }
  .hero .tagline { font-size: 18px; }

  .nav-toggle {
    display: block;
  }

  nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

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

  nav .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  nav .nav-links li:last-child {
    border-bottom: none;
    padding-top: 1rem;
  }

  nav .nav-links a {
    font-size: 16px;
  }

  nav .nav-links a::after {
    display: none;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 0;
  }

  .card {
    padding: 1.5rem;
  }

  .property-carousel {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 36px;
  }

  /* Process columns stack on mobile */
  .process-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-column {
    padding: 1.5rem;
  }

  /* Split sections stack on mobile */
  .split-section,
  .split-section--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .image-placeholder svg {
    max-width: 250px;
  }

  /* Unified chart on mobile */
  .unified-chart {
    padding: 1.25rem;
  }

  .chart-row-label {
    width: 55px;
    font-size: 10px;
  }

  /* Wealth graph adjusts */
  .wealth-graph {
    grid-template-columns: 35px 1fr;
    padding: 1rem;
  }

  .graph-y-axis {
    font-size: 10px;
  }

  .graph-x-axis {
    font-size: 9px;
  }

  .graph-legend {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--pure-black);
}

::-webkit-scrollbar-thumb {
  background: var(--elevated);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--basil-green);
}

/* Loading animation */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.loading {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 200, 83, 0.1) 50%, transparent 100%);
  background-size: 1000px 100%;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card:hover {
    transform: none;
    box-shadow: none;
  }
}
