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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: #050816;
  color: #e5e7eb;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.background-blur {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.45;
  z-index: -1;
}

.blur-one {
  width: 350px;
  height: 350px;
  background: #2563eb;
  top: 10%;
  left: 5%;
}

.blur-two {
  width: 400px;
  height: 400px;
  background: #7c3aed;
  bottom: 10%;
  right: 5%;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: -2;
}

.navbar {
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 8, 22, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo span {
  color: #38bdf8;
}

.navbar nav {
  display: flex;
  gap: 28px;
}

.navbar nav a {
  color: #cbd5e1;
  font-size: 15px;
  transition: 0.2s ease;
}

.navbar nav a:hover {
  color: #38bdf8;
}

.hero {
  min-height: 92vh;
  padding: 90px 8%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 950px;
}

.eyebrow {
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.status-badge {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.09);
  border: 1px solid rgba(34, 197, 94, 0.24);
  color: #bbf7d0;
  font-size: 14px;
}

.status-badge span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
}

.hero h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: -3px;
  max-width: 850px;
  margin-bottom: 24px;
}

#typing-text {
  background: linear-gradient(90deg, #38bdf8, #a78bfa, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 720px;
  color: #cbd5e1;
  font-size: 18px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #020617;
  box-shadow: 0 14px 35px rgba(56, 189, 248, 0.22);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.32);
}

.secondary-btn {
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.45);
}

.secondary-btn:hover {
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-3px);
}

.ghost-btn {
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #ddd6fe;
  background: rgba(124, 58, 237, 0.12);
}

.ghost-btn:hover {
  transform: translateY(-3px);
  border-color: #a78bfa;
  color: #ffffff;
  background: rgba(124, 58, 237, 0.26);
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.social-strip a {
  padding: 8px 13px;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: 0.2s ease;
  font-size: 14px;
}

.social-strip a:hover {
  color: #020617;
  background: #38bdf8;
  border-color: #38bdf8;
  transform: translateY(-3px);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.stats div {
  min-width: 140px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(16px);
}

.stats strong {
  display: block;
  font-size: 26px;
  color: #f8fafc;
}

.stats span {
  color: #94a3b8;
  font-size: 14px;
}

.section {
  padding: 90px 8%;
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.section-heading p,
.contact-card p {
  color: #cbd5e1;
}

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

.focus-card {
  padding: 26px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.42));
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition: 0.25s ease;
}

.focus-card:hover {
  transform: translateY(-7px);
  border-color: rgba(56, 189, 248, 0.45);
}

.focus-card span {
  display: block;
  color: #38bdf8;
  font-weight: 800;
  margin-bottom: 14px;
}

.focus-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.focus-card p {
  color: #cbd5e1;
}

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

.single-project-grid {
  grid-template-columns: minmax(260px, 620px);
}

.project-card {
  min-height: 300px;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.42));
  border: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(16px);
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}

.featured-project-card {
  min-height: 330px;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 35%);
  opacity: 0;
  transition: 0.25s ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.project-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 22px;
  position: relative;
}

.project-card h3 {
  color: #f8fafc;
  margin-bottom: 12px;
  font-size: 24px;
  position: relative;
}

.project-card p {
  color: #cbd5e1;
  margin-bottom: 20px;
  position: relative;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.project-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.5);
  color: #7dd3fc;
  font-size: 13px;
  border: 1px solid rgba(125, 211, 252, 0.14);
}

.project-detail-btn {
  width: fit-content;
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  background: rgba(56, 189, 248, 0.08);
  color: #7dd3fc;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  position: relative;
}

.project-detail-btn:hover {
  background: #38bdf8;
  color: #020617;
  transform: translateY(-2px);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.roadmap-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition: 0.25s ease;
}

.roadmap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
}

.roadmap-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: #7dd3fc;
  font-weight: 800;
}

.roadmap-card h3 {
  margin-bottom: 10px;
  color: #f8fafc;
}

.roadmap-card p {
  color: #cbd5e1;
}

.active-roadmap {
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(124, 58, 237, 0.12)),
    rgba(15, 23, 42, 0.7);
  border-color: rgba(56, 189, 248, 0.35);
}

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

.skill-category-card {
  padding: 26px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.skill-category-card h3 {
  margin-bottom: 18px;
  color: #f8fafc;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.skills-grid span {
  padding: 12px 17px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #dbeafe;
  transition: 0.2s ease;
}

.skills-grid span:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.55);
  color: #38bdf8;
}

.contact {
  padding-bottom: 120px;
}

.contact-card {
  padding: 44px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(124, 58, 237, 0.12)),
    rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(20px);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact-links a,
.contact-links button {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #dbeafe;
  cursor: pointer;
  transition: 0.2s ease;
  font: inherit;
}

.contact-links a:hover,
.contact-links button:hover {
  color: #020617;
  background: #38bdf8;
  border-color: #38bdf8;
  transform: translateY(-3px);
}

#copy-message {
  margin-top: 18px;
  color: #22c55e;
  font-size: 14px;
  opacity: 0;
  transition: 0.25s ease;
}

#copy-message.show {
  opacity: 1;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.contact-info div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.32);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.contact-info span {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 6px;
}

.contact-info strong {
  color: #f8fafc;
  font-size: 14px;
  word-break: break-word;
}

.project-hero {
  min-height: 70vh;
  padding: 90px 8%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.project-hero-content {
  max-width: 900px;
}

.project-hero h1 {
  font-size: clamp(46px, 8vw, 88px);
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 24px;
}

.project-hero p {
  max-width: 760px;
  color: #cbd5e1;
  font-size: 18px;
}

.back-link {
  display: inline-block;
  margin-bottom: 26px;
  color: #7dd3fc;
  font-weight: 700;
  transition: 0.2s ease;
}

.back-link:hover {
  color: #38bdf8;
  transform: translateX(-4px);
}

.project-page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.project-page-tags span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 28px;
  align-items: start;
}

.project-main-content {
  display: grid;
  gap: 24px;
}

.content-block,
.project-side-card,
.technical-card,
.file-card,
.gallery-placeholder,
.note-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.content-block h2 {
  font-size: 34px;
  margin-bottom: 14px;
}

.content-block p {
  color: #cbd5e1;
  margin-bottom: 14px;
}

.project-side-card {
  position: sticky;
  top: 110px;
}

.project-side-card h3 {
  margin-bottom: 20px;
}

.project-side-card div {
  padding: 14px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.project-side-card span {
  display: block;
  color: #94a3b8;
  font-size: 13px;
}

.project-side-card strong {
  color: #f8fafc;
}

.technical-grid,
.file-grid,
.gallery-grid,
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.technical-card h3,
.file-card h3,
.note-card h3 {
  margin-bottom: 12px;
  color: #f8fafc;
}

.technical-card p,
.file-card p,
.note-card p {
  color: #cbd5e1;
}

.note-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: #38bdf8;
  font-weight: 900;
}

.file-card span {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 13px;
}

.file-link {
  display: inline-block;
  margin-top: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s ease;
}

.file-link:hover {
  background: #38bdf8;
  color: #020617;
  transform: translateY(-2px);
}

.improvement-list {
  display: grid;
  gap: 14px;
}

.improvement-list div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.improvement-list span {
  color: #38bdf8;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}

.improvement-list p {
  color: #dbeafe;
}

.gallery-placeholder {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(124, 58, 237, 0.12)),
    rgba(15, 23, 42, 0.56);
}

.gallery-placeholder span {
  color: #38bdf8;
  font-weight: 800;
  margin-bottom: 8px;
}

.gallery-placeholder p {
  color: #cbd5e1;
}

footer {
  padding: 28px 8%;
  text-align: center;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  position: relative;
  z-index: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.7s ease;
}

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

@media (max-width: 1100px) {
  .roadmap-grid,
  .skills-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .technical-grid,
  .file-grid,
  .gallery-grid,
  .notes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-detail-layout {
    grid-template-columns: 1fr;
  }

  .project-side-card {
    position: static;
  }
}

@media (max-width: 1050px) {
  .project-grid,
  .focus-grid,
  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
  }

  .navbar nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero,
  .project-hero {
    padding-top: 70px;
  }

  .stats {
    flex-direction: column;
  }

  .stats div {
    width: 100%;
  }

  .project-grid,
  .focus-grid,
  .contact-info,
  .roadmap-grid,
  .skills-category-grid,
  .technical-grid,
  .file-grid,
  .gallery-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 28px;
  }

  .cursor-glow {
    display: none;
  }

  .hero h1,
  .project-hero h1 {
    letter-spacing: -1.5px;
  }
}