/* Soapbox Engage Homepage Styles - Add to your existing CSS */

/* Brand Colors */
:root {
  --sbx-primary: #375694;
  --sbx-secondary: #b0ca3f;
  --sbx-tertiary: #8230d2;
  --sbx-primary-dark: #2a4270;
  --sbx-secondary-dark: #8fa632;
}

/* Container */
.sbx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Hero Section */
.sbx-hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sbx-primary) 0%, var(--sbx-primary-dark) 50%, var(--sbx-primary) 100%);
  color: white;
}

.sbx-hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/abstract-geometric-pattern.png");
  opacity: 0.05;
}

.sbx-hero-content {
  position: relative;
  padding: 80px 20px 120px;
}

.sbx-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .sbx-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.sbx-hero-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sbx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  width: fit-content;
}

.sbx-hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: white;
}

@media (min-width: 768px) {
  .sbx-hero-title {
    font-size: 60px;
  }
}

@media (min-width: 1024px) {
  .sbx-hero-title {
    font-size: 72px;
  }
}

.sbx-hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

@media (min-width: 768px) {
  .sbx-hero-subtitle {
    font-size: 24px;
  }
}

.sbx-hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .sbx-hero-buttons {
    flex-direction: row;
  }
}

.sbx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sbx-btn-primary {
  background: var(--sbx-secondary);
  color: #1a1a1a;
}

.sbx-btn-primary:hover {
  background: var(--sbx-secondary-dark);
  transform: scale(1.05);
}

.sbx-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.sbx-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.sbx-btn-secondary-white {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 24px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sbx-btn-secondary-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sbx-hero-visual {
  position: relative;
}

.sbx-hero-image-container {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sbx-hero-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  opacity: 0.8;
}

.sbx-floating-card {
  position: absolute;
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease-out;
}

.sbx-floating-card-left {
  bottom: -24px;
  left: -24px;
}

.sbx-floating-card-right {
  top: -24px;
  right: -24px;
}

.sbx-card-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sbx-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sbx-card-icon-green {
  background: rgba(176, 202, 63, 0.2);
  color: var(--sbx-secondary);
}

.sbx-card-icon-purple {
  background: rgba(130, 48, 210, 0.2);
  color: var(--sbx-tertiary);
}

.sbx-card-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--sbx-primary);
}

.sbx-card-label {
  font-size: 12px;
  color: #666;
}

.sbx-wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.sbx-wave-divider svg {
  width: 100%;
  display: block;
}

/* Client Logos */
.sbx-client-logos {
  padding: 48px 0;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.sbx-section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.sbx-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: center;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .sbx-logo-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.sbx-client-logo {
  height: 48px;
  filter: grayscale(100%);
}

/* Stats Section */
.sbx-stats-section {
  padding: 64px 0;
  background: white;
}

.sbx-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .sbx-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sbx-stat-item {
  text-align: center;
}

.sbx-stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--sbx-primary);
  margin-bottom: 8px;
}

.sbx-stat-title {
  color: #4b5563;
  font-weight: 500;
  margin-bottom: 4px;
}

.sbx-stat-subtitle {
  font-size: 14px;
  color: #6b7280;
}

/* CRM Sync Section */
.sbx-crm-sync-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #eff6ff 0%, #f3e8ff 100%);
}

.sbx-crm-sync-content {
  max-width: 800px;
  margin: 0 auto;
}

.sbx-section-header {
  text-align: center;
  margin-bottom: 32px;
}

.sbx-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.sbx-badge-green {
  background: var(--sbx-secondary);
  color: #1a1a1a;
}

.sbx-badge-blue {
  background: rgba(55, 86, 148, 0.1);
  color: var(--sbx-primary);
}

.sbx-badge-purple {
  background: rgba(130, 48, 210, 0.1);
  color: var(--sbx-tertiary);
}

.sbx-section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--sbx-primary);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .sbx-section-title {
    font-size: 48px;
  }
}

.sbx-section-description {
  font-size: 18px;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .sbx-section-description {
    font-size: 20px;
  }
}

.sbx-sync-feed-container {
  padding: 24px;
  background: linear-gradient(135deg, white 0%, #f9fafb 100%);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sbx-sync-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sbx-sync-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  animation: sbx-slide-in 0.4s ease-out;
}

.sbx-sync-icon {
  font-size: 18px;
}

.sbx-sync-text {
  flex: 1;
  font-size: 14px;
  color: #374151;
  min-width: 0;
}

.sbx-sync-time {
  font-size: 12px;
  color: #9ca3af;
}

/* Why Choose Section */
.sbx-why-choose-section {
  padding: 80px 0;
  background: white;
}

.sbx-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 64px;
}

@media (min-width: 768px) {
  .sbx-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sbx-feature-card {
  padding: 32px;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.sbx-feature-card:hover {
  border-color: var(--sbx-secondary);
}

.sbx-feature-card-blue {
  background: linear-gradient(135deg, #eff6ff 0%, white 100%);
}

.sbx-feature-card-purple {
  background: linear-gradient(135deg, #f3e8ff 0%, white 100%);
}

.sbx-feature-card-green {
  background: linear-gradient(135deg, #f0fdf4 0%, white 100%);
}

.sbx-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.sbx-feature-icon-blue {
  background: rgba(55, 86, 148, 0.1);
  color: var(--sbx-primary);
}

.sbx-feature-icon-purple {
  background: rgba(130, 48, 210, 0.1);
  color: var(--sbx-tertiary);
}

.sbx-feature-icon-green {
  background: rgba(176, 202, 63, 0.1);
  color: var(--sbx-secondary);
}

.sbx-feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--sbx-primary);
  margin-bottom: 16px;
}

.sbx-feature-description {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 24px;
}

.sbx-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sbx-feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sbx-feature-list-item span {
  font-size: 14px;
  color: #374151;
}

/* Integrations Section */
.sbx-integrations-section {
  padding: 64px 0;
  background: #f5f7fa;
}

.sbx-integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sbx-integration-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sbx-integration-card {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.sbx-integration-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.sbx-integration-logo {
  height: 48px;
}

.sbx-integration-footer {
  text-align: center;
  margin-top: 32px;
}

.sbx-integration-footer p {
  color: #4b5563;
  font-weight: 500;
}

/* Consultants Section */
.sbx-consultants-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--sbx-primary) 0%, var(--sbx-primary-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.sbx-consultants-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/abstract-geometric-pattern.png");
  opacity: 0.05;
}

.sbx-consultants-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

@media (min-width: 1024px) {
  .sbx-consultants-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sbx-consultants-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sbx-consultants-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: white;
}

@media (min-width: 768px) {
  .sbx-consultants-title {
    font-size: 48px;
  }
}

.sbx-consultants-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.sbx-consultants-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sbx-consultants-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sbx-consultants-item-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}

.sbx-consultants-item-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.sbx-consultants-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}

@media (min-width: 640px) {
  .sbx-consultants-buttons {
    flex-direction: row;
  }
}

.sbx-consultants-card-container {
  padding: 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sbx-consultants-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
}

.sbx-consultants-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sbx-consultants-card-icon-green {
  background: var(--sbx-secondary);
  color: #1a1a1a;
}

.sbx-consultants-card-icon-purple {
  background: var(--sbx-tertiary);
  color: white;
}

.sbx-consultants-card-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 2px;
}

.sbx-consultants-card-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* Icons */
.sbx-icon-sm {
  width: 16px;
  height: 16px;
}

.sbx-icon-md {
  width: 24px;
  height: 24px;
}

.sbx-icon-lg {
  width: 32px;
  height: 32px;
}

.sbx-icon-check {
  width: 20px;
  height: 20px;
  color: var(--sbx-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.sbx-icon-check-white {
  width: 24px;
  height: 24px;
  color: var(--sbx-secondary);
  flex-shrink: 0;
  margin-top: 4px;
}

/* Animations */
.sbx-fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sbx-fade-in-section.sbx-animate-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sbx-slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
