/* =================================================================
   AI-INFRA.CSS — Page-specific styles for ai-infra.html
   Extends styles.css + about.css; only overrides what's unique.
   ================================================================= */

/* ─── HERO ─── */
/* Uses .about-hero from about.css — no override needed */

/* =================================================================
   PAIN POINTS SECTION
   ================================================================= */
.ai-infra-pain {
  background: #ffffff;
  padding: 80px 0 64px;
  border-bottom: 1px solid #EAEEF4;
}

.pain-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.pain-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.pain-intro {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.65;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pain-card {
  background: #F7F9FC;
  border: 1px solid #EAEEF4;
  border-radius: 16px;
  padding: 32px 28px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(11, 31, 51, 0.08);
}

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pain-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent-soft-fg);
}

.pain-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pain-card p {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* =================================================================
   SOLUTION CAPABILITIES SECTION
   ================================================================= */
.ai-infra-solutions {
  background: #F7F9FC;
  padding: 88px 0 96px;
}

.solutions-header {
  max-width: 760px;
  margin-bottom: 64px;
}

.solutions-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.solutions-intro {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.65;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solution-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  background: #ffffff;
  border: 1px solid #E8EDF4;
  border-radius: 20px;
  padding: 40px 40px 36px;
  align-items: flex-start;
  transition: box-shadow 0.25s ease;
}

.solution-block:hover {
  box-shadow: 0 10px 36px rgba(11, 31, 51, 0.07);
}

.solution-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.solution-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.solution-content p {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 700px;
}

.solution-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
}

.solution-bullets li {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
  font-weight: 500;
}

.solution-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-gradient);
  opacity: 0.85;
}

.solution-bullets li::after {
  content: '✓';
  position: absolute;
  left: 2px;
  top: 4px;
  font-size: 9px;
  color: #ffffff;
  font-weight: 800;
}

/* =================================================================
   INDUSTRIES SECTION
   ================================================================= */
.ai-infra-industries {
  background: #ffffff;
  padding: 80px 0;
  border-top: 1px solid #EAEEF4;
}

.industries-header {
  margin-bottom: 48px;
  max-width: 720px;
}

.industries-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

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

.industry-card {
  background: #F7F9FC;
  border: 1px solid #EAEEF4;
  border-radius: 14px;
  padding: 24px 24px 22px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.industry-card:hover {
  background: #ffffff;
  border-color: rgba(30, 136, 229, 0.25);
}

.industry-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.industry-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* =================================================================
   CTA SECTION
   ================================================================= */
.ai-infra-cta {
  background:
    radial-gradient(ellipse 700px 300px at 80% 50%, rgba(67, 199, 127, 0.12), transparent 60%),
    radial-gradient(ellipse 700px 300px at 20% 50%, rgba(30, 136, 229, 0.12), transparent 60%),
    linear-gradient(135deg, #0E2545 0%, #122E50 100%);
  padding: 72px 0;
}

.infra-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.infra-cta-text {
  flex: 1;
  min-width: 280px;
}

.infra-cta-text h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.infra-cta-text p {
  font-size: 16px;
  color: rgba(180, 210, 245, 0.8);
  line-height: 1.6;
}

.ai-infra-cta .btn-primary {
  flex-shrink: 0;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-block { padding: 32px 32px 28px; gap: 24px; }
  .solution-num { font-size: 52px; }
}

@media (max-width: 768px) {
  .ai-infra-pain,
  .ai-infra-solutions,
  .ai-infra-industries { padding: 56px 0; }

  .pain-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }

  .solution-block {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 24px;
  }

  .solution-num { font-size: 40px; }
  .solution-content h3 { font-size: 20px; }

  .solution-bullets {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .infra-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ai-infra-cta { padding: 56px 0; }
}
