/* ----------------------------------------------------
   Wilson Lane Systems - Design System & Custom Styles
   ---------------------------------------------------- */

/* Reset & Variables */
:root {
  /* Backgrounds */
  --bg-primary: #f8fafc;       /* Premium slate off-white */
  --bg-secondary: #f1f5f9;     /* Light slate grey for alternating sections */
  --bg-card: #ffffff;          /* Crisp white for cards to pop */
  --bg-dark: #0b1329;          /* Deep rich corporate navy */
  --bg-dark-secondary: #111a36;/* Lighter dark navy for card highlights/inner containers */
  
  /* Typography Colors */
  --text-primary: #0f172a;     /* Deep slate-900 for high readability */
  --text-secondary: #334155;   /* Slate-700 for secondary copy */
  --text-muted: #64748b;       /* Slate-500 for captions and borders */
  --text-light: #f8fafc;       /* Slate-50 for dark background contrast */
  --text-light-secondary: #cbd5e1; /* Slate-300 for secondary copy on dark bg */
  
  /* Borders & Accents */
  --border-color: #e2e8f0;     /* Slate-200 for clean structural lines */
  --border-dark: #1e293b;      /* Slate-800 for dark section borders */
  --accent-color: #1e3a8a;     /* Deep royal navy for primary links/actions */
  --accent-color-hover: #172554;/* Darker navy for interactive hover states */
  --steel-blue: #475569;       /* Slate-600 for icons/labels */
  --steel-blue-light: #94a3b8; /* Slate-400 for secondary highlights */
  
  /* Status Colors */
  --success-color: #10b981;     /* Muted emerald green */
  --warning-color: #f59e0b;     /* Warm amber */
  --info-color: #3b82f6;        /* Slate blue info color */
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Lora', Georgia, serif;
  
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 12px -2px rgba(9, 9, 11, 0.03), 0 2px 6px -1px rgba(9, 9, 11, 0.02);
  --shadow-lg: 0 12px 24px -4px rgba(9, 9, 11, 0.04), 0 4px 12px -2px rgba(9, 9, 11, 0.02);
  
  /* Additional Status Colors */
  --success-dark: #065f46;
  --success-darker: #047857;
  --warning-dark: #b45309;
  --warning-light: #fbbf24;
  --info-dark: #1d4ed8;
  --danger-color: #f87171;
  --border-light: #e4e4e7;
  
  --max-width: 1120px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Typography Utility */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Sections */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-color);
}

.bg-light {
  background-color: var(--bg-secondary);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 64px auto;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-primary);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.btn-primary:hover {
  background-color: var(--accent-color-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--accent-color);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
}

.btn-light-text {
  background-color: var(--bg-primary);
  color: var(--bg-dark);
}

.btn-light-text:hover {
  background-color: var(--bg-secondary);
  color: var(--bg-dark);
  transform: translateY(-1px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  height: 80px;
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  height: 48px;
}

.logo-image {
  height: 100%;
  width: auto;
  max-height: 48px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-normal);
}

/* Hero Section */
.hero-section {
  padding: 140px 0 120px 0;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at top, rgba(248, 250, 252, 0) 30%, var(--bg-primary) 90%),
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  background-position: center top;
  border-bottom: 1px solid var(--border-color);
}

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

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

.hero-title {
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 21px);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-subtext {
  font-size: 13px;
  color: var(--text-muted);
}

.email-link {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

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

/* Audience Section */
.audience-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel-blue);
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

.audience-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.audience-item {
  background-color: var(--bg-primary);
  padding: 32px 24px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.audience-item:hover {
  background-color: var(--bg-secondary);
}

.audience-num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  display: block;
  margin-bottom: 16px;
}

.audience-item h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.audience-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.problem-card {
  background-color: var(--bg-card);
  padding: 40px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.problem-card:hover {
  background-color: var(--bg-secondary);
}

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 24px;
}

.problem-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

/* What We Build Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.service-card {
  background-color: var(--bg-card);
  padding: 32px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.service-card:hover {
  background-color: var(--bg-secondary);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.58;
  margin-bottom: 16px;
}

.service-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
}

.service-link:hover {
  color: var(--accent-color-hover);
  text-decoration: underline;
}

/* How It Works Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 48px;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 28px; /* Center of the 56px step-number */
  left: 56px;
  right: 56px;
  height: 1px;
  background-color: var(--border-color);
  z-index: 0;
}

.process-step {
  position: relative;
  background-color: var(--bg-primary);
  padding: 0 8px;
  z-index: 1;
}

.step-number {
  font-family: var(--font-sans); /* Use sans-serif for numbers to look clean and modern */
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  line-height: 1;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.process-step:hover .step-number {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
  color: var(--bg-primary);
}

.process-step h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* Example Workflows Section */
.workflow-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.tab-btn {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 6px;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
  background-color: rgba(15, 23, 42, 0.04);
}

.tab-btn.active {
  color: var(--text-primary);
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.workflow-tab-content {
  display: none;
}

.workflow-tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

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

.workflow-text h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.intro-text {
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.workflow-list {
  list-style: none;
  margin-bottom: 24px;
}

.workflow-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-secondary);
}

.workflow-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--text-muted);
  font-weight: bold;
}

.workflow-benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background-color: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 16px;
  border-radius: 6px;
}

.workflow-benefit span {
  font-size: 14px;
  color: var(--success-dark);
}

.text-success {
  color: var(--success-color);
  flex-shrink: 0;
  margin-top: 2px;
}

/* CSS Dashboard Mockups */
.mock-ui-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: var(--font-sans);
}

.mock-header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-light);
  display: inline-block;
}

.mock-dot:nth-child(1) { background-color: var(--danger-color); }
.mock-dot:nth-child(2) { background-color: var(--warning-light); }
.mock-dot:nth-child(3) { background-color: var(--success-color); }

.mock-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: auto;
  margin-right: auto;
  transform: translateX(-12px);
}

.mock-body {
  padding: 20px;
}

.mock-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px 80px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-secondary);
  font-size: 13px;
  align-items: center;
}

.mock-row:last-child {
  border-bottom: none;
}

.header-row {
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.mono {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--text-muted);
}

.semi {
  font-weight: 500;
  color: var(--text-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.badge-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-darker);
}

.badge-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--warning-dark);
}

.badge-info {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--info-dark);
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.mock-metric {
  background-color: var(--bg-secondary);
  padding: 16px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.mock-metric .label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}

.mock-metric .value {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-display);
}

.mock-metric.highlight {
  border-color: rgba(245, 158, 11, 0.3);
  background-color: rgba(245, 158, 11, 0.02);
}

.text-warning {
  color: var(--warning-dark) !important;
}

.mock-bar-chart {
  height: 8px;
  background-color: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.bar-fill {
  height: 100%;
  background-color: var(--text-primary);
  border-radius: 4px;
}

.mock-small-text {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.mock-stats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bg-secondary);
}

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

.stat-item .bold {
  font-weight: 600;
  color: var(--text-primary);
}

.trend-up {
  color: var(--success-color);
  font-size: 11px;
  margin-left: 4px;
}

/* Final CTA Section */
.final-cta-section {
  padding: 110px 0;
  background-color: var(--bg-dark);
  color: var(--bg-primary);
  border-bottom: none;
}

.final-cta-section .container {
  max-width: 800px;
}

.cta-title {
  color: var(--bg-primary);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-subtitle {
  color: var(--text-light-secondary);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-email-fallback {
  font-size: 13px;
  color: var(--text-light-secondary);
}

.cta-email-fallback .email-link {
  color: var(--bg-primary);
}

/* Footer */
.footer {
  background-color: var(--bg-dark-secondary);
  color: var(--text-light-secondary);
  padding: 80px 0 32px 0;
  border-top: 1px solid var(--border-dark);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

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

.footer-logo-wrapper {
  height: auto;
  margin-bottom: 16px;
}

.footer-logo {
  height: 100%;
  width: auto;
  max-height: 48px;
  display: block;
  /* Filter turns the black logo to a modern crisp white/gray tone suitable for dark footer */
  filter: invert(1) brightness(1.8);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

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

.link-group h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.link-group a {
  display: block;
  font-size: 14px;
  color: var(--text-light-secondary);
  margin-bottom: 12px;
}

.link-group a:hover {
  color: var(--bg-primary);
}

.domain-text {
  display: block;
  font-size: 14px;
  color: var(--text-light-secondary);
  margin-top: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light-secondary);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Accessibility & Focus */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-color);
  color: var(--bg-primary);
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.2s;
  font-weight: 500;
}
.skip-link:focus {
  top: 0;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  
  .header {
    height: 70px;
  }
  
  .nav-links {
    display: none; /* Handled by JS mobile toggle */
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
  }
  
  .header-cta {
    display: none; /* Hide top CTA on mobile to keep it clean */
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Mobile Nav Hamburguer morph to X */
  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero-section {
    padding: 100px 0 80px 0;
  }
  
  .audience-grid {
    grid-template-columns: 1fr;
  }
  
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .process-step {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .process-step:last-child {
    border-bottom: none;
  }
  
  .step-number {
    margin-bottom: 8px;
  }
  
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .workflow-tabs {
    flex-direction: column;
    gap: 4px;
    padding-bottom: 8px;
  }
  
  .tab-btn {
    text-align: left;
    padding: 12px 16px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Additional Styles for Repositioning */

.logo-text {
  font-family: var(--font-sans);
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.logo-text.text-light {
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.about-section {
  padding: 96px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: center;
}

.about-statement {
  position: relative;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.2vw, 26px);
  line-height: 1.45;
  color: var(--text-primary);
  font-style: italic;
  font-weight: 400;
}

.about-founder {
  border-left: 2px solid var(--border-color);
  padding-left: 40px;
}

.founder-bio {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.founder-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.value-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 6px 12px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.service-num {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  display: block;
  margin-bottom: 16px;
}

.build-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-color);
}

.build-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 64px;
  align-items: start;
}

.build-info {
  position: sticky;
  top: 120px;
}

.text-left {
  text-align: left;
}

.build-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 16px;
}

.build-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.build-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

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

.build-item h4 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.build-item p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Mobile Responsiveness for Repositioning Styles */
@media (max-width: 768px) {
  .about-grid,
  .build-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-founder {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
  }

  .build-info {
    position: static;
  }
}

/* Video Section */
.video-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 20px 25px -5px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-color);
  background-color: var(--bg-dark);
  margin-top: 32px;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* Controlled by JS */
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark-secondary);
  color: var(--text-light);
  padding: 24px;
  text-align: center;
}

.fallback-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 400px;
}

.fallback-icon {
  font-size: 48px;
  line-height: 1;
}

.fallback-text {
  font-size: 15px;
  color: var(--text-light-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ----------------------------------------------------
   Sub-Page Styles (About, Services, Legal)
   ---------------------------------------------------- */

.page-header {
  padding: 120px 0 64px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--accent-color);
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--border-light);
}

.page-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-title.align-left {
  text-align: left;
}

.page-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-subtitle.align-left {
  text-align: left;
  margin-left: 0;
}

/* Service Content Layout */
.service-content {
  padding: 80px 0;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
}

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

.service-main-text h2 {
  font-size: 28px;
  margin-bottom: 24px;
  margin-top: 48px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.service-main-text h2:first-child {
  margin-top: 0;
}

.service-main-text p {
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.service-main-text ul {
  list-style: none;
  margin-bottom: 32px;
}

.service-main-text li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text-secondary);
}

.service-main-text li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
  font-weight: bold;
}

.service-sidebar {
  background-color: var(--bg-secondary);
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  height: fit-content;
}

.service-sidebar h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-sidebar p {
  font-size: 14px;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.service-sidebar .btn {
  width: 100%;
}
