/* ========================================
   pages.css — Shared utilities for inner pages
   Replaces all inline style attributes
   ======================================== */

/* Two-column content layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.two-col-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Stat cards 2x2 grid */
.stat-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Section intro badge + title block */
.section-intro {
  margin-bottom: 16px;
}

/* Icon + text feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-bullet {
  color: var(--accent-yellow);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-title {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Info card (internship sidebar) */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.info-card-header {
  background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-primary));
  border-bottom: 1px solid var(--border-color);
  padding: 28px;
}

.info-card-eyebrow {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.info-card-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-yellow);
  font-family: var(--font-display);
}

.info-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.info-card-row:last-of-type {
  border-bottom: none;
}

.info-card-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.info-card-val {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 600;
}

.info-card-val.green {
  color: #3fb950;
}

/* Section bg variants */
.bg-secondary-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.bg-primary-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

/* Tech badge row */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.tech-badge {
  font-size: 0.9rem;
  padding: 10px 22px;
}

/* Three-col card grid */
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* CTA row */
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* About stats card grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Section spacing overrides */
.mt-16  { margin-top: 16px; }
.mt-20  { margin-top: 20px; }
.mt-24  { margin-top: 24px; }
.mt-28  { margin-top: 28px; }
.mt-32  { margin-top: 32px; }
.mt-40  { margin-top: 40px; }
.mb-10  { margin-bottom: 10px; }
.mb-12  { margin-bottom: 12px; }
.mb-16  { margin-bottom: 16px; }
.mb-20  { margin-bottom: 20px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }

/* Font size helpers */
.fs-sm   { font-size: 0.875rem; }
.fs-xs   { font-size: 0.8rem; }
.fs-2xl  { font-size: 2rem; }
.fs-hero { font-size: 2.2rem; }

/* Color helpers */
.col-yellow   { color: var(--accent-yellow); }
.col-muted    { color: var(--text-muted); }
.col-secondary{ color: var(--text-secondary); }
.col-primary  { color: var(--text-primary); }
.col-green    { color: #3fb950; }

/* Font helpers */
.ff-display { font-family: var(--font-display); }
.ff-mono    { font-family: var(--font-mono); }
.fw-700     { font-weight: 700; }
.fw-800     { font-weight: 800; }

/* Full-width centered button */
.btn-full {
  width: 100%;
  justify-content: center;
}

/* Italic style off */
.not-italic { font-style: normal; }

/* Internship feature bullet list */
.intern-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.intern-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.intern-feature-title {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
}

.intern-feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Icon card for why/about sections */
.icon-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.icon-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.icon-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Section heading small size */
.section-title-sm {
  font-size: 1.8rem;
  color: var(--accent-yellow);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .two-col,
  .two-col-center {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .three-col-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .stat-cards-grid,
  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Index page specific ── */
.section-title-mt { margin-top: 16px; }

/* AI chip buttons */
.ai-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ai-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.ai-chip:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

/* CTA button large */
.btn-lg {
  font-size: 1.05rem;
  padding: 14px 36px;
}

/* Center text block with top spacing */
.mt-center-40 {
  text-align: center;
  margin-top: 40px;
}

/* Contact form utilities */
.contact-form-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.contact-info-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-success-emoji {
  font-size: 1.5rem;
}

.contact-success-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Ebook sidebar info text */
.sidebar-info-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 28px;
}

.sidebar-info-free {
  color: #3fb950;
}

.sidebar-info-premium {
  color: var(--accent-yellow);
}

/* Hidden element (JS controlled) */
.hidden { display: none; }
