:root {
  --bg-main: #070b16;
  --bg-alt: #0c1224;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-strong: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #a9b4c7;
  --text-soft: #d8e0ee;
  --primary: #6c63ff;
  --primary-2: #00d4ff;
  --primary-3: #00ffa3;
  --border-soft: rgba(255, 255, 255, 0.12);
  --shadow-glow: 0 0 45px rgba(108, 99, 255, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(108, 99, 255, 0.25), transparent 35%),
    radial-gradient(circle at top right, rgba(0, 212, 255, 0.16), transparent 35%),
    var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.fw-black {
  font-weight: 900;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-2), var(--primary), var(--primary-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-muted-custom {
  color: var(--text-muted);
}

.section-padding {
  padding: 110px 0;
}

.alt-section {
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 212, 255, 0.08), transparent 30%),
    var(--bg-alt);
}

.section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.08);
  color: #8eefff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin-bottom: 22px;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-text {
  max-width: 820px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Navbar */
.glass-navbar {
  padding: 18px 0;
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.25s ease;
}

.glass-navbar.nav-scrolled {
  padding: 12px 0;
  background: rgba(7, 11, 22, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-weight: 900;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.25);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  margin: 0 5px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: white;
}

/* Buttons */
.btn-gradient {
  border: none;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 35px rgba(108, 99, 255, 0.35);
  transition: 0.25s ease;
}

.btn-gradient:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 212, 255, 0.35);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
  font-weight: 700;
}

.btn-outline-light:hover {
  color: #07101f;
}

.btn-dark-soft {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid var(--border-soft);
  font-weight: 700;
}

.btn-dark-soft:hover {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}

.orb-one {
  width: 340px;
  height: 340px;
  left: -130px;
  top: 160px;
  background: var(--primary);
}

.orb-two {
  width: 380px;
  height: 380px;
  right: -160px;
  bottom: 80px;
  background: var(--primary-2);
}

.hero-content {
  padding-top: 90px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 255, 163, 0.25);
  border-radius: 999px;
  background: rgba(0, 255, 163, 0.08);
  color: #b6ffe7;
  font-weight: 700;
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--primary-3);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--primary-3);
}

.hero-subtitle {
  max-width: 740px;
  color: var(--text-soft);
  font-size: 1.22rem;
  line-height: 1.8;
}

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

.hero-tags span,
.tech-marquee span,
.project-tags span {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  color: #dce9ff;
  font-size: 0.87rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-social a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: white;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--border-soft);
  transition: 0.25s ease;
}

.hero-social a:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-glow);
}

/* Profile Card */
.profile-card {
  position: relative;
  max-width: 420px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--border-soft);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  text-align: center;
  overflow: hidden;
}

.profile-glow {
  position: absolute;
  width: 230px;
  height: 230px;
  top: -120px;
  right: -80px;
  background: rgba(0, 212, 255, 0.25);
  border-radius: 50%;
  filter: blur(20px);
}

.profile-image-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--primary-3));
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 7px solid #10172a;
  border-radius: 50%;
}

.profile-card h2 {
  font-weight: 850;
  letter-spacing: -0.04em;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.profile-stats div {
  padding: 15px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.profile-stats strong {
  display: block;
  font-size: 0.92rem;
}

.profile-stats span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* About */
.about-grid {
  display: grid;
  gap: 18px;
}

.about-item {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  transition: 0.25s ease;
}

.about-item:hover {
  transform: translateY(-4px);
  background: var(--bg-card-strong);
}

.about-item i {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-size: 1.25rem;
}

.about-item h5 {
  font-weight: 800;
}

.about-item p {
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Skills */
.skill-card,
.project-card,
.learning-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border-soft);
  transition: 0.25s ease;
}

.skill-card:hover,
.project-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.skill-icon,
.project-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 40px rgba(108, 99, 255, 0.28);
  font-size: 1.5rem;
}

.skill-card h4,
.project-card h4 {
  font-weight: 830;
  margin-bottom: 18px;
}

.skill-card ul {
  padding-left: 18px;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.9;
}

.tech-marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Projects */
.project-card p {
  color: var(--text-muted);
  line-height: 1.75;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8eefff;
  font-weight: 800;
}

.project-link:hover {
  color: white;
}

/* Focus */
.focus-list {
  display: grid;
  gap: 18px;
}

.focus-item {
  display: flex;
  gap: 18px;
}

.focus-item > span {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.22);
  color: #8eefff;
  font-weight: 900;
}

.focus-item h5 {
  font-weight: 830;
}

.focus-item p {
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.learning-panel {
  background:
    radial-gradient(circle at top right, rgba(108, 99, 255, 0.2), transparent 35%),
    rgba(255, 255, 255, 0.055);
}

.learning-panel h4 {
  font-weight: 850;
}

.progress-block {
  margin-bottom: 24px;
}

.progress-block span {
  color: var(--text-soft);
  font-weight: 700;
}

.progress-block strong {
  color: #8eefff;
}

.progress {
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--primary-3));
}

/* GitHub CTA */
.github-cta {
  padding: 40px 0;
  background: var(--bg-main);
}

.github-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 44px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(108, 99, 255, 0.18), rgba(0, 212, 255, 0.1)),
    rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border-soft);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
}

.github-card h2 {
  font-weight: 850;
  letter-spacing: -0.04em;
}

.github-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.8;
}

/* Contact */
.contact-card {
  display: block;
  height: 100%;
  padding: 30px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border-soft);
  color: white;
  transition: 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  color: white;
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.contact-card i {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 20px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-size: 1.6rem;
}

.contact-card h5 {
  font-weight: 850;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Footer */
.footer {
  padding: 28px 0;
  color: var(--text-muted);
  background: #050813;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer a {
  margin-left: 18px;
  color: var(--text-muted);
  font-weight: 700;
}

.footer a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-content {
    padding-top: 130px;
  }

  .display-3 {
    font-size: 3rem;
  }

  .github-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-collapse {
    padding-top: 18px;
  }

  .navbar .nav-link {
    padding: 10px 0;
  }
}

@media (max-width: 575px) {
  .section-padding {
    padding: 80px 0;
  }

  .display-3 {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .profile-card {
    padding: 24px;
  }

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

  .about-item {
    flex-direction: column;
  }

  .github-card {
    padding: 28px;
  }

  .footer a {
    display: inline-block;
    margin: 10px 14px 0 0;
  }
}
