:root {
  --card-shadow: 0 2px 12px -2px rgba(190, 24, 93, 0.08);
  --card-shadow-hover: 0 12px 32px -6px rgba(219, 39, 119, 0.18);
  --pink-glow: 0 8px 30px rgba(236, 72, 153, 0.25);
}

html { scroll-behavior: smooth; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #db2777;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.card {
  background: #fff;
  border: 1px solid #fce7f3;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.card:hover { box-shadow: var(--card-shadow-hover); }
.card-lift:hover { transform: translateY(-4px); }

.section-pattern {
  background:
    radial-gradient(circle at 10% 20%, rgba(252, 231, 243, 0.6) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(253, 242, 248, 0.8) 0%, transparent 40%),
    #fff;
}

/* Hero banner (CSS/SVG — pengganti latar.png) */
.hero-banner {
  position: relative;
  margin-top: 4rem;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  min-height: clamp(420px, 48vw, 560px);
}

@media (min-width: 1024px) {
  .hero-banner { margin-top: 4.5rem; }
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-banner-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-banner-glow-tl {
  width: 280px;
  height: 280px;
  top: -40px;
  left: -60px;
  background: rgba(167, 139, 250, 0.18);
}

.hero-banner-glow-bl {
  width: 360px;
  height: 360px;
  bottom: -80px;
  left: 5%;
  background: rgba(96, 165, 250, 0.22);
}

.hero-banner-glow-br {
  width: 420px;
  height: 420px;
  bottom: -100px;
  right: -40px;
  background: rgba(192, 132, 252, 0.2);
}

.hero-banner-dots {
  position: absolute;
  width: 72px;
  height: 72px;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.45) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.55;
}

.hero-banner-dots-tr { top: 12%; right: 8%; }
.hero-banner-dots-br { bottom: 18%; right: 22%; width: 56px; height: 56px; }

.hero-banner-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 55%;
  opacity: 0.9;
}

.hero-banner-hex {
  position: absolute;
  width: 36px;
  height: 42px;
  opacity: 0.6;
}

.hero-banner-hex-1 { top: 38%; right: 42%; transform: rotate(12deg); }
.hero-banner-hex-2 { bottom: 28%; right: 12%; width: 28px; height: 32px; transform: rotate(-8deg); }

.hero-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.75rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-banner-inner {
    grid-template-columns: 1fr 1.05fr;
    padding: 3rem 2rem 3.25rem;
    gap: 1.5rem;
  }
}

.hero-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 1.25rem;
}

.hero-banner-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.hero-banner-title {
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.hero-banner-title-accent {
  display: block;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 45%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-banner-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 600;
  color: #64748b;
  margin-bottom: 1.75rem;
}

.hero-banner-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .hero-banner-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.hero-banner-stat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.hero-banner-stat-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat-purple { background: #ede9fe; color: #7c3aed; }
.hero-stat-blue { background: #dbeafe; color: #2563eb; }
.hero-stat-orange { background: #ffedd5; color: #ea580c; }

.hero-banner-stat-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.hero-banner-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

.hero-banner-apps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero-banner-apps {
    max-width: none;
    margin: 0;
    margin-left: auto;
    width: min(100%, 440px);
  }
}

.hero-app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 7.25rem;
  padding: 0.85rem 0.5rem 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.hero-app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.hero-app-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon-blue { background: #dbeafe; color: #2563eb; }
.hero-icon-purple { background: #ede9fe; color: #7c3aed; }
.hero-icon-pink { background: #fce7f3; color: #db2777; }
.hero-icon-rose { background: #ffe4e6; color: #e11d48; }
.hero-icon-teal { background: #ccfbf1; color: #0d9488; }
.hero-icon-orange { background: #ffedd5; color: #ea580c; }
.hero-icon-green { background: #dcfce7; color: #16a34a; }
.hero-icon-slate { background: #f1f5f9; color: #64748b; }

.hero-app-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
  line-height: 1.25;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-panel {
  background: linear-gradient(160deg, #fdf2f8 0%, #fce7f3 40%, #fbcfe8 100%);
  color: #9d174d;
}

.cta-panel .section-title { color: #be185d; }
.cta-panel .cta-desc { color: rgba(157, 23, 77, 0.85); }
.cta-panel .cta-note { color: rgba(157, 23, 77, 0.55); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #fff;
  box-shadow: var(--pink-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #db2777, #be185d);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(219, 39, 119, 0.35);
}

.btn-secondary {
  background: #fff;
  color: #be185d;
  border: 1.5px solid #f9a8d4;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.12);
}

.btn-secondary:hover {
  background: #fdf2f8;
  border-color: #ec4899;
}

.btn-outline {
  background: transparent;
  color: #db2777;
  border: 1.5px solid #f9a8d4;
}

.btn-outline:hover {
  background: #fdf2f8;
  border-color: #ec4899;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.cta-panel .cta-btn-primary {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--pink-glow);
}

.cta-panel .cta-btn-primary:hover {
  background: linear-gradient(135deg, #db2777, #be185d);
}

.cta-panel .cta-btn-secondary {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  border: 1.5px solid #f9a8d4;
  color: #be185d;
  font-weight: 600;
}

.cta-panel .cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.85);
}

.apps-panel {
  background: #fff;
  border: 1px solid #fce7f3;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}

@media (min-width: 1024px) {
  .apps-panel { padding: 2rem; }
}

.apps-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .apps-grid-6 { grid-template-columns: repeat(3, 1fr); }
}

.hero-banner-apps-6 {
  max-width: 480px;
}

@media (min-width: 1024px) {
  .hero-banner-apps-6 {
    width: min(100%, 480px);
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #fce7f3;
  border-radius: 1.25rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: #f9a8d4;
}

.app-card-media {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(145deg, #fdf2f8 0%, #fce7f3 100%);
  min-height: 140px;
}

.app-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--pink-glow);
  margin-bottom: 1rem;
}

.app-card-type {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #db2777;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #fbcfe8;
}

.app-card-progress {
  margin-top: 1rem;
}

.app-progress-bar {
  height: 0.4rem;
  border-radius: 9999px;
  background: rgba(219, 39, 119, 0.15);
  overflow: hidden;
}

.app-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f472b6, #ec4899);
  transition: width 0.5s ease;
}

.app-card-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }

.app-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

.app-card-tagline {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.app-card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.app-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.app-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #be185d;
  background: #fdf2f8;
  border: 1px solid #fce7f3;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}

.app-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #fce7f3;
}

.app-card-price {
  font-weight: 800;
  color: #db2777;
  font-size: 0.95rem;
}

.app-card-cta {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.app-card:hover .app-card-cta { transform: translateX(4px); }

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #fdf2f8, #fce7f3);
  border: 1px solid #fbcfe8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #db2777;
  margin-bottom: 1rem;
}
