@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --accent: #7c6af7;
  --accent-dark: #5b4de0;
  --accent-glow: rgba(124,106,247,0.15);
  --dark: #0c0c14;
  --dark2: #13131f;
  --text: #1e1e2e;
  --muted: #7b7b96;
  --border: #ebebf5;
  --bg: #f5f5fb;
  --card: #ffffff;
  --r: 14px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ─── HERO ─────────────────────────────────── */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 52px 24px 48px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(124,106,247,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 90% 10%, rgba(90,80,200,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero .breadcrumb {
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
  margin-bottom: 20px; letter-spacing: 0.01em;
}
.hero .breadcrumb a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.hero .breadcrumb a:hover { color: rgba(255,255,255,0.75); }
.hero .breadcrumb span { margin: 0 6px; }

.hero h1 {
  color: #fff; font-size: 2rem; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 8px;
}
.hero .subtitle { color: rgba(255,255,255,0.45); font-size: 0.95rem; margin-bottom: 0; }

/* ─── CLIENT PILL ROW ─────────────────────── */
.client-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.pill {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 10px 16px;
}
.pill-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); font-weight: 600; margin-bottom: 2px; }
.pill-value { color: rgba(255,255,255,0.88); font-weight: 600; font-size: 0.88rem; }

/* ─── LAYOUT ──────────────────────────────── */
.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.body-wrap { padding: 40px 24px 80px; }
.body-wrap .wrap { padding: 0; }

/* ─── SECTION ─────────────────────────────── */
.section { margin-bottom: 36px; }
.section-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-label {
  font-size: 0.67rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent);
}
.section-line { flex: 1; height: 1px; background: var(--border); }

/* ─── CARD GRID ───────────────────────────── */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.card {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px;
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.18s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.card-icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-glow); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; flex-shrink: 0;
  transition: background 0.2s;
}
.card:hover .card-icon-wrap { background: rgba(124,106,247,0.22); }

.card-body { flex: 1; min-width: 0; padding-top: 1px; }
.card-title { font-size: 0.9rem; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 3px; }
.card-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }

/* Framework cards — slightly different tint */
.card.framework .card-icon-wrap { background: rgba(124,106,247,0.08); }
.card.framework:hover .card-icon-wrap { background: rgba(124,106,247,0.18); }

/* ─── TYPOGRAPHY ──────────────────────────── */
h2 {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  margin: 32px 0 12px; letter-spacing: -0.01em;
}
h3 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }

/* ─── CONTENT BLOCKS ──────────────────────── */
.block {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px 22px; margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.block h3 { margin-top: 16px; }
.block h3:first-child { margin-top: 0; }
.block p, .block li { color: var(--text); font-size: 0.9rem; }
.block p + p { margin-top: 9px; }
.block ul, .block ol { padding-left: 18px; }
.block li { margin-bottom: 5px; }
.block strong { color: var(--dark); }

/* ─── CALLOUT ─────────────────────────────── */
.callout {
  background: linear-gradient(135deg, rgba(124,106,247,0.07) 0%, rgba(124,106,247,0.03) 100%);
  border: 1px solid rgba(124,106,247,0.2);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 14px 18px; margin-bottom: 10px;
  font-size: 0.9rem; color: var(--text);
}
.callout strong { color: var(--dark); }

/* ─── BLOCKQUOTES ─────────────────────────── */
blockquote {
  background: #f8f8fe; border-left: 3px solid #d0ccf8;
  border-radius: 0 10px 10px 0; padding: 12px 16px;
  margin: 10px 0; font-size: 0.9rem; color: #444;
  font-style: italic;
}
blockquote em { color: var(--muted); font-style: normal; }

/* ─── TABLES ──────────────────────────────── */
.table-wrap { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 0.86rem; }
th {
  background: linear-gradient(135deg, #f0eeff 0%, #eeeafb 100%);
  color: var(--accent-dark); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 700; padding: 10px 14px; text-align: left;
}
td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #faf9ff; }

/* ─── BACK LINK ───────────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 32px;
  color: var(--muted); text-decoration: none; font-size: 0.85rem;
  font-weight: 500; transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

/* ─── LINKS ───────────────────────────────── */
.block a { color: var(--accent); font-weight: 500; text-decoration: none; }
.block a:hover { text-decoration: underline; }

/* ─── STAMP ───────────────────────────────── */
.stamp { color: var(--muted); font-size: 0.75rem; margin-top: 36px; opacity: 0.6; }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 16px 36px; }
  .hero h1 { font-size: 1.55rem; }
  .body-wrap { padding: 28px 16px 60px; }
  .client-pills { gap: 8px; }
}
