/**
 * SEO Page Styles — extends home-concept design language
 * Used by model-specific repair pages (iPhone, Samsung, Google, Console)
 * Depends on: home-concept.css (for CSS variables)
 */

/* ===== SEO Page Hero ===== */
.seo-hero {
  position: relative;
  padding: 60px 24px 48px;
  background: linear-gradient(135deg, var(--hc-ivory) 0%, #ffffff 55%, var(--hc-ivory) 100%);
  overflow: hidden;
}

.seo-hero-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.seo-hero-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--hc-text);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.seo-hero-text h1 span {
  color: var(--hc-green);
}

.seo-hero-sub {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--hc-text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

.seo-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

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

.seo-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 30px 70px -10px rgba(0,0,0,0.15), 0 10px 28px -4px rgba(0,0,0,0.08);
}

/* ===== Trust Strip ===== */
.seo-trust-strip {
  max-width: 1100px;
  margin: -24px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.seo-trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #f5f5f5 100%);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.10), 0 6px 16px -4px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,1);
  border: 1px solid rgba(0,0,0,0.06);
}

.seo-trust-item {
  text-align: center;
  padding: 4px 8px;
}

.seo-trust-item:not(:last-child) {
  border-right: 1px solid rgba(0,155,77,0.07);
}

.seo-trust-icon {
  font-size: 1.3rem;
  color: var(--hc-green);
  margin-bottom: 6px;
}

.seo-trust-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hc-text);
  line-height: 1.2;
}

.seo-trust-label {
  font-size: 0.75rem;
  color: var(--hc-text-muted);
  font-weight: 500;
}

/* ===== Price Section (From £X CTA) ===== */
.seo-prices {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.seo-from-cta {
  text-align: center;
  margin: 32px 0 16px;
}

.seo-from-cta .hc-btn-primary {
  font-size: 1.15rem;
  padding: 16px 36px;
}

.seo-price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #f5f5f5 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.08), 0 6px 16px -4px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,1);
  border: 1px solid rgba(0,0,0,0.06);
}

.seo-price-table thead th {
  background: linear-gradient(135deg, var(--hc-green) 0%, var(--hc-green-deep) 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 16px 20px;
  text-align: left;
  letter-spacing: -0.01em;
}

.seo-price-table thead th:first-child {
  border-top-left-radius: 20px;
}

.seo-price-table thead th:last-child {
  border-top-right-radius: 20px;
}

.seo-price-table tbody td {
  padding: 16px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: var(--hc-text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.seo-price-table tbody td:last-child {
  font-weight: 700;
  color: var(--hc-green-deep);
  white-space: nowrap;
}

.seo-price-table tbody tr:last-child td {
  border-bottom: none;
}

.seo-price-table tbody tr:hover {
  background: var(--hc-green-soft);
}

.seo-price-note {
  font-size: 0.85rem;
  color: var(--hc-text-muted);
  margin-top: 16px;
  text-align: center;
  font-style: italic;
}

/* ===== Symptoms Grid ===== */
.seo-symptoms {
  background: linear-gradient(180deg, var(--hc-ivory) 0%, #ffffff 50%, var(--hc-ivory) 100%);
  max-width: 100%;
  padding: 80px 24px;
}

.seo-symptoms .hc-container {
  max-width: 1100px;
}

.seo-symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.seo-symptom-card {
  padding: 24px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #f5f5f5 100%);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.06), 0 3px 10px -2px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,1);
  transition: transform 0.3s var(--hc-ease), box-shadow 0.3s var(--hc-ease);
}

.seo-symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.10), 0 6px 16px -4px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,1);
}

.seo-symptom-card i {
  font-size: 1.4rem;
  color: var(--hc-green);
  margin-bottom: 12px;
  display: block;
}

.seo-symptom-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hc-text);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.seo-symptom-card p {
  font-size: 0.88rem;
  color: var(--hc-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ===== Info Section (alternating bg) ===== */
.seo-info {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.seo-info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.seo-info-block h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--hc-text);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.seo-info-block p {
  font-size: 0.95rem;
  color: var(--hc-text-muted);
  line-height: 1.7;
  margin: 0 0 14px;
}

.seo-info-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-info-block ul li {
  font-size: 0.92rem;
  color: var(--hc-text-muted);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.5;
}

.seo-info-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hc-green-soft);
  border: 1.5px solid var(--hc-green);
}

/* ===== Related Repairs ===== */
.seo-related {
  background: linear-gradient(180deg, var(--hc-ivory) 0%, #ffffff 50%, var(--hc-ivory) 100%);
  max-width: 100%;
  padding: 80px 24px;
}

.seo-related .hc-container {
  max-width: 1100px;
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.seo-related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #f5f5f5 100%);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.3s var(--hc-ease), box-shadow 0.3s var(--hc-ease);
}

.seo-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -8px rgba(0,0,0,0.10), 0 4px 12px -2px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,1);
}

.seo-related-card i {
  font-size: 1.6rem;
  color: var(--hc-green);
}

.seo-related-card span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hc-text);
}

/* ===== Final CTA (reuse hc-cta style but with seo prefix) ===== */
.seo-cta {
  background: linear-gradient(135deg, var(--hc-green) 0%, var(--hc-green-deep) 55%, #006030 100%);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.seo-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.seo-cta::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(242,200,73,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.seo-cta-container {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.seo-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.seo-cta p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
  margin: 0 0 32px;
  line-height: 1.6;
  font-weight: 300;
}

.seo-cta .hc-btn-white {
  padding: 16px 44px;
  font-size: 1.1rem;
}

.seo-cta-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .seo-hero-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .seo-hero-image {
    order: -1;
  }

  .seo-hero-image img {
    max-width: 280px;
  }

  .seo-symptom-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-info-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .seo-trust-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .seo-trust-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .seo-hero {
    padding: 40px 16px 32px;
  }

  .seo-hero-image img {
    max-width: 200px;
  }

  .seo-trust-cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 18px 16px;
  }

  .seo-trust-item:nth-child(2n) {
    border-right: none;
  }

  .seo-prices,
  .seo-info,
  .seo-related,
  .seo-symptoms {
    padding: 52px 16px;
  }

  .seo-price-table thead th,
  .seo-price-table tbody td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .seo-symptom-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .seo-related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .seo-cta {
    padding: 52px 16px;
  }

  .seo-cta .hc-btn-white {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Model Identification ===== */
.seo-identify {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}

.seo-identify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.seo-identify-model {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px -2px rgba(0,0,0,0.04);
}

.seo-identify-model strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--hc-text);
  margin-bottom: 4px;
}

.seo-identify-model span {
  display: block;
  font-size: 0.85rem;
  color: var(--hc-text-muted);
  line-height: 1.5;
}

.seo-identify-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--hc-ivory);
  border-radius: 14px;
  border-left: 4px solid var(--hc-green);
}

.seo-identify-tip i {
  color: var(--hc-green);
  font-size: 1.2rem;
  margin-top: 2px;
}

.seo-identify-tip p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hc-text);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .seo-identify-grid {
    grid-template-columns: 1fr;
  }
}
