/* ── Personal Page — Custom Styles (extends style_v4.css) ─────── */
:root {
  --hero-accent-1: #6366f1;
  --hero-accent-2: #58a6ff;
  --hero-accent-3: #a855f7;
  --glow-1: rgba(99,102,241,.20);
  --glow-2: rgba(88,166,255,.15);
  --gradient-hero: linear-gradient(135deg, #6366f1, #58a6ff, #a855f7);
  --text-muted: #7d8590;
}

body { display: block; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  text-align: center; padding: 80px 20px 60px;
  max-width: 720px; margin: 0 auto;
}
.hero h1 {
  font-family: 'Geist', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800; color: #ffffff;
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 16px;
}
.hero h1 .accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500; color: #b1bac4;
  max-width: 600px; margin: 0 auto 12px;
  line-height: 1.5;
}
.hero-sub {
  font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 32px; line-height: 1.5;
}
.hero-cta {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}
.hero .btn { font-size: 15px; padding: 12px 28px; border-radius: 10px; }

/* ── Trust Bar ───────────────────────────────────────────────── */
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; max-width: 900px;
  margin: 0 auto 60px; padding: 0 20px;
}
.trust-item {
  background: rgba(22,27,34,.55); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 14px 20px; text-align: center;
  min-width: 130px; flex: 1; backdrop-filter: blur(14px);
}
.trust-item strong {
  display: block; font-size: 1.3rem; font-weight: 800;
  color: #ffffff; margin-bottom: 2px;
}
.trust-item span {
  font-size: 0.7rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500;
}

/* ── Sections ────────────────────────────────────────────────── */
.section {
  max-width: 800px; margin: 0 auto 64px; padding: 0 20px;
}
.section-title {
  font-size: 1.4rem; font-weight: 700; color: #f0f6fc;
  margin-bottom: 24px; letter-spacing: -0.01em;
}
.section-title::after {
  content: ''; display: block; width: 40px; height: 3px;
  background: var(--gradient-hero); margin-top: 8px; border-radius: 2px;
}

/* ── Story block ─────────────────────────────────────────────── */
.story-block {
  background: rgba(22,27,34,.40); border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px; padding: 28px 30px; backdrop-filter: blur(14px);
  margin-bottom: 20px;
}
.story-block p {
  font-size: 1.02rem; line-height: 1.8; color: #b1bac4; margin-bottom: 14px;
}
.story-block p:last-child { margin-bottom: 0; }
.story-block strong { color: #e6edf3; }
.story-block em { color: #58a6ff; font-style: normal; }
.story-block .highlight {
  display: inline-block; padding: 2px 10px; border-radius: 4px;
  font-size: 0.85rem; font-weight: 600;
}
.hl-blue  { background: rgba(88,166,255,.15);  color: #58a6ff; }
.hl-green { background: rgba(63,185,80,.15);   color: #3fb950; }
.hl-purple { background: rgba(168,85,247,.15); color: #bc8cff; }

/* ── Case Cards ──────────────────────────────────────────────── */
.case-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.case-card {
  background: rgba(22,27,34,.50); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 24px; backdrop-filter: blur(14px);
  transition: border-color .2s, transform .2s;
}
.case-card:hover { border-color: #30363d; transform: translateY(-2px); }
.case-card .case-company {
  font-size: 0.75rem; font-weight: 600; color: #58a6ff;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
}
.case-card h3 { font-size: 1.05rem; font-weight: 700; color: #f0f6fc; margin-bottom: 12px; }
.case-card .case-line { font-size: 0.9rem; color: #8b949e; margin-bottom: 6px; line-height: 1.5; }
.case-card .case-line strong { color: #c9d1d9; }
.case-highlight {
  display: inline-block; margin-top: 12px; padding: 6px 14px;
  border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}
.case-highlight.green { background: rgba(63,185,80,.15); color: #3fb950; }
.case-highlight.blue  { background: rgba(88,166,255,.15); color: #58a6ff; }
.case-highlight.purple { background: rgba(168,85,247,.15); color: #bc8cff; }

/* ── Skills ──────────────────────────────────────────────────── */
.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.skill-category {
  background: rgba(22,27,34,.50); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 20px; backdrop-filter: blur(14px);
}
.skill-category h4 {
  font-size: 0.85rem; font-weight: 600; color: #58a6ff;
  margin-bottom: 10px; letter-spacing: 0.02em;
}
.skill-category .skill-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}

/* ── Timeline ────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: rgba(255,255,255,.08);
}
.timeline-item {
  position: relative; margin-bottom: 18px; padding-left: 24px;
}
.timeline-item::before {
  content: ''; position: absolute; left: -19px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #30363d; border: 2px solid #21262d;
  transition: background .3s, box-shadow .3s;
}
.timeline-item.active::before { background: #58a6ff; box-shadow: 0 0 8px rgba(88,166,255,.4); }
.timeline-date {
  font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-bottom: 2px;
}
.timeline-role {
  font-size: 0.95rem; font-weight: 600; color: #e6edf3;
}
.timeline-company { font-size: 0.85rem; color: #58a6ff; }
.timeline-note { font-size: 0.78rem; color: #6e7681; margin-top: 2px; }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(22,27,34,.50); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 20px; text-decoration: none;
  backdrop-filter: blur(14px); transition: all .2s;
}
.contact-card:hover { border-color: #58a6ff; background: rgba(88,166,255,.06); }
.contact-card .contact-icon {
  font-size: 1.6rem; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04); border-radius: 10px; flex-shrink: 0;
}
.contact-card .contact-info strong {
  display: block; font-size: 0.9rem; color: #e6edf3; margin-bottom: 2px;
}
.contact-card .contact-info small { font-size: 0.75rem; color: #8b949e; }
.contact-note {
  text-align: center; margin-top: 24px;
  font-size: 0.85rem; color: #8b949e; line-height: 1.7;
}
.contact-note strong { color: #e6edf3; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  text-align: center; padding: 40px 20px;
  border-top: 1px solid rgba(255,255,255,.04); max-width: 900px;
  margin: 0 auto;
}
.footer p { font-size: 0.8rem; color: #484f58; }
.footer .footer-quote {
  font-size: 0.95rem; color: #8b949e; font-style: italic; margin: 8px 0;
}
.footer a { color: #58a6ff; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 50px 16px 40px; }
  .trust-bar { flex-direction: column; }
  .trust-item { min-width: auto; }
  .case-grid, .skills-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .story-block { padding: 20px; }
}
