/* ===== Design tokens ===== */
:root {
  --bg: #0a0b10;
  --bg-elevated: #12141c;
  --bg-card: rgba(18, 20, 28, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --text-muted: #8b92a8;
  --accent: #6ee7b7;
  --accent-2: #38bdf8;
  --accent-3: #a78bfa;
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ===== Background ===== */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(110, 231, 183, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(56, 189, 248, 0.1), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(167, 139, 250, 0.08), transparent),
    var(--bg);
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow { opacity: 1; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo .accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 0.5rem 1.1rem !important;
  background: var(--gradient);
  color: var(--bg) !important;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover { opacity: 0.9; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Typography helpers ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--border);
}

.section-header {
  margin-bottom: 3rem;
  max-width: 560px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-desc {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.6;
}

.section-desc strong { color: var(--text); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient);
  color: var(--bg);
  box-shadow: 0 8px 24px rgba(110, 231, 183, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; }

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 100vh;
  padding-top: var(--header-h);
  padding-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 1.25rem;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.hero-role {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  min-height: 1.6em;
  font-weight: 500;
}

.typed-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-summary {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-summary strong { color: var(--text); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-social {
  display: flex;
  gap: 0.75rem;
}

.hero-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  transition: var(--transition);
}

.hero-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-ring {
  position: relative;
  padding: 6px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: var(--shadow), 0 0 60px rgba(110, 231, 183, 0.15);
}

.profile-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
  transition: transform 0.15s ease-out;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}

.floating-card i { color: var(--accent); font-size: 1.1rem; }

.card-1 { top: 10%; left: 0; animation-delay: 0s; }
.card-2 { bottom: 20%; right: -5%; animation-delay: 1s; }
.card-3 { top: 45%; left: -12%; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0.5rem auto 3rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(110, 231, 183, 0.3);
  transform: translateY(-4px);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-text strong { color: var(--text); }

.about-highlights {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-highlights i { color: var(--accent); width: 18px; }

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.info-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.info-card i {
  font-size: 1.25rem;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

.info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-3), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  box-shadow: 0 0 12px rgba(110, 231, 183, 0.4);
}

.timeline-content {
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: rgba(110, 231, 183, 0.25);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

.timeline-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.timeline-content ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.timeline-content li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: var(--shadow);
}

.project-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.project-icon.gov { background: rgba(56, 189, 248, 0.15); color: var(--accent-2); }
.project-icon.commerce { background: rgba(110, 231, 183, 0.15); color: var(--accent); }
.project-icon.b2b { background: rgba(167, 139, 250, 0.15); color: var(--accent-3); }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.project-tags span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: var(--text-muted);
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.project-type {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.project-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.project-features {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.project-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.project-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ===== Skills ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.skill-group {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.skill-group h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-group h3 i { color: var(--accent-2); }

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tags span {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  transition: var(--transition);
}

.skill-tags span:hover {
  color: var(--accent);
  border-color: rgba(110, 231, 183, 0.4);
}

/* ===== Achievements ===== */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.achievement-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: flex-start;
}

.achievement-card i {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.achievement-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.achievement-card strong { color: var(--text); }

/* ===== Education ===== */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.edu-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.edu-card:hover { border-color: rgba(56, 189, 248, 0.3); }

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-2);
}

.edu-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0 0.25rem;
}

.edu-school {
  font-weight: 600;
  font-size: 0.9rem;
}

.edu-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.languages-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.languages-note i { color: var(--accent); margin-right: 0.5rem; }

/* ===== Contact ===== */
.contact-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(110, 231, 183, 0.08), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(56, 189, 248, 0.06), transparent 50%);
}

.contact-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.5rem 0;
}

.contact-content p { color: var(--text-muted); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== Footer ===== */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}


.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-top {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  transition: var(--transition);
}

.back-top:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="150"] { transition-delay: 150ms; }

/* ===== Responsive ===== */
/* ===== Interview preparation (page bottom) ===== */
.interview-bottom {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.interview-bottom-header {
  margin-bottom: 2rem;
  max-width: 560px;
}

.interview-bottom-header h1,
.interview-bottom-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-top: 0.5rem;
}

/* Dedicated interview page */
.interview-page .interview-page-main {
  padding-top: calc(var(--header-h) + 4.5rem);
  padding-bottom: 3rem;
}

.interview-page.player-active .interview-page-main {
  padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0));
}

.interview-page.player-active .footer {
  margin-bottom: 5rem;
}

.interview-page .interview-bottom-header {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.interview-page .site-header {
  background: rgba(10, 11, 16, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.interview-page .nav-back {
  margin-left: auto;
  max-width: 100%;
}

.nav-back-short {
  display: none;
}

.interview-page .interview-page-main {
  overflow-x: clip;
}

.interview-page .footer a:not(.btn) {
  color: var(--text-muted);
  transition: color var(--transition);
}

.interview-page .footer a:not(.btn):hover {
  color: var(--accent);
}

.btn-interview-prep {
  box-shadow: 0 8px 24px rgba(110, 231, 183, 0.2);
}

.btn-interview-prep:hover {
  transform: translateY(-2px);
}

.interview-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.interview-search-wrap {
  flex: 1;
  min-width: min(100%, 280px);
  position: relative;
}

.interview-search-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.interview-search {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition);
}

.interview-search:focus {
  border-color: var(--accent);
}

.interview-search::placeholder { color: var(--text-muted); }

.interview-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.interview-tabs-wrap {
  margin-bottom: 1.5rem;
}

.interview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.interview-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.interview-tab span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.interview-tab:hover {
  color: var(--text);
  border-color: rgba(110, 231, 183, 0.35);
}

.interview-tab.active {
  color: var(--bg);
  background: var(--gradient);
  border-color: transparent;
}

.interview-tab.active span {
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
}

.interview-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.interview-prep-note {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.prep-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.prep-card i {
  font-size: 1.25rem;
  color: var(--accent-2);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.prep-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.prep-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.interview-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.iqa-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.iqa-group-title i { color: var(--accent); }

.iqa-group-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.iqa-group-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.iqa-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.iqa-item[open] {
  border-color: rgba(110, 231, 183, 0.25);
}

.iqa-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.iqa-summary::-webkit-details-marker { display: none; }

.iqa-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(110, 231, 183, 0.12);
  color: var(--accent);
  border-radius: 6px;
}

.iqa-title {
  flex: 1;
  text-align: left;
  line-height: 1.35;
}

.iqa-cat-badge {
  display: none;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.interview-list[data-all-categories="true"] .iqa-cat-badge {
  display: inline-block;
}

.iqa-chevron {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.iqa-item[open] .iqa-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.iqa-body {
  padding: 0 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.iqa-body[data-lazy="1"] {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.iqa-body-placeholder {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.iqa-body .iqa-visual {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.iqa-block {
  padding-top: 1rem;
}

.iqa-block h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.iqa-en h4 { color: var(--accent-2); }
.iqa-hi h4 { color: var(--accent-3); }

.iqa-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.iqa-text p:last-child {
  margin-bottom: 0;
}

.iqa-en .iqa-text p {
  color: var(--text);
}

.iqa-hi .iqa-text p {
  font-family: var(--font);
  color: var(--text-muted);
}

.iqa-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--header-h) + 2rem);
  }

  .hero-summary,
  .hero-actions,
  .hero-social { justify-content: center; margin-inline: auto; }

  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .profile-img { width: 220px; height: 220px; }
  .card-3 { left: 5%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

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

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 11, 16, 0.98);
    backdrop-filter: blur(16px);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover { background: rgba(255, 255, 255, 0.05); }

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .contact-box {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .contact-actions { justify-content: center; }
  .floating-card { display: none; }

  .interview-toolbar { flex-direction: column; align-items: stretch; }
  .interview-actions { justify-content: stretch; }
  .interview-actions .btn { flex: 1; justify-content: center; }
  .iqa-cat-badge { display: none !important; }

  .interview-page .interview-page-main {
    padding-top: calc(var(--header-h) + 2.75rem);
    padding-bottom: 2rem;
  }

  .interview-bottom-header {
    margin-bottom: 1.75rem;
  }

  .interview-bottom-header h1 {
    font-size: clamp(1.3rem, 5.5vw, 1.75rem);
  }

  .interview-bottom-header .section-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .interview-prep-note {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .prep-card {
    padding: 0.85rem 1rem;
  }

  .interview-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-bottom: 1.25rem;
  }

  .interview-tabs {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    padding-bottom: 0.35rem;
  }

  .interview-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .iqa-summary {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0.85rem 0.9rem;
    gap: 0.45rem 0.6rem;
  }

  .iqa-title {
    flex: 1 1 calc(100% - 2.75rem);
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .iqa-summary-tts {
    margin-left: 0;
    margin-right: 0;
  }

  .iqa-chevron {
    margin-left: auto;
    align-self: center;
  }

  .iqa-body {
    padding: 0 0.85rem 1rem;
  }

  .iqa-group-title {
    font-size: 1rem;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
  }

  .iqa-group-count {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { justify-content: center; width: 100%; }

  .nav-back-long { display: none; }
  .nav-back-short { display: inline; }

  .interview-page .nav-back {
    padding-left: 0.6rem;
    padding-right: 0.65rem;
    font-size: 0.78rem;
  }

  .interview-page .nav-logo {
    font-size: 1.25rem;
  }

  .container {
    width: min(1140px, 100% - 1.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
  .floating-card { animation: none; }
  .pulse { animation: none; }
}
