:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --secondary: #6366f1;
  --success: #10b981;
  --warning: #f59e0b;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: rgba(30, 41, 59, 0.5);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.1);
  --glow: rgba(14, 165, 233, 0.5);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1), transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(16, 185, 129, 0.1), transparent 50%),
    var(--bg-dark);
  z-index: -1;
}

.bg-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(14, 165, 233, 0.03) 2px,
      rgba(14, 165, 233, 0.03) 4px
    );
  pointer-events: none;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-light);
}

.lang-selector {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.25rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
}

.lang-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 1.5rem;
  transition: all 0.3s;
  font-size: 0.875rem;
  font-weight: 500;
}

.lang-btn.active {
  background: var(--primary);
  color: white;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 2rem;
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin: 2rem 0;
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-light);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.8;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: var(--primary);
}

.hero-visual {
  position: relative;
}

/* Product Screenshot Slider */
.product-screenshot-slider {
  position: relative;
  max-width: 100%;
  height: auto;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  transition: transform 0.3s ease;
  max-width: none;
}

.slide:hover img {
  transform: scale(1.02);
}

/* Instagram-style Navigation */
.slider-dots-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.product-screenshot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.screenshot-main:hover, .screenshot-results:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(14, 165, 233, 0.3);
}

.screenshot-results {
  opacity: 0.9;
}

/* How It Works Section - Enhanced */
.how-diagram {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(99, 102, 241, 0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.aha-moment {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.15));
  border: 2px solid var(--primary);
  border-radius: 3rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 1rem;
}

/* Main Flow Diagram */
.flow-main {
  max-width: 1200px;
  margin: 4rem auto 0;
  position: relative;
}

/* Flow Step Container */
.flow-step-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.flow-step {
  flex: 1;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.4s;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.flow-step:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(14, 165, 233, 0.2);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
  z-index: 10;
}

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

.step-emoji {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.step-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.step-tech {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  border-left: 3px solid var(--primary);
  border-radius: 0.5rem;
  color: var(--primary-light);
  font-family: 'Monaco', 'Courier New', monospace;
  margin-top: auto;
}

.step-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 0.5rem;
}

/* Arrow Connector */
.flow-arrow {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

/* Special Step: Split Flow */
.split-flow {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(99, 102, 241, 0.05);
  border: 2px dashed var(--secondary);
  border-radius: 1.5rem;
}

.split-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2rem;
}

.split-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.path-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.path-card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
}

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

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

.path-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
}

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

/* Final Result */
.result-showcase {
  margin-top: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(14, 165, 233, 0.1));
  border: 2px solid var(--success);
  border-radius: 1.5rem;
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}



.result-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--success), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.result-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.result-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--success);
}

.result-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Example Walkthrough */
.example-walkthrough {
  margin-top: 4rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  backdrop-filter: blur(20px);
}

.example-header {
  text-align: center;
  margin-bottom: 2rem;
}

.example-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.example-query {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.15));
  border: 2px solid var(--primary);
  border-radius: 3rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--primary-light);
  margin-top: 1rem;
}

.example-timeline {
  margin-top: 2rem;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-marker {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.125rem;
  position: relative;
  z-index: 5;
}

.timeline-item:not(:last-child) .timeline-marker::after {
  content: '';
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  background: linear-gradient(180deg, var(--primary), transparent);
}

.timeline-content {
  flex: 1;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* Removed duplicate/unused workflow styles */

/* Removed duplicate mobile styles - consolidated below */


.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-light);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}


/* Differentiators Section */
.differentiators {
  padding: 6rem 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Comparison Table Style */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.comparison-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s;
  margin-bottom: 1rem;
}

.comparison-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.15);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}

.comparison-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.comparison-title-group {
  flex: 1;
}

.comparison-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.comparison-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.comparison-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

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

.vs-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.vs-label.others {
  color: var(--text-muted);
}

.vs-label.toraken {
  color: var(--primary-light);
}

.vs-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.vs-item.negative {
  opacity: 0.7;
}

.vs-item.positive {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.vs-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.1));
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

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

.stat-detail {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* Removed duplicate metrics styles - using .stats-grid instead */

.integrations {
  padding: 4rem 0;
  text-align: center;
}

.integration-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.7;
}

.integration-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s;
}

.integration-logo:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.vendor-favicon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

/* Mobile integration logos */
@media (max-width: 768px) {
  .integration-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1.5rem;
  }
  
  .integration-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    margin-bottom: 0rem;
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 500;
  }
  
  .vendor-favicon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    flex-shrink: 0;
  }
}

/* Enhanced How It Works Mobile Responsive */
@media (max-width: 968px) {
  .flow-step-container {
    flex-direction: column;
    gap: 1rem;
  }

  .flow-arrow {
    transform: none;
    margin: 1rem 0;
    font-size: 0;
  }
  
  .flow-arrow::before {
    content: '↓';
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    animation: pulse 2s ease-in-out infinite;
  }

  .split-paths {
    grid-template-columns: 1fr;
  }

  .result-stats {
    gap: 2rem;
  }

  .timeline-item {
    gap: 1rem;
  }

  .timeline-marker {
    width: 40px;
    height: 40px;
  }

  .how-diagram {
    padding: 3rem 0;
  }
}

/* Use Case Section */
.use-cases {
  padding: 6rem 0;
  position: relative;
}

/* Featured Use Cases Grid */
.featured-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.case-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: auto;
  min-height: auto;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.4s;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.case-card:hover::before {
  transform: scaleX(1);
}

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

.case-emoji {
  font-size: 3rem;
  flex-shrink: 0;
  animation: float 3s ease-in-out infinite;
}

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

.case-card:hover .case-emoji {
  transform: translateY(-5px);
  animation: none;
}

.case-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.case-query {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(14, 165, 233, 0.05);
  border-left: 3px solid var(--primary);
  border-radius: 0.5rem;
  line-height: 1.5;
}

.case-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 0.75rem;
  margin-top: 1rem;
}

.result-text {
  font-size: 0.95rem;
  color: var(--success);
  font-weight: 600;
}

.result-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Interactive Demo Area */
.interactive-demo {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.1));
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  margin-top: 4rem;
  backdrop-filter: blur(20px);
}

.demo-header {
  text-align: center;
  margin-bottom: 2rem;
}

.demo-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.demo-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.demo-categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.category-pill {
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.category-pill:hover,
.category-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.demo-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.example-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.example-bubble:hover {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--primary);
  transform: translateX(4px);
}

.example-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.example-bubble:hover .example-icon {
  opacity: 1;
}

.example-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.cta-demo {
  text-align: center;
  margin-top: 3rem;
}

.btn-try-live {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 3rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 25px var(--glow);
  text-decoration: none;
}

.btn-try-live:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--glow);
}

/* Mobile Responsive for Use Cases */
@media (max-width: 768px) {
  .case-header {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .case-emoji {
    font-size: 2.5rem;
  }

  .case-title {
    font-size: 1.125rem;
  }

  .interactive-demo {
    padding: 2rem;
  }

  .demo-examples {
    grid-template-columns: 1fr;
  }

  .category-pill {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Removed duplicate how-it-works styles - using .how-diagram instead */

/* Enterprise Pricing Section */
.pricing {
  padding: 6rem 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.15);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.05));
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-tier {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-currency {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pricing-volume {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.volume-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-light);
}

.volume-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.875rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.feature-icon {
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pricing-cta {
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  display: block;
}

.pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow);
}

.pricing-cta.secondary {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  color: var(--primary-light);
}

/* ROI Calculator */
.roi-calculator {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.1));
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  margin: 4rem 0;
}

.roi-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.roi-metric {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.roi-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 0.5rem;
}

.roi-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.roi-calculation {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.calc-row:last-child {
  border-bottom: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--success);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--border);
}

.calc-label {
  color: var(--text-muted);
}

.calc-value {
  font-weight: 600;
  color: var(--text);
}

/* Pricing Notes */
.pricing-notes {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 3rem;
}

.pricing-notes h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.pricing-notes ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.pricing-notes li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pricing-notes li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.cta {
  padding: 6rem 0;
  text-align: center;
}

.cta-content {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.1));
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  backdrop-filter: blur(10px);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

@media (max-width: 768px) {
  .nav-links { gap: 1rem; }
  .nav-links a { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  
  /* Enterprise Pricing Mobile */
  .pricing {
    padding: 3rem 0;
  }
  
  .pricing-card {
    padding: 2rem;
  }
  
  .pricing-price {
    font-size: 2.25rem;
  }
  
  .roi-calculator {
    padding: 2rem;
  }
  
  .roi-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Removed duplicate flow styles */

  /* Mobile Differentiators */
  .differentiators {
    padding: 3rem 0;
  }

  .comparison-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .comparison-vs {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .vs-divider {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

  .comparison-title {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .product-screenshot {
    max-width: 100%;
  }
}



/* Tab Navigation for How It Works */
.how-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 1rem;
}

.how-tabs::-webkit-scrollbar {
  display: none;
}

.how-tab {
  padding: 0.75rem 2rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.how-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.how-tab:hover:not(.active) {
  border-color: var(--primary);
}

/* Mobile tab adjustments */
@media (max-width: 768px) {
  .how-tabs {
    justify-content: flex-start;
    padding: 0 2rem;
    margin: 2rem -2rem;
  }
  
  .how-tab {
    flex-shrink: 0;
    white-space: nowrap;
    min-width: max-content;
  }
}

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

.how-tab-content.active {
  display: block;
}

/* Use Case Section */
.use-cases {
  padding: 6rem 0;
  position: relative;
}

/* Featured Use Cases Grid */
.featured-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}


/* Mobile - Horizontal scroll for cards */
@media (max-width: 968px) {
  /* Prevent horizontal scroll from affecting entire page */
  body {
    overflow-x: hidden;
    overflow-y: auto; /* Ensure vertical scrolling is allowed */
  }
  
  .use-cases {
    padding: 3rem 0;
    overflow-x: hidden; /* Prevent horizontal scroll from affecting page */
  }

  .featured-cases {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: visible; /* Allow vertical scrolling to pass through */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    margin: 0 -2rem 2rem;
    padding: 0 2rem 1rem;
    scroll-behavior: smooth;
    contain: layout; /* CSS containment to isolate scroll */
    touch-action: pan-x pan-y; /* Allow both horizontal and vertical panning */
  }
  
  .featured-cases::-webkit-scrollbar {
    height: 6px;
  }
  
  .featured-cases::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .featured-cases::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
  }

  .case-card {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    padding: 1.5rem;
  }

  .case-emoji {
    font-size: 2.5rem;
  }

  .case-title {
    font-size: 1.125rem;
  }
}

/* ============================================
   FIX 2: Horizontal Scroll for Differentiators
   ============================================ */

/* Desktop - keep existing accordion */
.comparison-accordion {
  max-width: 1000px;
  margin: 0 auto 3rem;
}

/* Mobile - horizontal scroll for comparison cards */
@media (max-width: 968px) {
  .differentiators {
    overflow-x: hidden; /* Prevent horizontal scroll from affecting page */
    overflow-y: visible; /* Ensure vertical scrolling works */
  }
  
  .comparison-accordion {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: visible; /* Allow vertical scrolling to pass through */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    margin: 0 -2rem 3rem;
    padding: 0 2rem 1rem;
    scroll-behavior: smooth;
    contain: layout; /* CSS containment to isolate scroll */
    touch-action: pan-x pan-y; /* Allow both horizontal and vertical panning */
  }
  
  .comparison-accordion::-webkit-scrollbar {
    height: 6px;
  }
  
  .comparison-accordion::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .comparison-accordion::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
  }
  
  .comparison-card.accordion-item {
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    padding: 1.5rem; /* Reduced from 2.5rem */
  }
  
  /* Always show content on mobile (no accordion behavior) */
  .accordion-item .accordion-content {
    max-height: none !important;
    overflow: visible;
  }
  
  
  .comparison-card.accordion-item .accordion-content {
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
  }
  
  /* Hide accordion arrow on mobile */
  .accordion-arrow {
    display: none;
  }
  
  /* Remove accordion cursor on mobile */
  .accordion-item .accordion-trigger {
    cursor: default;
  }
}


.accordion-item .accordion-trigger {
  cursor: pointer;
  position: relative;
}

.accordion-arrow {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s;
}

/* Mobile accordion arrow positioning */
@media (max-width: 768px) {
  .accordion-arrow {
    right: 1rem;
    top: 1rem;
    transform: none;
    font-size: 1.25rem;
  }
}

.accordion-item.active .accordion-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Mobile active state */
@media (max-width: 768px) {
  .accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
  }
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* Mobile accordion content should allow expansion */
@media (max-width: 768px) {
  .accordion-content {
    overflow: visible;
  }
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
}

.accordion-item:not(.active) .comparison-vs {
  display: none;
}
