:root {
  --dark: #07111f;
  --dark-soft: #0d1b2f;
  --card: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --muted: #a9b7ca;
  --blue: #40c9ff;
  --green: #c6ff00;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.section-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 20%, rgba(198, 255, 0, 0.22), transparent 28%),
    radial-gradient(circle at 20% 30%, rgba(64, 201, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0a1f2c 45%, #102618 100%);
  position: relative;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.logo span {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 4px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: 0.3s ease;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 54px;
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
}

.eyebrow {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.hero-description {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.btn.primary {
  color: #06111d;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 18px 38px rgba(64, 201, 255, 0.22);
}

.btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(198, 255, 0, 0.24);
}

.btn.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.btn.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-4px);
}

.hero-image {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.hero-image img {
  width: min(380px, 82vw);
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.image-glow {
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, var(--blue), var(--green), transparent, var(--blue));
  filter: blur(18px);
  opacity: 0.45;
  animation: spin 9s linear infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(198, 255, 0, 0.24);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.orbit.one {
  width: 470px;
  height: 470px;
}

.orbit.two {
  width: 540px;
  height: 540px;
  animation-delay: 0.7s;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

.stat-card,
.about-card,
.info-list,
.project-card,
.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 28px;
  text-align: center;
}

.stat-card h3 {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card p {
  color: var(--muted);
  margin-top: 8px;
}

.about,
.project,
.contact {
  padding: 110px 0 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading p {
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
}

.about-card {
  padding: 34px;
}

.about-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.about-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.info-list {
  padding: 24px;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:last-child {
  border-bottom: 0;
}

.info-list span {
  color: var(--muted);
}

.info-list strong {
  text-align: right;
}

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

.project-card {
  overflow: hidden;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(198, 255, 0, 0.45);
}

.project-image {
  height: 210px;
  display: grid;
  place-items: center;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(7, 17, 31, 0.7);
  background:
    radial-gradient(circle at 70% 30%, rgba(198,255,0,0.85), transparent 34%),
    linear-gradient(135deg, var(--blue), var(--green));
}

.project-body {
  padding: 24px;
}

.project-body h3 {
  margin-bottom: 10px;
}

.project-body p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.project-body a {
  color: var(--green);
  font-weight: 700;
}

.contact-box {
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(64,201,255,0.12), rgba(198,255,0,0.12)),
    var(--card);
}

.contact-box h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.contact-box p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 44px 20px;
  text-align: center;
  color: var(--muted);
}

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

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.28; }
  50% { transform: scale(1.05); opacity: 0.55; }
}

/* Overlay */
.popup-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

/* Box Popup */
.popup-content{
    width: 100%;
    max-width: 800px;
    animation: popupShow .3s ease;
}

/* Container Gambar */
.image-container{
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.4);
}

/* Gambar */
.image-container img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Overlay Gelap di atas gambar */
.image-container::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

/* Tulisan Tengah */
.sold-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 90%;
}

.sold-text h2{
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0,0,0,.5);
}

.sold-text p{
    margin-top: 10px;
    font-size: 1.4rem;
    font-weight: 500;
    text-shadow: 0 5px 15px rgba(0,0,0,.5);
}

/* Tombol */
.popup-content button{
    width: 100%;
    margin-top: 15px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #0f172a;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.popup-content button:hover{
    transform: translateY(-2px);
    background: #1e293b;
}

/* Animasi */
@keyframes popupShow{
    from{
        opacity: 0;
        transform: scale(.9);
    }
    to{
        opacity: 1;
        transform: scale(1);
    }
}



@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    background: rgba(7, 17, 31, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .nav-menu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    display: block;
    padding: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    min-height: 420px;
  }

  .orbit.one { width: 380px; height: 380px; }
  .orbit.two { width: 440px; height: 440px; }

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

  .contact-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .section-container,
  .navbar {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-top: 24px;
  }

  .hero-image {
    min-height: 340px;
  }

  .image-glow {
    width: 300px;
    height: 300px;
  }

  .orbit.one { width: 300px; height: 300px; }
  .orbit.two { width: 340px; height: 340px; }

  .stats {
    margin-top: 0;
  }

  .about,
  .project,
  .contact {
    padding-top: 80px;
  }

  .info-list div {
    display: grid;
  }

  .info-list strong {
    text-align: left;
  }

  .contact-box,
  .about-card {
    padding: 26px;
  }

  .btn {
    width: 100%;
  }
  .sold-text h2{
        font-size: 1.8rem;
    }

    .sold-text p{
        font-size: 1rem;
    }

    .popup-content{
        max-width: 95%;
    }
}
