:root {
  --bg: #080b10;
  --bg2: #0d111a;
  --bg3: #111722;
  --border: rgba(255, 255, 255, 0.07);
  --blue: #3b82f6;
  --blue-dim: rgba(59, 130, 246, 0.12);
  --cyan: #22d3ee;
  --text: #e2e8f0;
  --muted: #64748b;
  --card-bg: rgba(255, 255, 255, 0.03);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ── Noise overlay ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── NAVBAR ── */
.navbar {
  background: rgba(8, 11, 16, 0.85) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.navbar-brand {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff !important;
  letter-spacing: -0.5px;
}
.navbar-brand span {
  color: var(--blue);
}
.nav-link {
  color: var(--muted) !important;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 0.5rem 1rem !important;
}
.nav-link:hover {
  color: #fff !important;
}
.nav-link.cta {
  background: var(--blue);
  color: #fff !important;
  border-radius: 8px;
  padding: 0.45rem 1.1rem !important;
}
.nav-link.cta:hover {
  background: #2563eb;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
}
.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--blue);
  top: -200px;
  right: -150px;
}
.glow-2 {
  width: 400px;
  height: 400px;
  background: #6366f1;
  bottom: -100px;
  left: -100px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.06);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
}
.hero-eyebrow i {
  font-size: 0.7rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-cta .btn-primary-custom {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
}
.hero-cta .btn-primary-custom:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}
.hero-cta .btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s;
  background: transparent;
}
.hero-cta .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

/* stats */
.stat-block {
  padding: 1.25rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}
.stat-block .num {
  font-family: "Syne", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-block .num span {
  color: var(--blue);
}
.stat-block .label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.25rem;
  font-weight: 400;
}

/* avatar */
.avatar-wrap {
  position: relative;
  display: inline-block;
}
.avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--blue), var(--cyan), #6366f1);
  z-index: 0;
}
.avatar-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  border-radius: 22px;
  display: block;
  filter: grayscale(10%);
}
.avatar-dot {
  position: absolute;
  bottom: 20px;
  right: -18px;
  z-index: 2;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.avatar-dot .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

/* ── SECTION BASE ── */
section {
  position: relative;
  z-index: 1;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

/* ── ABOUT ── */
.about-section {
  background: var(--bg);
}
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.tag-pill {
  display: inline-block;
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.25rem;
}

/* ── EXPERIENCE ── */
.exp-section {
  background: var(--bg2);
}
.exp-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--blue);
  transition: all 0.3s;
}
.exp-card:hover {
  border-left-color: var(--cyan);
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.05);
}
.exp-role {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.exp-company {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.exp-desc {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 300;
}

/* ── STARTUP ── */
.startup-section {
  background: var(--bg);
}
.startup-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.startup-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.35s;
}
.startup-card:hover::after {
  transform: scaleX(1);
}
.startup-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.25);
}
.startup-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.startup-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}
.startup-tagline {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.startup-desc {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
}

/* ── PROJECTS ── */
.project-section {
  background: var(--bg2);
}
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s;
  cursor: default;
}
.project-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.04);
  transform: translateY(-3px);
}
.project-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.project-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.project-desc {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
}
.project-num {
  font-family: "Syne", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(59, 130, 246, 0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ── SKILLS ── */
.skills-section {
  background: var(--bg);
}
.skill-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin: 0.3rem;
  transition: all 0.25s;
}
.skill-item:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: var(--blue-dim);
  color: #fff;
}
.skill-item i {
  color: var(--blue);
  font-size: 1rem;
}

/* ── CERTS ── */
.cert-section {
  background: var(--bg2);
}
.cert-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.25s;
}
.cert-item:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.cert-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--blue-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
}
.cert-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.cert-year {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ── CONTACT ── */
.contact-section {
  background: var(--bg);
}
.contact-box {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(99, 102, 241, 0.08)
  );
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  text-align: center;
}
.contact-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.contact-box p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 2rem;
  font-weight: 300;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  padding: 0.65rem 1.3rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
}
.social-btn:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: var(--blue-dim);
  color: #fff;
}
.social-btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.social-btn.primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── DIVIDER ── */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── ANIMATE ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
