@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ==================== RESET & BASE ==================== */

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

:root {
  --bg-primary:       #f8fafc;
  --bg-secondary:     #f1f5f9;
  --bg-card:          rgba(255, 255, 255, 0.9);
  --bg-card-hover:    rgba(255, 255, 255, 1);

  --accent-teal:      #0891b2;
  --accent-teal-dim:  rgba(8, 145, 178, 0.09);
  --accent-purple:    #7c3aed;
  --accent-purple-dim:rgba(124, 58, 237, 0.09);
  --accent-gold:      #d97706;

  --text-primary:     #0f172a;
  --text-secondary:   #475569;
  --text-muted:       #94a3b8;

  --border:           rgba(0, 0, 0, 0.08);
  --border-accent:    rgba(8, 145, 178, 0.3);
  --border-purple:    rgba(124, 58, 237, 0.3);

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-h:     72px;
  --banner-h:  0px;
  --sec-pad:   64px;
  --max-w:     1200px;

  --glass-bg:  rgba(255, 255, 255, 0.65);
  --blur:      blur(20px);
  --tr:        0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-teal) var(--bg-secondary);
}
html::-webkit-scrollbar { width: 4px; }
html::-webkit-scrollbar-track { background: var(--bg-secondary); }
html::-webkit-scrollbar-thumb { background: var(--accent-teal); border-radius: 2px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; }

/* ==================== UTILITIES ==================== */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.sec { padding: var(--sec-pad) 0; }

.text-gradient {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-teal   { color: var(--accent-teal); }
.text-muted  { color: var(--text-secondary); }

.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-teal-dim);
  color: var(--accent-teal);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}


.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: var(--blur);
  transition: var(--tr);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(8, 145, 178, 0.12);
}

/* Section headers */
.sec-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-teal);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--accent-teal);
}

.sec-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.sec-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 56px;
  line-height: 1.75;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  transition: var(--tr);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-teal);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: #0e7490;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(8, 145, 178, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--accent-teal-dim);
  color: var(--accent-teal);
  border: 1px solid var(--border-accent);
}
.btn-ghost:hover {
  background: var(--accent-teal);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* ==================== NOTICE BANNER ==================== */

.notice-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 10px 48px;
  text-align: center;
  background-color: var(--accent-teal);
  color: #fff;
  z-index: 1100;
}

.notice-banner p {
  margin: 0;
  font-size: 0.92rem;
  font-family: var(--font-body);
}

.notice-banner p strong {
  font-weight: 600;
}

.notice-banner .close-banner {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #fff;
  opacity: 0.8;
  transition: opacity var(--tr);
}

.notice-banner .close-banner:hover {
  opacity: 1;
}

.vibrate-bell {
  display: inline-block;
}

.vibrate-bell.vibrate-animation {
  animation: vibrate 0.5s ease-in-out infinite;
}

@keyframes vibrate {
  0%,  100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
  20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* ==================== NAVIGATION ==================== */

.nav {
  position: fixed;
  top: var(--banner-h); left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.nav-logo .dot { color: var(--accent-teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 6px;
  transition: var(--tr);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--glass-bg);
}
.nav-links a.active { color: var(--accent-teal); }
.nav-links .nav-hire {
  margin-left: 8px;
  padding: 7px 18px;
  background: var(--accent-teal-dim);
  color: var(--accent-teal) !important;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
}
.nav-links .nav-hire:hover {
  background: var(--accent-teal) !important;
  color: var(--bg-primary) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--tr);
}
.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); }

.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--banner-h) + var(--nav-h));
  left: 0; right: 0;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  transition: var(--tr);
}
.nav-mobile a:hover {
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
}

/* ==================== PAGE HERO (inner pages) ==================== */

.page-hero {
  padding: calc(var(--banner-h) + var(--nav-h) + 80px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(8, 145, 178, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-teal);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==================== FOOTER ==================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-brand .logo .dot { color: var(--accent-teal); }
.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--tr);
}
.footer-col a:hover { color: var(--accent-teal); }

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.social-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--tr);
}
.social-pill:hover {
  color: var(--accent-teal);
  border-color: var(--border-accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==================== HERO CAROUSEL ==================== */

.hcarousel {
  position: relative;
  overflow: hidden;
}

.hc-track {
  display: flex;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

/* Each slide fills the viewport */
.hc-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ── Slide 1: inherits light hero styles ── */
.hc-s1 {
  background: var(--bg-primary);
  padding-top: calc(var(--banner-h) + var(--nav-h));
}

/* ── Slide 2: dark purple-navy ── */
.hc-s2 {
  background: #110e28;
  padding-top: calc(var(--banner-h) + var(--nav-h));
}
.hc-s2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 85% 40%, rgba(124,58,237,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 5% 90%,  rgba(8,145,178,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hc-s2::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* ── Slide 3: dark warm amber-navy ── */
.hc-s3 {
  background: #18100a;
  padding-top: calc(var(--banner-h) + var(--nav-h));
}
.hc-s3::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(217,119,6,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 35% 45% at 95% 85%, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hc-s3::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* ── Inner layouts ── */
.hc-inner-2col {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
}

.hc-inner-center {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Eyebrow badges ── */
.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  margin-bottom: 28px;
}
.hc-eyebrow-purple {
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  color: #c4b5fd;
}
.hc-eyebrow-green {
  background: rgba(74,222,128,0.14);
  border: 1px solid rgba(74,222,128,0.35);
  color: #86efac;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hc-green-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 2s ease-in-out infinite;
}

/* ── Dark-slide typography ── */
.hc-dark-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}
.hc-purple-grad {
  background: linear-gradient(135deg, #a78bfa 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hc-amber-grad {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hc-dark-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}
.hc-dark-sub-center {
  max-width: 100%;
  text-align: center;
}
.hc-dark-sub strong { color: rgba(255,255,255,0.85); font-weight: 600; }

/* ── Skill chips (slide 2) ── */
.hc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 36px;
}
.hc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--tr);
}
.hc-chip-t {
  background: rgba(8,145,178,0.16);
  border: 1px solid rgba(8,145,178,0.35);
  color: #67e8f9;
}
.hc-chip-t:hover { background: rgba(8,145,178,0.3); border-color: rgba(8,145,178,0.6); }
.hc-chip-p {
  background: rgba(124,58,237,0.16);
  border: 1px solid rgba(124,58,237,0.35);
  color: #c4b5fd;
}
.hc-chip-p:hover { background: rgba(124,58,237,0.3); border-color: rgba(124,58,237,0.6); }

/* ── Code card (slide 2 right column) ── */
.hc-code-card {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.hc-code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hc-code-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hc-code-filename {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-left: 6px;
}
.hc-code-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hc-code-ln {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
}
.hc-code-ln-cur {
  background: rgba(8,145,178,0.1);
  border-radius: 4px;
  padding: 2px 6px;
  margin: 0 -6px;
}
.hc-k  { color: #c4b5fd; }
.hc-p  { color: rgba(255,255,255,0.4); }
.hc-s  { color: #86efac; }
.hc-n  { color: #fbbf24; }
.hc-b  { color: #67e8f9; }

/* ── Slide 3 stats ── */
.hc-s3-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
  justify-content: center;
}
.hc-s3-stat-n {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 5px;
}
.hc-s3-stat-l {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.hc-s3-stat-div {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── Slide 3 CTA buttons ── */
.hc-s3-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hc-btn-amber {
  background: linear-gradient(135deg, #d97706, #f97316);
  color: #fff;
  border: none;
}
.hc-btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(217,119,6,0.45);
}
.hc-btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.22);
}
.hc-btn-outline-light:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-2px);
}
.hc-btn-ghost {
  background: rgba(8,145,178,0.15);
  color: #67e8f9;
  border: 1px solid rgba(8,145,178,0.35);
}
.hc-btn-ghost:hover {
  background: rgba(8,145,178,0.28);
  border-color: rgba(8,145,178,0.6);
  transform: translateY(-2px);
}

/* ── Social pills (slide 3) ── */
.hc-social-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.hc-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  font-size: 13px;
  font-family: var(--font-head);
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: var(--tr);
}
.hc-social-pill:hover {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

/* ── Navigation arrows ── */
.hc-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  font-size: 15px;
  cursor: pointer;
  transition: var(--tr);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hc-arr:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.1);
}
.hc-prev { left: 28px; }
.hc-next { right: 28px; }

/* Slide 1 (light bg) arrow style */
.hcarousel[data-slide="0"] .hc-arr {
  border-color: var(--border);
  background: var(--glass-bg);
  color: var(--text-secondary);
}
.hcarousel[data-slide="0"] .hc-arr:hover {
  background: var(--bg-card-hover);
  color: var(--accent-teal);
  border-color: var(--border-accent);
  transform: translateY(-50%) scale(1.1);
}

/* ── Dot indicators ── */
.hc-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}
.hc-dot {
  height: 8px;
  width: 8px;
  border-radius: 4px;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: width 0.35s var(--tr), background 0.35s var(--tr);
  padding: 0;
}
.hc-dot.active {
  width: 32px;
  background: #fff;
}
.hcarousel[data-slide="0"] .hc-dot { background: var(--border); }
.hcarousel[data-slide="0"] .hc-dot.active { background: var(--accent-teal); width: 32px; }

/* ── Progress bar ── */
.hc-pgbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-purple));
  z-index: 10;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hc-inner-2col {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hc-chips { justify-content: center; }
  .hc-dark-sub { max-width: 100%; }
  .hc-col-code { display: none; }
}
@media (max-width: 768px) {
  .hc-arr { width: 40px; height: 40px; font-size: 13px; }
  .hc-prev { left: 12px; }
  .hc-next { right: 12px; }
  .hc-s3-stats { gap: 20px; }
  .hc-s3-stat-div { height: 36px; }
}
@media (max-width: 480px) {
  .hc-arr { display: none; }
  .hc-s3-stat-div { display: none; }
}

/* ==================== HOME — HERO ==================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--banner-h) + var(--nav-h));
}

/* Animated orb background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.07;
}
.orb-1 {
  width: 700px; height: 700px;
  background: var(--accent-teal);
  top: -200px; right: -120px;
  animation: orbFloat 9s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: var(--accent-purple);
  bottom: -150px; left: -80px;
  animation: orbFloat 12s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  background: var(--accent-teal);
  top: 50%; left: 40%;
  animation: orbFloat 7s ease-in-out infinite 2s;
  opacity: 0.05;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.06); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: var(--accent-teal-dim);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-teal);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.avail-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero-name .line-top { display: block; color: var(--text-primary); }
.hero-name .line-bot {
  display: block;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.hero-role em { color: var(--accent-teal); font-style: normal; }

.hero-bio {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero side panel */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  backdrop-filter: var(--blur);
}

.panel-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.pc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.pc-dot-teal  { background: var(--accent-teal); }
.pc-dot-gold  { background: var(--accent-gold); }
.pc-dot-purple{ background: var(--accent-purple); }
.panel-card-head .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-teal);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.stack-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stack-name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 60px;
}
.stack-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.stack-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-purple));
  border-radius: 2px;
}
.stack-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  min-width: 32px;
  text-align: right;
}

/* ==================== HOME — SKILLS ==================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skill-cat {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--tr);
}
.skill-cat:hover {
  border-color: var(--border-accent);
  background: var(--bg-card);
}

.skill-cat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-teal-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.skill-cat-icon.purple {
  background: var(--accent-purple-dim);
  border-color: var(--border-purple);
}

.skill-cat h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.skill-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 9px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-secondary);
  transition: var(--tr);
}
.skill-pill:hover {
  border-color: var(--border-accent);
  color: var(--accent-teal);
}

/* ==================== HOME — EXPERIENCE PREVIEW ==================== */

.exp-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.exp-prev-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.exp-prev-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--accent-teal), var(--accent-purple));
  opacity: 0;
  transition: var(--tr);
}
.exp-prev-card:hover::before { opacity: 1; }
.exp-prev-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.epc-company {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.epc-role {
  color: var(--accent-teal);
  font-size: 13px;
  font-family: var(--font-mono);
  margin-bottom: 10px;
}
.epc-period {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 14px;
}
.epc-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.view-all-wrap { text-align: center; }

/* ==================== HOME — TESTIMONIALS ==================== */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--tr);
}
.testi-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(8, 145, 178, 0.08);
}

.testi-quote {
  font-size: 48px;
  color: var(--accent-teal);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 14px;
  font-family: Georgia, serif;
}
.testi-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 22px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--bg-primary);
  flex-shrink: 0;
}
.testi-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.testi-pos {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==================== HOME — CTA BANNER ==================== */

.cta-banner {
  background: linear-gradient(135deg, rgba(0,212,170,0.07), rgba(139,92,246,0.07));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,170,0.09), transparent 70%);
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  position: relative;
}
.cta-banner p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ==================== ABOUT PAGE ==================== */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

.about-bio h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.about-bio p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
}

.sidebar-widget {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 16px;
  backdrop-filter: var(--blur);
}
.sidebar-widget h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.info-rows { display: flex; flex-direction: column; gap: 12px; }
.info-row  { display: flex; flex-direction: column; gap: 2px; }
.info-row .lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}
.info-row .val {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}
.info-row a { color: var(--accent-teal); }

/* Education */

.edu-list { display: flex; flex-direction: column; gap: 20px; }

.edu-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--tr);
}
.edu-card:hover { border-color: var(--border-accent); }

.edu-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-teal-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.edu-degree {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 3px;
}
.edu-school { color: var(--accent-teal); font-size: 14px; margin-bottom: 6px; }
.edu-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.edu-note {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Publications */

.pub-list { display: flex; flex-direction: column; gap: 14px; }
.pub-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--tr);
}
.pub-card:hover { border-color: var(--border-accent); }
.pub-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-teal);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
}
.pub-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.pub-meta { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }

/* Skills detail */

.skills-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.skill-detail-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  transition: var(--tr);
}
.skill-detail-card:hover { border-color: var(--border-accent); }
.sdk-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  margin-bottom: 10px;
}

/* Competitive programming */

.cp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
.cp-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--tr);
}
.cp-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.cp-icon {
  font-size: 28px;
  margin: 0 auto 12px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.cp-icon img { width: 36px; height: 36px; object-fit: contain; }
.cp-site {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.cp-val {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 4px;
}
.cp-lbl { font-size: 11px; color: var(--text-muted); }

/* ==================== EXPERIENCE PAGE ==================== */

.exp-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
}

.exp-timeline::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-teal), var(--accent-purple) 60%, transparent);
}

.exp-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding-bottom: 44px;
  position: relative;
}
.exp-item:last-child { padding-bottom: 0; }

.exp-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
  position: relative;
  z-index: 1;
}
.exp-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-teal);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--accent-teal);
}
.exp-dot.current { animation: dotGlow 2s ease-in-out infinite; }
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 0 2px var(--accent-teal), 0 0 0px var(--accent-teal); }
  50%       { box-shadow: 0 0 0 2px var(--accent-teal), 0 0 16px var(--accent-teal); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.exp-body {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  transition: var(--tr);
}
.exp-body:hover {
  border-color: var(--border-accent);
  background: var(--bg-card);
}

.exp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.exp-company {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.exp-title-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--accent-teal-dim);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  font-size: 12px;
  color: var(--accent-teal);
  font-family: var(--font-mono);
}

.exp-meta { text-align: right; }
.exp-dates {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.exp-current {
  display: block;
  color: var(--accent-teal);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 3px;
}

.exp-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.exp-bullets li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.exp-bullets li::before {
  content: '▸';
  color: var(--accent-teal);
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 4px;
}

/* ==================== BADGE PAGE ==================== */

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.section-head .ico { font-size: 26px; }

.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.badge-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: var(--tr);
}
.badge-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 50px rgba(0,212,170,0.07);
}
.badge-ico {
  width: 60px; height: 60px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.badge-ico.gold   { background: rgba(255,215,0,0.12); border: 2px solid rgba(255,215,0,0.35); }
.badge-ico.silver { background: rgba(192,192,192,0.12); border: 2px solid rgba(192,192,192,0.35); }
.badge-ico.bronze { background: rgba(205,127,50,0.12); border: 2px solid rgba(205,127,50,0.35); }
.badge-ico.teal   { background: var(--accent-teal-dim); border: 2px solid var(--border-accent); }
.badge-ico.purple { background: var(--accent-purple-dim); border: 2px solid var(--border-purple); }

.badge-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.badge-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 4px;
}
.badge-sub { font-size: 12px; color: var(--text-muted); }

/* SO */
.so-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.so-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--tr);
}
.so-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.so-site {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.so-badges-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.so-b {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-gold   { background: #FFD700; }
.dot-silver { background: #C0C0C0; }
.dot-bronze { background: #CD7F32; }
.so-rep { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* Academic awards */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.award-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--tr);
}
.award-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.award-icon { font-size: 28px; margin-bottom: 12px; }
.award-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.award-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ==================== COURSES PAGE ==================== */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.course-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(0,212,170,0.09), transparent 70%);
  border-radius: 0 0 0 80px;
}
.course-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,212,170,0.07);
}
.course-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-teal-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.course-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}
.course-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}
.course-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==================== CONTACT PAGE ==================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.contact-info > p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--tr);
}
.contact-item:hover {
  border-color: var(--border-accent);
  background: var(--accent-teal-dim);
}
.ci-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--accent-teal-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.ci-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  margin-bottom: 2px;
}
.ci-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-form-box {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-box h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 11px 15px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--tr);
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ==================== DIVIDER ==================== */

.sec-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
  :root { --sec-pad: 52px; }

  .hero-inner       { grid-template-columns: 1fr; gap: 52px; text-align: center; }
  .hero-bio         { max-width: 100%; }
  .hero-actions     { justify-content: center; }
  .hero-avail       { justify-content: center; margin-left: auto; margin-right: auto; }

  .skills-grid      { grid-template-columns: repeat(2, 1fr); }
  .testi-grid       { grid-template-columns: repeat(2, 1fr); }
  .about-layout     { grid-template-columns: 1fr; }
  .contact-layout   { grid-template-columns: 1fr; }
  .badge-grid       { grid-template-columns: repeat(2, 1fr); }
  .cp-grid          { grid-template-columns: repeat(2, 1fr); }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --sec-pad: 64px; }

  .nav-links        { display: none; }
  .nav-toggle       { display: flex; }

  .skills-grid      { grid-template-columns: 1fr; }
  .exp-preview      { grid-template-columns: 1fr; }
  .testi-grid       { grid-template-columns: 1fr; }
  .courses-grid     { grid-template-columns: 1fr; }
  .so-grid          { grid-template-columns: 1fr; }
  .awards-grid      { grid-template-columns: 1fr; }
  .skills-detail    { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .cta-banner       { padding: 48px 28px; }

  .exp-timeline::before { left: 28px; }
  .exp-item         { grid-template-columns: 56px 1fr; gap: 18px; }
  .exp-head         { flex-direction: column; }
  .exp-meta         { text-align: left; }

  .form-row         { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .badge-grid       { grid-template-columns: repeat(2, 1fr); }
  .cp-grid          { grid-template-columns: repeat(2, 1fr); }
  .hero-panel       { display: none; }
}

/* ====== BACK TO TOP ====== */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--accent-teal);
  color: var(--bg-primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s, transform 0.2s;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.35);
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
#back-to-top:hover {
  background: #0e7490;
  transform: translateY(-2px);
}
