/* WithAI.agency - Production CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Poppins:wght@400;500;600&display=swap');

/* CSS Custom Properties */
:root {
  --bg-primary: #0D0D0D;
  --bg-secondary: #1A1A1A;
  --accent-green: #00FF88;
  --accent-blue: #1E90FF;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --glow-green: 0 0 20px rgba(0, 255, 136, 0.3);
  --glow-blue: 0 0 20px rgba(30, 144, 255, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

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

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

.section {
  padding: 5rem 0;
  opacity: 0;
  transform: translateY(50px);
  transition: var(--transition);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--accent-green);
  text-decoration: none;
}

.logo-img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(var(--glow-green));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--accent-green);
}

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

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

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #1A1A1A 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* How It Works Section */
.how-it-works-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.logo-showcase {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.central-logo {
  width: 150px;
  height: 150px;
  filter: drop-shadow(var(--glow-green));
  animation: float 3s ease-in-out infinite;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Enhanced Transform Your Business Section */
.transform-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.transform-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(30, 144, 255, 0.05) 0%, transparent 70%);
  z-index: -1;
}

.transform-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.logo-glow-enhanced {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, rgba(30, 144, 255, 0.05) 50%, transparent 80%);
  border-radius: 50%;
  animation: pulse-enhanced 4s ease-in-out infinite;
  filter: blur(10px);
}

@keyframes pulse-enhanced {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
}

.reveal-text {
  position: relative;
  animation: reveal-text 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: 0.2s;
  opacity: 0;
  transform: translateY(20px);
}

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

.subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.process-ecosystem {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.hub-circle {
  width: 100px;
  height: 100px;
  background: var(--bg-secondary);
  border: 3px solid var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--glow-green);
}

.hub-logo {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.hub-pulse {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  animation: hub-pulse 2s ease-in-out infinite;
  opacity: 0.3;
}

.process-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: orbit-rotate 20s linear infinite;
}

.orbit-1 { animation-duration: 15s; }
.orbit-2 { animation-duration: 20s; animation-direction: reverse; }
.orbit-3 { animation-duration: 25s; }

.orbit-step {
  position: absolute;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  animation: counter-rotate 20s linear infinite;
}

.orbit-1 .orbit-step { animation-duration: 15s; }
.orbit-2 .orbit-step { animation-duration: 20s; animation-direction: reverse; }
.orbit-3 .orbit-step { animation-duration: 25s; }

.step-discovery {
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  border-color: var(--accent-green);
  box-shadow: var(--glow-green);
}

.step-design {
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  border-color: var(--accent-blue);
  box-shadow: var(--glow-blue);
}

.step-develop {
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  border-color: var(--accent-green);
  box-shadow: var(--glow-green);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  animation: icon-bounce 2s ease-in-out infinite;
}

.step-info h3 {
  font-size: 0.9rem;
  color: var(--accent-green);
  margin-bottom: 0.25rem;
  text-align: center;
}

.step-info p {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
}

.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.orbit-step:hover {
  transform: translateX(-50%) scale(1.1);
  border-color: var(--accent-green);
  box-shadow: var(--glow-green), 0 15px 40px rgba(0, 0, 0, 0.4);
}

.step-design:hover {
  transform: translateY(-50%) scale(1.1);
}

.step-develop:hover {
  transform: translateX(-50%) scale(1.1);
}

/* Transform Ecosystem Styles */
.transform-ecosystem {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* AI Core Hub Styles */
.ai-core-hub {
  position: relative;
  margin-bottom: 4rem;
  z-index: 5;
}

.hub-circle-enhanced {
  position: relative;
  width: 180px;
  height: 180px;
  background: var(--bg-secondary);
  border: 3px solid var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.3);
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hub-circle-enhanced:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 255, 136, 0.5);
}

.hub-inner-circle {
  position: relative;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(30, 144, 255, 0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 15px rgba(0, 255, 136, 0.2);
}

.hub-label {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-green);
  margin-top: 0.8rem;
  text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.hub-description {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 160px;
  margin-top: 0.3rem;
}

.hub-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
}

.ring1 {
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-color: rgba(0, 255, 136, 0.3);
  animation: ring-pulse 3s infinite;
}

.ring2 {
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  border-color: rgba(30, 144, 255, 0.2);
  animation: ring-pulse 3s infinite 1s;
}

.ring3 {
  top: -45px;
  left: -45px;
  right: -45px;
  bottom: -45px;
  border-color: rgba(0, 255, 136, 0.1);
  animation: ring-pulse 3s infinite 2s;
}

@keyframes ring-pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.05); opacity: 0; }
}

/* Transform Timeline Styles */
.transform-timeline {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
  z-index: 2;
}

.timeline-phase {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 120px;
  opacity: 0;
  transform: translateY(20px);
  animation: phase-appear 0.8s forwards;
}

.timeline-phase:nth-child(1) { animation-delay: 0.3s; }
.timeline-phase:nth-child(2) { animation-delay: 0.6s; }
.timeline-phase:nth-child(3) { animation-delay: 0.9s; }

@keyframes phase-appear {
  to { opacity: 1; transform: translateY(0); }
}

.phase-node {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s ease;
}

.phase-connector {
  position: absolute;
  height: 3px;
  background: linear-gradient(to right, var(--accent-green), var(--accent-blue));
  z-index: 1;
}

.phase-connector.left {
  width: 100px;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.phase-connector.right {
  width: 100px;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.phase-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(30, 144, 255, 0.2));
  transition: transform 0.3s ease, background 0.3s ease;
}

.icon-svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-green);
  filter: drop-shadow(0 0 3px rgba(0, 255, 136, 0.5));
  transition: transform 0.3s ease;
}

.discovery-icon .icon-svg { fill: var(--accent-green); }
.design-icon .icon-svg { fill: var(--accent-blue); }
.deploy-icon .icon-svg { fill: var(--accent-green); }

.phase-content {
  padding: 1.5rem 2rem;
  flex-grow: 1;
  background: rgba(13, 13, 13, 0.5);
  border-radius: 12px;
  margin-left: 2rem;
  border-left: 3px solid var(--accent-green);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phase-discovery .phase-content { border-left-color: var(--accent-green); }
.phase-design .phase-content { border-left-color: var(--accent-blue); }
.phase-deploy .phase-content { border-left-color: var(--accent-green); }

.phase-content h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.phase-discovery h3 { color: var(--accent-green); }
.phase-design h3 { color: var(--accent-blue); }
.phase-deploy h3 { color: var(--accent-green); }

.phase-description {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.phase-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.client-result {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 0.8rem;
  margin-top: 0.5rem;
}

.result-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: var(--bg-primary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.client-result p {
  font-size: 0.85rem;
  line-height: 1.3;
  margin: 0;
}

/* Timeline phase hover effects */
.timeline-phase:hover .phase-node {
  transform: scale(1.1);
}

.timeline-phase:hover .phase-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(30, 144, 255, 0.3));
}

.timeline-phase:hover .phase-content {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Transform Metrics */
.transform-highlights {
  width: 100%;
  margin-top: 1rem;
}

.transform-metrics {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.metric-card {
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  width: 150px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 255, 136, 0.2);
  border-color: rgba(0, 255, 136, 0.3);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

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

/* Connection Lines & Data Flow Animation */
.connection-lines-enhanced {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.flow-path {
  fill: none;
  stroke: rgba(0, 255, 136, 0.2);
  stroke-width: 2;
  stroke-dasharray: 8, 4;
  animation: flow-dash 30s linear infinite;
}

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

.data-point {
  fill: var(--accent-green);
  filter: drop-shadow(0 0 3px rgba(0, 255, 136, 0.7));
  animation: data-pulse 2s ease-in-out infinite;
}

@keyframes data-pulse {
  0%, 100% { opacity: 0.7; r: 4; }
  50% { opacity: 1; r: 6; }
}

/* Enhanced Button Style */
.btn-glow {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
  transition: all 0.3s ease;
}

.btn-glow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 255, 136, 0.7);
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0) 0%, rgba(0, 255, 136, 0.1) 50%, rgba(0, 255, 136, 0) 100%);
  transform: rotate(45deg);
  animation: btn-shine 3s linear infinite;
}

@keyframes btn-shine {
  0% { transform: rotate(45deg) translateX(-100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}
/* --- Enhancements for Interactive AI Factory --- */

/* Titles for Human QA Workflow & Production Guarantees */
.reviewer-checklist h3,
.sla-metrics h4 {
    color: #00FF88; /* Accent green color */
    font-weight: 600; /* Slightly bolder */
    margin-bottom: 20px; /* More space below title */
}

/* Readability for checklist items */
.reviewer-checklist .checklist-item span:not(.check-icon) {
    color: #E0E0E0; /* Lighter gray for better contrast */
    font-weight: 500;
}
.reviewer-checklist .checklist-item .check-icon {
    margin-right: 10px; /* More space for icon */
    font-size: 1.2em; /* Slightly larger icon */
}


/* Production Guarantees Styling */
.sla-metrics {
    text-align: center; /* Center the guarantees block */
}

.sla-items {
    display: flex;
    justify-content: space-around; /* Distribute items evenly */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Space between items */
}

.sla-item {
    background-color: #2a2a2e; /* Darker card background */
    padding: 25px 20px;
    border-radius: 10px;
    min-width: 180px; /* Minimum width for each item */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sla-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.25); /* Accent shadow on hover */
}

.sla-item .sla-number {
    font-size: 2.8em; /* Larger number */
    font-weight: 700; /* Bold number */
    color: #00FF88; /* Accent green for numbers */
    display: inline-block; /* For animation */
}
.sla-item .sla-unit {
    font-size: 1.8em; /* Control unit size */
    font-weight: 700;
    color: #00FF88; /* Accent green for units */
    display: inline-block;
    margin-left: 2px;
}

.sla-item .sla-text {
    font-size: 0.95em;
    color: #cccccc; /* Light gray for text */
    margin-top: 8px;
    display: block;
}

/* Responsive adjustments for SLA items if needed */
@media (max-width: 768px) {
    .sla-items {
        flex-direction: column;
        align-items: center;
    }
    .sla-item {
        width: 80%; /* Make items wider on mobile */
        max-width: 300px;
    }
}

/* Terminal Animation - Assuming current styles are okay, no changes here unless specified */
.typing-code-animation {
    /* Existing styles */
}
/* Inside the AI Factory Section */
.split-screen-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.code-demo-panel {
  position: relative;
}

.code-editor-mockup {
  background: var(--bg-secondary);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.editor-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.editor-tabs {
  display: flex;
  gap: 1rem;
}

.tab {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.tab.active {
  background: var(--accent-green);
  color: var(--bg-primary);
}

.code-content {
  padding: 2rem;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

.typing-animation .code-line {
  margin-bottom: 0.5rem;
  animation: type-in 0.5s ease-out forwards;
  opacity: 0;
}

.typing-animation .code-line:nth-child(1) { animation-delay: 0s; }
.typing-animation .code-line:nth-child(2) { animation-delay: 0.5s; }
.typing-animation .code-line:nth-child(3) { animation-delay: 1s; }
.typing-animation .code-line:nth-child(4) { animation-delay: 1.5s; }
.typing-animation .code-line:nth-child(5) { animation-delay: 2s; }
.typing-animation .code-line:nth-child(6) { animation-delay: 2.5s; }

.keyword { color: #ff79c6; }
.variable { color: var(--accent-green); }
.string { color: #f1fa8c; }
.function { color: var(--accent-blue); }
.tag { color: #ff5555; }
.attribute { color: var(--accent-green); }
.comment { color: #6272a4; }

.cursor-blink::after {
  content: '|';
  color: var(--accent-green);
  animation: blink 1s infinite;
}

.process-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  opacity: 0.6;
}

.process-step.active {
  opacity: 1;
  border-color: var(--accent-green);
  box-shadow: var(--glow-green);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-primary);
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--accent-green);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.audit-notice {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 15px;
}

.audit-icon {
  font-size: 2rem;
}

.audit-text strong {
  color: var(--accent-green);
  display: block;
  margin-bottom: 0.25rem;
}

/* Human Oversight Section */
.oversight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.team-showcase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.member-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-green);
  box-shadow: var(--glow-green);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info h3 {
  color: var(--accent-green);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

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

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
  color: var(--accent-green);
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

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

/* Toolchain Section */
.toolchain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  cursor: pointer;
}

.tool-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-green);
}

.tool-logo {
  width: 60px;
  height: 60px;
  filter: grayscale(100%);
  transition: var(--transition);
}

.tool-item:hover .tool-logo {
  filter: grayscale(0%);
}

.custom-logo {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--bg-primary);
}

.tool-name {
  font-weight: 600;
  color: var(--text-primary);
}

.tool-item.compliance .status {
  font-size: 0.8rem;
  color: var(--accent-blue);
  background: rgba(30, 144, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
}

.compliance-cta {
  margin-top: 3rem;
}

/* Testimonials Section */
.testimonials-carousel {
  position: relative;
  margin-top: 3rem;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  padding: 1rem 0;
}

.testimonial-item {
  min-width: 400px;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: var(--transition);
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.client-logo {
  margin-bottom: 1.5rem;
  height: 50px;
  display: flex;
  align-items: center;
}

.logo-svg {
  height: 100%;
  filter: grayscale(100%);
  transition: var(--transition);
}

.testimonial-item:hover .logo-svg {
  filter: grayscale(0%);
}

.logo-svg text {
  fill: var(--accent-green);
}

blockquote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

cite {
  color: var(--accent-green);
  font-weight: 600;
  font-style: normal;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.carousel-btn {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-green);
  cursor: pointer;
  transition: var(--transition);
  pointer-events: all;
}

.carousel-btn:hover {
  background: var(--accent-green);
  color: var(--bg-primary);
  box-shadow: var(--glow-green);
}

/* Resource Hub Section */
.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.resource-category h3 {
  margin-bottom: 2rem;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.resource-item {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.resource-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.resource-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.resource-date {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.resource-tag {
  background: rgba(0, 255, 136, 0.1);
  color: var(--accent-green);
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
}

.resource-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.resource-link:hover {
  color: var(--accent-green);
}

.resource-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.resource-item p {
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.download-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.download-item.featured {
  border-color: var(--accent-green);
  box-shadow: var(--glow-green);
}

.download-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.download-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.download-content h4 {
  color: var(--accent-green);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.download-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Animations */
@keyframes type-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* AI Factory Section */
.factory-split-screen {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.factory-left, .factory-right {
  flex: 1;
  min-width: 300px;
}

.code-gif-container {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 136, 0.1);
  height: 400px;
}

.gif-placeholder {
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.typing-code-animation {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #121212;
  border-radius: 6px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  color: #f1f1f1;
}

.terminal-header {
  display: flex;
  align-items: center;
  background-color: #2a2a2a;
  padding: 0.5rem 1rem;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.terminal-dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.red { background-color: #ff5f57; }
.yellow { background-color: #febc2e; }
.green { background-color: #28c940; }

.terminal-title {
  margin-left: 1rem;
  font-size: 0.9rem;
  color: #adadad;
}

.code-stream {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  font-size: 0.9rem;
}

.code-line {
  margin-bottom: 0.5rem;
  opacity: 0;
}

.animate-type {
  animation: typing 0.5s forwards;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1.0s; }
.delay-3 { animation-delay: 1.5s; }
.delay-4 { animation-delay: 2.0s; }
.delay-5 { animation-delay: 2.5s; }
.delay-6 { animation-delay: 3.0s; }
.delay-7 { animation-delay: 3.5s; }

@keyframes typing {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cursor-line {
  display: inline-block;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.reviewer-checklist {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.reviewer-checklist h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.checklist-item.completed {
  border-left: 3px solid var(--accent-green);
}

.checklist-item.active {
  border-left: 3px solid var(--accent-blue);
  background-color: rgba(30, 144, 255, 0.1);
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.2);
}

.check-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

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

.active .check-icon {
  color: var(--accent-blue);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

.sla-metrics {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sla-metrics h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.sla-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.sla-item {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.sla-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Social Proof Section */
.client-logo-item {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
  cursor: pointer;
}

.client-logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-5px);
}

.client-logos-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin: 3rem 0;
}

.testimonials-section {
  padding: 3rem 0;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  margin: 2rem auto;
  max-width: 800px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-item {
  min-width: 100%;
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  margin-right: 1rem;
}

.avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.testimonial-meta h4 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.testimonial-meta p {
  font-size: 0.9rem;
  color: var(--accent-blue);
}

.testimonial-item blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-green);
  padding-left: 1rem;
}

.testimonial-project {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 255, 136, 0.1);
  display: inline-block;
  border-radius: 4px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-btn:hover {
  background-color: var(--accent-green);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: var(--bg-primary);
  box-shadow: var(--glow-green);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-green), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-green);
  border: 2px solid var(--accent-green);
}

.btn-secondary:hover {
  background: var(--accent-green);
  color: var(--bg-primary);
  box-shadow: var(--glow-green);
}

/* Ripple Effect */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Cards */
.card {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
  transform: translateX(-100%);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
  transform: translateX(0);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-green), var(--accent-blue));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 2rem 0;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  padding: 0 2rem;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bg-primary);
  position: relative;
  z-index: 2;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--bg-primary);
  box-shadow: var(--glow-green);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.chat-button:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: var(--glow-green); }
  50% { box-shadow: var(--glow-green), 0 0 40px rgba(0, 255, 136, 0.5); }
  100% { box-shadow: var(--glow-green); }
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.9);
  transition: var(--transition);
}

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

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-green);
}

/* Enhanced Hero Section */
.chat-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.chat-subcopy {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Above-the-fold Proof Strip */
.proof-badge {
  text-align: center;
  margin-bottom: 2rem;
}

.badge-text {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(30, 144, 255, 0.1));
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.9rem;
}

.client-logos-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.7;
}

.client-logo-item {
  cursor: pointer;
  transition: var(--transition);
  padding: 1rem;
  border-radius: 10px;
  filter: grayscale(100%);
}

.client-logo-item:hover {
  filter: grayscale(0%);
  transform: translateY(-5px);
  opacity: 1;
}

.client-logo-item img {
  height: 40px;
  max-width: 120px;
}

/* Enhanced Interactive AI Factory Section */
.factory-split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.factory-left {
  position: relative;
}

.code-gif-container {
  background: var(--bg-secondary);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 400px;
}

.gif-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca3f; }

.terminal-title {
  color: var(--accent-green);
  font-weight: 600;
  margin-left: 1rem;
}

.code-stream {
  padding: 2rem;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
}

.code-line {
  margin-bottom: 0.5rem;
  opacity: 0;
  color: var(--text-primary);
}

.animate-type {
  animation: typeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 1s; }
.delay-2 { animation-delay: 2s; }
.delay-3 { animation-delay: 3s; }

.cursor-line {
  color: var(--accent-green);
  animation: blink 1s infinite;
  margin-top: 0.5rem;
}

@keyframes typeIn {
  to { opacity: 1; }
}

.factory-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.reviewer-checklist {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reviewer-checklist h3 {
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: var(--transition);
}

.checklist-item.completed {
  background: rgba(0, 255, 136, 0.1);
  border-left: 3px solid var(--accent-green);
}

.checklist-item.active {
  background: rgba(30, 144, 255, 0.1);
  border-left: 3px solid var(--accent-blue);
}

.check-icon {
  font-weight: bold;
  font-size: 1.1rem;
}

.checklist-item.completed .check-icon {
  color: var(--accent-green);
}

.checklist-item.active .check-icon {
  color: var(--accent-blue);
}

.sla-metrics {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sla-metrics h4 {
  color: var(--accent-green);
  margin-bottom: 1.5rem;
  text-align: center;
}

.sla-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.sla-item {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 255, 136, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.sla-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

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

/* Deep-dive Case Study */
.case-study-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.case-step {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.case-step::after {
  content: '→';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--accent-green);
  z-index: 2;
}

.case-step:last-child::after {
  display: none;
}

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

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-primary);
}

.step-header h3 {
  color: var(--accent-green);
  font-size: 1.2rem;
}

.tech-stack {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tech-tag {
  background: rgba(30, 144, 255, 0.1);
  color: var(--accent-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(30, 144, 255, 0.2);
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.kpi-item {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 255, 136, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.kpi-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 0.25rem;
}

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

.case-demo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.demo-video {
  background: var(--bg-secondary);
  border-radius: 15px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition);
}

.demo-video:hover {
  border-color: var(--accent-green);
  box-shadow: var(--glow-green);
}

.play-button {
  font-size: 3rem;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.demo-text {
  color: var(--text-secondary);
  font-weight: 600;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.screenshot-gallery img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Security & Compliance Ribbon */
.security-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-title h3 {
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.security-title p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.compliance-icons {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.compliance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.compliance-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.compliance-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.progress-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background: var(--accent-blue);
  color: var(--bg-primary);
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.security-download {
  background: var(--accent-green);
  color: var(--bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.security-download:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-green);
}

/* Enhanced Human Oversight Carousel */
.oversight-carousel {
  margin-bottom: 3rem;
}

.team-carousel-track {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 15px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
  padding: 2rem;
}

.team-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.team-member-large {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.member-photo-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-green);
  box-shadow: var(--glow-green);
  flex-shrink: 0;
}

.member-photo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-details h3 {
  color: var(--accent-green);
  margin-bottom: 0.25rem;
  font-size: 1.3rem;
}

.member-details .role {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.member-details blockquote {
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent-green);
  box-shadow: var(--glow-green);
}

.oversight-guarantees {
  margin-top: 2rem;
}

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

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.guarantee-icon {
  color: var(--accent-green);
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.guarantee-text {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Mini Case Pop-up Modal */
.mini-case-modal .modal-content {
  max-width: 400px;
  padding: 0;
  border-radius: 15px;
  overflow: hidden;
}

.mini-case-header {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-case-header h4 {
  color: var(--accent-green);
  margin: 0;
}

.mini-case-body {
  padding: 1.5rem;
}

.mini-case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 255, 136, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.metric-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 0.25rem;
}

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

.mini-case-body blockquote {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.mini-case-body cite {
  color: var(--accent-green);
  font-weight: 600;
  font-style: normal;
  font-size: 0.9rem;
}

/* Enhanced Chat Modal */
.chat-modal .modal-content {
  max-width: 500px;
  height: 600px;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 15px;
  overflow: hidden;
}

.chat-header {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.chat-header h3 {
  margin: 0;
  margin-bottom: 0.5rem;
}

.chat-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.chat-message {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.message-content {
  flex: 1;
}

.message-text {
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: 15px;
  border-top-left-radius: 5px;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.quick-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-option {
  background: transparent;
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: var(--accent-green);
  padding: 0.75rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.quick-option:hover {
  background: var(--accent-green);
  color: var(--bg-primary);
}

.chat-input-form {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-container {
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.chat-input:focus {
  outline: none;
  border-color: var(--accent-green);
}

.chat-send-btn {
  background: var(--accent-green);
  color: var(--bg-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.chat-send-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow-green);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: var(--transition);
    padding-top: 2rem;
    gap: 2rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-icon {
    left: 5px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .process-step {
    padding: 1rem;
    text-align: center;
  }

  .process-step.animate {
    transform: none;
  }

  .step-connector {
    display: none;
  }
  
  .section-logo {
    max-width: 120px;
  }

  .central-logo {
    max-width: 80px;
  }

  .process-ecosystem {
    padding: 2rem 0;
  }

  .hub-circle {
    width: 150px;
    height: 150px;
  }

  .hub-logo {
    max-width: 50px;
  }

  .orbit-step {
    width: 80px;
    height: 80px;
  }

  .step-discovery {
    top: 20px;
    left: 50%;
  }

  .step-design {
    top: 50%;
    right: 10px;
  }

  .step-develop {
    bottom: 20px;
    left: 50%;
  }

  .step-icon {
    font-size: 1rem;
  }

  .step-info h3 {
    font-size: 0.8rem;
  }

  .step-info p {
    font-size: 0.6rem;
  }

  .split-screen-layout,
  .factory-split-screen,
  .factory-left,
  .factory-right {
    flex-direction: column;
  }

  .toolchain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-item {
    min-width: 100%;
    padding: 1.5rem;
  }

  .testimonial-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .testimonial-industry-badge {
    position: static;
    margin-bottom: 1rem;
    display: inline-block;
  }

  .team-member {
    margin-bottom: 2rem;
  }

  .member-photo {
    width: 100px;
    height: 100px;
  }

  .download-item {
    flex-direction: column;
    text-align: center;
  }

  .download-icon {
    margin-bottom: 1rem;
  }

  .factory-split-screen,
  .factory-left,
  .factory-right {
    min-height: auto;
  }

  .case-step::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: var(--accent-green);
  }

  .case-step:last-child::after {
    display: none;
  }

  .security-strip {
    padding: 2rem 0;
  }

  .compliance-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-member-large {
    flex-direction: column;
    text-align: center;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .client-logos-strip {
    gap: 1rem;
  }

  .sla-items {
    grid-template-columns: 1fr;
  }

  .chat-modal .modal-content {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes hub-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.1; transform: scale(1.2); }
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes counter-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Enhanced testimonial features */
.testimonial-item {
  position: relative;
  min-width: 100%;
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 255, 136, 0.1);
}

.testimonial-industry-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
  color: #ffd700;
  font-size: 1.1rem;
}

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

.testimonial-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-green);
  margin-bottom: 0.25rem;
}

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

/* Testimonial animations */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes starGlow {
  0%, 100% { 
    text-shadow: 0 0 5px #ffd700; 
  }
  50% { 
    text-shadow: 0 0 15px #ffd700, 0 0 25px #ffd700; 
  }
}

.testimonial-item .stat-number {
  animation: countUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.testimonial-item:nth-child(1) .stat-number { animation-delay: 0.3s; }
.testimonial-item:nth-child(2) .stat-number { animation-delay: 0.5s; }
.testimonial-item:nth-child(3) .stat-number { animation-delay: 0.7s; }

.testimonial-rating .stars {
  animation: starGlow 2s ease-in-out infinite;
  animation-delay: 1s;
}

.testimonial-industry-badge {
  animation: slideInFromRight 0.6s ease-out;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Enhanced loading state for testimonials */
.testimonial-item.loading .stat-number::after {
  content: '...';
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

/* Video Showcase Section */
.video-showcase {
  padding: 3rem 0;
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 255, 136, 0.1);
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 136, 0.2);
}

.demo-video {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-primary);
  border-radius: 15px;
  max-height: 500px;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 15px;
}

.video-container:hover .video-overlay {
  opacity: 1;
}

.play-indicator {
  width: 80px;
  height: 80px;
  background: rgba(0, 255, 136, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.video-container:hover .play-indicator {
  transform: scale(1);
  background: var(--accent-green);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
}

.play-icon {
  width: 30px;
  height: 30px;
  color: var(--bg-primary);
  margin-left: 3px; /* Slight offset for visual balance */
}

.video-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

/* Video loading state */
.demo-video:not([src]) {
  background: linear-gradient(45deg, var(--bg-secondary) 25%, transparent 25%), 
              linear-gradient(-45deg, var(--bg-secondary) 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, var(--bg-secondary) 75%), 
              linear-gradient(-45deg, transparent 75%, var(--bg-secondary) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  min-height: 300px;
}

/* Responsive video */
@media (max-width: 768px) {
  .video-container {
    margin: 0 1rem;
    border-radius: 10px;
  }
  
  .demo-video {
    border-radius: 10px;
    max-height: 300px;
  }
  
  .play-indicator {
    width: 60px;
    height: 60px;
  }
  
  .play-icon {
    width: 24px;
    height: 24px;
  }
  
  .video-description {
    font-size: 0.9rem;
    padding: 0 1rem;
  }
}
