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

:root {
  --green: #54AC00;
  --green-dark: #3d8000;
  --green-xdark: #2a5800;
  --green-light: #eaf5d6;
  --green-mid: #a2d96a;
  --green-pale: #f4fbeb;
  --dark: #141a0e;
  --dark2: #232b1a;
  --mid: #4a5540;
  --muted: #7a8870;
  --border: #e0e8d4;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: #54AC00;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 6%;
  height: 120px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-logo-img {
  height: 140px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: 60px;
}
.footer-logo-img {
  height: 140px;
  opacity: 0.85;
  margin-bottom: 10px;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--green); background: var(--green-light); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.btn-login {
  background: #fff;
  color: #54AC00;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-login:hover { background: var(--green-light); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px; transition: all 0.3s;
}

/* ─── HERO ────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 6% 60px;
  text-align: center;
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 900px 600px at 50% 0%, rgba(84,172,0,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 10% 80%, rgba(84,172,0,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 300px 300px at 90% 70%, rgba(84,172,0,0.04) 0%, transparent 60%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 20px;
  border: 1px solid rgba(84,172,0,0.25);
  margin-bottom: 28px;
  position: relative; z-index: 1;
  animation: fadeUp 0.5s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 22px;
  max-width: 820px;
  position: relative; z-index: 1;
  animation: fadeUp 0.5s 0.1s ease both;
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 40px;
  position: relative; z-index: 1;
  animation: fadeUp 0.5s 0.2s ease both;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
  animation: fadeUp 0.5s 0.3s ease both;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 14px 30px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(84,172,0,0.3); }
.btn-ghost {
  background: transparent;
  color: var(--dark);
  padding: 14px 30px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500;
  border: 1.5px solid var(--border); cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); background: var(--green-pale); }

/* HERO IMAGE */
.hero-img-wrap {
  width: 100%; max-width: 1100px;
  margin-top: 52px;
  position: relative; z-index: 1;
  animation: fadeUp 0.6s 0.4s ease both;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.10), 0 0 0 1px var(--border);
}

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ─── SECTION SHARED ─────────────────────── */
section { padding: 96px 6%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800; line-height: 1.15;
  color: var(--dark); margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; color: var(--muted);
  max-width: 560px; line-height: 1.7;
}

/* ─── TWO SIDES ──────────────────────────── */
.two-sides { background: var(--green-pale); }
.two-sides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}
.side-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.side-card.toptan { background: var(--dark2); color: #fff; }
.side-card.perak { background: var(--white); border: 1.5px solid var(--border); color: var(--dark); }

.side-label {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
  margin-bottom: 20px;
}
.toptan .side-label { background: rgba(84,172,0,0.2); color: var(--green-mid); }
.perak .side-label { background: var(--green-light); color: var(--green-dark); }

.side-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 800;
  margin-bottom: 14px; line-height: 1.25;
}
.toptan h3 { color: #fff; }
.perak h3 { color: var(--dark); }

.side-card > p {
  font-size: 14px; line-height: 1.7;
  margin-bottom: 28px;
}
.toptan > p { color: rgba(255,255,255,0.65); }
.perak > p { color: var(--muted); }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.toptan .feature-list li { color: rgba(255,255,255,0.8); }
.perak .feature-list li { color: var(--mid); }
.check {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0; margin-top: 2px;
}
.toptan .check { background: rgba(84,172,0,0.25); color: var(--green-mid); }
.perak .check { background: var(--green-light); color: var(--green-dark); }

/* Side card photos */
.side-photo {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  margin-top: 32px;
}

/* ─── HOW IT WORKS ───────────────────────── */
.how { background: var(--white); }
.how-header { text-align: center; }
.how-header .section-sub { margin: 0 auto; }

.how-tabs {
  display: flex; gap: 0;
  margin: 36px auto 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  width: fit-content;
  background: var(--green-pale);
}
.how-tab {
  padding: 10px 28px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: none;
  background: transparent;
  color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s;
}
.how-tab.active { background: var(--green); color: #fff; }

.how-steps { display: none; margin-top: 48px; }
.how-steps.active { display: block; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg, var(--green) 0, var(--green) 8px, transparent 8px, transparent 18px
  );
  z-index: 0;
}
.step-item {
  padding: 0 16px;
  text-align: center;
  position: relative; z-index: 1;
}
.step-circle {
  width: 56px; height: 56px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 20px;
  box-shadow: 0 0 0 6px var(--green-light);
}
.step-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700;
  margin-bottom: 8px; color: var(--dark);
}
.step-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── FEATURES ───────────────────────────── */
.features { background: var(--dark); }
.features .section-title { color: #fff; }
.features .section-sub { color: rgba(255,255,255,0.5); }
.features .section-tag { color: var(--green-mid); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.feat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.25s;
}
.feat-card:hover {
  background: rgba(84,172,0,0.07);
  border-color: rgba(84,172,0,0.25);
  transform: translateY(-3px);
}
.feat-icon {
  width: 46px; height: 46px;
  background: rgba(84,172,0,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.feat-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.feat-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ─── WHY ─────────────────────────────────── */
.why { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 52px;
}
.why-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}
.why-items { display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-num {
  width: 36px; height: 36px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 14px; font-weight: 800;
  color: var(--green-dark);
  flex-shrink: 0;
}
.why-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700;
  color: var(--dark); margin-bottom: 4px;
}
.why-item p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─── CTA ─────────────────────────────────── */
.cta-section {
  background: var(--green);
  text-align: center;
  padding: 100px 6%;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(0,0,0,0.06) 0%, transparent 60%);
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800; color: #fff;
  margin-bottom: 16px; line-height: 1.15;
}
.cta-section p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff; color: var(--green-dark);
  padding: 14px 30px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none; transition: all 0.2s;
}
.btn-white:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; color: #fff;
  padding: 14px 30px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4); cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none; transition: all 0.2s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ─── FOOTER ─────────────────────────────── */
footer {
  background: var(--dark);
  padding: 56px 6% 36px;
  color: rgba(255,255,255,0.4);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.footer-brand p { font-size: 13px; max-width: 240px; line-height: 1.6; }
.footer-links h5 {
  font-family: 'Playfair Display', serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 14px;
}
.footer-links a {
  display: block; text-decoration: none;
  color: rgba(255,255,255,0.35);
  font-size: 13px; margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green-mid); }
.footer-bottom {
  display: flex; justify-content: center; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.25);
  padding-top: 4px;
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .two-sides-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-left { display: none; }
  nav { padding: 0 4%; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--green);
    border-bottom: 1px solid var(--border);
    padding: 16px 6%;
    gap: 4px; z-index: 199;
  }
  .nav-links.open a { display: block; padding: 10px 0; color: #fff; }
  .hamburger { display: flex; }
  .hero { padding: 56px 5% 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  section { padding: 64px 5%; }
  .two-sides-grid { gap: 16px; }
  .side-card { padding: 28px 24px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero-btns { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .how-tabs { width: 100%; }
  .how-tab { flex: 1; padding: 10px 8px; font-size: 13px; }
}