/* ============================================================
   FOXILLA TECH — Service Page Styles (White & Trusty Blue Theme)
   Turnitin, Ithenticate, Drillbit, Databases
   ============================================================ */

/* ── Service Hero (Split layout) ── */
.service-hero {
  padding: calc(80px + var(--space-4xl)) 0 var(--space-3xl);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-3xl);
  align-items: center;
}

.service-hero-content .section-label {
  justify-content: flex-start;
}

.service-hero-content h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.service-hero-content .hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.service-hero-content .price-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.price-highlight .from {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.price-highlight .price {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--accent);
}

.price-highlight .period {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Service Hero Visual */
.service-hero-visual {
  position: relative;
}

.service-hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
  background: var(--bg-secondary);
}

.service-hero-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* Floating badge on image */
.service-hero-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

.service-hero-badge i {
  color: var(--success);
  font-size: 1.1rem;
}

.service-hero-badge span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

/* ── Center-aligned Hero (Drillbit) ── */
.service-hero-center {
  text-align: center;
  padding: calc(80px + var(--space-4xl)) 0 var(--space-3xl);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.service-hero-center .section-label {
  justify-content: center;
}

.service-hero-center h1 {
  font-size: var(--text-4xl);
  max-width: 700px;
  margin: 0 auto var(--space-md);
  color: var(--text-primary);
}

.service-hero-center p {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

.service-hero-center .hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

/* ── Pricing Section ── */
.pricing-section {
  position: relative;
}

.pricing-section + .pricing-section {
  padding-top: 0;
}

.pricing-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-3xl) 0 var(--space-xl);
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-divider::before,
.pricing-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── How It Works Section ── */
.process-section {
  background: var(--bg-secondary);
  position: relative;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.feature-item:hover {
  border-color: var(--accent-lighter);
  box-shadow: var(--shadow-sm);
}

.feature-item-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto var(--space-md);
  background: var(--accent-lighter);
  color: var(--accent);
}

.feature-item h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.feature-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ── Comparison Table Section ── */
.comparison-section {
  background: var(--bg-secondary);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
  }
  .service-hero-visual {
    order: -1;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
  }
  .service-hero-content {
    text-align: center;
  }
  .service-hero-content .section-label {
    justify-content: center;
  }
  .service-hero-content .hero-subtitle {
    margin: 0 auto var(--space-xl);
  }
  .service-hero-content .hero-actions {
    justify-content: center;
  }
  .service-hero-center {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}
