/* ============================================================
   Daedalus onWing — main.css
   ============================================================ */

/* 1. Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
a { text-decoration: none; color: inherit; }

/* 2. CSS Custom Properties */
:root {
  --bg:           #080c14;
  --surface:      #0f1624;
  --surface-2:    #162035;
  --border:       #1e2d4a;
  --border-glow:  #2d4a7a;
  --text:         #e8edf5;
  --text-muted:   #8b9dc3;
  --text-dim:     #4a607a;

  --brand:        #3d9be9;
  --brand-bright: #6dbcff;
  --brand-dim:    #1a4a7a;
  --brand-glow:   rgba(61, 155, 233, 0.12);
  --brand-glow-strong: rgba(61, 155, 233, 0.22);

  --mint:         #2db87a;
  --mint-bright:  #50e09a;
  --mint-dim:     #0f4a30;
  --mint-glow:    rgba(45, 184, 122, 0.12);

  --mind:         #9b6dff;
  --mind-bright:  #c4a0ff;
  --mind-dim:     #2d1a5a;
  --mind-glow:    rgba(155, 109, 255, 0.12);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --trans:      250ms ease;
  --trans-fast: 150ms ease;
  --shadow:     0 4px 24px rgba(0,0,0,0.45);
}

/* 3. Base Typography */
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 1.875rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

code, pre {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.875rem;
}

/* 4. Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
}

/* 5. Animations */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--delay, 0ms);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 6. Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.nav.scrolled {
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 48px;
}
.nav-logo img { display: block; }
.nav-logo { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  background: none;
  border: none;
  transition: color var(--trans-fast), background var(--trans-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface-2); }
.nav-link svg { transition: transform var(--trans-fast); }
.nav-item-dropdown:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-item-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity var(--trans), transform var(--trans);
  box-shadow: var(--shadow);
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast);
}
.nav-dropdown-item:hover { background: var(--surface); }
.nav-dropdown-item img { flex-shrink: 0; object-fit: contain; }
.nav-dropdown-item strong { display: block; color: var(--text); font-size: 0.875rem; font-weight: 600; }
.nav-dropdown-item span   { display: block; color: var(--text-muted); font-size: 0.75rem; margin-top: 1px; }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.nav.mobile-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.mobile-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.nav.mobile-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile-drawer {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(20px);
}
.nav.mobile-open .nav-mobile-drawer { display: flex; }
.nav-mobile-link {
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link--sub {
  padding-left: 16px;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.9375rem;
}
.nav-mobile-label {
  padding: 12px 0 6px;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* 7. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--trans-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #080c14;
}
.btn-primary:hover {
  background: var(--brand-bright);
  box-shadow: 0 0 24px rgba(61, 155, 233, 0.4);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-glow);
  background: var(--surface);
}
.btn-mint {
  background: var(--mint);
  color: #080c14;
}
.btn-mint:hover {
  background: var(--mint-bright);
  box-shadow: 0 0 24px rgba(45, 184, 122, 0.4);
  transform: translateY(-1px);
}
.btn-mind {
  background: var(--mind);
  color: #080c14;
}
.btn-mind:hover {
  background: var(--mind-bright);
  box-shadow: 0 0 24px rgba(155, 109, 255, 0.4);
  transform: translateY(-1px);
}
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* 8. Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-brand { background: var(--brand-glow); color: var(--brand-bright); border: 1px solid var(--brand-dim); }
.badge-mint  { background: var(--mint-glow);  color: var(--mint-bright);  border: 1px solid var(--mint-dim); }
.badge-mind  { background: var(--mind-glow);  color: var(--mind-bright);  border: 1px solid var(--mind-dim); }
.badge-neutral { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }

/* 9. Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
}
.card:hover { transform: translateY(-3px); }
.card-brand:hover { border-color: var(--brand); box-shadow: 0 8px 40px var(--brand-glow-strong); }
.card-mint:hover  { border-color: var(--mint);  box-shadow: 0 8px 40px var(--mint-glow); }
.card-mind:hover  { border-color: var(--mind);  box-shadow: 0 8px 40px var(--mind-glow); }

/* 10. Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-glow-brand {
  background: radial-gradient(ellipse 900px 700px at 50% 45%,
    rgba(61, 155, 233, 0.1) 0%,
    rgba(61, 155, 233, 0.04) 40%,
    transparent 70%);
}
.hero-glow-mint {
  background: radial-gradient(ellipse 900px 700px at 50% 45%,
    rgba(45, 184, 122, 0.1) 0%,
    rgba(45, 184, 122, 0.04) 40%,
    transparent 70%);
}
.hero-glow-mind {
  background: radial-gradient(ellipse 900px 700px at 50% 45%,
    rgba(155, 109, 255, 0.1) 0%,
    rgba(155, 109, 255, 0.04) 40%,
    transparent 70%);
}
.hero-content { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.hero-logo { margin: 0 auto 32px; display: block; height: auto; max-width: 100%; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--border);
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); margin-bottom: 0.5rem; }
.hero-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.hero-desc { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Gradient text */
.grad-brand {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-mint {
  background: linear-gradient(135deg, var(--mint-bright), var(--mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-mind {
  background: linear-gradient(135deg, var(--mind-bright), var(--mind));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-indicator svg { color: var(--text-dim); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* 11. Product Cards (home page) */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
}
.product-card:hover { transform: translateY(-4px); }
.product-card-mint {
  background: linear-gradient(160deg, rgba(45,184,122,0.06) 0%, var(--surface) 60%);
}
.product-card-mint:hover { border-color: var(--mint); box-shadow: 0 12px 48px var(--mint-glow); }
.product-card-mind {
  background: linear-gradient(160deg, rgba(155,109,255,0.06) 0%, var(--surface) 60%);
}
.product-card-mind:hover { border-color: var(--mind); box-shadow: 0 12px 48px var(--mind-glow); }

.product-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.product-logo { border-radius: var(--radius-sm); object-fit: contain; }
.product-card h3 { margin: 0; font-size: 1.5rem; }
.product-card p { font-size: 0.9375rem; margin: 0; }
.product-features { display: flex; flex-direction: column; gap: 8px; }
.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.product-feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-mint { background: var(--mint); }
.dot-mind { background: var(--mind); }
.product-card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* App Store badge */
.appstore-badge {
  display: inline-block;
  transition: opacity var(--trans-fast), transform var(--trans-fast);
}
.appstore-badge:hover { opacity: 0.85; transform: translateY(-1px); }
.appstore-badge img { height: 36px; }

/* 12. Philosophy Grid (home) */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .philosophy-grid { grid-template-columns: 1fr; } }

.philosophy-card {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}
.philosophy-icon {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  background: var(--brand-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.philosophy-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.philosophy-card p { font-size: 0.9rem; }

/* 13. Credibility Strip */
.cred-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 768px) { .cred-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.cred-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cred-icon { color: var(--brand); margin-bottom: 4px; }
.cred-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.cred-label { font-size: 0.8125rem; color: var(--text-muted); }

/* 14. Feature Blocks (alternating) */
.feature-blocks { display: flex; flex-direction: column; gap: 80px; }
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .feature-block { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .feature-block.reverse { direction: ltr; }
}
.feature-block-text { }
.feature-block-text h3 { font-size: 1.625rem; margin-bottom: 12px; }
.feature-block-text p { font-size: 1rem; line-height: 1.7; }
.feature-bullet-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.feature-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.feature-bullet::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}
.feature-bullet.mint::before { background: var(--mint); }
.feature-bullet.mind::before { background: var(--mind); }

/* Phone/screenshot mockup */
.screen-mockup {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  max-width: 340px;
  margin: 0 auto;
  background: var(--surface-2);
}
.screen-mockup img { width: 100%; display: block; }
.screen-mockup-bar {
  height: 32px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.screen-mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}

/* 15. Feature Grid (6-cell) */
.feature-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .feature-grid-6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .feature-grid-6 { grid-template-columns: 1fr; } }

.feature-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.feature-cell:hover { border-color: var(--border-glow); }
.feature-cell.mint:hover  { border-color: var(--mint); box-shadow: 0 4px 20px var(--mint-glow); }
.feature-cell.mind:hover  { border-color: var(--mind); box-shadow: 0 4px 20px var(--mind-glow); }
.feature-cell-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.icon-mint { background: var(--mint-glow); color: var(--mint); }
.icon-mind { background: var(--mind-glow); color: var(--mind); }
.icon-brand { background: var(--brand-glow); color: var(--brand); }
.feature-cell h4 { margin: 0 0 6px; font-size: 0.9375rem; font-weight: 600; }
.feature-cell p { font-size: 0.85rem; margin: 0; line-height: 1.5; }

/* 16. Spec Panel */
.spec-panel {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  border-left: 3px solid var(--brand);
}
.spec-panel.mint { border-left-color: var(--mint); }
.spec-panel.mind { border-left-color: var(--mind); }
.spec-panel pre {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.9;
  white-space: pre-wrap;
}
.spec-panel pre strong { color: var(--text); }
.spec-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  display: block;
}

/* 17. Intelligence Loop (Minder) */
.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 768px) { .loop-grid { grid-template-columns: 1fr 1fr; } }
.loop-step {
  padding: 28px 24px;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  background: var(--surface);
  transition: background var(--trans), border-color var(--trans);
}
.loop-step:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.loop-step:last-child  { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.loop-step:not(:last-child) { border-right: none; }
.loop-step:hover { background: var(--surface-2); border-color: var(--mind); }
@media (max-width: 768px) {
  .loop-step { border-radius: 0 !important; border-right: 1px solid var(--border) !important; }
  .loop-step:nth-child(2), .loop-step:nth-child(4) { border-right: none !important; }
  .loop-step:nth-child(3), .loop-step:nth-child(4) { border-top: none; }
}
.loop-number {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mind-glow);
  border: 1px solid var(--mind-dim);
  color: var(--mind-bright);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.loop-step h4 { font-size: 1rem; margin: 0 0 6px; color: var(--mind-bright); }
.loop-step p { font-size: 0.8rem; margin: 0; line-height: 1.5; }

/* 18. Code Block */
.code-block {
  background: #0a0f1c;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.code-block-header {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
}
.code-block-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.code-block-title { font-size: 0.75rem; color: var(--text-muted); margin-left: 6px; }
.code-block pre {
  margin: 0;
  padding: 20px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #a8c4e8;
  overflow-x: auto;
}
.code-block .k { color: var(--mind-bright); } /* keys */
.code-block .s { color: var(--mint-bright); } /* strings */

/* 19. About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

.about-bio h2 { margin-bottom: 24px; }
.about-bio p { font-size: 1.0625rem; line-height: 1.8; color: var(--text-muted); }
.about-bio p + p { margin-top: 1rem; }
.about-bio p strong { color: var(--text); }

.credentials-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 88px;
}
.credentials-panel h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 20px;
}
.cred-list { display: flex; flex-direction: column; gap: 16px; }
.cred-entry { }
.cred-entry-title { font-size: 0.875rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.cred-entry-sub { font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }
.cred-divider { height: 1px; background: var(--border); }

/* 20. Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, var(--brand), var(--mind));
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  padding-bottom: 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
}
.timeline-item.highlight .timeline-dot { background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.timeline-year {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 2px;
}
.timeline-desc { font-size: 0.9375rem; color: var(--text); margin: 0; }
.timeline-sub { font-size: 0.8125rem; color: var(--text-muted); margin: 2px 0 0; }

/* 21. LinkedIn CTA */
.linkedin-cta {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.linkedin-cta h3 { margin-bottom: 8px; }
.linkedin-cta p { margin-bottom: 24px; font-size: 0.9375rem; }

/* 22. Section header */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.0625rem; max-width: 560px; margin: 0 auto; }

/* 23. Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand { }
.footer-brand img { margin-bottom: 12px; }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 8px; }
.footer-copy { font-size: 0.8125rem; color: var(--text-dim); margin: 0; }
.footer-nav { display: flex; gap: 48px; }
@media (max-width: 480px) { .footer-nav { flex-direction: column; gap: 24px; } }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.footer-col a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--trans-fast); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); text-align: center; font-size: 0.8125rem; color: var(--text-dim); }

/* 24. Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.gap-2 { gap: 8px; }
.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 12px;
}

/* Download section */
.download-section {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 56px 32px;
  text-align: center;
}
.download-section h2 { margin-bottom: 12px; }
.download-section p { font-size: 1.0625rem; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.download-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* MCP badge */
.mcp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--mind-glow);
  border: 1px solid var(--mind-dim);
  color: var(--mind-bright);
  font-size: 0.8rem;
  font-weight: 600;
}
