/*
    Ndani Media - Billion-Dollar Makeover Stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* 1. VARIABLES & BASIC SETUP */
:root {
  --primary-color: #c6a15b;      /* Vivid violet */
  --secondary-color: #7d8a6a;    /* Neon green */
  --accent-color: #facc15;       /* Bright amber */
  --bg-dark: #0e0b1a;            /* Deep indigo */
  --bg-darker: #070515;          /* Darker indigo */
  --bg-gradient-start: #1a1035;  /* For premium gradients */
  --bg-gradient-end: #090717;    /* For premium gradients */
  --bg-card: #1b1333;            /* Card backgrounds */
  --text-light: #f5f3ff;         /* Light text */
  --text-medium: #b8b0d4;        /* Medium emphasis text */
  --text-dark: #101012;          /* For light backgrounds */
  --border-color: #2a1f4a;
  --card-radius: 18px;
  --card-border: 1px solid var(--hairline);
  --card-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --header-height: 95px;
}

/* Light Mode Variables */
[data-theme="light"] {
  --bg-dark: #ffffff;
  --bg-darker: #f3f4f6;
  --bg-gradient-start: #f4f1ea;
  --bg-gradient-end: #e6e1d6;
  --bg-card: #ffffff;
  --text-light: var(--ink-2);
  --text-medium: #4b5563;
  --border-color: #e5e7eb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--primary-color);
  color: #0b0b0b;
  padding: 8px 14px;
  border-radius: 3px;
  font-weight: 600;
  z-index: 1200;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: none;
  box-shadow: 0 8px 18px rgba(198,161,91,0.25);
}

main {
  padding-top: var(--header-height);
}

@media (max-width: 768px) {
  main {
    padding-top: 110px;
  }
}

@media (max-width: 768px) {
  body.nav-active main {
    padding-top: 110px;
  }
  section:first-of-type {
    scroll-margin-top: 110px;
  }
}

@media (max-width: 480px) {
  main {
    padding-top: 120px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(198,161,91,0.25), 0 10px 24px rgba(0, 0, 0, 0.25);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: var(--primary-color);
  color: #0b0b0b;
  border: 2px solid transparent;
}

[data-theme="light"] .btn-primary {
  color: #0b0b0b;
}

.btn-primary:hover {
  background: var(--secondary-color);
  color: #0b0b0b;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(198,161,91,0.25);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.25);
}

/* Section headers */
.section-title,
.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.section-title h2,
.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--text-light);
}
.section-title p,
.section-header p {
  margin: 0;
  color: rgba(248, 250, 252, 0.7);
  max-width: 720px;
}

/* 2. HEADER */
.main-header {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.65);
  
  -webkit-
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .main-header {
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo img {
  height: 40px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav ul {
    align-items: center;
}

.main-nav a {
    position: relative;
    font-weight: 500;
}

/* Premium Underline Animation */
.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta).active::after {
    width: 100%;
}

/* Nav CTA Button */
.nav-cta {
    padding: 8px 24px;
    background: var(--primary-color);
    color: var(--bg-darker) !important;
    border-radius: 3px;
    font-weight: 600;
    transition: transform 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(198,161,91,0.25);
}

.mobile-menu-toggle { display: none; } /* For mobile */

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

/* 3. HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  background: var(--bg-dark);
  position: relative;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(198,161,91,0.25);
}

.hero h1 {
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-medium);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.ad-banner {
  padding: 2rem 0;
  background: var(--ink-2);
}

.ad-banner .container {
  max-width: 960px;
}

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

.cinematic-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-visuals {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  max-width: 560px;
  text-align: left;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: #c6a15b;
  margin-bottom: 0.8rem;
}

.hero-visuals h1 {
  color: white;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero-visuals .hero-subtitle {
  font-size: 1.1rem;
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.6;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1rem;
}

.hero-stats div {
  background: var(--ink-2);
  border-radius: 3px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-size: 2rem;
  color: var(--primary-color);
}

.hero-stats span {
  display: block;
  color: rgba(248, 250, 252, 0.7);
  margin-top: 0.4rem;
  font-size: 0.9rem;
}

.btn-tertiary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn-tertiary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.dynamic-feeds {
  padding: 4rem 0;
  background: var(--ink);
}

.dynamic-feeds .feed-header {
  text-align: left;
  margin-bottom: 2rem;
}

.dynamic-feeds h3 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.dynamic-feeds p {
  color: rgba(248, 250, 252, 0.7);
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feed-grid article {
  background: var(--ink-2);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.45);
}

.feed-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.feed-grid h4 {
  color: #c6a15b;
  margin: 1rem;
  font-size: 1.3rem;
}

.feed-grid .meta {
  margin: 0 1rem;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.9rem;
}

/* Ongoing Event */
.ongoing-event {
  background: #b0413e;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ongoing-event .container {
  position: relative;
  z-index: 1;
}

.ongoing-event__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ongoing-event__dot {
  font-size: 0.85rem;
  font-weight: 700;
  animation: pulse 2s ease-in-out infinite;
}

.ongoing-event__status {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ongoing-event__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ongoing-event__subtitle {
  font-size: 1.2rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
}

.ongoing-event__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ongoing-event__cta {
  background: #fff;
  color: #8f3532;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.ongoing-event__secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

/* 4. TRUSTED BY / PRESS SECTIONS */
.trusted-by, .press {
  background-color: var(--bg-darker);
  padding: 40px 0;
}

.live-results-snapshot {
  padding: 3.5rem 0;
  background: var(--ink-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.snapshot-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.snapshot-header h2 {
  margin: 0;
  color: var(--text-light);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.snapshot-subtitle {
  color: rgba(248, 250, 252, 0.75);
  max-width: 680px;
  margin: 0;
}

.snapshot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.snapshot-card {
  padding: 1.5rem;
  border-radius: 3px;
  border: 1px solid var(--hairline);
  background: var(--ink-2);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.snapshot-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-light);
}

.snapshot-card .snapshot-detail {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.6);
}

.snapshot-card p {
  margin: 0;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.snapshot-card .snapshot-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.snapshot-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: space-between;
}

.snapshot-meta {
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.7);
}

.snapshot-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.snapshot-note {
  margin-top: 1rem;
  color: var(--hairline);
  font-size: 0.95rem;
}

/* Final CTA Form */
.final-cta__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.final-cta__points {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: rgba(248, 250, 252, 0.75);
  font-weight: 500;
}

.final-cta__form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}

.final-cta__form .form-group {
  margin-bottom: 0;
}

.snapshot-card.is-loading {
  opacity: 0.6;
}

@media (min-width: 768px) {
  .snapshot-footer {
    flex-direction: row;
    align-items: center;
  }
}

.trusted-by h3, .press h3 {
  text-align: center;
  color: var(--text-medium);
  font-weight: 500;
  margin-bottom: 2rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.logo-strip img {
  height: 35px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.logo-strip img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

.leadership-roster {
  padding: 3rem 0;
}

.leadership-roster h3 {
  text-align: center;
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.leadership-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
  color: var(--text-medium);
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.leader-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.leader-card h4 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin: 0;
}

.leader-role {
  color: var(--primary-color);
  margin: 0;
  font-weight: 600;
}

.leader-description {
  margin: 0;
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
}

.leader-highlights {
  list-style: none;
  padding-left: 1.25rem;
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.leader-highlights li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.leader-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--primary-color);
}

.leadership-roster .leader-card:nth-child(1) {
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
}
.ndani-quote {
  background: var(--ink-2);
  padding: 3rem 0;
}

.ndani-quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.ndani-quote-card {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 3px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.ndani-quote-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid rgba(198,161,91,0.25);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.ndani-quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ndani-quote-text {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.ndani-quote-author {
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Marquee Animation */
.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 2rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 2rem;
  animation: scroll 30s linear infinite;
  flex-wrap: nowrap !important; /* Override default logo-strip wrap */
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-reverse .marquee-content {
  animation-name: scroll-reverse;
}

/* 5. VISION SECTION */
.vision {
  text-align: center;
}
.vision h2 {
  margin-bottom: 2rem;
}
.vision p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
}

/* 6. ECOSYSTEM (SERVICES) SECTION */
.ecosystem {
  background-color: var(--bg-darker);
}
.ecosystem h2 { margin-bottom: 4rem; }

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.ecosystem-card {
  background-color: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.ecosystem-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-tagline {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.ecosystem-card ul {
  list-style: none;
  padding-left: 0;
}

.ecosystem-card ul li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.ecosystem-card ul li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.ecosystem-card ul li strong {
  color: var(--text-light);
}

/* 7. FLAGSHIP PROJECTS SECTION */
.flagship-projects h2 { margin-bottom: 4rem; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.project-card h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.project-card p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.project-card p strong {
  font-size: 1.5rem;
  color: var(--text-light);
  display: block;
}

/* 8. FOUNDER STORY SECTION */
.founder-story {
  background-color: var(--bg-darker);
}

.founder-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 4rem;
}

.founder-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 3px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(198,161,91,0.25);
}

.founder-text h3 {
  margin-bottom: 1.5rem;
}

.founder-text blockquote {
  font-size: 1.5rem;
  font-style: italic;
  border-left: 3px solid var(--primary-color);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.founder-name {
  font-weight: 600;
  color: var(--text-light);
}

/* 8.5 NDANI HOMES PAYWALL LISTINGS */
.homes-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.homes-listing-card {
  background: var(--bg-card);
  border-radius: 3px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
}

.homes-listing-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.homes-listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homes-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-light);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.homes-listing-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.homes-listing-meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0;
}

.homes-price {
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.homes-summary {
  color: var(--text-secondary);
  margin: 0;
}

.homes-basic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.homes-unlock-btn.is-unlocked {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.6);
  color: var(--text-light);
}

.homes-full-details {
  padding: 1rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed var(--hairline);
  color: var(--text-light);
}

.homes-full-details h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.homes-full-details ul {
  margin: 0;
  padding-left: 1.2rem;
}

.homes-full-details li {
  margin-bottom: 0.5rem;
}

.homes-paywall-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  padding: 1.5rem;
}

.homes-paywall-modal.is-open {
  display: flex;
}

.homes-paywall-card {
  width: min(520px, 100%);
  background: var(--bg-darker);
  border-radius: 3px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.homes-paywall-card label {
  font-weight: 600;
}

.homes-paywall-card input {
  padding: 0.8rem 1rem;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  background: var(--bg-dark);
  color: var(--text-light);
}

.homes-paywall-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.homes-paywall-subtitle {
  color: var(--text-secondary);
  margin: 0;
}

.homes-paywall-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.homes-paywall-status {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.homes-paywall-status.info {
  color: var(--text-light);
}

.homes-paywall-status.success {
  color: #7d8a6a;
}

.homes-paywall-status.error {
  color: #b0413e;
}

/* 9. ROADMAP SECTION */
.roadmap h2 { margin-bottom: 4rem; }

.roadmap-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.roadmap-timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.roadmap-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.roadmap-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.roadmap-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.roadmap-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--bg-dark);
  border: 4px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.roadmap-item:nth-child(odd)::after {
  right: -10px;
}

.roadmap-item:nth-child(even)::after {
  left: -10px;
}

.roadmap-year {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.roadmap-milestone {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* 10. FINAL CTA */
.final-cta {
  background: var(--bg-gradient-start);
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
}

.final-cta p {
  max-width: 500px;
  margin: 0 auto 2rem auto;
  font-s_size: 1.1rem;
}

/* 11. FOOTER */
.main-footer {
  position: relative;
  background: rgba(10, 10, 10, 0.95);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
  opacity: 0.6;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.footer-logo img {
  height: 44px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.footer-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a,
.footer-col span {
  color: var(--text-medium);
}

.footer-col ul a:hover {
  color: var(--primary-color);
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.footer-social a i {
  font-size: 16px;
}

.footer-social a:hover {
  background: var(--primary-color);
  color: var(--bg-darker);
}

.footer-newsletter {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.footer-newsletter .newsletter-text h3 {
  margin-bottom: 0.4rem;
  color: var(--text-light);
}

.footer-newsletter .newsletter-text p {
  margin-bottom: 0;
  color: var(--text-medium);
}

.footer-newsletter .newsletter-form {
  flex: 1;
  min-width: 260px;
  display: flex;
  gap: 0.75rem;
}

.footer-newsletter .newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-dark);
  color: var(--text-light);
}

.footer-newsletter .newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(198,161,91,0.25);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-medium);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

.footer-credit {
  color: var(--text-medium);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .footer-newsletter {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-newsletter .newsletter-form {
    flex-direction: column;
  }

  .footer-newsletter .newsletter-form button {
    width: 100%;
  }
}

/* 12. RESPONSIVE DESIGN */
@media (max-width: 992px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }

  .founder-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-image {
    margin: 0 auto 2rem auto;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }

  .hero { min-height: auto; }
  h1 { font-size: 2.2rem; }
  section { padding: 60px 0; }
  .hero-content { padding: 0 1rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .card { padding: 1.25rem; }

  .cinematic-hero {
    min-height: auto;
    padding: 3.5rem 0 2.5rem;
  }
  .hero-visuals {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.25rem;
  }
  .hero-text {
    max-width: 100%;
    text-align: center;
  }
  .hero-visuals h1 {
    font-size: 2.4rem;
  }
  .hero-visuals .hero-subtitle {
    font-size: 1rem;
  }
  .hero-visuals .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .dynamic-feeds .feed-header {
    text-align: center;
  }
  .dynamic-feeds h3 {
    font-size: 1.8rem;
  }
  .feed-grid img {
    height: 200px;
  }

  .ongoing-event h2 {
    font-size: 2rem;
  }
  .ongoing-event p {
    font-size: 1rem;
  }
  .ongoing-event .btn {
    width: 100%;
    max-width: 280px;
  }
  .snapshot-actions {
    flex-direction: column;
  }
  .snapshot-actions .btn {
    width: 100%;
  }

  .roadmap-timeline::after {
    left: 20px;
  }
  .roadmap-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 15px;
    left: 0 !important;
    text-align: left !important;
  }
  .roadmap-item::after {
    left: 10px !important;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
  .footer-brand,
  .footer-col {
    text-align: left;
  }
  .footer-newsletter .newsletter-form {
    flex-direction: column;
  }
  
  .footer-bottom {
      flex-direction: column;
  }
}

@media (min-width: 769px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* 11.5. INNER PAGE & GENERIC STYLES */
.page-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 45vh;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 10, 0.7);
  z-index: 1;
}

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

.page-hero h1 {
  font-size: 3rem;
  color: var(--text-light);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  text-fill-color: unset;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-medium);
}

.homes-paywall-info {
  padding: 3.5rem 0;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.info-text h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
  color: var(--text-light);
}

.info-text p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.homes-paywall-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-light);
}

.homes-paywall-steps li {
  font-weight: 500;
}

.homes-paywall-steps strong {
  color: var(--primary-color);
  margin-right: 0.35rem;
}

.info-card {
  padding: 2rem;
  border-radius: 3px;
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.35);
}

.info-card h3 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #fff;
}

.info-card p {
  color: rgba(248, 250, 252, 0.8);
  line-height: 1.6;
}

.info-highlight {
  margin-top: 1rem;
  font-weight: 600;
  color: #101012;
  background: #c6a15b;
  padding: 0.75rem 1rem;
  border-radius: 3px;
}

.homes-paywall-dashboard {
  padding: 3rem 0;
  background: var(--ink-2);
}

.homes-paywall-dashboard .section-title {
  margin-bottom: 2rem;
}

.homes-payments-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.homes-payment-card {
  padding: 1.5rem;
  border-radius: 3px;
  background: var(--ink-2, #101012);
  border: 1px solid var(--hairline);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.homes-payment-card h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: var(--text-light);
}

.homes-payment-card p {
  margin: 0;
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.9rem;
}

.homes-payment-card span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.55);
}

.homes-payment-card.is-loading {
  opacity: 0.7;
  font-style: italic;
}

.homes-verified-section {
  padding: 3.5rem 0;
  background: var(--bg-darker);
}

.homes-verified-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.homes-verified-card {
  padding: 1.25rem;
  border-radius: 3px;
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.homes-verified-card h4 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.1rem;
}

.homes-verified-card p {
  margin: 0;
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.9rem;
}

.homes-chip-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.homes-verified-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.5);
  display: none;
}

.homes-verified-badge.is-visible {
  display: inline-flex;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

/* Assistant Widget */
.ndani-assistant {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
}

.assistant-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--crimson);
  color: #101012;
  border: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.assistant-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(360px, 92vw);
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: none;
}

.assistant-panel.active {
  display: block;
}

.assistant-header {
  padding: 14px 16px;
  background: rgba(248, 113, 113, 0.15);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.assistant-title {
  font-weight: 600;
  color: #f4f1ea;
  font-size: 0.95rem;
}

.assistant-close {
  background: transparent;
  border: none;
  color: #f4f1ea;
  font-size: 18px;
  cursor: pointer;
}

.assistant-messages {
  max-height: 360px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assistant-bubble {
  padding: 10px 12px;
  border-radius: 3px;
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 85%;
}

.assistant-bubble.user {
  align-self: flex-end;
  background: rgba(59, 130, 246, 0.2);
  color: #e6e1d6;
}

.assistant-bubble.bot {
  align-self: flex-start;
  background: rgba(248, 113, 113, 0.18);
  color: #f4f1ea;
}

.assistant-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 10px 16px;
}

.assistant-chip {
  border: 1px solid rgba(248, 113, 113, 0.6);
  background: transparent;
  color: #f4f1ea;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  cursor: pointer;
}

.assistant-input {
  border-top: 1px solid var(--hairline);
  padding: 12px;
  display: flex;
  gap: 8px;
}

.assistant-input input {
  flex: 1;
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  color: #f4f1ea;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.assistant-send {
  background: #a9573a;
  border: none;
  color: #101012;
  border-radius: 3px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.assistant-ticket {
  border-top: 1px solid var(--hairline);
  padding: 12px 16px 16px 16px;
  display: none;
}

.assistant-ticket.active {
  display: block;
}

.assistant-ticket h4 {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  color: #f4f1ea;
}

.assistant-ticket input,
.assistant-ticket textarea {
  width: 100%;
  margin-bottom: 8px;
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  color: #f4f1ea;
  padding: 10px 12px;
  font-size: 0.85rem;
}

.assistant-ticket textarea {
  min-height: 80px;
  resize: vertical;
}

.assistant-ticket-actions {
  display: flex;
  gap: 8px;
}

.assistant-ticket-actions .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 8px 10px;
}

.assistant-ticket-status {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #e6e1d6;
}

@media (max-width: 600px) {
  .ndani-assistant {
    right: 16px;
    bottom: 16px;
  }
  .assistant-panel {
    width: min(320px, 94vw);
    bottom: 68px;
  }
}

.section-title h2 {
    font-size: 2.5rem;
}

.services-intro {
  padding: 3rem 0;
  background: var(--ink-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.services-intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.intro-copy h2 {
  color: var(--text-light);
  margin-top: 0.4rem;
}

.intro-copy p {
  color: rgba(248, 250, 252, 0.7);
  line-height: 1.7;
}

.intro-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.intro-stats {
  display: grid;
  gap: 1rem;
}

.stat {
  padding: 1.25rem;
  border-radius: 3px;
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.stat-label {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.6);
  margin-bottom: 0.35rem;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #c6a15b;
}

.press-hero {
  padding: 2.5rem 0;
  background: var(--ink-2);
}

.press-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  text-align: center;
}

.press-metric {
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 1.5rem;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
}

.press-metric .metric-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.6);
  margin-bottom: 0.35rem;
}

.press-metric .metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: #c6a15b;
}

.press-coverage {
  padding: 3rem 0;
}

.press-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.press-logos img {
  height: 45px;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.press-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.press-grid {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.press-card {
  background: var(--ink-2);
  border-radius: 3px;
  border: 1px solid var(--hairline);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.press-tag {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: #c6a15b;
}

.press-card h3 {
  margin: 0;
  color: var(--text-light);
}

.press-card p {
  margin: 0;
  color: rgba(248, 250, 252, 0.7);
  line-height: 1.5;
}

.press-quote {
  padding: 3rem 0;
  background: var(--ink);
}

.press-quote blockquote {
  margin: 0;
  font-size: 1.4rem;
  color: #fff;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.press-quote span {
  display: block;
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.7);
  margin-top: 0.5rem;
}

.press-kit {
  padding: 3rem 0;
}

.press-kit-card {
  background: var(--ink-2);
  border-radius: 3px;
  border: 1px solid var(--hairline);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.press-kit-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.gallery-hero {
  padding: 3.5rem 0;
  background: var(--ink-2);
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.gallery-hero-copy h2 {
  margin-top: 0.5rem;
  font-size: clamp(2.3rem, 3vw, 3rem);
}

.gallery-hero-copy p {
  color: rgba(248, 250, 252, 0.7);
  max-width: 520px;
}

.gallery-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.gallery-hero-stats {
  display: grid;
  gap: 1rem;
}

.stat-card {
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 1.4rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.6);
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #c6a15b;
}

.gallery-filter {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.gallery-subfilter {
  display: none;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: -0.75rem 0 2rem;
}

.gallery-subfilter.is-active {
  display: flex;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-masonry {
  display: block;
  column-count: 3;
  column-gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: #0a0a0a;
  min-height: 240px;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 1.25rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.gallery-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, var(--ink-2));
  color: #fff;
  display: grid;
  gap: 0.35rem;
}

.gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(248, 250, 252, 0.15);
  border: 1px solid rgba(248, 250, 252, 0.35);
  width: fit-content;
}

.gallery-overlay h4 {
  margin: 0;
  font-size: 1.2rem;
}

.gallery-overlay p {
  margin: 0.25rem 0 0;
  color: rgba(248, 250, 252, 0.7);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10020;
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-content {
  max-width: 920px;
  width: 100%;
  background: #101012;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.gallery-lightbox-media img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}

.gallery-lightbox-meta {
  padding: 1.2rem 1.5rem 1.6rem;
  color: #f4f1ea;
}

.gallery-lightbox-meta h4 {
  margin: 0 0 0.35rem;
}

.gallery-lightbox-meta p {
  margin: 0;
  color: rgba(248, 250, 252, 0.7);
}

.gallery-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(248, 250, 252, 0.15);
  border: 1px solid rgba(248, 250, 252, 0.35);
  color: #fff;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 900px) {
  .gallery-masonry {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .gallery-masonry {
    column-count: 1;
  }
}

.gallery-cta .btn {
  font-weight: 600;
}
.card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 3px;
  border: var(--card-border);
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: var(--card-shadow);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(198,161,91,0.25);
}

.ecosystem-card,
.project-card,
.press-card,
.snapshot-card,
.leader-card,
.contact-card,
.homes-listing-card,
.news-card,
.testimonial-card,
.team-member-card,
.info-card,
.homes-payment-card,
.homes-verified-card,
.homes-paywall-card {
  border-radius: 3px;
  border: var(--card-border);
  box-shadow: var(--card-shadow);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Contact Page */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: start;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.contact-card-header h2 {
    margin-bottom: 0.5rem;
}

.contact-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

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

.form-actions .btn {
    width: 100%;
    font-size: 1.05rem;
}

.form-hint {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.contact-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-info-item {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-medium);
    margin-bottom: 0.4rem;
}

.contact-info-item a,
.contact-info-item span {
    display: block;
    color: var(--text-light);
    font-weight: 600;
}

.contact-meta {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-top: 0.35rem;
}

.contact-quick-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.contact-social a {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.contact-map-section {
    background-color: var(--bg-card);
}

.contact-map {
    background: var(--ink-2, #101012);
    border-radius: 3px;
    border: 1px solid var(--border-color);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.contact-map-placeholder h3 {
    margin-bottom: 0.4rem;
}

.map-pill {
    display: inline-flex;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    color: var(--text-medium);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.dept-card .dept-link {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.dept-meta {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.contact-faq-section {
    background-color: var(--bg-card);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 1rem 1.5rem;
    background: var(--bg-dark);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    margin-top: 0.75rem;
    color: var(--text-medium);
}

.contact-cta {
    background: var(--bg-darker);
    text-align: center;
}

.contact-cta p {
    max-width: 640px;
    margin: 0 auto 2rem auto;
    color: var(--text-medium);
    font-size: 1.1rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(198,161,91,0.25);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--hairline);
}
#contact-form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 3px;
    text-align: center;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

body.nav-active main {
    filter: blur(2px);
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6rem 0 2rem 0;
  }
  .main-nav.active {
    transform: translateX(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: flex-start;
    padding: 0 1.75rem;
  }
  .main-nav ul li {
    width: 100%;
  }
  .main-nav ul a {
    font-size: 1.2rem;
    display: block;
    width: 100%;
    padding: 0.6rem 0;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 1001;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
  }
  body.nav-active {
      overflow: hidden;
  }
  .page-hero h1 { font-size: 2.2rem; }
}

/* Animations */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 68, 68, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 30px rgba(255, 68, 68, 0.6);
    }
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 2rem)); }
}

@keyframes scroll-reverse {
    from { transform: translateX(calc(-100% - 2rem)); }
    to { transform: translateX(0); }
}

/* Latest News Section */
.latest-news {
    background-color: var(--bg-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: var(--bg-card);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--primary-color);
}

.news-image-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 0.8rem;
}

.news-category {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.news-card p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Newsletter Box in Footer */
.newsletter-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.newsletter-text {
    flex: 1;
    min-width: 300px;
}

.newsletter-text h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.newsletter-text p {
    margin-bottom: 0;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 3px;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-light);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-box {
        text-align: center;
        justify-content: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--bg-darker);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none; /* Toggled by JS */
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(198,161,91,0.25);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(198,161,91,0.25);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    z-index: 10000;
    display: none; /* Hidden by default, shown by JS */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 3px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-author h4 { margin-bottom: 0.2rem; color: var(--text-light); }
.testimonial-author span { color: var(--text-medium); font-size: 0.9rem; }
}

/* Team Carousel */
.team-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.team-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
}

.team-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.team-member-card {
    min-width: 250px;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 3px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.member-photo {
    width: 100px;
    height: 100px;
    border-radius: 3px;
    margin: 0 auto 1rem auto;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(198,161,91,0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.carousel-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10001; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
    
}

.modal-content {
    background-color: var(--bg-card);
    margin: 10% auto; 
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    width: 90%; 
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.close-modal {
    color: var(--text-medium);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Live Voting Popup */
.vote-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10002;
    padding: 1.5rem;
}

.vote-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.vote-popup {
    background: rgba(255, 68, 68, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    text-align: center;
}

.vote-popup h3 {
    margin-bottom: 0.75rem;
}

.vote-popup p {
    margin-bottom: 1.75rem;
}

.vote-popup-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.vote-popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.vote-popup-divider {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
}

.vote-popup-badge.alt {
    background: rgba(255, 255, 255, 0.18);
    color: #f4f1ea;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.vote-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--text-medium);
    font-size: 1.5rem;
    cursor: pointer;
}

.vote-popup-close:hover {
    color: var(--primary-color);
}

.adsense-status-badge {
    position: fixed;
    bottom: 16px;
    left: 16px;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    z-index: 10050;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    background: var(--ink-2);
    color: #f4f1ea;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.adsense-status-badge[data-status="ok"] {
    background: rgba(16, 185, 129, 0.9);
    border-color: rgba(16, 185, 129, 0.5);
}

.adsense-status-badge[data-status="warn"] {
    background: rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 0.5);
}

@media (max-width: 520px) {
    .vote-popup {
        padding: 1.4rem;
        max-width: 100%;
    }
    .vote-popup h3 {
        font-size: 1.2rem;
    }
    .vote-popup p {
        margin-bottom: 1.1rem;
    }
    .vote-popup-actions {
        gap: 0.6rem;
    }
}

/* Range Slider */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    margin: 10px 0;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: var(--border-color);
    border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
    box-shadow: 0 0 10px rgba(198,161,91,0.25);
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: var(--border-color);
    border-radius: 3px;
}
input[type=range]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(198,161,91,0.25);
}

@media (max-width: 768px) {
    .theme-toggle { margin-left: auto; margin-right: 10px; }
}

/* Share Bar */
.share-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.share-bar span {
    font-weight: 600;
    color: var(--text-medium);
}

.share-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Carousel Progress Bar */
.carousel-progress-container {
    width: 100%;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.carousel-progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

/* Breadcrumbs */
.hero .breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero .breadcrumbs a {
    color: rgba(255,255,255,0.7);
}

.hero .breadcrumbs a:hover {
    color: var(--primary-color);
}

.hero .breadcrumbs span {
    color: rgba(255,255,255,0.4);
    margin: 0 5px;
}

.hero .breadcrumbs .current {
    color: var(--primary-color);
}

/* 13. LIGHTBOX STYLES */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  text-align: center;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 3px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-caption {
  color: white;
  margin-top: 1rem;
  max-width: 80%;
}

.lightbox-caption h4 {
  margin-bottom: 0.5rem;
}

.lightbox-caption p {
  color: var(--text-medium);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10002;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

/* 14. LIGHTBOX NAVIGATION */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}

/* 15. TEAM PAGE STYLES */
.team-achievements {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1rem 0;
  text-align: left;
}
.team-achievements li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text-medium);
}
.team-achievements li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .cinematic-hero {
    min-height: unset;
    padding: 2rem 0;
  }

  .hero-visuals {
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 1.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    width: 100%;
  }

  .hero-stats div {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero-visuals {
    padding: 2.5rem 1rem;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .hero-video {
    display: none;
  }

  .hero-stats {
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
  .contact-quick-actions {
    flex-direction: column;
  }
  .contact-map {
    min-height: 280px;
  }
  .contact-cta .cta-actions {
    flex-direction: column;
  }
}
