:root {
  --primary-green: #2c6e49;
  --secondary-green: #4c9a6f;
  --white-bg: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #555555;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html, body { 
  margin: 0; 
  padding: 0;
  min-height: 100vh; 
  scroll-behavior: smooth;
  background: var(--white-bg);
  color: var(--text-dark);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background: var(--white-bg);
}

/* 1. NAVBAR PENUH (FULL WIDTH) DENGAN BACKGROUND PUTIH */
.site-header {
  width: 100%;
  padding: 0 5vw;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--white-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand-name {
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -2px;
  line-height: .85;
  color: var(--primary-green);
}

.brand-subtitle {
  margin-top: 6px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-green);
}

.brand-divider {
  width: 1px;
  height: 35px;
  background: rgba(0, 0, 0, 0.15);
}

.brand-tagline {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 650;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 2px; background: var(--primary-green);
  transition: right .2s ease;
}

.main-nav a:hover, .main-nav a.active { color: var(--primary-green); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 20px;
  border: 1.5px solid var(--primary-green);
  border-radius: 999px;
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s ease;
}

.login-link:hover {
  background: var(--primary-green);
  color: var(--white);
}

.login-link svg, .button svg { width: 16px; height: 16px; }

/* 2. HERO CONTENT & BACKGROUND RENDER YANG PAS */
.hero-content {
  width: min(1440px, 100%);
  margin: auto;
  padding: 40px 5vw;
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

/* Kotak Teks Kiri dengan Background Putih Solid agar Bersih */
.copy {
  width: min(620px, 55%);
  padding: 40px 40px 40px 0;
  background: rgba(255, 255, 255, 0.92); /* Putih solid transparan halus */
  backdrop-filter: blur(4px);
  border-radius: 12px;
  animation: rise-in .75s ease both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 4px; height: 4px;
  border-radius: 50%; background: var(--secondary-green);
}

h1 {
  margin: 0;
  font-size: clamp(48px, 4.8vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -3.5px;
  color: var(--text-dark);
}

h1 span {
  display: block;
  margin-top: 5px;
  color: var(--primary-green);
}

.description {
  max-width: 480px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.button {
  min-width: 175px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  transition: transform .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: var(--white);
  background: var(--primary-green);
  box-shadow: 0 6px 20px rgba(44, 110, 73, 0.25);
}

.button-primary:hover { background: var(--secondary-green); }

.button-secondary {
  color: var(--primary-green);
  border: 1.5px solid var(--primary-green);
  background: var(--white);
}

.button-secondary:hover { background: rgba(44, 110, 73, 0.05); }

/* FOTO RENDER DI SEBELAH KANAN */
.hero-photo {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 38%; /* Mengatur posisi agar foto dimulai dari area tengah ke kanan */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 16px 0 0 16px;
}

.hero-shade {
  position: absolute;
  z-index: 2;
  inset: 0 0 0 35%;
  pointer-events: none;
  /* Gradasi halus agar transisi antara teks putih dan foto rumah tampak rapi */
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(255, 255, 255, 0.85) 15%, 
    rgba(255, 255, 255, 0.2) 35%, 
    transparent 60%);
}

.hero-footer {
  width: 100%;
  padding: 0 5vw 20px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 11px;
  position: relative;
  z-index: 3;
  background: var(--white-bg);
}

.scroll-hint, .design-credit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mouse {
  width: 16px; height: 26px;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  position: relative;
}

.mouse::after {
  content: "";
  position: absolute;
  top: 4px; left: 5px;
  width: 2px; height: 5px;
  border-radius: 2px;
  background: var(--primary-green);
}

.footer-line {
  width: 40px; height: 1px;
  background: rgba(0, 0, 0, 0.15);
}

.design-credit strong { color: var(--primary-green); font-weight: 600; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .hero-photo { inset: 0; opacity: 0.25; }
  .hero-shade { display: none; }
  .copy { width: 100%; background: rgba(255, 255, 255, 0.95); padding: 30px; }
}