/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --sky: #0ea5e9;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8faff;
  --white: #ffffff;
  --green: #22c55e;
  --shadow: 0 4px 24px rgba(37,99,235,0.08);
  --shadow-lg: 0 8px 40px rgba(37,99,235,0.14);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  font-size: 1rem;
  padding: 14px 32px;
  width: 100%;
  justify-content: center;
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.logo-icon { font-size: 1.6rem; }
.logo span { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  font-size: 0.92rem;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 0.88rem; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
  margin-left: auto;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 50%, #06b6d4 100%);
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.hero-text { color: white; }

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.highlight {
  color: #fde68a;
  display: block;
}

.hero-text p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-actions .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}
.stat span { font-size: 0.78rem; opacity: 0.8; }
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

/* Hero card / washing machine animation */
.hero-image { display: flex; justify-content: center; }

.hero-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 24px;
  padding: 40px 50px;
  text-align: center;
  color: white;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.machine {
  width: 140px;
  height: 160px;
  background: rgba(255,255,255,0.2);
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.4);
}

.machine-door {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255,255,255,0.5);
}

.machine-glass {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(14,165,233,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.clothes-spin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.6);
  border-top-color: #fde68a;
  animation: spin 1.2s linear infinite;
}

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

.hero-card-text { font-size: 0.88rem; opacity: 0.85; margin-top: 8px; }

.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.wave-bottom svg { width: 100%; display: block; }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.section-header p { color: var(--text-muted); font-size: 1rem; }

/* ===== LAYANAN ===== */
.layanan { background: var(--bg); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.card-featured {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ===== HARGA ===== */
.harga { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pricing-popular {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: scale(1.03);
}
.pricing-popular:hover { transform: scale(1.03) translateY(-6px); }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-header { margin-bottom: 24px; }
.pricing-header h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; }
.price { font-size: 2.2rem; font-weight: 700; color: var(--blue); }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-header p { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }

/* ===== KEUNGGULAN ===== */
.keunggulan { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  transition: all 0.3s;
}
.feature:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.feature h4 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.feature p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }

/* ===== TESTIMONI ===== */
.testimoni { background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.testimoni .section-header { color: white; }
.testimoni .section-tag {
  background: rgba(255,255,255,0.2);
  color: white;
}
.testimoni .section-header h2 { color: white; }
.testimoni .section-header p { opacity: 0.8; color: white; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testi-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: white;
  transition: transform 0.3s;
}
.testi-card:hover { transform: translateY(-6px); }
.testi-featured {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.stars { color: #fde68a; font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }

.testi-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 20px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-weight: 600; font-size: 0.92rem; }
.testi-author span { font-size: 0.78rem; opacity: 0.75; }

/* ===== KONTAK ===== */
.kontak { background: var(--bg); }

.kontak-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.kontak-info .section-tag { margin-bottom: 12px; }
.kontak-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 16px; }
.kontak-info > p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { color: var(--text-muted); font-size: 0.88rem; }
.contact-item a:hover { color: var(--blue); }

.cta-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border);
}
.cta-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.cta-card p { color: var(--text-muted); margin-bottom: 24px; font-size: 0.9rem; }
.cta-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; margin-bottom: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: rgba(255,255,255,0.8); padding: 60px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-text { color: white; }
.footer-brand .logo span { color: var(--sky); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-links h4 { color: white; font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.86rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--sky); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; padding: 60px 24px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { order: -1; }
  .hero-card { padding: 30px 36px; }
  .kontak-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open ~ .nav-cta { display: none; }
  .pricing-popular { transform: scale(1); }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}
