/* Page styles for overview.html */
:root {
  --primary: #1E3A8A;
  --primary-dark: #1D2C51;
  --primary-light: #E6F1FF;
  --foreground: #1f2937;
  --muted: #6b7280;
  --background: #fcfcfc;
  --card: #ffffff;
  --border: #e5e7eb;
  --secondary: #f3f4f6;
  --card-header: #f0f1f3;
  --green: #059669;
  --green-light: #D1FAE5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), #2563EB);
}

/* Hero */
.hero {
  background: linear-gradient(155deg, #0f1e42 0%, var(--primary) 55%, #1a4199 100%);
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(37,99,235,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Overview Grid Section */
.overview-section {
  padding: 72px 24px;
}

.overview-section .container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 5px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.65;
}

/* Category Group */
.category-group {
  margin-bottom: 56px;
}

.category-group:last-child {
  margin-bottom: 0;
}

.category-heading {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.page-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  position: relative;
  overflow: hidden;
}

.page-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(30,58,138,0.1);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  stroke-width: 1.75;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 5px;
  line-height: 1.3;
}

.card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.card-arrow {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s;
}

.page-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  stroke-width: 2.2;
}

/* CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, #0f1e42 0%, var(--primary) 100%);
  padding: 60px 24px;
  text-align: center;
}

.cta-strip h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-strip p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 5px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.cta-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.cta-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
  stroke-width: 2.2;
}

@media (max-width: 640px) {
  .hero { padding: 52px 20px 48px; }
  .hero .container { padding-left: 0; padding-right: 0; }
  .overview-section { padding: 32px 20px 60px; }
  .overview-section .container { padding-left: 0; padding-right: 0; }
  .cta-strip { padding: 40px 20px; }
  .cta-strip .container { padding-left: 0; padding-right: 0; }
  .cards-grid { grid-template-columns: 1fr; gap: 10px; }
  .section-desc { margin-bottom: 28px; }
  .category-group { margin-bottom: 36px; }
}
