/*
 * Sections - Callouts, stats sections, split layouts, video sections
 */

/* Statistics Section */
.stats-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.stats-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stats-content .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.stats-content h2 {
  margin: 0;
  font-size: 2.25rem;
  color: #ffffff;
  line-height: 1.2;
}

.stats-content p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Callout */
.callout {
  background: var(--nav-bg);
  border-radius: 18px;
  padding: 22px 24px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.callout-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.callout p {
  margin: 0;
  font-weight: 600;
  color: var(--light);
}

.callout-box {
  max-width: 800px;
  margin: 0 auto;
}

.callout-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(26, 32, 44, 0.08);
}

.callout-content.center {
  text-align: center;
}

.callout-content h3 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-800);
}

.callout-content p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Callout Banner */
.callout-banner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.callout-banner h2 {
  margin: 0 0 16px;
  font-size: 2rem;
  color: #ffffff;
}

.callout-banner p {
  margin: 0 0 32px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.callout-banner.light h2 {
  color: var(--deep-slate);
}

.callout-banner.light p {
  color: var(--slate-600);
}

/* Split Section (Image/Text) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-content h2 {
  margin: 0 0 16px;
  font-size: 2rem;
  color: var(--slate-800);
}

.split-content p {
  margin: 0 0 24px;
  color: var(--slate-600);
  line-height: 1.7;
}

.split-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.split-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--slate-600);
}

.split-content ul li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.split-image {
  background: linear-gradient(135deg, var(--deep-slate) 0%, var(--deep-slate-dark) 100%);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.split-image svg {
  opacity: 0.3;
}

/* Two-Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.column-text {
  max-width: 520px;
}

.column-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 12px;
}

.column-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-800);
  margin: 0 0 16px;
  line-height: 1.2;
}

.column-text > p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate-600);
  margin: 0 0 24px;
}

.column-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 400px;
}

.image-placeholder.large {
  aspect-ratio: 1/1;
  max-width: 320px;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: rgba(219, 30, 54, 0.1);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DB1E36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Video Section */
.video-section {
  margin: 56px 0;
}

.video-container {
  max-width: 900px;
  margin: 32px auto 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* Product List */
.product-list {
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.product-list-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(26, 32, 44, 0.1);
}

.product-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #1a2332 0%, #0d1421 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

.product-image svg {
  position: relative;
  z-index: 1;
}

.product-content h3 {
  margin: 0 0 16px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-800);
}

.product-title {
  display: block;
  margin: 0 0 16px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-800);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-title:hover {
  color: var(--brand-red);
}

.product-content p {
  margin: 0 0 20px;
  line-height: 1.7;
  color: var(--slate-700);
  font-size: 1.05rem;
}

.product-content .button {
  display: inline-flex;
}

/* Dark background variants */
.section.alt-bg .split-content h2 {
  color: #ffffff;
}

.section.alt-bg .split-content p {
  color: rgba(255, 255, 255, 0.85);
}

.section.alt-bg .split-content ul li {
  color: rgba(255, 255, 255, 0.85);
}

.section.alt-bg .split-content ul li svg {
  color: #ffffff;
}

.section.alt-bg .split-image {
  background: rgba(255, 255, 255, 0.1);
}

.section.alt-bg .split-image svg {
  stroke: #ffffff;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 960px) {
  .callout-inner {
    align-items: flex-start;
  }

  .product-list-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-image {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .stats-section {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-column.reverse {
    direction: ltr;
  }

  .column-text {
    max-width: 100%;
  }

  .column-image {
    order: -1;
  }

  .image-placeholder {
    max-width: 280px;
  }
}
