/* ==========================================================================
   Techgirda Nigeria — AI Structural Studio
   landing.css: Dashboard, Calculators, Projects & Materials Styles
   Derived from Homepage Design System with 100% Responsiveness
   ========================================================================== */

:root {
  --primary:        #2ec4ff;
  --primary-hover:  #73ddff;
  --primary-glow:   rgba(46, 196, 255, 0.28);
  --accent:         #38bdf8;
  --bg:             rgba(13, 31, 49, 0.78);
  --surface:        #0e2238;
  --surface-raised: #132a45;
  --text:           #f4fbff;
  --text-secondary: #94a3b8;
  --border:         rgba(46, 196, 255, 0.18);
  --border-strong:  rgba(46, 196, 255, 0.38);
  --pass:           #2ed573;
  --pass-bg:        rgba(46, 213, 115, 0.16);
  --warn:           #ffb142;
  --warn-bg:        rgba(255, 177, 66, 0.16);
  --fail:           #ff4757;
  --fail-bg:        rgba(255, 71, 87, 0.16);
  --radius:         10px;
  --radius-lg:      14px;
  --sidebar-w:      250px;
}

/* ── Layout Shell ─────────────────────────────────────────────────────────── */
.layout {
  display: flex;
  min-height: calc(100vh - var(--nav-h, 68px));
  position: relative;
  width: 100%;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: rgba(7, 17, 29, 0.92);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: var(--nav-h, 68px);
  height: calc(100vh - var(--nav-h, 68px));
  overflow-y: auto;
  z-index: 90;
  backdrop-filter: blur(14px);
  transition: transform 0.28s ease;
}

.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-brand-icon {
  width: 36px;
  height: 36px;
  background: rgba(46, 196, 255, 0.12);
  border: 1px solid rgba(46, 196, 255, 0.35);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(46, 196, 255, 0.2);
  flex-shrink: 0;
}

.sidebar-brand-icon svg {
  color: var(--primary);
}

.sidebar-brand-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.sidebar-brand-sub {
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sidebar-nav {
  flex: 1;
  padding: 14px 10px;
  overflow-y: auto;
}

.nav-section {
  padding: 12px 14px 6px;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 2px 0;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-link svg {
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.8;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nav-link:hover {
  background: rgba(46, 196, 255, 0.1);
  color: #fff;
}

.nav-link:hover svg {
  opacity: 1;
  transform: translateX(2px);
}

.nav-link.active {
  background: rgba(46, 196, 255, 0.18);
  border: 1px solid rgba(46, 196, 255, 0.3);
  color: var(--primary-hover);
  font-weight: 600;
  box-shadow: 0 0 14px rgba(46, 196, 255, 0.15);
}

.nav-link.active svg {
  opacity: 1;
  color: var(--primary-hover);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  background: rgba(7, 17, 29, 0.4);
}

/* ── Main Content Container ───────────────────────────────────────────────── */
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.page-content {
  padding: 28px 32px;
  flex: 1;
  width: 100%;
  max-width: 1320px;
  box-sizing: border-box;
}

/* ── Header Strip For Individual Calculators ──────────────────────────────── */
.calc-header-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 17, 29, 0.5);
  backdrop-filter: blur(12px);
}

.calc-header-strip .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(46, 196, 255, 0.12);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 0 14px var(--primary-glow);
  flex-shrink: 0;
}

.calc-header-strip h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  line-height: 1.2;
}

.calc-header-strip p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 2px 0 0;
}

/* ── Stat Cards Grid ──────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 18px rgba(46, 196, 255, 0.15);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.teal, .stat-icon.cyan {
  background: rgba(46, 196, 255, 0.14);
  border: 1px solid rgba(46, 196, 255, 0.35);
  color: var(--primary);
}

.stat-icon.indigo {
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #818cf8;
}

.stat-icon.amber {
  background: rgba(255, 177, 66, 0.14);
  border: 1px solid rgba(255, 177, 66, 0.35);
  color: #ffb142;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.stat-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ── Calculator Hub Grid ──────────────────────────────────────────────────── */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.calc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  position: relative;
  transition: all 0.22s ease;
}

.calc-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 18px rgba(46, 196, 255, 0.2);
}

.calc-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(46, 196, 255, 0.12);
  border: 1px solid rgba(46, 196, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.calc-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
}

.calc-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.calc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.calc-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(46, 196, 255, 0.08);
  border: 1px solid rgba(46, 196, 255, 0.2);
  color: var(--primary-hover);
  font-weight: 500;
}

.calc-card-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.calc-card:hover .calc-card-arrow {
  color: var(--primary);
  transform: translate(3px, -3px);
}

/* ── Calculator Layout (Form + Results) ───────────────────────────────────── */
.calc-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
}

.calc-result-box {
  background: rgba(7, 17, 29, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(46, 196, 255, 0.1);
  font-size: 13.5px;
}

.calc-result-row:last-child {
  border-bottom: none;
}

.calc-result-label {
  color: var(--text-secondary);
}

.calc-result-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text);
}

.calc-result-val.pass {
  color: var(--pass);
}

.calc-result-val.fail {
  color: var(--fail);
}

/* ── Projects Grid ────────────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.project-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-card-name a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.project-card-name a:hover {
  color: var(--primary);
}

.project-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.project-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ── Materials Layout ─────────────────────────────────────────────────────── */
.materials-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.mat-category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(46, 196, 255, 0.06);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.mat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.mat-dot.steel { background: #38bdf8; }
.mat-dot.concrete { background: #2ed573; }
.mat-dot.timber { background: #ffb142; }
.mat-dot.masonry { background: #ff4757; }

/* ── Recent Calculations List ─────────────────────────────────────────────── */
.recent-list {
  list-style: none;
}

.recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s ease;
}

.recent-item:last-child {
  border-bottom: none;
}

.recent-item:hover {
  background: rgba(46, 196, 255, 0.05);
}

.recent-type-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(46, 196, 255, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.recent-info {
  flex: 1;
  min-width: 0;
}

.recent-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 1px;
}

/* ── Breakdown Bars ───────────────────────────────────────────────────────── */
.breakdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.breakdown-label {
  font-size: 13px;
  color: var(--text-secondary);
  width: 120px;
  flex-shrink: 0;
}

.breakdown-bar-wrap {
  flex: 1;
  background: rgba(7, 17, 29, 0.6);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.breakdown-bar {
  height: 100%;
  background: linear-gradient(90deg, #2ec4ff 0%, #0088ff 100%);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(46, 196, 255, 0.5);
}

.breakdown-count {
  font-size: 12.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

/* ── Mobile & Responsive Breakpoints ──────────────────────────────────────── */
@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    display: none; /* Accessible via mobile topbar drawer */
  }

  .main {
    margin-left: 0;
    width: 100%;
  }

  .calc-layout {
    grid-template-columns: 1fr;
  }

  .materials-layout {
    grid-template-columns: 1fr;
  }

  .page-content {
    padding: 20px 16px;
  }

  .calc-header-strip {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Landing Page Showcase (Dark & Light Theme) ───────────────────────────── */
.landing-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 68px) clamp(24px, 4vw, 48px);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 18%, rgba(46, 196, 255, 0.22), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(56, 189, 248, 0.14), transparent 46%),
    linear-gradient(135deg, rgba(13, 31, 49, 0.92) 0%, rgba(7, 17, 29, 0.96) 100%);
  border: 1px solid rgba(46, 196, 255, 0.24);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 196, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 196, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(120deg, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

.landing-hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.landing-hero-title {
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #e0f4ff 52%, #2ec4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero-mark {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 196, 255, 0.09);
  border: 1px solid rgba(46, 196, 255, 0.3);
  box-shadow:
    0 0 40px rgba(46, 196, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.landing-hero-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(46, 196, 255, 0.5));
}

.landing-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(16, 38, 60, 0.86) 0%, rgba(10, 24, 40, 0.92) 100%);
  border: 1px solid rgba(46, 196, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46, 196, 255, 0.7), transparent);
  opacity: 0.45;
  transition: opacity 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 196, 255, 0.42);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(46, 196, 255, 0.12);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 196, 255, 0.12);
  border: 1px solid rgba(46, 196, 255, 0.28);
  color: #2ec4ff;
  box-shadow: 0 0 18px rgba(46, 196, 255, 0.16);
  flex-shrink: 0;
}

.product-name {
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: #f4fbff;
  margin: 0;
  line-height: 1.25;
}

.lesson-meta-sub {
  display: block;
  font-size: 0.78rem;
  color: #7dd3fc;
  margin-top: 3px;
}

:root[data-theme="light"] .lesson-meta-sub {
  color: #0369a1;
}

.product-category {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(46, 196, 255, 0.1);
  color: #73ddff;
  border: 1px solid rgba(46, 196, 255, 0.24);
  white-space: nowrap;
}

.product-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 18px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-tag {
  font-size: 0.76rem;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 8px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(46, 196, 255, 0.12);
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #7dd3fc;
}

.product-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ed573;
  box-shadow: 0 0 8px rgba(46, 213, 115, 0.7);
}

:root[data-theme="light"] .landing-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(2, 132, 199, 0.14), transparent 44%),
    radial-gradient(circle at 12% 88%, rgba(46, 196, 255, 0.12), transparent 46%),
    linear-gradient(135deg, #ffffff 0%, #eef6fc 100%);
  border-color: rgba(2, 132, 199, 0.22);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .landing-hero-title {
  background: linear-gradient(135deg, #0f172a 0%, #0369a1 60%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

:root[data-theme="light"] .landing-hero-mark {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.24);
}

:root[data-theme="light"] .product-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .product-card:hover {
  border-color: rgba(2, 132, 199, 0.38);
  box-shadow: 0 18px 36px rgba(2, 132, 199, 0.12);
}

:root[data-theme="light"] .product-name {
  color: #0f172a;
}

:root[data-theme="light"] .product-desc {
  color: #475569;
}

:root[data-theme="light"] .product-tag {
  color: #334155;
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .product-category {
  background: rgba(2, 132, 199, 0.08);
  color: #0369a1;
  border-color: rgba(2, 132, 199, 0.2);
}

:root[data-theme="light"] .product-status {
  color: #0369a1;
}

@media (max-width: 820px) {
  .landing-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-hero-mark {
    display: none;
  }

  .landing-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ── EPA Hero Extras & Delivery Process Grid ──────────────────────────────── */
.epa-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #73ddff;
  background: rgba(46, 196, 255, 0.12);
  border: 1px solid rgba(46, 196, 255, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.epa-hero-subtitle {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 60ch;
  margin: 14px 0 0;
}

.epa-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.epa-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 34px 0 18px;
}

.epa-section-title {
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #f4fbff;
  margin: 0;
}

.epa-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.epa-step-card {
  position: relative;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(16, 38, 60, 0.82) 0%, rgba(10, 24, 40, 0.9) 100%);
  border: 1px solid rgba(46, 196, 255, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.epa-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 196, 255, 0.38);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.epa-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: #2ec4ff;
  background: rgba(46, 196, 255, 0.12);
  border: 1px solid rgba(46, 196, 255, 0.28);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.epa-step-title {
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: #f4fbff;
  margin: 0 0 6px;
}

.epa-step-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

:root[data-theme="light"] .epa-hero-eyebrow {
  color: #0369a1;
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.22);
}

:root[data-theme="light"] .epa-hero-subtitle {
  color: #475569;
}

:root[data-theme="light"] .epa-section-title,
:root[data-theme="light"] .epa-step-title {
  color: #0f172a;
}

:root[data-theme="light"] .epa-step-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

:root[data-theme="light"] .epa-step-num {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
}

:root[data-theme="light"] .epa-step-desc {
  color: #475569;
}

@media (max-width: 960px) {
  .epa-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .epa-process-grid {
    grid-template-columns: 1fr;
  }
}
