* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #2563eb;
  --dark-blue: #1d4ed8;
  --light-blue: #60a5fa;
  --accent-blue: #93c5fd;
  --salesforce-blue: #00A1E0;
  --bg-dark: #0a0e1a;
  --bg-card: #121623;
  --text-primary: #e5e7eb;
  --text-secondary: #94a3b8;
  --border-color: rgba(37, 99, 235, 0.2);
  --success: #22c55e;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Particle Background */
.particle-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(1);
  }
}

.content-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  padding: 1.1rem 2.5rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.6);
}

.btn-primary.large {
  padding: 1.3rem 3rem;
  font-size: 1.1rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
  color: var(--accent-blue);
  padding: 1.1rem 2.5rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.btn-secondary.large {
  padding: 1.3rem 3rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: auto;
  padding: 2rem 0 3rem 0;
}

.status-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.3rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--salesforce-blue);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 161, 224, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 161, 224, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}

.gradient-text {
  background: linear-gradient(135deg, var(--light-blue), var(--salesforce-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Salesforce Agent Hub */
.salesforce-agent-hub {
  background: linear-gradient(135deg, rgba(18, 22, 35, 0.95), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.salesforce-agent-hub::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 161, 224, 0.1) 0%, transparent 70%);
  animation: hubGlow 6s ease-in-out infinite;
}

@keyframes hubGlow {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(180deg); }
}

.hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

.salesforce-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--success);
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
}

.status-dot.active {
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
}

/* Agent Workflow */
.agent-workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.workflow-stage {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  transition: all 0.4s ease;
  opacity: 0.6;
}

.workflow-stage.active {
  opacity: 1;
  border-color: var(--salesforce-blue);
  background: rgba(0, 161, 224, 0.1);
  box-shadow: 0 0 25px rgba(0, 161, 224, 0.2);
}

.stage-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 0.5rem;
  color: var(--light-blue);
  flex-shrink: 0;
}

.stage-icon svg {
  width: 22px;
  height: 22px;
}

.stage-content {
  flex: 1;
}

.stage-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 0.2rem;
}

.stage-detail {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: 'IBM Plex Mono', monospace;
}

.stage-status {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--success);
  flex-shrink: 0;
}

.stage-status.active {
  color: var(--salesforce-blue);
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.workflow-connector {
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connector-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--border-color), transparent);
  position: relative;
  overflow: hidden;
}

.connector-pulse {
  position: absolute;
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, transparent, var(--salesforce-blue), transparent);
  animation: connectorFlow 2s linear infinite;
}

@keyframes connectorFlow {
  from { transform: translateY(-30px); }
  to { transform: translateY(30px); }
}

/* Hub Footer Metrics */
.hub-footer {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

.metric-item {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  font-family: 'IBM Plex Mono', monospace;
  background: linear-gradient(135deg, var(--light-blue), var(--salesforce-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 1rem;
}

/* Problem Section */
.problem-section {
  padding: 3rem 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.problem-card {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(220, 60, 60, 0.3);
  border-radius: 1.2rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 60, 60, 0.6);
  box-shadow: 0 20px 40px rgba(220, 60, 60, 0.2);
}

.problem-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #f87171;
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.problem-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.solution-banner {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(0, 161, 224, 0.2));
  border: 2px solid var(--primary-blue);
  border-radius: 1.5rem;
  padding: 2.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.3);
}

.banner-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.banner-content h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 0.5rem;
}

.banner-content p {
  color: var(--accent-blue);
  font-size: 1.1rem;
}

/* Architecture Flow */
.architecture-section {
  padding: 3rem 0;
}

.architecture-flow {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  overflow-x: visible;
  padding: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-step {
  flex: 0 1 220px;
  height: 380px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 1.2rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.flow-step:hover {
  transform: translateY(-5px);
  border-color: var(--salesforce-blue);
  box-shadow: 0 20px 40px rgba(0, 161, 224, 0.3);
}

.step-header {
  margin-bottom: 1.5rem;
}

.step-number {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-blue), var(--salesforce-blue));
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  font-family: 'IBM Plex Mono', monospace;
}

.step-header h3 {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 0.5rem;
}

.tech-stack-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-pill {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  color: var(--accent-blue);
  font-family: 'IBM Plex Mono', monospace;
}

.step-body {
  overflow-y: auto;
  flex: 1;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.flow-arrow {
  display: none;
}

.flow-arrow svg {
  width: 100%;
  height: 100%;
}

/* Integration Grid */
.integration-section {
  padding: 3rem 0;
}

.integration-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  overflow-x: visible;
}

.integration-card {
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 1.2rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.integration-card:hover {
  transform: translateY(-5px);
  border-color: var(--salesforce-blue);
  box-shadow: 0 20px 40px rgba(0, 161, 224, 0.2);
}

.integration-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.integration-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 0.75rem;
  color: var(--salesforce-blue);
}

.integration-icon svg {
  width: 24px;
  height: 24px;
}

.integration-header h3 {
  font-size: 1.2rem;
  color: white;
}

.integration-features {
  list-style: none;
}

.integration-features li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.integration-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--salesforce-blue);
  font-weight: 700;
}

/* Results Section */
.results-section {
  padding: 3rem 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.result-card {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 1.2rem;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.result-card:hover {
  transform: translateY(-5px);
  border-color: var(--salesforce-blue);
  box-shadow: 0 20px 40px rgba(0, 161, 224, 0.2);
}

.result-quote {
  font-size: 5rem;
  line-height: 0.5;
  color: rgba(37, 99, 235, 0.3);
  margin-bottom: 1rem;
}

.result-text {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.result-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--salesforce-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.author-avatar svg {
  width: 28px;
  height: 28px;
}

.author-name {
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.author-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.result-metric {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1rem;
}

.metric-icon {
  font-size: 2rem;
}

.metric-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1;
}

.metric-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

/* Tech Cloud */
.tech-section {
  padding: 3rem 0;
}

.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tech-item {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 0.8rem 1.8rem;
  border-radius: 3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  transition: all 0.3s ease;
  cursor: default;
}

.tech-item:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--salesforce-blue);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 161, 224, 0.3);
}

/* CTA Section */
.cta-section {
  padding: 3.5rem 0;
}

.cta-container {
  background: linear-gradient(135deg, rgba(18, 22, 35, 0.95), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(20px);
  border: 2px solid var(--primary-blue);
  border-radius: 1.5rem;
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 161, 224, 0.15) 0%, transparent 70%);
  animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20%, 20%) scale(1.3); }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cta-visual {
  position: relative;
  z-index: 2;
}

.floating-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.card-title {
  font-weight: 700;
  color: white;
  font-size: 0.95rem;
}

.card-status {
  color: var(--success);
  font-size: 0.85rem;
  font-family: 'IBM Plex Mono', monospace;
}

.card-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  font-family: 'IBM Plex Mono', monospace;
  background: linear-gradient(135deg, var(--light-blue), var(--salesforce-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cta-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .architecture-flow {
    gap: 1.5rem;
  }

  .flow-step {
    flex: 0 1 200px;
    height: 380px;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .content-container {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .solution-banner {
    flex-direction: column;
    text-align: center;
  }

  .integration-grid {
    gap: 1rem;
  }

  .integration-card {
    padding: 1.5rem 1rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .integration-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .integration-header h3 {
    font-size: 0.9rem;
  }

  .integration-features {
    font-size: 0.8rem;
  }

  .integration-features li {
    padding: 0.4rem 0;
    padding-left: 1rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-benefits {
    flex-direction: column;
  }
}