/* =========================================================================
   PROPELAI — PREMIUM DESIGN SYSTEM & LAYOUT
   ========================================================================= */

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

:root {
  --bg: #050505;
  --surface: rgba(13, 17, 23, 0.6);
  --surface-hover: rgba(20, 26, 35, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(34, 211, 238, 0.25);
  --accent: #22d3ee;     /* Cyan */
  --accent2: #6366f1;    /* Indigo */
  --accent3: #f59e0b;    /* Amber */
  --accent-red: #ef4444; /* Alert Red */
  --text: #e8edf3;
  --text-secondary: #94a3b8;
  --muted: #475569;
  --muted2: #64748b;
  
  --font-title: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  
  --glow-cyan: 0 0 25px rgba(34, 211, 238, 0.15);
  --glow-indigo: 0 0 25px rgba(99, 102, 241, 0.15);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   1. RESET & BASE STYLES
   ========================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent2) var(--bg);
}

body {
  background: var(--bg);
  background-image: radial-gradient(circle at 50% 0%, #0d1224 0%, #050505 75%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent2);
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

/* =========================================================================
   2. GLASS PANEL UTILITY
   ========================================================================= */
.glass-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.glass-panel:hover {
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(3, 7, 18, 0.5), var(--glow-cyan);
}

/* =========================================================================
   3. NAVIGATION
   ========================================================================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.03);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
  font-weight: 500;
}

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

.nav-cta {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--accent) !important;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: #030712 !important;
  box-shadow: var(--glow-cyan);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* =========================================================================
   4. TICKER
   ========================================================================= */
.ticker {
  margin-top: 73px;
  background: #090d16;
  border-bottom: 1px solid var(--border);
  height: 38px;
  display: flex;
  align-items: center;
  z-index: 10;
  position: relative;
}

.ticker-label {
  background: var(--accent-red);
  color: #000;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
  z-index: 12;
  position: relative;
  box-shadow: 5px 0 15px rgba(0,0,0,0.5);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-loop 35s linear infinite;
  gap: 40px;
  padding-left: 20px;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-item span {
  color: var(--accent);
}

.ticker-item span.neg {
  color: var(--accent-red);
}

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

/* =========================================================================
   5. HERO SECTION
   ========================================================================= */
.hero {
  padding: 100px 0 80px;
  position: relative;
}

.hero-bg-canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
  cursor: grab;
}

.hero .container {
  position: relative;
  z-index: 5;
  pointer-events: none;
}

.hero-content, .hero-panels, .hero-content *, .hero-panels * {
  pointer-events: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent2);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent2);
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #030712;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(34, 211, 238, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Panels Right */
.hero-panels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}



.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

/* System Status Ticker */
.system-status-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  max-height: 120px;
  overflow-y: auto;
}

.status-log {
  display: flex;
  gap: 8px;
  color: var(--text-secondary);
}

.status-log .time {
  color: var(--accent2);
}

.status-log .msg {
  color: var(--text);
}

/* Gauge Chart styling */
.score-gauge-container {
  display: flex;
  gap: 24px;
  align-items: center;
}

.circular-gauge {
  position: relative;
  width: 100px;
  height: 100px;
}

.gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 8;
}

.gauge-fill {
  fill: none;
  stroke: url(#cyan-gradient);
  stroke-width: 8;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 45.2; /* Represents 82.4% */
  stroke-linecap: round;
  animation: fill-gauge 1.5s ease-out forwards;
}

.gauge-txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-title);
}

.gauge-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.gauge-lbl {
  font-size: 8px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.score-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex: 1;
}

.detail-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

.detail-lbl {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.detail-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

@keyframes fill-gauge {
  from { stroke-dashoffset: 251.2; }
  to { stroke-dashoffset: 44.2; }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================================
   6. PROBLEM SECTION
   ========================================================================= */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 12px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

.problem {
  padding: 100px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.problem-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  background: rgba(13, 17, 23, 0.45);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
}

.card-icon.cyan {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.2);
  color: var(--accent);
}

.problem-card h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-secondary);
  flex-grow: 1;
}

.risk-level-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.risk-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-secondary);
}

.risk-bar {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.risk-fill {
  height: 100%;
  border-radius: 2px;
}

.risk-fill.red { background: var(--accent-red); }
.risk-fill.amber { background: var(--accent3); }

/* =========================================================================
   7. BENTO BOX PRODUCT SUITE
   ========================================================================= */
.products {
  padding: 100px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.bento-card-header span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bento-card-header i {
  color: var(--accent);
}

.bento-card h4 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Flagship Card (Large Vertical) */
.flagship-card {
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%), var(--surface);
  border-color: rgba(34, 211, 238, 0.15);
}

.flagship-body {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  flex-grow: 1;
}

.flagship-val-wrap {
  display: flex;
  flex-direction: column;
}

.flagship-val {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flagship-val-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-top: 4px;
}

.flagship-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted2);
  margin-top: 10px;
}

.flagship-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
}

.flagship-btn:hover {
  background: var(--accent);
  color: #030712;
  box-shadow: var(--glow-cyan);
}

/* Double Width Cards */
.double-width {
  grid-column: span 2;
}

/* Sub-card styles */
.bento-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  height: 100%;
  margin-top: 12px;
}

.progress-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-secondary);
}

.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  width: 82.4%;
  border-radius: 2px;
}

.bento-console {
  background: #090d16;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 10px;
  border-radius: 6px;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 48px;
}

.bento-console .res {
  color: var(--text-secondary);
}

.bento-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: auto;
}

.bento-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

/* Geofence layout */
.geofence-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
}

.zkp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.coord-display {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

/* Dynamic ledger list */
.ledger-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  max-height: 120px;
  padding-right: 4px;
}

.ledger-item {
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}

.ledger-item .hash { color: var(--muted2); }
.ledger-item .status { color: var(--accent); }

/* Infrastructure details */
.infra-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.token-badge {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  padding: 12px 20px;
  text-align: center;
  flex-shrink: 0;
}

.token-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent3);
}

.token-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .flagship-card, .double-width {
    grid-column: span 1;
    grid-row: span 1;
  }
  .infra-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .token-badge {
    width: 100%;
  }
}

/* =========================================================================
   8. GO-TO-MARKET SECTION
   ========================================================================= */
.market {
  padding: 100px 0;
}

.market-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.phases-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.phase-card {
  display: flex;
  gap: 20px;
}

.phase-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--accent);
  font-family: var(--font-title);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phase-card:nth-child(2) .phase-num {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  color: var(--accent2);
}

.phase-card:nth-child(3) .phase-num {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: var(--accent3);
}

.phase-info h4 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.phase-info p {
  font-size: 14px;
  color: var(--text-secondary);
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.m-stat-card {
  padding: 24px;
  text-align: left;
}

.m-stat-val {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.m-stat-lbl {
  font-size: 12px;
  color: var(--text-secondary);
}

@media (max-width: 800px) {
  .market-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================================
   9. COMPARISON MATRIX
   ========================================================================= */
.compare {
  padding: 100px 0;
}

.table-wrapper {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.compare-table th, .compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(3, 7, 18, 0.4);
  letter-spacing: 0.5px;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .feature-col {
  font-weight: 600;
  max-width: 280px;
}

.compare-table .table-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted2);
  margin-right: 8px;
}

.compare-table td:not(.feature-col) {
  text-align: center;
}

.compare-table th:not(.feature-col) {
  text-align: center;
}

.compare-table .highlight-col {
  background: rgba(34, 211, 238, 0.02);
  color: var(--accent);
  font-weight: 600;
}

.compare-table th.highlight-col {
  background: rgba(34, 211, 238, 0.05);
  font-size: 12px;
  font-weight: 700;
}

.check-icon {
  color: var(--accent);
}

.cross-icon {
  color: var(--accent-red);
}

.amber-txt {
  color: var(--accent3);
}

/* =========================================================================
   10. FUNDING ROUND SECTION
   ========================================================================= */
.funding {
  padding: 100px 0;
}

.funding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.funding-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fund-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent2);
}

.fund-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid rgba(34, 211, 238, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
}

.funding-card h5 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
}

.funding-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.funding-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

/* =========================================================================
   11. CTA WAITLIST SECTION
   ========================================================================= */
.cta {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-box {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-box h2 {
  font-family: var(--font-title);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.cta-box h2 em {
  font-style: normal;
  color: var(--accent);
}

.cta-box p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
}

.waitlist-form {
  display: flex;
  width: 100%;
  max-width: 440px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 12px;
  gap: 8px;
  margin-top: 10px;
  transition: var(--transition);
}

.waitlist-form:focus-within {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: var(--glow-cyan);
}

.waitlist-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 0 16px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
}

.waitlist-input::placeholder {
  color: var(--muted2);
}

.waitlist-btn {
  background: var(--accent);
  color: #030712;
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 11px;
}

.waitlist-btn:hover {
  background: #0ea5e9;
  box-shadow: var(--glow-cyan);
}

.founder-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted2);
  margin-top: 10px;
}

/* =========================================================================
   12. FOOTER
   ========================================================================= */
footer {
  background: #02040a;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted2);
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-badge 2s infinite;
}

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

.footer-links a {
  font-size: 12px;
  color: var(--muted2);
  text-decoration: none;
  transition: var(--transition);
}

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

@keyframes pulse-badge {
  0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Custom Cursor Follower */
.cursor-follower-circle {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s, border-color 0.3s, opacity 0.3s ease-in-out;
  opacity: 0;
}

.cursor-follower-dot {
  width: 6px;
  height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

/* Disable custom cursor on mobile viewports */
@media (max-width: 768px) {
  *, *::before, *::after {
    cursor: auto !important;
  }
  .cursor-follower-circle, .cursor-follower-dot {
    display: none !important;
  }
}

/* =========================================================================
   14. MODAL WINDOW STYLING
   ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), -webkit-backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(13, 17, 23, 0.85) !important;
  border: 1px solid var(--border-glow) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), var(--glow-cyan) !important;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px !important;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 3px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--accent2);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.modal-header h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 1px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 28px;
  line-height: 1;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--accent-red);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.1);
}

.modal-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 48px;
  color: #10b981;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
}

.modal-success-state h4 {
  font-family: var(--font-title);
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-success-state p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.modal-founders-direct {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.founder-direct-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-align: center;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.founder-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: var(--transition);
  opacity: 0;
}

.founder-card:hover {
  border-color: var(--accent);
  background: rgba(34, 211, 238, 0.04);
  box-shadow: 0 10px 25px rgba(3, 7, 18, 0.6), 0 0 15px rgba(34, 211, 238, 0.15);
  transform: translateY(-4px) scale(1.02);
}

.modal-overlay.active .founder-card {
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-overlay.active .founder-card:nth-child(1) {
  animation-delay: 0.08s;
}

.modal-overlay.active .founder-card:nth-child(2) {
  animation-delay: 0.16s;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.founder-role {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.founder-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.founder-link {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.founder-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(34, 211, 238, 0.05);
}

.founder-name {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
}

.founder-bio {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  text-align: center;
}

/* Responsiveness for Founders Grid */
@media (max-width: 580px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }
  .modal-content {
    padding: 24px !important;
  }
}

/* =========================================================================
   15. REAL ESTATE NEWS INTEL FEED SECTION
   ========================================================================= */
.news {
  padding: 100px 0;
  position: relative;
}

.news-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.filter-btn.active {
  background: rgba(34, 211, 238, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

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

.news-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: rgba(13, 17, 23, 0.45);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, border-color 0.3s, box-shadow 0.3s;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(3, 7, 18, 0.7), var(--glow-cyan);
}

.news-img-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-img {
  transform: scale(1.08);
}

.news-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.infra-tag {
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--accent);
}

.policy-tag {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent2);
}

.trends-tag {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent3);
}

.news-content-wrap {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

.news-meta i {
  color: var(--accent2);
}

.news-content-wrap h4 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  transition: var(--transition);
}

.news-card:hover .news-content-wrap h4 {
  color: var(--accent);
}

.news-content-wrap p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex-grow: 1;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 8px;
  transition: var(--transition);
}

.news-link i {
  transition: transform 0.3s ease;
}

.news-link:hover {
  color: var(--text);
}

.news-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 480px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}




