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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #0b1110;
  color: #f4f1e8;
  font-family: Arial, sans-serif;
}

.navbar {
  width: 90%;
  max-width: 1260px;
  margin: 18px auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 12px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;

  background: rgba(15, 22, 22, 0.75);
  backdrop-filter: blur(12px);
}

.logo,
.status,
.nav-links {
  display: flex;
  align-items: center;
}

.logo {
  gap: 12px;
  padding: 10px 16px;
  font-weight: 600;
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c8ff5a;
  box-shadow: 0 0 12px #c8ff5a;
}

.nav-links {
  gap: 35px;
}

.nav-links a {
  color: #9ba5b5;
  text-decoration: none;
  font-size: 16px;

  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: white;
}

.status {
  gap: 8px;

  padding: 9px 14px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;

  color: #9ba5b5;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57e389;
  box-shadow: 0 0 10px #57e389;
}.hero {
  min-height: calc(100vh - 90px);

  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 70px 8vw;

  overflow: hidden;
}

.hero-content {
  width: 52%;
  max-width: 800px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  position: relative;
  z-index: 5;
}

.hero-label {
  margin-bottom: 25px;

  font-size: 13px;
  letter-spacing: 4px;
  color: #8f9a9a;
}

.hero h1 {
  font-size: clamp(60px, 7vw, 115px);
  line-height: 0.9;

  letter-spacing: -5px;
  font-weight: 800;
}

.hero h1 span {
  color: #c8ff5a;
}

.hero-description {
  max-width: 560px;

  margin-top: 38px;

  color: #929b9b;
  font-size: 16px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;

  margin-top: 32px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 22px;

  border-radius: 30px;

  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;

  transition:
      transform 0.3s ease,
      background 0.3s ease;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn.primary {
  background: #c8ff5a;
  color: #0b1110;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  width: 45%;
  height: 550px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  perspective: 1000px;
}


/* CODE CARD */

.code-card {
  width: 440px;

  position: relative;
  z-index: 3;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;

  background: rgba(12, 18, 18, 0.82);

  backdrop-filter: blur(15px);

  box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.45),
      0 0 60px rgba(200, 255, 90, 0.06);

  overflow: hidden;

  transition: transform 0.15s ease-out;
}


.code-header {
  height: 52px;

  display: flex;
  align-items: center;

  padding: 0 18px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  color: #778080;
  font-size: 13px;
}


.window-dots {
  display: flex;
  gap: 7px;

  margin-right: 15px;
}

.window-dots span {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: #4d5555;
}

.window-dots span:first-child {
  background: #ff6b6b;
}

.window-dots span:nth-child(2) {
  background: #ffd166;
}

.window-dots span:nth-child(3) {
  background: #c8ff5a;
}


.running {
  margin-left: auto;

  display: flex;
  align-items: center;
  gap: 7px;

  color: #63e889;

  font-size: 11px;
  letter-spacing: 1.5px;
}

.running span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #63e889;
  box-shadow: 0 0 10px #63e889;
}


.code-body {
  padding: 25px;

  font-family: monospace;
  font-size: 14px;
  line-height: 2;

  color: #aeb8b8;
}

.line-number {
  display: inline-block;

  width: 30px;

  color: #414949;
}

.keyword {
  color: #8da8ff;
}

.variable {
  color: #d8b4fe;
}

.function {
  color: #c8ff5a;
}

.string {
  color: #e8c77d;
}


/* FLOATING OBJECTS */

.floating-object {
  position: absolute;

  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 42px;

  border-radius: 14px;

  font-size: 13px;
  font-weight: 600;

  color: #101515;

  box-shadow:
      0 15px 30px rgba(0, 0, 0, 0.25);

  transition:
      transform 0.2s ease-out;
}

.object-api {
  top: 70px;
  right: 25px;

  background: #a89cff;
}

.object-js {
  top: 30px;
  left: 70px;

  background: #c8ff5a;
}

.object-db {
  bottom: 90px;
  left: 25px;

  background: #ffe56b;
}

.object-git {
  bottom: 45px;
  right: 10px;

  background: #79b8ff;
}


/* ORBITS */

.orbit {
  position: absolute;

  border: 1px solid rgba(200, 255, 90, 0.2);

  border-radius: 50%;

  pointer-events: none;
}

.orbit-one {
  width: 420px;
  height: 420px;

  transform: rotate(25deg);
}

.orbit-two {
  width: 280px;
  height: 280px;

  transform: rotate(-20deg);

  border-color: rgba(255, 255, 255, 0.08);
}
body {
  min-height: 100vh;

  background-color: #0b1110;

  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: 45px 45px;

  color: #f4f1e8;
  font-family: Arial, sans-serif;
}

.cursor-glow {
  position: fixed;

  width: 350px;
  height: 350px;

  border-radius: 50%;

  background: radial-gradient(
      circle,
      rgba(200, 255, 90, 0.12) 0%,
      rgba(200, 255, 90, 0.05) 35%,
      transparent 70%
  );

  pointer-events: none;

  transform: translate(-50%, -50%);

  z-index: 0;

  left: 0;
  top: 0;

  transition: opacity 0.3s ease;
}

.projects {
  position: relative;

  padding: 140px 8vw;

  max-width: 1500px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  margin-bottom: 55px;
}

.section-label {
  margin-bottom: 12px;

  font-size: 11px;
  letter-spacing: 3px;

  color: #7d8787;
}

.section-header h2 {
  font-size: clamp(45px, 6vw, 85px);
  line-height: 0.9;

  letter-spacing: -4px;
}

.project-count {
  color: #687171;

  font-size: 12px;
  letter-spacing: 2px;
}

.project-card {
  min-height: 520px;

  display: grid;
  grid-template-columns: 45% 55%;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;

  background: rgba(13, 20, 19, 0.65);

  overflow: hidden;

  position: relative;

  transition:
      border-color 0.3s ease,
      transform 0.3s ease;
}

.project-card:hover {
  border-color: rgba(200, 255, 90, 0.25);
}

.project-info {
  padding: 55px;

  display: flex;
  gap: 35px;

  position: relative;
  z-index: 2;
}

.project-number {
  color: #606b6b;

  font-family: monospace;
  font-size: 13px;
}

.project-details h3 {
  font-size: clamp(35px, 4vw, 60px);

  letter-spacing: -2px;

  margin-bottom: 25px;
}

.project-details p {
  max-width: 420px;

  color: #899292;

  font-size: 15px;
  line-height: 1.7;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: 30px;
}

.project-tech span {
  padding: 8px 12px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;

  color: #9da6a6;

  font-size: 10px;
  letter-spacing: 1px;
}

.project-links {
  display: flex;
  gap: 25px;

  margin-top: 35px;
}

.project-links a {
  color: white;

  text-decoration: none;

  font-size: 11px;
  letter-spacing: 1.5px;

  transition: color 0.25s ease;
}

.project-links a span {
  color: #c8ff5a;

  margin-left: 5px;
}

.project-links a:hover {
  color: #c8ff5a;
}

.project-preview {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 45px;

  overflow: hidden;

  background:
      radial-gradient(
          circle at center,
          rgba(200, 255, 90, 0.12),
          transparent 60%
      );
}

.browser-window {
  width: 100%;
  max-width: 560px;

  position: relative;
  z-index: 2;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;

  overflow: hidden;

  background: #101515;

  box-shadow:
      0 30px 70px rgba(0, 0, 0, 0.5);

  transform: perspective(1000px) rotateY(-4deg);

  transition:
      transform 0.5s ease,
      box-shadow 0.5s ease;
}

.project-card:hover .browser-window {
  transform:
      perspective(1000px)
      rotateY(0deg)
      translateY(-8px);

  box-shadow:
      0 40px 90px rgba(0, 0, 0, 0.6),
      0 0 40px rgba(200, 255, 90, 0.08);
}

.browser-bar {
  height: 38px;

  display: flex;
  align-items: center;

  padding: 0 12px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  background: #151c1c;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #555;
}

.browser-dots span:first-child {
  background: #ff6b6b;
}

.browser-dots span:nth-child(2) {
  background: #ffd166;
}

.browser-dots span:nth-child(3) {
  background: #63e889;
}

.browser-url {
  margin-left: 18px;

  padding: 5px 18px;

  flex: 1;

  border-radius: 5px;

  background: rgba(255, 255, 255, 0.05);

  color: #707a7a;

  font-family: monospace;
  font-size: 9px;
}

.website-preview {
  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;
}

.website-preview img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center;

  transition: transform 0.6s ease;
}

.project-card:hover .website-preview img {
  transform: scale(1.04);
}

.about {
  position: relative;

  padding: 140px 8vw;

  max-width: 1500px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;

  gap: 100px;

  align-items: start;
}

.about-story {
  max-width: 650px;
}

.about-intro {
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.2;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: -1.5px;

  color: #e8e6de;

  margin-bottom: 35px;
}

.about-story p:not(.about-intro) {
  color: #899292;

  font-size: 16px;
  line-height: 1.8;

  margin-bottom: 20px;
}

.profile-card {
  padding: 30px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;

  background: rgba(13, 20, 19, 0.65);

  backdrop-filter: blur(12px);

  transition:
      border-color 0.3s ease,
      transform 0.3s ease;
}

.profile-card:hover {
  border-color: rgba(200, 255, 90, 0.2);

  transform: translateY(-5px);
}

.profile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-bottom: 20px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  color: #c8ff5a;

  font-size: 11px;
  letter-spacing: 2px;
}

.live-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #63e889;

  box-shadow: 0 0 12px #63e889;
}

.profile-item {
  display: flex;
  flex-direction: column;

  gap: 8px;

  padding: 24px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.profile-item:last-child {
  border-bottom: none;
}

.profile-item span {
  color: #697272;

  font-size: 10px;
  letter-spacing: 1.5px;
}

.profile-item strong {
  color: #e5e4dc;

  font-size: 17px;
}

.profile-item small {
  color: #697272;

  font-size: 12px;
}

.about-stats {
  margin-top: 90px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  padding: 35px 25px;

  display: flex;
  flex-direction: column;

  gap: 8px;

  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  font-size: clamp(35px, 4vw, 55px);

  letter-spacing: -2px;

  color: #c8ff5a;
}

.stat span {
  color: #697272;

  font-size: 10px;
  letter-spacing: 2px;
}

@media (max-width: 900px) {

  .hero {
      padding: 80px 6vw;
  }

  .hero-content {
      width: 100%;
  }

  .hero-visual {
      display: none;
  }

  .about-grid {
      grid-template-columns: 1fr;
      gap: 50px;
  }

  .about-stats {
      grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
      border-right: none;
  }

}

@media (max-width: 600px) {

  .navbar {
      width: 94%;
  }

  .nav-links {
      display: none;
  }

  .hero {
      min-height: 90vh;
      padding: 60px 6vw;
  }

  .hero h1 {
      font-size: clamp(52px, 15vw, 80px);
      letter-spacing: -3px;
  }

  .hero-description {
      font-size: 14px;
  }

  .hero-buttons {
      flex-wrap: wrap;
  }

  .projects,
  .about {
      padding: 100px 6vw;
  }

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

  .project-info {
      padding: 35px 25px;
  }

  .project-preview {
      min-height: 350px;
      padding: 25px;
  }

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

  .stat {
      padding: 25px 15px;
  }

}
