:root {
  --green: #1a7a2e;
  --green-dark: #155a22;
  --green-light: #2ea84a;
  --yellow: #f5c200;
  --yellow-dark: #d9aa00;
  --white: #ffffff;
  --gray: #f4f4f2;
  --text: #1a1a1a;
}

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

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

/* ── HEADER ── */
header {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: auto;
}
.nav-logo {
  font-family: "Nunito", sans-serif;
  color: var(--yellow);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.1;
}
.nav-logo span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--yellow);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  background: var(--green-dark);
  padding: 0 20px;
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
}
.mobile-menu.open {
  max-height: 300px;
  padding: 12px 20px 20px;
}
.mobile-menu a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}
.mobile-menu a:last-child {
  border-bottom: none;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(
    135deg,
    var(--green) 0%,
    var(--green-dark) 55%,
    #0d3d17 100%
  );
  padding: 50px 20px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.08;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 250px;
  height: 250px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.06;
}
.hero-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 1;
}
.hero-text {
  flex: 1;
}
.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: fadeDown 0.6s ease both;
}
.hero-title {
  font-family: "Nunito", sans-serif;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  animation: fadeDown 0.7s ease both;
}
.hero-title .brand {
  color: var(--yellow);
  font-size: clamp(3rem, 7vw, 5rem);
  display: block;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 600;
  animation: fadeDown 0.8s ease both;
}
.hero-wifi {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  animation: fadeDown 0.9s ease both;
  backdrop-filter: blur(6px);
}
.wifi-icon {
  font-size: 1.3rem;
}
.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeDown 1s ease both;
}
.btn-primary {
  background: var(--yellow);
  color: var(--green-dark);
  font-weight: 800;
  border: none;
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
  font-family: "Nunito", sans-serif;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 194, 0, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 11px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.hero-jam {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  animation: fadeDown 1.1s ease both;
}
.hero-jam strong {
  color: var(--yellow);
}

.hero-visual {
  flex: 0 0 auto;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeRight 0.9s ease both;
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--yellow);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
.ticker-track {
  display: inline-block;
  animation: ticker 22s linear infinite;
}
.ticker-track span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-dark);
  padding: 0 28px;
}

/* ── SECTIONS ── */
section {
  padding: 56px 20px;
}
.section-inner {
  max-width: 1100px;
  margin: auto;
}
.section-title {
  font-family: "Nunito", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 36px;
}
.section-title .dot {
  color: var(--yellow-dark);
}

/* ── PRODUK CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.prod-card {
  background: var(--white);
  border: 2px solid #e8f5ec;
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.prod-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-light);
  box-shadow: 0 8px 24px rgba(26, 122, 46, 0.15);
}
.prod-card .icon {
  font-size: 2.4rem;
  margin-bottom: 8px;
  display: block;
}
.prod-card .name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-dark);
}
.prod-card .tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--yellow);
  color: var(--green-dark);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
}

/* ── FITUR SECTION ── */
.features-bg {
  background: var(--gray);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.feat-card {
  background: var(--white);
  border-radius: 18px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}
.feat-card:hover {
  transform: translateY(-4px);
}
.feat-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 14px;
}
.feat-card h3 {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.feat-card p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.5;
}

/* ── JAM BUKA ── */
.jam-section {
  background: var(--green);
}
.jam-inner {
  max-width: 600px;
  margin: auto;
  text-align: center;
}
.jam-inner .section-title {
  color: var(--yellow);
}
.jam-inner .section-sub {
  color: rgba(255, 255, 255, 0.75);
}
.jam-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 28px 30px;
  backdrop-filter: blur(8px);
}
.jam-time {
  font-family: "Nunito", sans-serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: 0.05em;
}
.jam-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 4px;
}
.jam-days {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.day {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  transition: background 0.2s;
}
.day.today {
  background: var(--yellow);
  color: var(--green-dark);
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4cff72;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.5s infinite;
}
.status-text {
  color: var(--white);
  font-size: 0.85rem;
  margin-top: 16px;
  font-weight: 600;
}

/* ── TESTIMONI ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.review-card {
  background: var(--white);
  border: 2px solid #e8f5ec;
  border-radius: 18px;
  padding: 22px 20px;
  transition: box-shadow 0.2s;
}
.review-card:hover {
  box-shadow: 0 6px 20px rgba(26, 122, 46, 0.12);
}
.stars {
  color: var(--yellow-dark);
  font-size: 1rem;
  margin-bottom: 10px;
}
.review-text {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 14px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--white);
}
.reviewer-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-dark);
}
.reviewer-loc {
  font-size: 0.75rem;
  color: #999;
}

/* ── LOKASI ── */
.lokasi-bg {
  background: var(--gray);
}
.lokasi-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
}
.lokasi-map {
  flex: 1 1 300px;
  min-height: 220px;
  background: linear-gradient(135deg, #e8f5ec, #d0ead6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.lokasi-info {
  flex: 1 1 260px;
  padding: 30px 28px;
}
.lokasi-info h3 {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  color: var(--green-dark);
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.info-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.info-row .ico {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.info-row p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
}
.info-row p strong {
  color: var(--green-dark);
}
.found-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a7a2e;
  color: var(--white);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 10px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.found-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 61, 23, 0.4);
}

/* ── FOOTER ── */
footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.82rem;
}
footer strong {
  color: var(--yellow);
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 700px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-visual {
    width: 100%;
    justify-content: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-jam {
    text-align: center;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 380px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── SCROLL TO TOP ── */
#scrollTop {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  z-index: 200;
}
#scrollTop.show {
  opacity: 1;
  transform: translateY(0);
}
