/*
 * Tier 3 - Product detail page styles
 */

/* Section subtitle */
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--slate-600);
  max-width: 100%;
  margin: 8px auto 0;
  line-height: 1.6;
  text-align: center;
}

/* Feature Grid - 4 column */
.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-grid-4 .feature-card {
  text-align: center;
  padding: 28px 24px;
}

.feature-grid-4 .feature-icon {
  margin: 0 auto 16px;
}

.feature-grid-4 .feature-icon svg {
  width: 28px;
  height: 28px;
}

/* Options Grid - for space/pricing options */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.option-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.option-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
}

.option-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(219, 30, 54, 0.1) 0%, rgba(219, 30, 54, 0.05) 100%);
  color: var(--brand-red);
  white-space: nowrap;
}

.option-card > p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate-600);
  margin: 0 0 20px;
  flex-grow: 1;
}

.option-features {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--slate-200);
  padding-top: 16px;
}

.option-features li {
  font-size: 0.875rem;
  color: var(--slate-700);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.option-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  opacity: 0.6;
}

/* Included Grid - two column what's included */
.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.included-section h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-500);
  margin: 0 0 20px;
}

.included-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.included-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--slate-700);
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

.included-list li:last-child {
  border-bottom: none;
}

.included-list li svg {
  flex-shrink: 0;
  color: var(--brand-red);
}

.included-list.addons li svg {
  color: var(--slate-400);
}

/* Responsive */
@media (max-width: 1100px) {
  .feature-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .options-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .included-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .feature-grid-4 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .option-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ===========================================
   NEW SECTIONS - Colocation Page Enhancements
   =========================================== */

/* Option 5: Comparison Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 2px solid var(--slate-200);
  transition: all 0.3s ease;
}

.comparison-card.colo {
  border-color: var(--brand-red);
  box-shadow: 0 8px 32px rgba(219, 30, 54, 0.12);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--slate-100);
}

.comparison-header svg {
  color: var(--slate-400);
}

.comparison-card.colo .comparison-header svg {
  color: var(--brand-red);
}

.comparison-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
}

.comparison-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.comparison-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background-size: contain;
  background-repeat: no-repeat;
}

.comparison-list.negative li::before {
  content: '✕';
  color: var(--slate-400);
  font-weight: 600;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--slate-100);
}

.comparison-list.positive li::before {
  content: '✓';
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-red);
}

/* Option 1: Facility Showcase */
.facility-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.facility-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 180px 100px;
  gap: 10px;
}

.facility-image.main {
  grid-column: span 3;
}

.facility-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.facility-placeholder {
  background: linear-gradient(135deg, var(--slate-100) 0%, var(--slate-200) 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  color: var(--slate-500);
  font-size: 0.75rem;
}

.facility-placeholder svg {
  opacity: 0.5;
}

.facility-content {
  padding: 20px 0;
}

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

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

.facility-highlights {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.facility-highlights li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.facility-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
}

/* Option 3: Client Logos */
.logos-section {
  text-align: center;
  padding: 20px 0;
}

.logos-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-500);
  margin: 0 0 32px;
}

.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-placeholder {
  width: 140px;
  height: 48px;
  background: var(--slate-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 500;
}

/* Option 2: Getting Started Steps */
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--brand-red);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  margin: 16px 0 20px;
}

.step-icon svg {
  color: var(--slate-600);
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--slate-800);
}

.step-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate-600);
  margin: 0;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 60px;
  color: var(--slate-300);
}

/* Responsive - New Sections */
@media (max-width: 960px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .facility-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .facility-image-grid {
    max-width: 500px;
    margin: 0 auto;
    grid-template-rows: 160px 80px;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step-connector {
    display: none;
  }

  .step-card {
    max-width: 400px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .logos-grid {
    gap: 24px;
  }

  .logo-placeholder {
    width: 120px;
    height: 40px;
  }

  .facility-image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 180px repeat(3, 100px);
  }

  .facility-image.main {
    grid-column: span 1;
  }
}
