/* =============================================
   SeragamKita – Landing Page Styles
   ============================================= */

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

:root {
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --primary-light: #e3f2fd;
  --accent: #ff6f00;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f8f9ff;
  --border: #e5e7eb;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(21,101,192,0.10);
  --shadow-lg: 0 12px 48px rgba(21,101,192,0.18);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21,101,192,0.35); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.btn-wa:hover { background: #1ebe5d; border-color: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.88rem;
}
.btn-nav:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-small {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-small:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(21,101,192,0.3); }
.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.full-width { width: 100%; justify-content: center; }

/* ── SECTION COMMON ── */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin: 10px 0 14px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255,255,255,0.8); }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}
.white-tag { background: rgba(255,255,255,0.2); color: #fff; }
.badge {
  display: inline-block;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  color: #e65100;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid #ffcc80;
  margin-bottom: 18px;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  flex-shrink: 0;
}
.logo-icon { font-size: 1.6rem; }
.logo-accent { color: var(--primary); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  margin-left: auto;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 8px 24px 16px;
}
.mobile-menu a {
  padding: 12px 0;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }
.mobile-menu.open { display: flex; }

/* ── HERO ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
  overflow: hidden;
  padding: 100px 0 0;
}
.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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { color: #fff; }
.hero-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 20px;
}
.hero-text h1 .highlight {
  color: #ffd54f;
  position: relative;
}
.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffd54f;
}
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.hero-visual { display: flex; justify-content: center; }
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.hero-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.placeholder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: rgba(255,255,255,0.1);
}
.ph-item {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}
.ph-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ph-item:hover img { transform: scale(1.07); }
.ph-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  padding: 18px 8px 8px;
}
.ph-blue { background: linear-gradient(135deg,#1565c0,#42a5f5); }
.ph-purple { background: linear-gradient(135deg,#6a1b9a,#ab47bc); }
.ph-violet { background: linear-gradient(135deg,#4527a0,#9575cd); }
.ph-teal { background: linear-gradient(135deg,#00695c,#26a69a); }
.hero-badge-float {
  position: absolute;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 2;
}
.badge-1 { top: -42px; left: 20px; }
.badge-2 { bottom: -42px; right: 20px; background: #ffd54f; color: #1a1a2e; }
.wave-divider {
  margin-top: 80px;
  line-height: 0;
}
.wave-divider svg { width: 100%; display: block; }

/* ── PRODUK ── */
.produk {
  padding: 96px 0 80px;
  background: var(--bg-soft);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f0f0;
}

/* ── SLIDER ── */
.product-slider {
  position: relative;
  width: 100%; height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .slide.active img { transform: scale(1.05); }
.slide-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  z-index: -1;
}
.slide img[src=""] ~ .slide-fallback,
.slide img:not([src]) ~ .slide-fallback { z-index: 1; }
.slide-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.85);
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: all var(--transition);
  opacity: 0;
  color: var(--text);
  padding: 0;
}
.product-img-wrap:hover .slide-btn { opacity: 1; }
.slide-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.slide-btn.prev { left: 8px; }
.slide-btn.next { right: 8px; }
.slide-dots {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 5px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.dot.active { background: #fff; width: 18px; border-radius: 3px; }

.product-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  gap: 8px;
  z-index: 0;
}
.product-img-wrap img + .product-img-placeholder { z-index: -1; }
.placeholder-icon { font-size: 2.5rem; }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: #e53935;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}
.product-badge.new { background: #43a047; }
.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}
.product-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.product-name em { font-style: normal; color: var(--primary); }
.product-desc { font-size: 0.85rem; color: var(--text-muted); flex: 1; }
.product-color-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.color-tag {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.price-label { display: block; font-size: 0.72rem; color: var(--text-muted); }
.price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}
.center-cta {
  text-align: center;
  margin-top: 56px;
}
.center-cta p { color: var(--text-muted); margin-bottom: 16px; }

/* ── KEUNGGULAN ── */
.keunggulan {
  padding: 96px 0;
  background: linear-gradient(135deg, #0d47a1, #1565c0, #1976d2);
  position: relative;
  overflow: hidden;
}
.keunggulan::before {
  content: '';
  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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.feature-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  color: #fff;
}
.feature-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.6; }

/* ── UKURAN ── */
.ukuran { padding: 80px 0; background: #fff; }
.size-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.size-table thead { background: var(--primary); color: #fff; }
.size-table th { padding: 14px 20px; text-align: left; font-weight: 700; }
.size-table td { padding: 13px 20px; border-bottom: 1px solid var(--border); }
.size-table tbody tr:last-child td { border-bottom: none; }
.size-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.size-table tbody tr:hover { background: var(--primary-light); }
.size-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 20px;
}

/* ── TESTIMONI ── */
.testimoni { padding: 96px 0; background: var(--bg-soft); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.testi-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-weight: 700; font-size: 0.95rem; }
.testi-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #e65100, #ff6f00);
  padding: 72px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.cta-text p { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 480px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── KONTAK ── */
.kontak { padding: 96px 0; background: var(--bg-soft); }
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.kontak-info p { color: var(--text-muted); margin: 16px 0 28px; line-height: 1.7; }
.kontak-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.kontak-item { display: flex; align-items: flex-start; gap: 12px; }
.k-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.kontak-item a { color: var(--primary); font-weight: 600; }
.kontak-item a:hover { text-decoration: underline; }
.sosmed { display: flex; gap: 14px; }
.sosmed a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  transition: all var(--transition);
}
.sosmed a:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(21,101,192,0.4); }
.footer-logo { margin-bottom: 0; }
.kontak-form h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text);
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(21,101,192,0.1); }

/* ── FOOTER ── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── WA FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  background: #25d366;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: all var(--transition);
}
.wa-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 10px 32px rgba(37,211,102,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: block; }

  .hero { padding: 70px 0 0; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 24px; }

  .product-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .kontak-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { justify-content: center; }
}
