/* ======================================================
   오원석 박사 랜딩 페이지 — Futuristic Theme
   ====================================================== */

:root {
  /* Color system */
  --bg: #05060d;
  --bg-soft: #0b0d1a;
  --bg-elev: #101328;
  --panel: rgba(20, 22, 44, 0.6);
  --panel-border: rgba(120, 140, 220, 0.18);
  --text: #e8ecff;
  --text-dim: #a4acd0;
  --text-mute: #6f789e;

  --accent: #6ee7ff;       /* cyan */
  --accent-2: #8a7cff;     /* purple */
  --accent-3: #ff6ec7;     /* pink */
  --accent-warm: #ffd166;  /* gold */

  --gradient-main: linear-gradient(135deg, #6ee7ff 0%, #8a7cff 50%, #ff6ec7 100%);
  --gradient-cta: linear-gradient(135deg, #8a7cff 0%, #6ee7ff 100%);
  --gradient-vibe: linear-gradient(135deg, #ff6ec7 0%, #8a7cff 50%, #6ee7ff 100%);

  /* Layout */
  --max-w: 1240px;
  --radius: 18px;
  --radius-sm: 10px;

  --shadow-1: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(138, 124, 255, 0.25);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Pretendard Variable', Pretendard, 'Space Grotesk', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============ Animated Background ============ */
#bg-animation {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #0e1130 0%, #05060d 50%, #000 100%);
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(110, 231, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.blob {
  position: absolute;
  width: 550px; height: 550px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: float 20s ease-in-out infinite;
}
.blob-1 { background: #6ee7ff; top: -150px; left: -100px; }
.blob-2 { background: #8a7cff; top: 30%; right: -150px; animation-delay: -7s; }
.blob-3 { background: #ff6ec7; bottom: -100px; left: 40%; animation-delay: -14s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-40px, 50px) scale(0.95); }
}

/* ============ Navigation ============ */
#top-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .3s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 6, 13, 0.5);
  border-bottom: 1px solid transparent;
}
#top-nav.scrolled {
  background: rgba(5, 6, 13, 0.85);
  border-bottom: 1px solid var(--panel-border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}
.logo-sub { font-size: 0.7rem; color: var(--text-mute); letter-spacing: 0.15em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 0.93rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: color .2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 10px 20px !important;
  background: var(--gradient-cta);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(138, 124, 255, 0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(138, 124, 255, 0.45); }
.nav-toggle { display: none; font-size: 1.3rem; color: var(--text); }

/* ============ Hero ============ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 80px;
  position: relative;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(110, 231, 255, 0.08);
  border: 1px solid rgba(110, 231, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(110, 231, 255, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(110, 231, 255, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(110, 231, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 231, 255, 0); }
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-title span { display: block; }
.hero-title .line-1 { opacity: 0; animation: slideUp .7s .2s forwards; }
.hero-title .line-2 { opacity: 0; animation: slideUp .7s .4s forwards; }
.hero-title .line-3 { opacity: 0; animation: slideUp .7s .6s forwards; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.gradient-text {
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradShift 6s linear infinite;
}
@keyframes gradShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 580px;
  opacity: 0;
  animation: slideUp .7s .8s forwards;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0;
  animation: slideUp .7s 1s forwards;
}
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all .25s ease;
}
.btn-primary {
  background: var(--gradient-cta);
  color: #fff !important;
  box-shadow: 0 8px 30px rgba(138, 124, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(138, 124, 255, 0.5);
  color: #fff !important;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
.btn-block { width: 100%; justify-content: center; margin-top: 8px; }

/* ============ Hero Visual (Profile) ============ */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.profile-frame {
  position: relative;
  width: 400px;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: visible;
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
/* Soft cyan/purple glow behind the photo — blends with the image's blue tone */
.profile-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(closest-side, rgba(110, 231, 255, 0.35), rgba(138, 124, 255, 0.25) 45%, transparent 75%);
  filter: blur(20px);
  z-index: -1;
  animation: pulseGlow 5s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  border: 1px solid rgba(110, 231, 255, 0.25);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(110, 231, 255, 0.15),
    0 0 60px rgba(110, 231, 255, 0.15);
}
/* Compact floating badges — lighter, won't hide the hero image */
.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(16, 19, 40, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(110, 231, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  animation: floatCard 5s ease-in-out infinite;
}
.floating-badge i {
  font-size: 0.9rem;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--gradient-cta);
  border-radius: 50%;
  color: #fff;
}
.badge-1 { top: 8%; left: -30px; animation-delay: 0s; }
.badge-2 { top: 50%; right: -50px; animation-delay: -1.5s; }
.badge-3 { bottom: 10%; left: -20px; animation-delay: -3s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: var(--text-dim);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ============ Section Heads ============ */
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(110, 231, 255, 0.08);
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 255, 0.2);
  margin-bottom: 18px;
}
.section-tag.light { background: rgba(255,255,255,0.08); color: var(--text); border-color: rgba(255,255,255,0.18); }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto;
}

/* ============ Stats ============ */
.stats-section {
  padding: 40px 0 80px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  padding: 32px 24px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  text-align: center;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity .3s;
  z-index: -1;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 231, 255, 0.4);
  box-shadow: var(--shadow-glow);
}
.stat-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: var(--gradient-cta);
  border-radius: 14px;
  font-size: 1.4rem;
  color: #fff;
}
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ============ About ============ */
.about-section { padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.about-story, .about-specialty {
  padding: 40px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
}
.about-story p {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 18px;
  line-height: 1.8;
}
.about-story strong { color: var(--text); font-weight: 600; }
.about-story em { color: var(--accent); font-style: normal; }
.highlight-text {
  display: inline-block;
  background: linear-gradient(120deg, transparent 70%, rgba(110, 231, 255, 0.25) 70%);
  padding: 0 4px;
  color: var(--text);
  font-weight: 700;
}
.about-specialty h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--panel-border);
}
.specialty-list li {
  padding: 10px 0;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}
.specialty-list i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }

/* ============ Career / Positions ============ */
.career-section { padding: 100px 0; }
.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 60px;
}
.position-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  transition: all .25s ease;
}
.position-card:hover {
  transform: translateX(4px);
  border-color: var(--accent);
  background: rgba(20, 22, 44, 0.8);
}
.position-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  font-size: 1.1rem;
}
.position-card.is-current .position-icon {
  background: var(--gradient-cta);
  color: #fff;
}
.position-card.is-past .position-icon {
  background: rgba(255,255,255,0.05);
  color: var(--text-mute);
}
.position-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 4px;
}
.position-card.is-current .position-badge {
  background: rgba(110, 231, 255, 0.15);
  color: var(--accent);
}
.position-card.is-past .position-badge {
  background: rgba(255,255,255,0.06);
  color: var(--text-mute);
}
.position-body h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}

.edu-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.edu-block {
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
}
.edu-block h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.edu-block h3 i { color: var(--accent); }
.timeline { position: relative; padding-left: 20px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 4px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
}
.timeline-item {
  position: relative;
  padding: 8px 0;
}
.timeline-dot {
  position: absolute;
  left: -20px; top: 14px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(110, 231, 255, 0.15);
}
.timeline-title { font-size: 0.98rem; color: var(--text); }
.timeline-title strong { color: var(--accent); font-weight: 700; margin-right: 4px; }
.timeline-sub { font-size: 0.85rem; color: var(--text-mute); margin-top: 2px; }

.cert-list li {
  padding: 10px 0;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cert-list i { color: var(--accent-warm); }

/* ============ Books ============ */
.books-section { padding: 100px 0; }
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}
.book-card {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  transition: all .3s ease;
}
.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(138, 124, 255, 0.4);
}
.book-cover {
  flex-shrink: 0;
  width: 140px;
  height: 200px;
  position: relative;
  perspective: 1000px;
}
.book-face {
  width: 100%;
  height: 100%;
  padding: 18px 14px;
  border-radius: 4px 10px 10px 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.5);
  transform: rotateY(-8deg);
  transition: transform .4s ease;
}
.book-card:hover .book-face { transform: rotateY(0deg); }
.book-cover[data-idx="0"] .book-face {
  background: linear-gradient(135deg, #8a7cff 0%, #6ee7ff 100%);
}
.book-cover[data-idx="1"] .book-face {
  background: linear-gradient(135deg, #ff6ec7 0%, #ffd166 100%);
}
.book-spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px 0 0 4px;
}
.book-brand {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  opacity: 0.9;
  font-weight: 600;
}
.book-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.book-author {
  font-size: 0.8rem;
  text-align: right;
  letter-spacing: 0.3em;
  font-weight: 600;
}
.book-info { flex: 1; }
.book-year {
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.book-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}
.book-info p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ============ Lectures ============ */
.lectures-section { padding: 100px 0; }
.lecture-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.chip {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  color: var(--text-dim);
  border-radius: 999px;
  font-size: 0.88rem;
  transition: all .2s ease;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip-active {
  background: var(--gradient-cta);
  color: #fff;
  border-color: transparent;
}
.lectures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.lecture-card {
  padding: 22px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  transition: all .25s ease;
  position: relative;
}
.lecture-card::before {
  content: '';
  position: absolute;
  left: 0; top: 20%;
  width: 3px;
  height: 60%;
  background: var(--gradient-cta);
  border-radius: 3px;
  opacity: 0;
  transition: opacity .25s;
}
.lecture-card:hover {
  transform: translateX(4px);
  border-color: rgba(110, 231, 255, 0.3);
}
.lecture-card:hover::before { opacity: 1; }
.lecture-card.hidden { display: none; }
.lecture-cat {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(110, 231, 255, 0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.lecture-org {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.lecture-topic {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.lecture-more {
  text-align: center;
  margin-top: 40px;
  color: var(--text-mute);
  font-size: 0.95rem;
}
.lecture-more i { color: var(--accent); margin-right: 8px; }

/* ============ Vibe Coding (Featured) ============ */
.vibe-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.vibe-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 110, 199, 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(110, 231, 255, 0.15), transparent 50%);
  z-index: -1;
}
.vibe-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.vibe-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(90deg, rgba(255, 110, 199, 0.15), rgba(110, 231, 255, 0.15));
  border: 1px solid rgba(255, 110, 199, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-3);
  margin-bottom: 24px;
}
.vibe-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.vibe-title-kr {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--gradient-vibe);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradShift 5s linear infinite;
}
.vibe-title-en {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.vibe-subtitle {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 18px;
}
.vibe-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}
.pillar-card {
  padding: 30px 26px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  transition: all .3s ease;
  text-align: left;
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 110, 199, 0.35);
  box-shadow: 0 20px 50px rgba(255, 110, 199, 0.15);
}
.pillar-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--gradient-vibe);
  background-size: 200% 200%;
  border-radius: 14px;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 18px;
  animation: gradShift 5s linear infinite;
}
.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.curriculum-block {
  padding: 48px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  position: relative;
}
.curriculum-block::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--gradient-vibe);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.curriculum-title {
  font-size: 1.5rem;
  margin-bottom: 32px;
  text-align: center;
}
.curriculum-title i { color: var(--accent-3); margin-right: 8px; }
.curriculum-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.curriculum-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: all .25s ease;
}
.curriculum-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(138, 124, 255, 0.3);
  transform: translateY(-3px);
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-vibe);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
  flex-shrink: 0;
}
.step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.step-body p {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.vibe-quote {
  max-width: 700px;
  margin: 80px auto 0;
  padding: 40px;
  text-align: center;
  position: relative;
}
.vibe-quote > i {
  font-size: 2rem;
  color: var(--accent-3);
  opacity: 0.4;
  margin-bottom: 16px;
  display: block;
}
.vibe-quote p {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text);
}
.vibe-quote p strong {
  background: var(--gradient-vibe);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
}
.quote-author {
  color: var(--text-mute);
  font-size: 0.95rem;
}

/* ============ Contact ============ */
.contact-section {
  padding: 100px 0;
  position: relative;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-left .section-title { text-align: left; margin-top: 14px; }
.contact-left .section-sub { text-align: left; margin: 16px 0 32px; }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  transition: all .2s ease;
}
.contact-list li:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.contact-list i {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--gradient-cta);
  border-radius: 10px;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.contact-form {
  padding: 40px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(110, 231, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.1);
}
.contact-form textarea { resize: vertical; font-family: inherit; }
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-status {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--accent);
  min-height: 20px;
  text-align: center;
}
.form-status.error { color: #ff8a8a; }

/* ============ Footer ============ */
.site-footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--panel-border);
  background: rgba(5, 6, 13, 0.6);
  backdrop-filter: blur(20px);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.footer-brand .logo-mark { font-size: 1.4rem; margin-bottom: 8px; display: inline-block; }
.footer-brand p { color: var(--text-mute); font-size: 0.9rem; }
.footer-copy {
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--panel-border);
  color: var(--text-mute);
  font-size: 0.82rem;
}

/* ============ Scroll Reveal ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: all .7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: auto; margin-top: 20px; }
  .profile-frame { width: 340px; }
  .badge-1 { left: 0; }
  .badge-2 { right: -20px; }
  .badge-3 { left: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .edu-cert-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(5, 6, 13, 0.95);
    padding: 20px;
    gap: 16px;
    border-top: 1px solid var(--panel-border);
    backdrop-filter: blur(20px);
  }
  .nav-toggle { display: block; }
  .hero-section { padding: 110px 20px 60px; }
  .profile-frame { width: 280px; }
  .floating-badge { padding: 8px 12px; font-size: 0.75rem; gap: 8px; }
  .floating-badge i { width: 22px; height: 22px; font-size: 0.75rem; }
  .badge-1 { top: 4%; left: -8px; }
  .badge-2 { top: 48%; right: -8px; }
  .badge-3 { bottom: 6%; left: -8px; }
  .about-story, .about-specialty, .edu-block { padding: 28px; }
  .books-grid { grid-template-columns: 1fr; }
  .book-card { flex-direction: column; align-items: center; text-align: center; }
  .book-info { text-align: center; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .curriculum-block { padding: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
