/* =========================================
   1. CSS VARIABLES & RESET
   ========================================= */
:root {
  --primary-dark: #1b5e4b;
  --primary-medium: #2d8b6f;
  --primary-light: #4ade80;
  --accent-orange: #ff6b4a;
  --accent-orange-soft: #fff1ed;
  --accent-pink: #fee2e2;
  --accent-pink-dark: #dc2626;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 80px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  }
}

[data-theme="dark"] {
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-tertiary: #374151;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition:
    background-color 0.3s,
    color 0.3s;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--primary-medium);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-dark);
  color: white;
  padding: 8px;
  z-index: 1001;
}
.skip-link:focus {
  top: 0;
}

/* =========================================
   2. TYPOGRAPHY & UTILITIES
   ========================================= */
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.3;
  font-weight: 700;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 600;
}
.subheadline {
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-secondary);
}
.small {
  font-size: 0.875rem;
  line-height: 1.6;
}
.text-medium {
  font-size: 1rem;
  line-height: 1.6;
}
.eyebrow {
  display: inline-block;
  background-color: var(--accent-orange-soft);
  color: var(--accent-orange);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}
.section-pt {
  padding-top: calc(var(--spacing-lg) + 24px);
}
.section-pb {
  padding-bottom: calc(var(--spacing-lg) + 24px);
}
.bg-secondary {
  background-color: var(--bg-secondary);
}

.grid {
  display: grid;
  gap: var(--spacing-md);
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}
.grid-4 {
  grid-template-columns: 1fr;
}
.grid-6 {
  grid-template-columns: repeat(2, 1fr);
}

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

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.gap-sm {
  gap: var(--spacing-sm);
}
.gap-md {
  gap: var(--spacing-md);
}
.text-center {
  text-align: center;
}

/* =========================================
   3. COMPONENTS
   ========================================= */
/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}
.btn-primary {
  background: var(--primary-dark);
  color: white;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--primary-medium);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}
[data-theme="dark"] .btn-secondary {
  color: var(--primary-light);
  border-color: var(--primary-light);
}
.btn-secondary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}
[data-theme="dark"] .btn-secondary:hover {
  background: var(--primary-light);
  color: var(--bg-primary);
}
.btn-whatsapp {
  background: #25d366;
  color: white;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #20bd5a;
}
.nav-links .btn-whatsapp:hover,
.mobile-menu .btn-whatsapp:hover {
  transform: none;
  box-shadow: none;
  background: #25d366;
  color: #fff;
}
.nav-links .btn-whatsapp,
.mobile-menu .btn-whatsapp {
  transition: none;
}
.mobile-menu .btn-whatsapp {
  padding: 14px 28px;
  border-bottom: 0;
}
.mobile-menu .btn-whatsapp:hover {
  padding-left: 28px;
  border-left: 0;
  border-bottom: 0;
}
.nav-links .btn-whatsapp:hover .icon-wa,
.mobile-menu .btn-whatsapp:hover .icon-wa {
  color: #fff;
  fill: currentColor;
}
.icon-wa {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  stroke: none;
}

/* --- Cards --- */
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .card {
  border-color: rgba(255, 255, 255, 0.05);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- Icon Box System (Konsisten untuk semua halaman) --- */
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.icon-left {
  margin: 0 0 16px 0 !important; /* Menghilangkan 'auto' agar rata kiri */
}
.icon-box svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}
.card:hover .icon-box {
  transform: scale(1.05);
}
.icon-box svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}
.card:hover .icon-box {
  transform: scale(1.05);
} /* Mikro-interaksi */

/* --- Flow Cards (Instagram -> Website -> WhatsApp) --- */
.flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  max-width: 900px;
  margin: 0 auto;
}
.flow-card {
  width: 100%;
  max-width: 260px;
  padding: var(--spacing-sm);
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transform: rotate(90deg); /* Mobile: ke bawah */
}
.flow-arrow svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .flow-container {
    flex-direction: row;
    justify-content: flex-end; /* Desktop: sejajar ke kanan */
    gap: var(--spacing-md);
  }
  .flow-arrow {
    transform: rotate(0deg); /* Desktop: ke kanan */
  }
}

/* --- FAQ Accordion --- */
details {
  border: 1px solid var(--bg-tertiary);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  background: var(--bg-primary);
  overflow: hidden;
}
summary {
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "";
  position: absolute;
  right: var(--spacing-md);
  top: 50%;
  border: solid var(--text-secondary);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(45deg) translateY(-50%);
  transition: transform 0.3s;
}
details[open] summary::after {
  transform: rotate(-135deg) translateY(-50%);
}
details > div {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--text-secondary);
  animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Dark Mode Toggle --- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--bg-tertiary);
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}
.theme-toggle:hover {
  background: var(--bg-tertiary);
}
.nav-container > .theme-toggle {
  margin-left: 12px;
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* --- Animations --- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}
.element-float {
  animation: float 6s ease-in-out infinite;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

/* =========================================
   4. SPECIFIC SECTIONS
   ========================================= */
/* --- Header & Navigation --- */
header {
  position: sticky;
  top: 0;
  background: var(--bg-primary);
  z-index: 999;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: 12px;
}
.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}
[data-theme="dark"] .logo {
  color: var(--primary-light);
}
.nav-links {
  display: none;
  gap: 20px;
  font-weight: 500;
  align-items: center;
}
.nav-links a {
  color: var(--text-primary);
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--primary-medium);
  box-shadow: 0 4px 0 var(--primary-light);
}
.nav-links a.active {
  color: var(--primary-medium);
  font-weight: 700;
  box-shadow: 0 4px 0 var(--primary-light);
}
.nav-links > a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-links > a:nth-child(1) { width: 68px; }
.nav-links > a:nth-child(2) { width: 88px; }
.nav-links > a:nth-child(3) { width: 108px; }
.nav-links > a:nth-child(4) { width: 88px; }
.nav-links > a:nth-child(5) { width: 64px; }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-menu {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-md);
  display: none;
  flex-direction: column;
  gap: var(--spacing-sm);
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu a {
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-tertiary);
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary-medium);
  font-weight: 700;
  border-left: 4px solid var(--primary-light);
  padding-left: 12px;
}
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .hamburger,
  .mobile-menu {
    display: none !important;
  }
}

/* --- Hero Section --- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: var(--spacing-md);
}

.hero-checklist li {
  position: relative;
  padding-left: 36px; /* Ruang untuk checkmark */
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1.6;
  min-height: 24px; /* Pastikan ada ruang untuk checkmark */
}

.hero-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232d8b6f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-tertiary);
}
.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Comparison Section --- */
.comparison-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--text-secondary);
  color: var(--text-secondary);
  font-weight: 600;
  gap: 8px;
}
.pain-card {
  background: var(--accent-pink);
  color: var(--accent-pink-dark);
  text-align: center;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
[data-theme="dark"] .pain-card {
  background: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
}
.solution-card {
  background: rgba(45, 139, 111, 0.1);
  color: var(--primary-dark);
  text-align: center;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
[data-theme="dark"] .solution-card {
  background: rgba(45, 139, 111, 0.2);
  color: var(--primary-light);
}

/* --- Pricing Section --- */
.pricing-card {
  position: relative;
  border: 2px solid transparent;
  margin-bottom: var(--spacing-md);
}
.pricing-card.popular {
  border-color: var(--accent-orange);
}
.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-orange);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}
.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.price-feature::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232d8b6f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 4px;
}

/* --- FAQ Section --- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}
@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: 7fr 3fr;
    align-items: start;
  }
}
.faq-cta-card {
  background: var(--primary-dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-lg);
}
.faq-cta-card h3 {
  color: white;
}
.faq-cta-card p {
  color: rgba(255, 255, 255, 0.85);
}
.faq-cta-card .small {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Footer --- */
footer {
  background: var(--primary-dark);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
}
footer a {
  color: rgba(255, 255, 255, 0.8);
}
footer a:hover {
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr;
  }
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.terms-content {
  max-width: 960px;
}
.terms-heading {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--bg-tertiary);
}
.terms-heading h1 {
  margin-bottom: var(--spacing-xs);
}
.terms-version {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.terms-intro {
  margin-bottom: var(--spacing-lg);
}
.terms-intro p,
.terms-section p {
  margin-bottom: var(--spacing-sm);
}
.terms-section {
  margin-bottom: var(--spacing-lg);
}
.terms-section h2 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}
.terms-section h3 {
  margin: var(--spacing-md) 0 var(--spacing-xs);
  font-size: 1.15rem;
}
.terms-section ol,
.terms-section ul {
  margin: 0 0 var(--spacing-sm) 1.5rem;
  list-style: decimal;
}
.terms-section ul {
  list-style: disc;
}
.terms-section li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}
.terms-table-wrap {
  overflow-x: auto;
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.terms-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-primary);
}
.terms-table th,
.terms-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid var(--bg-tertiary);
  text-align: left;
}
.terms-table thead th {
  background: var(--bg-secondary);
}

@media (max-width: 767px) {
  #beranda {
    padding-top: 32px !important;
  }
}

/* --- Utility for inline SVG icons to match text color --- */
.icon-svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================
   PORTFOLIO PAGE SPECIFIC STYLES
   ========================================= */
.portfolio-intro {
  max-width: 760px;
  margin: 0 auto var(--spacing-lg);
  text-align: center;
}
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}
.portfolio-card {
  display: flex;
  flex: 1 1 100%;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
[data-theme="dark"] .portfolio-card {
  border-color: rgba(255, 255, 255, 0.05);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.portfolio-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tertiary);
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--spacing-md);
}
.portfolio-card p {
  margin: 8px 0 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.portfolio-link {
  margin-top: auto;
  color: var(--primary-medium);
  font-weight: 700;
}
.portfolio-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
  text-align: center;
}

@media (min-width: 600px) {
  .portfolio-card {
    flex-basis: calc(50% - 12px);
  }
}
@media (min-width: 1024px) {
  .portfolio-card {
    flex-basis: calc(33.333% - 16px);
  }
}

/* =========================================
   HARGA & PAKET PAGE SPECIFIC STYLES
   ========================================= */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--bg-primary);
}
.custom-table {
  min-width: 800px;
  width: 100%;
  border-collapse: collapse;
}
.custom-table th,
.custom-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid var(--bg-tertiary);
  vertical-align: middle;
}
.custom-table thead th {
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--bg-tertiary);
  text-align: center;
}
.custom-table tbody td:first-child {
  font-weight: 600;
  text-align: left;
}
.custom-table tbody td:not(:first-child) {
  text-align: center;
}
.table-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}
.table-check {
  color: var(--primary-medium);
}
.table-cross {
  color: var(--text-secondary);
  opacity: 0.5;
}

.info-box {
  background: rgba(45, 139, 111, 0.05);
  border-left: 4px solid var(--primary-medium);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}
.info-box-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-medium);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}
.scroll-hint::before,
.scroll-hint::after {
  content: "←";
  animation: slideHint 1.5s ease-in-out infinite;
}
.scroll-hint::after {
  content: "→";
}
@keyframes slideHint {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* =========================================
   CARA PESAN PAGE SPECIFIC STYLES
   ========================================= */
/* Tambahan Variabel (Tambahkan ini ke dalam blok :root di style.css jika belum ada) */
:root {
  --accent-rose: #ffe4e6;
  --accent-rose-dark: #e11d48;
  --accent-blue: #dbeafe;
  --accent-blue-dark: #3b82f6;
  --accent-green: #d1fae5;
  --accent-green-dark: #10b981;
  --accent-yellow: #fef3c7;
  --accent-yellow-dark: #f59e0b;
  --shadow-sticky: 0 6px 18px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] {
  --shadow-sticky: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.grid-5 {
  grid-template-columns: 1fr;
}
.grid-7 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-7 {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .grid-7 {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media (max-width: 767px) {
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 .sticky-note.small:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
  .rotate-1 { transform: rotate(-1deg); }
  .rotate-2 { transform: rotate(0.7deg); }
  .rotate-3 { transform: rotate(-0.5deg); }
  .rotate-4 { transform: rotate(1deg); }
  .rotate-5 { transform: rotate(-0.7deg); }
}

.img-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.floating-badge {
  position: absolute;
  background: var(--bg-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  pointer-events: auto;
  color: var(--text-primary);
}

.sticky-note {
  background: var(--bg-primary);
  padding: var(--spacing-md);
  border-radius: 3px;
  box-shadow: var(--shadow-sticky);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .sticky-note {
  border-color: rgba(255, 255, 255, 0.1);
}
.sticky-note::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 22px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(2px);
}
[data-theme="dark"] .sticky-note::before {
  background: rgba(255, 255, 255, 0.15);
}
.sticky-note::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, 0.06) 50%);
  border-bottom-right-radius: 3px;
}
.sticky-note:hover {
  transform: translateY(-6px) rotate(0deg) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.rotate-1 { transform: rotate(-2.3deg); }
.rotate-2 { transform: rotate(1.7deg); }
.rotate-3 { transform: rotate(-1.1deg); }
.rotate-4 { transform: rotate(2.4deg); }
.rotate-5 { transform: rotate(-1.6deg); }

.tape-blue::before { background: rgba(219, 234, 254, 0.7); }
.tape-green::before { background: rgba(209, 250, 229, 0.7); }
.tape-yellow::before { background: rgba(254, 243, 199, 0.7); }
.tape-pink::before { background: rgba(252, 231, 243, 0.7); }
.tape-rose::before { background: rgba(255, 228, 230, 0.7); }

.sticky-chat {
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
}
.sticky-chat:last-child { margin-bottom: 0; }
.sticky-chat .sender {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sticky-chat .time {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 6px;
  text-align: right;
  font-weight: 400;
}
.sticky-chat.received {
  background: var(--bg-secondary);
  border-left: 3px solid var(--primary-medium);
}
.sticky-chat.received .sender { color: var(--primary-medium); }
.sticky-chat.sent {
  background: var(--accent-green);
  color: var(--primary-dark);
}
.sticky-chat.sent .sender { color: var(--primary-dark); }

.sticky-note.small {
  padding: var(--spacing-sm);
  text-align: center;
}
.sticky-note.small::before {
  width: 40px;
  height: 18px;
}
.sticky-note.small .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--text-primary);
}
.sticky-note.small .feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}
.sticky-note.small p {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.chat-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}
@media (min-width: 768px) {
  .chat-container {
    grid-template-columns: 1fr 1fr;
  }
}

.not-needed-box {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-top: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] .not-needed-box {
  border-color: rgba(255, 255, 255, 0.05);
}
.not-needed-box h4 {
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
  color: var(--text-primary);
}
.not-needed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xs);
}
.not-needed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.step-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .step-card {
  border-color: rgba(255, 255, 255, 0.05);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-medium);
  margin-bottom: 8px;
}
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-green);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
}
.step-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-medium);
  font-weight: 700;
}
.step-arrow svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 767px) {
  .step-arrow {
    transform: rotate(90deg);
    margin: var(--spacing-xs) 0;
  }
}

/* =========================================
   TENTANG PAGE SPECIFIC STYLES
   ========================================= */
.flow-card .icon-wrapper {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-medium);
}
.flow-card .icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 1.6;
  min-height: 24px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232d8b6f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.feature-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-xs);
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.quote-box {
  background: rgba(255, 107, 74, 0.1);
  border-left: 4px solid var(--accent-orange);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-md);
}

.timeline-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition);
}
.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.timeline-card.green {
  border-color: var(--accent-green-dark);
  background: rgba(209, 250, 229, 0.3);
}
.timeline-card.blue {
  border-color: var(--accent-blue-dark);
  background: rgba(219, 234, 254, 0.3);
}
.timeline-card.pink {
  border-color: var(--accent-pink-dark);
  background: rgba(254, 226, 226, 0.3);
}

/* =========================================
   PROGRAM MITRA PAGE SPECIFIC STYLES
   ========================================= */
/* Workflow Flex */
.workflow-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  gap: 0;
}
.workflow-flex .workflow-step {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.workflow-flex .workflow-arrow {
  flex-shrink: 0;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-medium);
  font-weight: 700;
}
.workflow-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-medium);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-xs);
  flex-shrink: 0;
}
.workflow-step-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
  stroke-width: 2;
}
.workflow-step-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 4px;
  line-height: 1.3;
}
.workflow-step-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .workflow-flex {
    flex-wrap: nowrap;
  }
  .workflow-flex .workflow-arrow {
    width: 36px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .workflow-flex {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }
  .workflow-flex .workflow-step {
    flex: 0 0 calc(33.333% - var(--spacing-sm));
  }
  .workflow-flex .workflow-arrow {
    display: none;
  }
}
@media (max-width: 767px) {
  .workflow-flex {
    flex-direction: column;
    gap: 0;
  }
  .workflow-flex .workflow-step {
    width: 100%;
    padding: var(--spacing-xs) 0;
  }
  .workflow-flex .workflow-arrow {
    width: 100%;
    transform: rotate(90deg);
    margin: var(--spacing-xs) 0;
  }
}

/* Commission Card */
.commission-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.commission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.commission-card.lite {
  border-color: var(--primary-medium);
}
.commission-card.growth {
  border-color: var(--accent-orange);
}
.commission-card.pro {
  border-color: var(--accent-pink-dark);
}

.commission-amount {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}
.commission-card.lite .commission-amount {
  color: var(--primary-medium);
}
.commission-card.growth .commission-amount {
  color: var(--accent-orange);
}
.commission-card.pro .commission-amount {
  color: var(--accent-pink-dark);
}

.komisi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  align-items: stretch;
}
@media (min-width: 768px) {
  .komisi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .komisi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================
   GLOBAL SECTION NUMBER (LINGKARAN HIJAU)
   ========================================= */
.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-medium); /* Warna hijau Tomatu */
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  flex-shrink: 0; /* Mencegah lingkaran gepeng di layar kecil */
}