/* ==========================================================================
   DESIGN SYSTEM & GLOBAL VARIABLES (LIGHT THEME)
   ========================================================================== */

:root {
  /* Colors - Light Theme Inversion */
  --bg-primary: #ffffff;          /* White body */
  --bg-card: rgba(241, 245, 249, 0.8); /* Very light slate-grey background for cards */
  --bg-secondary: rgba(226, 232, 240, 0.6);
  --bg-tertiary: rgba(248, 250, 252, 0.9);
  
  --text-primary: #0f172a;        /* Near black */
  --text-secondary: #475569;      /* Dark slate grey */
  --text-muted: #94a3b8;          /* Muted grey */
  
  /* Adjusted Accents for high contrast on light backgrounds */
  --accent-indigo: #4c00b0;       /* Slightly darker indigo for readability */
  --accent-indigo-hover: #4c00b0;
  --accent-indigo-glow: rgba(99, 102, 241, 0.1);
  
  --accent-cyan: #0891b2;
  --accent-cyan-hover: #0369a1;
  --accent-cyan-glow: rgba(6, 182, 212, 0.1);
  
  --accent-emerald: #059669;      /* Darker emerald */
  --accent-emerald-glow: rgba(16, 185, 129, 0.1);
  
  --border-color: rgba(0, 0, 0, 0.1); /* Darker borders for contrast */
  --border-focus: rgba(76, 0, 176, 1);
  --border-glass: rgba(0, 0, 0, 0.05);

  /* Shadows (Adjusted for light theme) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
  
  /* Transition Curves */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Typography */
  --font-heading: 'Outfit', sans-serif; /* Change 'Outfit' to your desired font */
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  :root {
  /* Reduce the max-width slightly to push content inward */
  --max-width: 2000px; 
}
}

/* ==========================================================================
   PAGE LIVE BACKGROUND STYLING
   ========================================================================== */

#page-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-color: #fafafa; /* Crisp premium B2B Slate-Black */
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: transparent;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

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

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
  z-index: 1000;
  transition: width 0.1s ease-out;
}

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

ul {
  list-style: none;
}

img, canvas, svg {
  display: block;
  max-width: 100%;
}

/* ==========================================================================
   REUSABLE COMPONENTS & UTILITIES
   ========================================================================== */

.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 200px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.section-pretitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-indigo);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
}

/* Text Gradient Effect */
.text-gradient {
  color: #4c00b0; /* This is your --accent-indigo color */
  background: none; /* Ensure any background is removed */
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: text;
}

.text-bold {
  font-weight: 700;
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-bounce);
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent-indigo);
  color: #ffffff;
  border-color: var(--accent-indigo);
}

.btn-primary:hover {
  background-color: var(--accent-indigo-hover);
  border-color: var(--accent-indigo-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px var(--accent-indigo-glow);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 6px;
}

.header-cta .btn-primary {
    margin-right: 24px; /* Adjust this value (e.g., 10px, 30px) to move it left */
    margin-bottom: 3px;
    margin-top: 3px;
}

.btn-block {
  width: 100%;
}

/* Pulsing indicators */
.pulse-ring {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse-ring-anim 2s infinite ease-in-out;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-indigo);
  border-radius: 50%;
  animation: pulse-ring-anim 2s infinite ease-in-out;
}

.pulse-emerald {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse-emerald-ring-anim 2s infinite ease-in-out;
}

@keyframes pulse-ring-anim {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(76, 0, 176, 1);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
  }
  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

@keyframes pulse-emerald-ring-anim {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* ==========================================================================
   NAVIGATION STYLES
   ========================================================================== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 99;
  background: rgba(245, 245, 245, 0.973);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  height: 70px;
  background: rgb(255, 255, 255);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
  color: #ffffff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  box-shadow: 0 4px 10px var(--accent-indigo-glow);
}

.logo-text-stack {
  display: flex;
  flex-direction: column; /* Stacks the names */
  line-height: 1;
}

.logo-name-top, .logo-name-bottom {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.logo-purple {
  
  color: var(--accent-indigo);
}

.logo-domain {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.logo-image {
    height: 35px;      /* Adjust height to match your nav bar */
    width: auto;       /* Maintains aspect ratio */

}

/* Optional: Add hover effect if desired */
.logo-image:hover {
    opacity: 0.8;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

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

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}

.menu-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}



/* Mobile Nav Styles */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: #faf7f8;
  border-bottom: 1px solid var(--border-color);
  padding: 24px;
  z-index: 98;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-btn {
  margin-top: 10px;
  width: 100%;
}

/* Menu Toggle active states */
.menu-toggle.active .menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.section-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-color); /* Uses your existing system color */
  margin: 0; /* Or add margin here if you want space around the line */
}
/* ==========================================================================
   HERO SECTION STYLES
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 200px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: rgba(248, 242, 242, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 60px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
  white-space: nowrap;
}

/* Container for the list */
.hero-check-list {
    list-style: none;
    padding: 0;
    margin-top: 24px; /* Space between the paragraph and the list */
}

.hero-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* The tick mark */
.hero-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}
.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-color);
}

/* ==========================================================================
   INTERACTIVE SWARM BLUEPRINT GENERATOR WIDGET (HERO WIDGET)
   ========================================================================== */

   .simulator-wrapper {
    max-width: 600px; /* Constrains the widget size */
    margin-right: 20;
    margin-top: 60px;
    margin-left: auto;
    padding: 0 24px;
}

/* Ensure the canvas container fits within the new wrapper */
.hero-canvas-container {
    width: 100%;
    position: relative;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .simulator-wrapper {
        max-width: 100%; /* Full width on smaller screens for better touch access */
    }
}
.hero-canvas-container {
  position: relative;
  width: 100%;
}

.canvas-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-indigo-glow) 0%, rgba(255, 248, 248, 0) 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.canvas-card {
  position: relative;
  background-color: rgba(242, 245, 253, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  z-index: 2;
  transition: var(--transition-smooth);
}

.canvas-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}

.canvas-header {
  height: 40px;
  background-color: rgba(175, 174, 174, 0.4);
  border-bottom: 1px solid var(--border-color);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-dots {
  display: flex;
  gap: 6px;
}

.header-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.canvas-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ping-dot-emerald {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse-emerald-ring-anim 1.5s infinite;
}

.canvas-version {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Generator Body sections */
.generator-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 380px;
  justify-content: center;
}

.gen-hidden {
  display: none !important;
}

.generator-body h4 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.gen-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: -12px;
  margin-bottom: 8px;
}

.gen-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flex-1 {
  flex: 1;
}

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

.gen-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background-color: rgba(175, 174, 174, 0.4);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  resize: none;
  transition: var(--transition-smooth);
}

.gen-group textarea:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px var(--accent-indigo-glow);
}

.gen-row {
  display: flex;
  gap: 20px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gen-val-display {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-indigo);
}

.gen-slider {
  background-color: rgba(0, 0, 0, 0.08);
}

/* Loading Panel */
.gen-loading-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.gen-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(53, 53, 53, 0.15);
  border-top-color: var(--accent-indigo);
  border-radius: 50%;
  animation: gen-spin 0.8s linear infinite;
}

@keyframes gen-spin {
  to { transform: rotate(360deg); }
}

.gen-loading-center h5 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.loading-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -6px;
}

.gen-progress-bar-wrap {
  width: 100%;
  height: 4px;
  background-color: rgba(133, 133, 133, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin: 6px 0;
}

.gen-progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
  border-radius: 2px;
  transition: width 0.1s linear;
}

.gen-loading-console {
  background-color: #020617;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  height: 70px;
  padding: 10px 14px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Blueprint results style */
.blueprint-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.result-success-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
}

.btn-reset-gen {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-reset-gen:hover {
  color: var(--accent-indigo);
}

.result-box-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}

.result-box-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.result-swarm-nodes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.node-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.node-tag.color-cyan {
  background-color: rgba(6, 182, 212, 0.05);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.15);
}

.node-tag.color-indigo {
  background-color: rgba(99, 102, 241, 0.05);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.15);
}

.node-tag.color-emerald {
  background-color: rgba(16, 185, 129, 0.05);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.15);
}

.result-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-stat-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-num-highlight {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.result-num-highlight.color-green {
  color: var(--accent-emerald);
}

.result-recipe-box {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#result-recipe-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.standards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
}

.standards-section {
  padding-top: 10px;
}
.standards-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-secondary);
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .standards-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.philosophy-item {
    display: flex; /* Aligns icon and text side-by-side */
    gap: 20px; /* Space between icon and text */
    margin-bottom: 40px; /* Vertical space between the two items */
}

.icon-box {
    font-size: 2rem; /* Adjust icon size as needed */
    flex-shrink: 0; /* Ensures the icon doesn't squish */
    padding-top: 5px; /* Fine-tune alignment with the heading */
}

.text-content h4 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
}

.text-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
}
.philosophy-section {
    /* Increase this value to create more space */
    margin-top: 60px; 
}
/* ==========================================================================
   MARQUEE SECTION
   ========================================================================== */

.marquee-container {
  overflow: hidden; /* Clips the logos that slide off-screen */
  width: 100%;
  padding: 2rem 0;
  background: var(--bg-primary);
}

.marquee-track {
  display: flex;
  gap: 8rem; /* Space between logos */
  width: max-content; /* Keeps them all in one line */
  animation: scroll 30s linear infinite; /* Adjust 20s to control speed */
  will-change: transform;
}

.marquee-track img {
  height: 70px; /* Consistent height for all logos */
  width: auto;
  transition: var(--transition-smooth);
}



@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-20%); } /* Scrolls exactly half-way, showing the duplicates */
}

/* ==========================================================================
   OUR OPERATIONAL PHILOSOPHY
   ========================================================================== */

   .architect-card {
    max-width: 320px;
    margin: 0 auto;
    padding: 24px;
    background: #e5e5e7; /* Dark background color */
    border-radius: 20px;
    text-align: center;
    border: 1px solid #1f2937;
}

.architect-img {
    width: 100%;
    border-radius: 8px;
}

.architect-badge {
    background: #4f46e5; /* Purple badge color */
    color: white;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.portrait-slot {
    border: 2px dashed #e2e4e7; /* Dashed border color */
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.architect-info h3 {
    margin: 0 0 8px 0;
    color: rgb(0, 0, 0);
}

.architect-title {
    font-size: 0.9rem;
    color: #000000;
    margin-bottom: 15px;
}

.architect-specialty {
    color: #4f46e5;
    font-family: monospace;
    font-size: 0.85rem;
}
/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  padding: 100px 0;
}

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

.service-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-indigo), var(--accent-cyan));
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  background-color: rgba(175, 174, 174, 0.4);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid var(--border-color);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background-color: var(--accent-indigo);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--accent-indigo-glow);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.service-bullets {
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-bullets li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding-left: 20px;
}

.service-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ==========================================================================
   THE ROADMAP
   ========================================================================== */

  .roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 24px;
    margin-top: 60px;
}

.phase-card {
    background: rgba(241, 245, 249, 0.8); /* Matches the dark background in image_07d18a.jpg */
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.phase-card:hover {
    /* Increases the shadow depth for an "elevated" feel */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    
    /* Slightly lifts the card up */
    transform: translateY(-5px);
}

.phase-label {
    background: #4c00b0; /* Dark blue badge */
    color: #fbfbfc;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    align-self: flex-start;
    margin-bottom: 20px;
}

.phase-time {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.deliverable {
    margin-top: auto; /* Pushes deliverable to the bottom of the card */
    padding-top: 20px;
    border-top: 1px solid #374151;
    font-size: 0.85rem;
    color: #1b1a1b;
}
.deliverable-label {
    color: var(--accent-indigo); /* Or use any color code like #5d5dff */
}
.roadmap-header-container {
    text-align: center; /* Centers the text */
    max-width: 700px;   /* Prevents the description from getting too wide */
    margin: 0 auto 60px auto; /* Centers the container and adds space below */
}

/* Optional: Styling for your pre-title to match the image */
.section-pretitle {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-indigo);
    margin-bottom: 12px;
}

/* Add this to create separation after the roadmap section */
.roadmap-section {
  /* Increase this value to create more space (e.g., 100px, 120px) */
  margin-bottom: 120px; 
  margin-top: 20px;
}

/* Optional: Ensure consistent spacing globally */
.section-container {
  padding-bottom: 0; /* Prevents double spacing if padding is also used */
}


/* ==========================================================================
   <!-- What to Expect During Integration -->
   ========================================================================== */


.white-info-card {
    background-color: rgba(241, 245, 249, 0.8);
    color: #000000;
    border-radius: 20px; 
    padding: 60px; 
    border: 1px solid var(--border-color);
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.white-info-card h2 {
    color: #4c00b0;
    text-align: center;
    margin-bottom: 40px;
}

.white-info-card h3 {
    color: #000000;
    margin-bottom: 10px;
}

.white-info-card p {
    color: #333333; /* Dark gray for readability */
    line-height: 1.6;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.white-info-card:hover {
    /* Increases the shadow depth for an "elevated" feel */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    
    /* Slightly lifts the card up */
    transform: translateY(-5px);
}
/* ==========================================================================
   TRUST / CAPABILITIES SECTION
   ========================================================================== */

.trust-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(230, 233, 236, 0.8);
}

.trust-lead {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.capabilities-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.capability-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.capability-logo:hover {
  color: var(--accent-indigo);
  transform: scale(1.05);
}

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

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  padding: 100px 0;
}

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

.service-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-indigo), var(--accent-cyan));
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  background-color: rgba(175, 174, 174, 0.4);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid var(--border-color);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background-color: var(--accent-indigo);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--accent-indigo-glow);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.service-bullets {
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-bullets li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding-left: 20px;
}

.service-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent-cyan);
  font-weight: 700;
}


/* ==========================================================================
   ROI CALCULATOR SECTION
   ========================================================================== */

.calculator-section {
  padding: 100px 0;
  padding-top: 40px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.calculator-inputs {
  padding: 36px;
  border-radius: 12px;
}

.calculator-inputs h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.input-group {
  margin-bottom: 32px;
}

.input-group:last-child {
  margin-bottom: 0;
}

.input-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.input-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.input-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-indigo);
}

.range-subtext {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Custom Range Slider */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(175, 174, 174, 0.4);
  outline: none;
  transition: var(--transition-smooth);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: pointer;
  border: 2px solid #0b0f19;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
}

.slider::-webkit-slider-thumb:hover {
  background: var(--accent-indigo);
  transform: scale(1.2);
}

/* Outputs */
.calculator-outputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.output-card {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.output-card.bg-highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(6, 182, 212, 0.06));
  border-color: rgba(99, 102, 241, 0.25);
}

.output-pre {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.output-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: #08470d;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.output-number.small-val {
  font-size: 2.25rem;
}

.output-number.color-indigo {
  color: var(--accent-indigo);
}

.output-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.outputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-cta-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cta-tick {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 4px;
}

.cta-bullet span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
}

.cta-btn {
  margin-top: 8px;
}

/* ==========================================================================
   ABOUT / STORY SECTION
   ========================================================================== */

.about-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);

  position: relative;
  background-image: linear-gradient(rgba(227, 155, 236, 0.5), rgba(255, 255, 255, 0.9)), 
                    url('assets/bg2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Creates a premium scroll effect */
}

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

.about-image-side {
  position: relative;
  display: flex;
  justify-content: center;
}

.image-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.architect-card {
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.architect-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5);
}

.architect-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background-color: var(--accent-indigo);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.architect-portrait-box {
  width: 100%;
  min-width: 240px;
  height: 320px;
  border-radius: 12px;
  border: 2px dashed rgba(76, 0, 176, 1);
  background-color: rgba(9, 13, 22, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
  color: var(--text-muted);
  overflow: hidden;
}

.architect-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the space without stretching */
  object-position: top; /* Keeps your face/head in frame if the image is tall */
  transition: var(--transition-smooth);
}

.architect-card:hover .architect-img {
  transform: scale(1.03); /* Subtle zoom on hover for a high-end feel */
}
.architect-card:hover .architect-portrait-box {
  border-color: var(--accent-indigo);
  background-color: rgba(99, 102, 241, 0.05);
  color: var(--text-secondary);
}

.architect-portrait-box .placeholder-icon {
  font-size: 3rem;
}

.architect-portrait-box .placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.architect-info h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.architect-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.specialty-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-indigo);
  font-weight: 700;
}

/* Content side */
.about-content-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;       /* Ensure it's responsive */
  max-width: 70%;    /* Restricts width to 70% of the parent container */
  margin: 0;         /* Removes auto-centering */
  padding-right: 24px; /* Optional: adds breathing room so it's not flush right */
}

.about-lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-features-vertical {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.about-feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-detail h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-detail p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.about-content-full {
  width: 100%;       /* Responsive default */
  max-width: 65%;    /* This forces the text to stop at 70% */
  margin: 0;         /* Ensures it sticks to the left */
  text-align: left;  /* Explicitly aligns text to the left */
}

.about-section .section-container {
  display: block;    /* Prevents flex/grid from overriding the width above */
}

@media (max-width: 900px) {
  .about-content-full {
    max-width: 100%; /* Full width on small screens */
  }
}
/* ==========================================================================
   THE CORE TEAM SECTION
   ========================================================================== */

.team-section {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  padding-bottom: 40px;
  padding-right: 160px;
}

.team-grid-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.team-content-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team-lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.team-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.team-standards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.standard-pill {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.team-image-side {
    /* Set a maximum width to control the total size of the grid */
    max-width: 300px; 
    margin-left: auto; /* Keeps the grid aligned to the right, or 'auto' to center */
}

.team-photo-placeholder {
  width: 100%;
  max-width: 440px;
  height: 300px;
  border-radius: 16px;
  border: 2px dashed rgba(6, 182, 212, 0.35);
  background-color: rgba(9, 13, 22, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.team-photo-placeholder:hover {
  border-color: var(--accent-cyan);
  background-color: rgba(6, 182, 212, 0.05);
  color: var(--text-secondary);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.team-photo-placeholder .placeholder-icon {
  font-size: 3rem;
}

.team-photo-placeholder .placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.team-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates 2 columns */
    gap: 20px; /* Spacing between the 4 boxes */
    padding-top: 80px;
}

.team-photo-box {
    aspect-ratio: 1 / 1; /* Makes each box a perfect square */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the square without stretching */
}

.member-card {
    background: rgba(241, 245, 249, 0.8); /* Matches the dark theme */
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.member-image-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}
.member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-card h3 {
    color: #1f1d1d;
    font-size: 1rem;
    margin: 0 0 1px 0;
}

.member-role {
    color: #4c00b0; /* Cyan color matching your aesthetic */
    font-size: 0.8rem;
    font-family: monospace;
}
/* ==========================================================================
   CASE STUDIES SECTION
   ========================================================================== */

.cases-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section-title {
  font-size: 1.5rem;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.case-card {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}


.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-muted);
  box-shadow: var(--shadow-xl);
}

.case-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(15, 23, 42, 0.4);
}

.case-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover .case-image-wrap img {
  transform: scale(1.05);
}

.case-card-body {
  padding: 32px 36px 36px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-indigo);
  margin-bottom: 14px;
}


.case-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
  padding-top: 10px;
}

.case-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.case-metrics {
  display: flex;
  gap: 36px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border-color);
}

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

.testimonial-card {
  padding: 36px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-muted);
  box-shadow: var(--shadow-xl);
}

.testimonial-rating {
  color: var(--accent-cyan);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.bg-violet {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.bg-cyan {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.bg-emerald {
  background: linear-gradient(135deg, #059669, #10b981);
}

.author-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.author-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT / BRIEFING FORM SECTION
   ========================================================================== */

.contact-section {
  padding: 100px 0;
}

.contact-box {
  padding: 56px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.contact-alert {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-header h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: rgba(210, 210, 211, 0.6);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px var(--accent-indigo-glow);
}

/* Valid / Invalid style cues */
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #ef4444;
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.error-message {
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 500;
  opacity: 0;
  transform: translateY(3px);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.form-group.has-error .error-message {
  opacity: 1;
  transform: translateY(0);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 24px;
}

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-lock {
  color: var(--text-muted);
  flex-shrink: 0;
}

.submit-arrow {
  transition: var(--transition-bounce);
}

.btn:hover .submit-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   FOOTER SECTION STYLES
   ========================================================================== */

.main-footer {
  background-color: rgba(241, 245, 249, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 72px 0 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-tagline-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 320px;
}

.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a:hover {
  color: var(--accent-indigo);
  padding-left: 2px;
}

/* ==========================================================================
   TOAST SYSTEM
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1001;
  pointer-events: none;
}

.toast {
  background-color: var(--text-primary);
  color: #0b0f19;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  animation: toast-in 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
             toast-out 0.3s ease forwards 4.7s;
  transform: translateX(120%);
}

.toast-success {
  border-left: 4px solid var(--accent-emerald);
}

.toast-error {
  border-left: 4px solid #ef4444;
}

@keyframes toast-in {
  to {
    transform: translateX(0);
  }
}

@keyframes toast-out {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE LAYOUTS)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .sandbox-workspace {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-grid, .team-grid-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  
  .about-content-side, .team-content-side {
    align-items: center;
    text-align: center;
  }
  
  .about-lead, .team-lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-features-vertical {
    text-align: left;
  }

  .team-image-side {
    order: 2;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .header-cta .btn {
    display: none; /* Hide primary CTA on mobile header, toggle handles it */
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-box {
    padding: 32px 24px;
  }
  
  .form-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .team-floating-card {
    right: -10px;
    bottom: -24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .outputs-row {
    grid-template-columns: 1fr;
  }
  
  .output-number {
    font-size: 2.75rem;
  }
}