@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Design System & CSS Variables — Southern Frontier Brand VI --- */
:root {
  /* Brand Palette */
  --brand-red:    #BC5433; /* Tea Red — primary accent */
  --brand-gold:   #E8C587; /* Tea Gold — secondary accent */
  --brand-black:  #241710; /* Deep warm black */
  --brand-brown:  #AD9D72; /* Warm umber */
  --brand-beige:  #EFE7D8; /* Parchment text */

  /* Backgrounds — warm dark surfaces */
  --bg-primary:   #1A0E09;
  --bg-secondary: #241710;
  --bg-tertiary:  #2D1F17;

  /* Text */
  --text-primary:   #EFE7D8;
  --text-secondary: #AD9D72;
  --text-muted:     #7A6B5D;

  /* Accent — Tea Red */
  --accent-color:      #BC5433;
  --accent-hover:      #8a3724;
  --accent-glow:       rgba(188, 84, 51, 0.15);
  --accent-glow-strong: rgba(188, 84, 51, 0.45);

  /* Secondary — Gold */
  --gold:         #E8C587;
  --gold-subtle:  rgba(232, 197, 135, 0.15);

  /* Borders */
  --border-light: rgba(239, 231, 216, 0.07);
  --border-focus: rgba(188, 84, 51, 0.45);

  /* Glass surfaces */
  --glass-bg:     rgba(36, 23, 16, 0.75);
  --glass-border: rgba(239, 231, 216, 0.06);
  --glass-blur:   16px;

  /* Typography */
  --font-family:   'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast:   all 0.2s ease;
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* --- Reusable Layout Components --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  background: linear-gradient(180deg, var(--brand-beige) 0%, var(--brand-brown) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  font-family: var(--font-family);
}

.btn-primary {
  background-color: var(--brand-red);
  color: var(--brand-beige);
  box-shadow: 0 4px 18px rgba(188, 84, 51, 0.35);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: var(--accent-hover);
  box-shadow: 0 6px 24px rgba(188, 84, 51, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--brand-beige);
  border: 1px solid rgba(239, 231, 216, 0.2);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  border-color: var(--brand-beige);
  background-color: rgba(239, 231, 216, 0.04);
  transform: translateY(-2px);
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  background-color: rgba(26, 14, 9, 0.75);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.8rem 0;
  background-color: rgba(26, 14, 9, 0.92);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo svg, .logo img {
  width: 48px;
  height: auto;
}

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

.nav-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

/* Background Gradients */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(188, 84, 51, 0.10) 0%, rgba(232, 197, 135, 0.04) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--brand-gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
  border: 1px solid rgba(232, 197, 135, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 100px;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(160deg, var(--brand-beige) 30%, var(--brand-gold) 70%, var(--brand-brown) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--brand-brown);
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
  font-style: italic;
}

.hero-body {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 3rem auto;
  line-height: 1.7;
}

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

/* Grid overlay for tech look */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(239, 231, 216, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 231, 216, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
  mask-image: radial-gradient(ellipse at center top, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 20%, transparent 75%);
  z-index: 1;
  pointer-events: none;
}

/* --- Value Proposition (S-Curve Advantage) --- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.advantage-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(var(--glass-blur));
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 20px var(--accent-glow);
}

.advantage-card:hover::before {
  transform: translateX(100%);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-brown);
  stroke-width: 1.5;
  fill: none;
  transition: var(--transition-smooth);
}

.advantage-card:hover .card-icon {
  background: rgba(188, 84, 51, 0.1);
  border-color: var(--brand-red);
}

.advantage-card:hover .card-icon svg {
  stroke: var(--brand-red);
  transform: scale(1.1);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.card-description {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- The Architecture (Interactive Feature) --- */
.architecture-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* X-Axis Labels */
.canvas-x-axis {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  pointer-events: none;
  z-index: 10;
}

.x-label {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  top: 0;
}

.x-label span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border-top: 2px solid var(--accent-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  white-space: nowrap;
}

/* Detail Panel (Pinned Bottom) */
.canvas-detail-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-light);
  padding: 1.5rem 2.5rem;
  z-index: 100;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.detail-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.detail-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  background: rgba(188, 84, 51, 0.1);
  color: var(--brand-red);
  border-radius: 4px;
}

.detail-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Left: Interactive Canvas */
.canvas-wrapper {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  height: 620px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.canvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  z-index: 10;
}

.canvas-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.canvas-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #10B981;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #10B981;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.diagram-area {
  position: relative;
  flex-grow: 1;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Interactive SVG Flow lines */
.svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.svg-overlay path {
  fill: none;
  stroke: var(--border-light);
  stroke-width: 1.5;
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
}

.svg-overlay path.active {
  stroke: var(--accent-color);
  stroke-width: 2.5;
  stroke-dasharray: 8 4;
  animation: dash 30s linear infinite;
}

.svg-overlay path.dimmed {
  opacity: 0.15;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

/* Diagram Nodes */
.node {
  position: absolute;
  z-index: 5;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}

.node.dimmed {
  opacity: 0.3;
  filter: grayscale(80%);
}

.node:hover, .node.active {
  transform: translate(-50%, -50%) scale(1.05);
}

.node-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.node-circle svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  stroke-width: 1.5;
  fill: none;
  transition: var(--transition-smooth);
}

.node-label {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

/* Strategic Execution (Column 4) */
.node-orchestrator { top: 30%; left: 88%; }
.node-planning { top: 70%; left: 88%; }

.node-orchestrator .node-circle {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--bg-tertiary) 40%, rgba(188, 84, 51, 0.06) 100%);
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 30px var(--accent-glow);
}

.node-orchestrator .node-circle svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-color);
}

.node-orchestrator .node-label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.7rem;
}

/* Data Foundation (Column 1) */
.node-analytics { top: 30%; left: 12%; }
.node-quality { top: 70%; left: 12%; }

/* Measurement (Column 2) */
.node-forecasting { top: 20%; left: 37%; }
.node-experimentation { top: 50%; left: 37%; }
.node-causal { top: 80%; left: 37%; }

/* User Intelligence (Column 3) */
.node-funnel { top: 20%; left: 63%; }
.node-segmentation { top: 50%; left: 63%; }
.node-predictive { top: 80%; left: 63%; }

.node-planning .node-circle {
  width: 64px;
  height: 64px;
  background: radial-gradient(circle, var(--bg-tertiary) 40%, rgba(232, 197, 135, 0.06) 100%);
  border: 2px solid var(--brand-gold);
  box-shadow: 0 0 20px var(--gold-subtle);
}

.node-planning .node-circle svg {
  width: 26px;
  height: 26px;
  stroke: var(--brand-gold);
}

.node-planning .node-label {
  color: var(--brand-gold);
  font-weight: 600;
  font-size: 0.8rem;
}


/* Interactive Hover/Active States */
.node:hover .node-circle, .node.active .node-circle {
  border-color: var(--accent-color);
  background: var(--bg-tertiary);
  box-shadow: 0 0 15px var(--accent-glow);
  transform: scale(1.1);
}

.node:hover .node-circle svg, .node.active .node-circle svg {
  stroke: var(--accent-color);
}

.node:hover .node-label, .node.active .node-label {
  color: var(--text-primary);
}

/* Canvas Details Panel */
.canvas-footer {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  z-index: 10;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.canvas-footer-content {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.canvas-footer-content strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.2rem;
}

/* Right: Architecture Text Content / Detail Accordion */
.architecture-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.architecture-group {
  border-left: 2px solid var(--border-light);
  padding-left: 1.5rem;
  transition: var(--transition-smooth);
}

.architecture-group.active {
  border-color: var(--accent-color);
}

.group-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.agent-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.agent-item:last-child {
  margin-bottom: 0;
}

.agent-item:hover, .agent-item.active {
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.agent-item.active {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 10px var(--accent-glow);
}

.agent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.agent-name {
  font-size: 1.05rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.agent-item:hover .agent-name, .agent-item.active .agent-name {
  color: var(--brand-red);
}

.agent-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.agent-item.active .agent-badge {
  background: rgba(188, 84, 51, 0.12);
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.agent-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.agent-item.active .agent-body {
  max-height: 80px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* --- Implementation Roadmap --- */
.roadmap-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background-color: var(--border-light);
}

.roadmap-step {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6rem;
  position: relative;
}

.roadmap-step:last-child {
  margin-bottom: 0;
}

.roadmap-content {
  width: 44%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(var(--glass-blur));
}

.roadmap-step:nth-child(even) .roadmap-content {
  margin-left: auto;
}

.roadmap-step:nth-child(odd) .roadmap-content {
  margin-right: auto;
}

.roadmap-content:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 15px var(--accent-glow);
}

.roadmap-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 2px solid var(--border-light);
  z-index: 5;
  transition: var(--transition-smooth);
}

.roadmap-step:hover .roadmap-dot {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

.roadmap-phase {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.roadmap-title {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.roadmap-description {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.roadmap-impact {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.roadmap-impact-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.roadmap-impact-desc {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 400;
}

/* --- Final CTA & Contact Section --- */
.contact-section {
  background: radial-gradient(ellipse at bottom center, rgba(188, 84, 51, 0.12) 0%, rgba(232, 197, 135, 0.04) 40%, transparent 70%);
}

.contact-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 4.5rem 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(var(--glass-blur));
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
}

/* --- Footer --- */
footer {
  background-color: #0F0704;
  border-top: 1px solid rgba(239, 231, 216, 0.06);
  padding: 5rem 0 3rem 0;
  color: var(--text-secondary);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
  align-items: flex-start;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-logo svg, .footer-logo img {
  width: 28px;
  height: 28px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 5rem;
}

.footer-links-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

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

.footer-link-item a {
  font-size: 0.85rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Interactive Consultations Scheduler (Modal UI) --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(188, 84, 51, 0.12);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 3rem;
  position: relative;
}

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

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition-fast);
}

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

.modal-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Scheduler Steps */
.step-container {
  display: none;
}

.step-container.active {
  display: block;
}

/* Agent Configurator Step */
.agent-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.agent-select-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.agent-select-item:hover {
  border-color: var(--border-focus);
}

.agent-select-item.selected {
  border-color: var(--brand-red);
  background: rgba(188, 84, 51, 0.08);
  box-shadow: 0 0 12px rgba(188, 84, 51, 0.2);
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.agent-select-item.selected .checkbox-custom {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
}

.checkbox-custom svg {
  width: 12px;
  height: 12px;
  stroke: var(--bg-primary);
  stroke-width: 3;
  fill: none;
  opacity: 0;
  transition: var(--transition-fast);
}

.agent-select-item.selected .checkbox-custom svg {
  opacity: 1;
}

.agent-select-name {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Multiplier calculator projection */
.calculator-projection {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.projection-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.projection-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-gold);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-input {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 10px rgba(188, 84, 51, 0.2);
}

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

.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.success-state {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  stroke: #10B981;
  stroke-width: 2;
  fill: none;
}

/* --- Scroll Animations / Reveal utility classes --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* --- Architect Section --- */
.architect-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem 4rem;
  margin: 2rem auto;
  max-width: 1000px;
}

.architect-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.architect-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: var(--transition-smooth);
}

.architect-container:hover .architect-image img {
  filter: grayscale(0%);
}

.architect-content {
  flex-grow: 1;
}

.architect-content .section-title {
  margin-bottom: 1.2rem;
  font-size: 2rem;
  text-align: left;
}

.architect-bio {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .architecture-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .canvas-wrapper {
    height: 520px;
  }
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Hamburger would slide this in */
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .advantage-grid {
    grid-template-columns: 1fr;
  }
  
  .roadmap-timeline::before {
    left: 20px;
  }
  
  .roadmap-step {
    flex-direction: column;
    margin-bottom: 4rem;
  }
  
  .roadmap-content {
    width: calc(100% - 40px);
    margin-left: 40px !important;
    margin-right: 0 !important;
  }
  
  .architect-container {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
    padding: 2.5rem;
  }
  
  .architect-content .section-title {
    text-align: center;
  }
  
  .roadmap-dot {
    left: 20px;
    top: 2rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 3rem;
  }
  
  .footer-links-group {
    gap: 3rem;
  }
  
  .contact-box {
    padding: 3rem 1.5rem;
  }
  
  .modal-container {
    padding: 2rem 1.5rem;
  }
  
  .agent-select-grid {
    grid-template-columns: 1fr;
  }
}
