* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background-color: #0a0e1a;
  color: #e5e7eb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Diagonal background instead of grid */
.diagonal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: 
    linear-gradient(135deg, transparent 45%, rgba(37, 99, 235, 0.05) 45%, rgba(37, 99, 235, 0.05) 55%, transparent 55%),
    linear-gradient(-135deg, transparent 45%, rgba(37, 99, 235, 0.03) 45%, rgba(37, 99, 235, 0.03) 55%, transparent 55%);
  background-size: 80px 80px;
  opacity: 0.6;
}

.content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Fade-in animation instead of fade-up */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border: none;
  padding: 1.1rem 2.8rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #bfdbfe;
  border: 2px solid rgba(37, 99, 235, 0.6);
  padding: 1.1rem 2.8rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
  color: white;
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: auto;
  padding: 2rem 0;
}

.hero-content {
  max-width: 600px;
}

.eyebrow {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.eyebrow-badge {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.4);
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #93c5fd;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom right, #ffffff, #bdd3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-metrics-inline {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.metric-inline {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Fira Code', monospace;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(100, 116, 139, 0.3);
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Upload Zone Demo */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.upload-zone-demo {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.upload-zone {
  background: rgba(15, 23, 42, 0.6);
  border: 2px dashed rgba(37, 99, 235, 0.5);
  border-radius: 1.2rem;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-zone:hover {
  border-color: #2563eb;
  background: rgba(15, 23, 42, 0.8);
  transform: scale(1.02);
}

.upload-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  color: #60a5fa;
}

.upload-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.upload-subtext {
  font-size: 0.9rem;
  color: #64748b;
}

.processing-visual {
  margin-top: 2rem;
  opacity: 0.7;
  transform: translateY(10px);
  transition: all 0.6s ease;
}

.file-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 0.8rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.file-icon {
  font-size: 1.8rem;
}

.file-name {
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.extraction-flow {
  text-align: center;
  margin-bottom: 1rem;
}

.extract-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  padding: 0.4rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.progress-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  background: #60a5fa;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.output-preview {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 0.8rem;
  padding: 1.2rem;
}

.output-header {
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.output-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-family: 'Fira Code', monospace;
}

.field-key {
  color: #94a3b8;
}

.field-val {
  color: #e2e8f0;
  font-weight: 500;
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 700px;
  margin: 0 auto;
}

/* HOW IT WORKS - TIMELINE */
.how-it-works {
  padding: 2rem 0;
}

.flow-timeline {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.flow-step {
  flex: 1;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.flow-step:hover {
  border-color: #2563eb;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.step-visual {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Fira Code', monospace;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-icon-wrapper {
  width: 40px;
  height: 40px;
  color: #60a5fa;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: white;
}

.step-content p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tech-note {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  color: #93c5fd;
  font-family: 'Fira Code', monospace;
  display: inline-block;
}

.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.connector-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.1));
}

.connector-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #60a5fa;
}

/* BEFORE/AFTER SPLIT */
.before-after-split {
  padding: 2rem 0;
}

.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.split-panel {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.before-panel {
  border-color: rgba(220, 60, 60, 0.4);
}

.after-panel {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.15);
}

.panel-label {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(100, 116, 139, 0.3);
}

.panel-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.impact-item {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.impact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.impact-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.impact-text strong {
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
}

.impact-text span {
  color: #64748b;
  font-size: 0.9rem;
}

.impact-callout {
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: 1rem;
  padding: 2.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.callout-stat {
  font-size: 4rem;
  font-weight: 800;
  font-family: 'Fira Code', monospace;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.callout-text {
  font-size: 1.2rem;
  color: #e2e8f0;
}

/* WHY SALESFORCE */
.why-salesforce {
  padding: 2rem 0;
  background: rgba(15, 23, 42, 0.3);
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.salesforce-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  color: #60a5fa;
  margin-bottom: 1.2rem;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: white;
}

.benefit-card p {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* TECH STACK SIMPLE */
.tech-stack-simple {
  padding: 2rem 0;
}

.tech-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.tech-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 0.8rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-item:hover {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-3px);
}

.tech-item-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.tech-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* FINAL CTA COMPACT */
.final-cta-compact {
  padding: 2rem 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.05));
  border: 2px solid rgba(37, 99, 235, 0.4);
  border-radius: 1.5rem;
  padding: 4rem 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-box p {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .flow-timeline {
    flex-direction: column;
  }

  .flow-connector {
    flex-direction: row;
    height: auto;
    padding: 1rem 0;
  }

  .connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.1));
  }

  .connector-arrow {
    position: static;
    transform: rotate(90deg);
  }

  .salesforce-benefits {
    grid-template-columns: 1fr;
  }

  .split-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-metrics-inline {
    flex-direction: column;
    align-items: start;
    gap: 1.5rem;
  }

  .metric-divider {
    display: none;
  }

  .tech-grid-simple {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-wrapper {
    padding: 0 1.5rem;
  }

  .why-salesforce {
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .cta-group {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .tech-grid-simple {
    grid-template-columns: 1fr;
  }
}