@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Newsreader:opsz,wght@6..72,300;6..72,400;6..72,500;6..72,600;6..72,700&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --bg-primary: #faf9f6;
  --bg-secondary: #f5f4ee;
  --bg-tertiary: #f1f5f9;
  --bg-card-light: #ffffff;
  --bg-card-dark: #161619;
  --bg-dark-section: #0a0a0c;
  
  --bg-card: var(--bg-card-light);
  --text-primary: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #78716c;
  
  --accent-purple: #1c1917; /* black brand accent */
  --accent-purple-glow: rgba(28, 25, 23, 0.1);
  --accent-pink: #64748b; /* slate accent instead of pink */
  --accent-green: #16803d;
  --accent-amber: #b45309;
  --accent-blue: #1d4ed8;
  
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-title: 'Newsreader', 'Georgia', serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-color: #e7e5e4;
  --border-dark: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e1e24;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2d2d38;
}

/* Dot Grid Background with Spotlight */
.dot-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  background-image: 
    radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(100, 116, 139, 0.05), transparent 80%),
    radial-gradient(rgba(28, 25, 23, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px;
}

/* Background Glowing Orbs */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
  filter: blur(140px);
  opacity: 0.05;
  animation: orbFloat 25s ease-in-out infinite alternate;
}

.orb-1 { top: 10%; left: 15%; width: 35vw; height: 35vw; background: var(--accent-purple); }
.orb-2 { bottom: 20%; right: 10%; width: 40vw; height: 40vw; background: var(--accent-pink); animation-duration: 30s; animation-delay: -5s; }
.orb-3 { top: 50%; left: 45%; width: 30vw; height: 30vw; background: var(--accent-blue); animation-duration: 20s; animation-delay: -3s; }

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(3vw, 3vw) scale(1.1); }
}

/* Scroll Reveal */
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Main Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Capsule Navigation Reverted */
.navbar-wrapper {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 1.5rem;
  animation: navSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navSlideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1.75rem;
  background: #fdfcf8; /* Solid cream to prevent logo disappearing in background */
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
}

.navbar-logo,
.navbar-logo:link,
.navbar-logo:visited,
.navbar-logo:hover,
.navbar-logo:active {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-logo span {
  font-family: var(--font-title); /* Serif Newsreader font matching Picture 2 */
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none !important;
  border-bottom: none !important;
  line-height: 1;
  position: relative;
  top: 1.5px; /* Offset the visual descender shift of Newsreader serif */
}

.logo-icon {
  width: 32px; /* Enlarged logo icon to match 32px brand scale */
  height: 32px;
  transition: transform 0.5s ease;
}

.navbar-logo:hover .logo-icon {
  transform: rotate(180deg);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.navbar-links li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  color: var(--text-secondary);
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  line-height: 1 !important;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-primary);
  text-decoration: none !important;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--accent-purple);
  color: #fdfcf8;
  box-shadow: 0 4px 15px rgba(28, 25, 23, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: #475569;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 25, 23, 0.15);
}

.btn-outline {
  background: rgba(253, 252, 248, 0.5);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(28, 25, 23, 0.03);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

/* Section Formatting */
section {
  padding: 8rem 0;
  position: relative;
}

.hero {
  background-color: var(--bg-primary);
}

.how-it-works {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.key-features {
  background-color: var(--bg-card-light);
}

.rbi-mandate {
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.mandate-section {
  background-color: var(--bg-dark-section);
}

.faq-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding-bottom: 6rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 7.5rem;
  padding-bottom: 4.5rem;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  background: rgba(100, 116, 139, 0.08);
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 99px;
  padding: 0.35rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.badge-pill {
  background: var(--accent-purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.1rem 0.5rem;
  border-radius: 99px;
  letter-spacing: 0.05em;
}

.badge-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3.375rem;
  line-height: 1.1;
  max-width: 960px;
  margin-bottom: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #09090b 30%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.hero-ctas .btn {
  padding: 0.75rem 1.85rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border-radius: 99px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.hero-ctas .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(28, 25, 23, 0.15);
}

.hero-ctas .btn-outline:hover {
  transform: translateY(-2px);
  background: rgba(28, 25, 23, 0.03);
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
}

/* Value Props in Hero */
.hero-value-prop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 5.5rem auto 0 auto;
  text-align: left;
}

.prop-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: var(--bg-card-light);
  border: 1px solid var(--border-color);
  padding: 2.25rem 2rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(28, 25, 23, 0.015);
}

.prop-item:hover {
  transform: translateY(-6px);
  border-color: rgba(100, 116, 139, 0.25);
  box-shadow: 0 15px 35px rgba(28, 25, 23, 0.05);
}

.prop-icon {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.prop-svg {
  color: #64748b; /* Slate gray icon color */
  transition: var(--transition-smooth);
}

.prop-item:hover .prop-svg {
  color: var(--accent-purple);
  transform: scale(1.08);
}

.prop-item h4 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.prop-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
}

/* How It Works Section */
.section-title-center {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 5rem;
  background: linear-gradient(180deg, #1c1917 60%, #57534e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px; /* Cohesive modern corner radius */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.how-card:hover {
  transform: translateY(-6px);
  border-color: rgba(100, 116, 139, 0.25);
  box-shadow: 0 15px 35px rgba(28, 25, 23, 0.05); /* Premium soft shadow matching other sections */
}

.how-card-glow {
  height: 45px;
  width: 100%;
  position: relative;
}

/* Neutralized card glow gradients */
.how-card:nth-child(1) .how-card-glow { background: linear-gradient(to bottom, rgba(100, 116, 139, 0.08), transparent); }
.how-card:nth-child(2) .how-card-glow { background: linear-gradient(to bottom, rgba(28, 25, 23, 0.06), transparent); }
.how-card:nth-child(3) .how-card-glow { background: linear-gradient(to bottom, rgba(148, 163, 184, 0.08), transparent); }

.how-card-glow::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -10%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.6;
}

.how-card:nth-child(1) .how-card-glow::after { background: #64748b; } /* Slate */
.how-card:nth-child(2) .how-card-glow::after { background: var(--accent-purple); } /* Charcoal */
.how-card:nth-child(3) .how-card-glow::after { background: #94a3b8; } /* Light Slate */

.how-card-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.card-step-num {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(100, 116, 139, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  align-self: flex-start;
}

.how-card:nth-child(1) .card-step-num { color: #64748b; background: rgba(100, 116, 139, 0.08); }
.how-card:nth-child(2) .card-step-num { color: #1c1917; background: rgba(28, 25, 23, 0.06); }
.how-card:nth-child(3) .card-step-num { color: #475569; background: rgba(148, 163, 184, 0.08); }

.how-card-content h3 { font-size: 1.45rem; line-height: 1.3; color: var(--text-primary); }
.how-card-content p { font-size: 0.95rem; color: var(--text-secondary); text-align: left; }

/* Board Banner Whiteboard */
.board-banner {
  background: #ffffff;
  color: #1c1917;
  border-radius: 16px; /* Balanced border-radius */
  padding: 3rem; /* Tighter padding for a more corporate dashboard look */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  margin: 5rem auto 0 auto;
  box-shadow: 0 12px 30px rgba(28, 25, 23, 0.04);
  border: 1px solid var(--border-color);
}

.board-banner-icon {
  width: 50px;
  height: 50px;
  background: rgba(100, 116, 139, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.board-banner h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: #0c0d12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.board-banner p {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 820px;
  line-height: 1.7;
}

/* Key Features Section with Visual Widgets */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--bg-card-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 4px 20px rgba(28, 25, 23, 0.012);
  transition: var(--transition-smooth);
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: rgba(100, 116, 139, 0.25);
  box-shadow: 0 15px 35px rgba(28, 25, 23, 0.05);
}

.feature-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-header h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.feature-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #64748b; /* Sleek slate gray sub-label */
  font-weight: 500;
}

.feature-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  text-align: left;
}

.widget-graphic {
  background: var(--bg-tertiary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  height: auto;
  transition: var(--transition-smooth);
}

.feature-item:hover .widget-graphic {
  border-color: rgba(100, 116, 139, 0.15);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Interactive Widgets Layouts */
.interactive-widget {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.indicator-green, .indicator-purple, .indicator-amber, .indicator-blue {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px currentColor;
}

.indicator-green { color: var(--accent-green); background-color: var(--accent-green); }
.indicator-purple { color: var(--accent-purple); background-color: var(--accent-purple); }
.indicator-amber { color: var(--accent-amber); background-color: var(--accent-amber); }
.indicator-blue { color: var(--accent-blue); background-color: var(--accent-blue); }

.widget-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.widget-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.widget-input-wrapper label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.widget-input-wrapper input {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  color: var(--text-primary);
  font-size: 0.8rem;
  outline: none;
  font-family: var(--font-mono);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}

.widget-output {
  background: #020204;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-green);
  min-height: 54px;
  display: flex;
  align-items: center;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Timeline Widget styles */
.timeline-visual {
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.timeline-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.timeline-nodes {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1f1f2e;
  border: 2px solid var(--text-muted);
  transition: var(--transition-smooth);
}

.timeline-node.active .node-dot {
  background: var(--accent-purple);
  border-color: #fff;
  box-shadow: 0 0 10px var(--accent-purple);
}

.timeline-node:hover .node-dot {
  transform: scale(1.3);
  background: #fff;
}

.node-label {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.timeline-tooltip {
  background: #020204;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  color: #fff;
  font-family: var(--font-mono);
  text-align: center;
}

/* Key Rotation Widget styles */
.rotation-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.75rem;
  flex-grow: 1;
}

.key-circle-container {
  width: 90px;
  height: 90px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border-color);
  border-radius: 50%;
}

.key-circle {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.key-node {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -25px;
  width: 50px;
  height: 20px;
  background: #1e1e2d;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.key-node.active {
  background: var(--accent-amber);
  border-color: #fff;
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.rotation-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.key-status-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.key-hash-val {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-amber);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* Query Widget styles */
.query-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.query-bar {
  display: flex;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  align-items: center;
}

.query-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-family: var(--font-sans);
  padding: 0.25rem 0.5rem;
}

.query-search-btn {
  background: var(--accent-purple);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.query-search-btn:hover {
  background: #475569;
  transform: scale(1.05);
}

.query-response-area {
  background: #020204;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-blue);
  min-height: 80px;
  white-space: pre-wrap;
  word-break: break-all;
}

/* RBI Real Time Mandate Section Header */
.rbi-mandate {
  text-align: center;
}

.rbi-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  background: linear-gradient(180deg, #1c1917 60%, #57534e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.rbi-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* Problems and Solutions Layout Refinements */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 3rem;
  margin-top: 5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.prob-card-wrapper {
  position: relative;
}

.prob-card-wrapper::after {
  display: none; /* Remove playful double-border outline */
}

.prob-card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px; /* Classic, clean rounded corners */
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.prob-card:hover {
  transform: translateY(-4px); /* Modern, clean hover lift */
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px rgba(28, 25, 23, 0.05);
}

.prob-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Hairline separator between Problem and Solution groups */
.prob-group + .prob-group {
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f0ea;
}

.card-accent-line {
  display: none; /* Remove top color gradient line for standard clean appearance */
}

.prob-card h3 {
  font-family: var(--font-sans); /* Clean sans-serif heading */
  font-size: 1.35rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  margin-bottom: 0.25rem;
}

/* Professional Split Card Structure */
.prob-split-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.prob-text-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Semantic Badges replacing basic headers */
.semantic-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-family: var(--font-sans); /* Matching clean sans-serif */
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  align-self: flex-start;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.badge-problem {
  background: rgba(239, 68, 68, 0.08); /* light red background */
  color: #dc2626; /* red text */
  border: 1px solid rgba(239, 68, 68, 0.15);
}
.badge-problem .badge-dot { 
  background-color: #ef4444; /* red dot */
}

.badge-solution {
  background: rgba(34, 197, 94, 0.08); /* light green background */
  color: #15803d; /* green text */
  border: 1px solid rgba(34, 197, 94, 0.15);
}
.badge-solution .badge-dot { 
  background-color: #22c55e; /* green dot */
}

.semantic-para {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
  margin-top: 0.15rem;
}

.text-problem {
  color: var(--text-secondary);
}

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

/* Visual Side Demos */
.prob-visual-side {
  display: flex;
  flex-direction: column;
}

.card-demo-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.demo-box-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

/* Card Demo 1: Timeline chart columns */
.timeline-toggle-wrapper {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.btn-toggle-switch {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: var(--transition-smooth);
}

.btn-toggle-switch.active {
  background: var(--accent-purple);
  color: #fff;
  border-color: #fff;
}

.timeline-chart-canvas {
  height: 80px;
  display: flex;
  gap: 1.5rem;
  position: relative;
  border-left: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-left: 0.5rem;
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
}

.y-axis-labels {
  position: absolute;
  left: -24px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
}

.chart-bars-container {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  height: 100%;
}

.chart-col-bar {
  flex: 1;
  background: var(--accent-purple);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 6px var(--accent-purple-glow);
}

.chart-col-bar.legacy-bar {
  background: var(--accent-pink);
  box-shadow: 0 0 6px rgba(100, 116, 139, 0.3);
}

.chart-status-desc {
  font-size: 0.68rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  line-height: 1.4;
}

/* Card Demo 2: DQI Inspector list */
.dqi-payload-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.payload-field {
  color: var(--text-secondary);
}

.payload-status {
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
}

.status-pending { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }
.status-valid { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.status-error { background: rgba(239, 68, 68, 0.1); color: #ff6b6b; }

.dqi-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.dqi-score-block {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-green);
}

.btn-xs {
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
}

/* Card Demo 3: Block Explorer nodes */
.blocks-horizontal-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.demo-block {
  background: #12121c;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.demo-block.active {
  border-color: #ffffff;
  color: #fff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.02);
}

.demo-block:hover {
  transform: translateY(-2px);
  border-color: var(--accent-purple);
}

.block-link-dot {
  color: var(--text-muted);
  font-weight: 700;
}

.block-data-display {
  background: #020204;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-green);
  min-height: 60px;
  line-height: 1.4;
}

/* Card Demo 4: Chat bubbles mini view */
.mini-chat-display {
  background: #020204;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  height: 80px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.mini-chat-bubble {
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-size: 0.72rem;
  max-width: 90%;
  line-height: 1.4;
}

.mini-chat-bubble.bot {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  color: #fff;
}

.mini-chat-bubble.user {
  background: var(--accent-purple);
  color: #fff;
  align-self: flex-end;
}

.mini-chat-bubble.code {
  background: #000;
  border: 1px solid #14532d;
  color: #00e676;
  font-family: var(--font-mono);
  align-self: flex-start;
  font-size: 0.65rem;
  width: 100%;
}

.mini-chat-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-chat-action {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.7rem;
  padding: 0.35rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-chat-action:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--accent-purple);
  color: #fff;
}

/* Regulatory Mandate Quotes */
.mandate-section {
  background: var(--bg-dark-section);
}

.mandate-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 60%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mandate-subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 4rem;
  font-family: var(--font-sans);
}

.mandate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.mandate-card {
  background: var(--bg-card-light);
  color: var(--text-primary);
  border-radius: 16px; /* Consistent corner radius */
  padding: 2.25rem; /* Proportioned padding */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  position: relative;
  min-height: 320px;
  border: 1px solid var(--border-color);
}

.mandate-card:hover {
  transform: translateY(-5px);
  border-color: rgba(100, 116, 139, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.mandate-card .quote-mark {
  font-family: var(--font-title);
  font-size: 5rem;
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  color: rgba(100, 116, 139, 0.08);
  font-weight: 800;
}

.mandate-card blockquote {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: #374151;
  position: relative;
  z-index: 2;
  text-align: left;
}

.mandate-card .mandate-author {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.mandate-card .mandate-author strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.mandate-card .date-tag {
  color: var(--text-muted);
  font-weight: 500;
}


/* Architecture Schematic Diagram */
.architecture-schematic {
  margin-bottom: 5.5rem;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  padding: 3.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.schematic-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.schematic-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 200px;
  transition: var(--transition-smooth);
}

.schematic-block:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.schematic-block.featured {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-green);
  box-shadow: 0 0 20px rgba(22, 128, 61, 0.15);
}

.schematic-block.featured:hover {
  border-color: #22c55e;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.25);
}

.schematic-step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schematic-step-num.featured-badge {
  color: #ffffff; font-weight: 700;
}

.schematic-block h4 {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
}

.schematic-block p {
  color: #a1a1aa;
  font-size: 0.88rem;
  line-height: 1.5;
}

.schematic-block.featured p {
  color: #d4d4d8;
}

.schematic-connector {
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Swipe Indicator Helper */
.swipe-indicator {
  display: none;
}
.carousel-dots {
  display: none;
}

/* FAQs Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-card-light);
  border: 1px solid var(--border-color);
  padding: 2.25rem 2rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(28, 25, 23, 0.012);
}

.faq-item:hover {
  transform: translateY(-5px);
  border-color: rgba(100, 116, 139, 0.2);
  box-shadow: 0 12px 30px rgba(28, 25, 23, 0.04);
}

.faq-item h3 {
  font-family: var(--font-sans); /* Clean sans-serif query text */
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  text-align: left;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin-top 0.35s ease;
}

.faq-item.active p {
  max-height: 300px;
  opacity: 1;
  margin-top: 1.25rem;
}

/* Interested Banner */
.interested-banner {
  background: var(--bg-card-dark);
  color: #f4f4f5;
  border-radius: 16px; /* Cohesive modern corner radius */
  padding: 3rem 4rem;
  margin: 8rem auto 2rem auto;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* Premium dark shadow */
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.interested-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.interested-illustration {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
}

.interested-illustration svg path {
  stroke: #94a3b8;
}

.interested-illustration svg circle {
  fill: #94a3b8;
}

.interested-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.interested-text p {
  font-size: 1.05rem;
  color: #a1a1aa;
}

/* Talk to Team interaction container */
.interested-action {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.interested-input-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  padding: 0.35rem 0.5rem 0.35rem 1.5rem;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
}

.interested-input-wrapper:focus-within {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07);
}

.interested-input-wrapper input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  color: #ffffff;
  width: 240px;
  font-weight: 500;
}

.interested-input-wrapper input::placeholder {
  color: #71717a;
}

.btn-purple {
  background: var(--accent-purple);
  color: #ffffff;
  border: none;
  border-radius: 99px;
  padding: 0.65rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(28, 25, 23, 0.08);
}


.btn-purple:hover {
  background: #475569;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 25, 23, 0.15);
}

.interested-banner .btn-purple {
  background: #ffffff;
  color: #121215;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.interested-banner .btn-purple:hover {
  background: #e4e4e7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Footer Styling */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 8rem 0 4rem 0;
  position: relative;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand h2 {
  font-family: var(--font-title);
  font-size: 1.85rem;
  color: var(--text-primary);
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  background: rgba(28, 25, 23, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-icon:hover {
  background: rgba(28, 25, 23, 0.08);
  color: var(--text-primary);
  border-color: var(--text-secondary);
  transform: translateY(-3px);
}

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

.footer-column h3 {
  font-size: 0.95rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
}

/* Modals & Overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 4, 6, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  width: 100%;
  max-width: 580px;
  padding: 3.5rem;
  box-shadow: 0 20px 50px rgba(28, 25, 23, 0.15);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-smooth);
}

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

.modal-close {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.75rem;
  transition: var(--transition-smooth);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 2.25rem;
}

.modal-header h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-textarea {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-purple);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.15);
}

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

/* Chat Terminal Drawer */
.chat-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 480px;
  height: 100%;
  background: #050508;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1500;
  box-shadow: none;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
  visibility: hidden;
  pointer-events: none;
  visibility: hidden;
  pointer-events: none;
  visibility: hidden;
  pointer-events: none;
  visibility: hidden;
  pointer-events: none;
  visibility: hidden;
  pointer-events: none;
  visibility: hidden;
  pointer-events: none;
  visibility: hidden;
  pointer-events: none;
  visibility: hidden;
  pointer-events: none;
  visibility: hidden;
  pointer-events: none;

.chat-drawer.active {
  right: 0;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.8);
}
  visibility: visible;
  pointer-events: auto;
  visibility: visible;
  pointer-events: auto;
  visibility: visible;
  pointer-events: auto;
  visibility: visible;
  pointer-events: auto;
  visibility: visible;
  pointer-events: auto;
  visibility: visible;
  pointer-events: auto;
  visibility: visible;
  pointer-events: auto;
  visibility: visible;
  pointer-events: auto;
  visibility: visible;
  pointer-events: auto;

.chat-drawer-header {
  padding: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-drawer-header h3 {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.terminal-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00e676;
  animation: pulse 1.5s infinite;
}

.chat-drawer-close {
  background: transparent;
  border: none;
  color: #a1a1aa;
  cursor: pointer;
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.chat-drawer-close:hover {
  color: #ffffff;
  transform: rotate(90deg);
}

.chat-body {
  flex: 1;
  padding: 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.terminal-welcome {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #00e676;
  background: rgba(0, 230, 118, 0.04);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  line-height: 1.6;
}

.suggested-queries {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.suggested-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.query-chip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem 1.15rem;
  font-size: 0.85rem;
  color: #a1a1aa;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.query-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateX(4px);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.msg {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 85%;
  animation: msgAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.msg-user {
  align-self: flex-end;
}

.msg-bot {
  align-self: flex-start;
}

.msg-bubble {
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.msg-user .msg-bubble {
  background: #6366f1; /* Premium violet color for user messages */
  color: #ffffff;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.msg-bot .msg-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f4f5; /* Light zinc text color for readability */
  border-bottom-left-radius: 2px;
}

.terminal-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #00e676;
  background: #020204;
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  white-space: pre-wrap;
  word-break: break-all;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.chat-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.9rem;
}

.chat-input-wrapper {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.chat-input-wrapper:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.chat-input-wrapper input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: #ffffff; /* White text for typing visibility */
  font-size: 0.9rem;
}

.chat-input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.btn-send {
  background: #6366f1;
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-send:hover {
  background: #4f46e5;
  transform: scale(1.08);
}

/* Desktop Reset to Hide Mobile Elements */
.navbar-toggle {
  display: none;
}
.navbar-mobile-menu {
  display: none;
}
.mandate-mobile-selector {
  display: none;
}
.rbi-mobile-selector {
  display: none !important;
}
.features-mobile-tabs, .rbi-mobile-tabs {
  display: none;
}





















/* Responsiveness adjustments */
@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* --- 1. Tablet Hero Viewport Centering & Sizing --- */
  .hero {
    min-height: 82vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 7rem !important;
    padding-bottom: 2rem !important;
    text-align: center !important;
  }
  .hero-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-badge {
    margin-bottom: 1.5rem !important;
  }
  .hero-title {
    font-size: 2.75rem !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    max-width: 90% !important;
    margin-bottom: 1.25rem !important;
  }
  .hero-subtitle {
    font-size: 1.0rem !important;
    max-width: 90% !important;
    margin-bottom: 2.25rem !important;
    line-height: 1.55 !important;
  }
  .hero-ctas {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 1.25rem !important;
    width: auto !important;
  }
  .hero-ctas .btn {
    width: auto !important;
  }

  /* --- 2. Typography Scale for Tablets --- */
  h2, .section-title-center, .rbi-title, .mandate-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.025em !important;
  }
  h3, .how-card-content h3, .feature-header h3, .prob-card h3, .board-banner h3, .modal-header h3 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
  }
  h4, .prop-item h4, .schematic-block h4, .footer-column h3 {
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
    letter-spacing: -0.015em !important;
  }
  p, .prop-item p, .how-card-content p, .feature-body, .semantic-para, .schematic-block p, .faq-item p, .footer-brand p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    color: var(--text-secondary) !important;
  }
  .badge-text, .node-label, .widget-header, .key-status-label, .timeline-tooltip, .chat-messages .msg-bubble, .btn {
    font-size: 0.85rem !important;
  }
  .suggested-title, .card-step-num, .schematic-step-num, .date-tag {
    font-size: 0.78rem !important;
  }

  /* --- 3. Tablet Navigation Spacing & Scaling (Hamburger menu for tablets/mobiles) --- */
  .navbar {
    padding: 0.5rem 1.25rem !important;
  }
  .navbar-links {
    display: none !important;
  }
  .navbar-desktop-btn {
    display: none !important;
  }
  .navbar-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
  }
  .hamburger-bar {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 9px;
    transition: var(--transition-smooth);
  }
  .navbar-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .navbar-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .navbar-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .navbar-mobile-menu {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: #fdfcf8;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(28, 25, 23, 0.15);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  .navbar-mobile-menu.active {
    transform: translateY(12px);
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
  }
  .navbar-mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    transition: var(--transition-smooth);
  }
  .navbar-mobile-menu a:hover {
    color: var(--text-primary);
  }
  .navbar-logo span {
    font-size: 1.25rem !important;
  }
  .logo-icon {
    width: 28px !important;
    height: 28px !important;
  }

  /* --- 4. Tablet Layout Grids (Three & Two Column Displays) --- */
  .hero-value-prop {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    max-width: 100% !important;
    margin: 4.5rem auto 0 auto !important;
  }
  .how-it-works-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    max-width: 100% !important;
    margin: 0 auto 4rem auto !important;
  }
  .features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
    max-width: 100% !important;
  }
  .problems-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
    margin-top: 3rem !important;
  }
  .prob-card-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .features-grid .feature-item {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem !important;
  }
  .prob-card {
    padding: 1.5rem !important;
  }
  .prob-split-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .interested-banner {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
    padding: 3rem 2rem;
  }
  .interested-left {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  /* --- 5. Tablet Mandate Quote Cards (Three Columns Next to Each Other) --- */
  .mandate-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    position: static !important;
    overflow: visible !important;
  }
  .mandate-grid .mandate-card {
    position: relative !important;
    opacity: 1 !important;
    filter: blur(0px) !important;
    pointer-events: auto !important;
    transform: none !important;
    background: var(--bg-card-light) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 20px rgba(28, 25, 23, 0.015) !important;
    border-radius: 16px !important;
    padding: 2.25rem 1.25rem 1.75rem 1.25rem !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  .mandate-grid .mandate-card blockquote {
    color: var(--text-primary) !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    font-family: var(--font-sans) !important;
    font-style: normal !important;
    margin-bottom: 1rem !important;
  }
  .mandate-grid .mandate-card .quote-mark {
    display: block !important;
    font-size: 3rem !important;
    color: rgba(28, 25, 23, 0.05) !important;
    line-height: 1 !important;
    position: absolute !important;
    top: 0.5rem !important;
    left: 1.25rem !important;
    font-family: Georgia, serif !important;
  }
  .mandate-card .mandate-author {
    font-size: 0.82rem !important;
    color: var(--text-secondary) !important;
    margin-top: auto !important;
    text-align: left !important;
  }
  .mandate-card .mandate-author strong {
    color: var(--text-primary) !important;
    display: block !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.15rem !important;
  }

  /* Hide mobile switchers/selectors on tablet viewports */
  .features-mobile-tabs, .rbi-mobile-selector, .mandate-mobile-selector {
    display: none !important;
  }

  /* --- 6. API Integration Schematic: Tablet Vertical Timeline --- */
  .architecture-schematic {
    max-width: 680px !important;
    margin: 2rem auto 0 auto !important;
    padding: 2rem !important;
    padding-bottom: 2.5rem !important;
  }
  .schematic-connector {
    display: none !important;
  }
  .schematic-flow {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    padding-left: 30px !important;
    margin-left: 0 !important;
    list-style: none !important;
  }
  .schematic-flow::before {
    content: '' !important;
    position: absolute !important;
    top: 1.25rem !important;
    bottom: 1.25rem !important;
    left: 15px !important;
    width: 2px !important;
    background: repeating-linear-gradient(to bottom, transparent, transparent 4px, rgba(255, 255, 255, 0.15) 4px, rgba(255, 255, 255, 0.15) 8px) !important;
    z-index: 1 !important;
  }
  .schematic-block {
    list-style: none !important;
    position: relative !important;
    margin-left: 0.5rem !important;
    z-index: 2 !important;
    padding: 0.85rem 1rem !important;
    border-radius: 12px !important;
  }
  .schematic-block::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: -24px !important;
    top: 1.4rem !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #64748b !important;
    box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.15) !important;
    z-index: 3 !important;
  }
  .schematic-block.featured::before {
    left: -25px !important;
    width: 10px !important;
    height: 10px !important;
    background: var(--accent-green) !important;
    box-shadow: 0 0 0 5px rgba(22, 128, 61, 0.25), 0 0 10px var(--accent-green) !important;
  }
  .rbi-mandate .rbi-description {
    margin-bottom: 1rem !important;
  }

  /* --- 7. Tablet FAQ Layout & Spacing --- */
  .faq-section {
    padding: 5rem 0 !important;
  }
  .faq-section h2 {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 2.5rem !important;
  }
  .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .faq-item {
    padding: 1.5rem 1.25rem !important;
    border-radius: 12px !important;
  }
  .faq-item h3 {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
  }
  .faq-item p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
  }
}



@media (max-width: 900px) {
  /* --- Portrait Tablet adjustments (768px to 900px) to prevent squishing --- */
  .hero-value-prop {
    gap: 0.75rem !important;
    padding: 0 0.5rem !important;
  }
  .how-it-works-grid {
    gap: 0.75rem !important;
  }
  .mandate-grid {
    gap: 0.75rem !important;
  }
  .prop-item {
    padding: 1.25rem 1rem !important;
  }
  .how-card-content {
    padding: 1.25rem 1rem !important;
  }
  .mandate-grid .mandate-card {
    padding: 1.5rem 1rem 1.25rem 1rem !important;
  }
  .prop-item p, .how-card-content p, .mandate-grid .mandate-card blockquote {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }
  .prop-item h4, .how-card-content h3, .mandate-card .mandate-author strong {
    font-size: 1.1rem !important;
  }
}



@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* --- 1. Mobile navigation menu & toggle --- */
  .navbar-links {
    display: none !important;
  }
  .navbar-desktop-btn {
    display: none !important;
  }
  .navbar-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
  }
  .hamburger-bar {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 9px;
    transition: var(--transition-smooth);
  }
  .navbar-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .navbar-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .navbar-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .navbar-mobile-menu {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: #fdfcf8;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(28, 25, 23, 0.15);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  .navbar-mobile-menu.active {
    transform: translateY(12px);
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
  }
  .navbar-mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    transition: var(--transition-smooth);
  }
  .navbar-mobile-menu a:hover {
    color: var(--text-primary);
  }

  /* --- 2. Mobile Container Layout Adjustments --- */
  section {
    padding: 3rem 0 !important;
  }
  .container {
    width: 100% !important;
    padding: 0 1rem !important;
  }
  .navbar-logo span {
    font-size: 1.2rem;
  }
  .logo-icon {
    width: 28px;
    height: 28px;
  }
  .navbar .btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
  }

  /* --- 3. Mobile Hero Layout & Sizing --- */
  .hero {
    min-height: auto !important;
    padding-top: 6.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  .hero-badge {
    margin-bottom: 1.25rem !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    padding: 0.6rem 1rem !important;
    text-align: center !important;
    width: auto !important;
    max-width: 90% !important;
    margin-bottom: 1.75rem !important;
  }
  .hero-badge .badge-pill {
    margin-bottom: 0.15rem !important;
    display: inline-block !important;
    width: fit-content !important;
  }
  .hero-title {
    font-size: 2.0rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1.25rem !important;
    max-width: 100% !important;
    width: 100%;
    word-wrap: break-word;
    letter-spacing: -0.02em !important;
  }
  .hero-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 2rem !important;
    max-width: 100% !important;
    width: 100%;
    line-height: 1.5 !important;
  }
  .hero-ctas .btn {
    padding: 0.55rem 1.25rem !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }
  .hero-value-prop {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    margin-top: 2.5rem !important;
    padding-top: 0 !important;
  }
  .prop-item {
    align-items: flex-start !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .prop-item h4 {
    font-size: 1rem !important;
  }
  .prop-item p {
    text-align: left !important;
  }

  /* --- 4. Mobile Cards Layout & Spacing --- */
  .how-card-content {
    padding: 1.25rem !important;
  }
  .feature-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem !important;
  }
  .prob-card-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }
  .prob-card {
    padding: 1.25rem !important;
  }
  .faq-item {
    padding: 1.25rem !important;
  }
  .board-banner {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }
  .board-banner h3 {
    font-size: 1.5rem;
  }
  .swipe-indicator {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: #64748b;
    background: rgba(100, 116, 139, 0.05);
    border: 1px solid rgba(100, 116, 139, 0.12);
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    margin-bottom: 1.25rem;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .mandate-section .swipe-indicator {
    color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  /* --- 5. Touch-Optimized Horizontal Swipe Carousels (Mobile Layout) --- */
  .carousel-mobile {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 1rem !important;
    gap: 1rem !important;
    padding: 0.5rem 1rem 1.5rem 1rem !important;
    margin: 0 -1rem !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: auto !important;
  }
  .carousel-mobile::-webkit-scrollbar {
    display: none;
  }
  .carousel-item-mobile {
    flex: 0 0 calc(100vw - 2rem) !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    max-width: calc(100vw - 2rem) !important;
    margin: 0 !important;
  }
  .schematic-block.carousel-item-mobile {
    flex: 0 0 calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
  }
  .carousel-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
  }
  .carousel-dots .dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(100, 116, 139, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .carousel-dots .dot.active {
    background: var(--accent-purple) !important;
    width: 20px !important;
    border-radius: 4px !important;
  }
  
  .faq-grid {
    gap: 1.5rem;
    grid-template-columns: 1fr !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* --- 6. Mobile Segmented Switchers & Content Tabs --- */
  .features-mobile-tabs, .rbi-mobile-selector {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.25rem !important;
    padding: 0.25rem 0.5rem !important;
    margin: 0 0 1.25rem 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .features-mobile-tabs::-webkit-scrollbar, .rbi-mobile-selector::-webkit-scrollbar {
    display: none;
  }
  .feature-tab-btn, .rbi-selector-btn {
    flex: 0 0 auto;
    background: rgba(100, 116, 139, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.45rem 0.1rem !important;
    font-size: 0.8rem !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: var(--transition-smooth) !important;
    white-space: nowrap !important;
  }
  .feature-tab-btn.active {
    background: var(--accent-purple) !important;
    border-color: var(--accent-purple) !important;
    color: #ffffff !important;
  }
  .rbi-selector-btn.active {
    background: #ffffff !important;
    color: var(--text-primary) !important;
    box-shadow: 0 2px 6px rgba(28, 25, 23, 0.08) !important;
  }

  /* Override grids to take full 100% width for the active card, preventing 50% squishing */
  .features-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .problems-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Hide inactive switcher cards on mobile */
  .features-grid .feature-item {
    display: none !important;
  }
  .features-grid .feature-item.active {
    display: flex !important;
  }
  .problems-grid .prob-card-wrapper {
    display: none !important;
  }
  .problems-grid .prob-card-wrapper.active {
    display: block !important;
  }

  /* --- 7. Mobile Mandate Quotes Selector & Elegant Slide-Fade transition --- */
  .mandate-mobile-selector {
    display: flex !important;
    justify-content: space-between !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 4px !important;
    margin: 0 auto 1.5rem auto !important;
    width: 100% !important;
    max-width: 320px !important;
    box-sizing: border-box !important;
  }
  .mandate-selector-btn {
    flex: 1 !important;
    text-align: center !important;
    padding: 0.5rem 0.25rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
  }
  .mandate-selector-btn.active {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  }
  
  .mandate-grid {
    position: relative !important;
    perspective: 1200px !important;
    height: 330px !important;
    display: block !important;
    overflow: visible !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .mandate-grid .mandate-card {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    opacity: 0 !important;
    filter: blur(4px) !important;
    pointer-events: none !important;
    display: block !important;
    transform: translateX(30px) scale(0.98) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    border-radius: 16px !important;
    padding: 2.25rem 1.5rem 1.75rem 1.5rem !important;
  }
  .mandate-grid .mandate-card.active {
    opacity: 1 !important;
    filter: blur(0px) !important;
    pointer-events: auto !important;
    transform: translateX(0) scale(1) !important;
    z-index: 2 !important;
  }
  .mandate-grid .mandate-card.prev {
    opacity: 0 !important;
    filter: blur(4px) !important;
    pointer-events: none !important;
    transform: translateX(-30px) scale(0.98) !important;
    z-index: 1 !important;
  }
  .mandate-grid .mandate-card blockquote {
    color: #f4f4f5 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    font-family: var(--font-sans) !important;
    font-style: normal !important;
  }
  .mandate-grid .mandate-card .quote-mark {
    display: block !important;
    font-size: 4rem !important;
    color: rgba(255, 255, 255, 0.04) !important;
    line-height: 1 !important;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    font-family: Georgia, serif !important;
  }
  .mandate-card .mandate-author {
    font-size: 0.85rem !important;
    color: #a1a1aa !important;
    margin-top: 1rem !important;
  }
  .mandate-card .mandate-author strong {
    color: #ffffff !important;
    display: block !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.2rem !important;
  }

  /* --- 8. API Integration Schematic: Mobile Vertical Timeline --- */
  .architecture-schematic {
    max-width: 100% !important;
    margin: 2rem auto 0 auto !important;
    padding: 1.25rem !important;
    padding-bottom: 2.5rem !important;
  }
  .schematic-connector {
    display: none !important;
  }
  .schematic-flow {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    padding-left: 30px !important;
    margin-left: 0 !important;
    list-style: none !important;
  }
  .schematic-flow::before {
    content: '' !important;
    position: absolute !important;
    top: 1.25rem !important;
    bottom: 1.25rem !important;
    left: 15px !important;
    width: 2px !important;
    background: repeating-linear-gradient(to bottom, transparent, transparent 4px, rgba(255, 255, 255, 0.15) 4px, rgba(255, 255, 255, 0.15) 8px) !important;
    z-index: 1 !important;
  }
  .schematic-block {
    list-style: none !important;
    position: relative !important;
    margin-left: 0.5rem !important;
    z-index: 2 !important;
    padding: 0.85rem 1rem !important;
    border-radius: 12px !important;
  }
  .schematic-block::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: -24px !important;
    top: 1.4rem !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #64748b !important;
    box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.15) !important;
    z-index: 3 !important;
  }
  .schematic-block.featured::before {
    left: -25px !important;
    width: 10px !important;
    height: 10px !important;
    background: var(--accent-green) !important;
    box-shadow: 0 0 0 5px rgba(22, 128, 61, 0.25), 0 0 10px var(--accent-green) !important;
  }
  .rbi-mandate .rbi-description {
    margin-bottom: 1rem !important;
  }
  .rbi-mobile-selector {
    margin-top: 0.5rem !important;
    margin-bottom: 0px !important;
  }
  .problems-grid {
    margin-top: 0.75rem !important;
    padding-top: 0px !important;
    gap: 0px !important;
  }
  .prob-card-wrapper {
    margin-top: 0px !important;
    padding-top: 0px !important;
  }

  /* --- 9. Mobile Typography Scale --- */
  h1, .hero-title {
    font-size: 2.0rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }
  h2, .section-title-center, .rbi-title, .mandate-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.025em !important;
  }
  h3, .how-card-content h3, .feature-header h3, .prob-card h3, .board-banner h3, .modal-header h3 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
  }
  h4, .prop-item h4, .schematic-block h4, .footer-column h3 {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    letter-spacing: -0.015em !important;
  }
  p, .prop-item p, .how-card-content p, .feature-body, .semantic-para, .schematic-block p, .mandate-card blockquote, .faq-item p, .footer-brand p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    color: var(--text-secondary) !important;
  }
  .hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  .badge-text, .node-label, .widget-header, .key-status-label, .timeline-tooltip, .chat-messages .msg-bubble, .btn {
    font-size: 0.8rem !important;
  }
  .suggested-title, .card-step-num, .schematic-step-num, .date-tag {
    font-size: 0.75rem !important;
  }

  /* --- 10. Mobile FAQ Layout & Spacing --- */
  .faq-section {
    padding: 3rem 0 !important;
  }
  .faq-section h2 {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
  }
  .faq-grid {
    gap: 1rem !important;
    grid-template-columns: 1fr !important;
  }
  .faq-item {
    padding: 1.15rem 1rem !important;
    border-radius: 12px !important;
  }
  .faq-item h3 {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
  }
  .faq-item p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
  }
}



@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem !important;
    max-width: 100% !important;
    width: 100% !important;
    line-height: 1.15 !important;
  }
  .hero-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .interested-input-wrapper {
    flex-direction: column;
    border-radius: 12px;
    padding: 0.5rem;
    gap: 0.75rem;
    background: transparent;
    border: none;
  }
  .interested-input-wrapper input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    padding: 0.75rem 1.5rem;
    width: 100%;
    text-align: center;
  }
  .interested-input-wrapper button {
    width: 100%;
  }
  .node-label {
    font-size: 0.55rem;
    text-align: center;
    max-width: 55px;
    white-space: normal;
  }
  .modal-container {
    padding: 2rem 1.25rem;
    border-radius: 20px;
    margin: 1rem;
  }
  .modal-header h3 {
    font-size: 1.5rem;
  }
}

