:root {
  --rose: #e8a4b8;
  --rose-dark: #d4849a;
  --peach: #f5d0c5;
  --cream: #fdf8f5;
  --soft-pink: #fceef2;
  --gold: #c9a87c;
  --text: #3d2c35;
  --text-muted: #8a7078;
  --white: #ffffff;
  --page-bg: #fdf8f5;
  --surface: #ffffff;
  --surface-soft: #fcf9fa;
  --surface-muted: #f7f1f4;
  --surface-elevated: rgba(255, 255, 255, 0.86);
  --surface-strong: #f5f3f4;
  --input-bg: #ffffff;
  --input-border: rgba(212, 132, 154, 0.18);
  --input-placeholder: #9a8b92;
  --border-soft: rgba(232, 164, 184, 0.16);
  --border-strong: rgba(212, 132, 154, 0.26);
  --topbar-bg: rgba(255, 255, 255, 0.94);
  --topbar-border: rgba(232, 164, 184, 0.15);
  --sidebar-bg: linear-gradient(180deg, #2b1f27 0%, #241b21 100%);
  --sidebar-text: rgba(255, 255, 255, 0.82);
  --sidebar-muted: rgba(255, 255, 255, 0.48);
  --sidebar-hover: rgba(255, 255, 255, 0.08);
  --sidebar-active-border: rgba(232, 164, 184, 0.24);
  --hero-surface:
    radial-gradient(
      circle at top right,
      rgba(212, 132, 154, 0.13),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(252, 238, 242, 0.78)
    );
  --hero-tag-bg: rgba(255, 255, 255, 0.74);
  --hero-tag-border: rgba(232, 164, 184, 0.2);
  --shadow: 0 8px 32px rgba(61, 44, 53, 0.08);
  --radius: 16px;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

[data-theme="dark"] {
  --rose: #d88da5;
  --rose-dark: #f2bfd1;
  --cream: #171216;
  --soft-pink: #241c21;
  --text: #f5eef1;
  --text-muted: #bcaeb5;
  --white: #1e171b;
  --page-bg: #120e12;
  --surface: #1e171b;
  --surface-soft: #261e23;
  --surface-muted: #2e252b;
  --surface-elevated: rgba(37, 29, 34, 0.92);
  --surface-strong: #342930;
  --input-bg: #1b1519;
  --input-border: rgba(255, 255, 255, 0.12);
  --input-placeholder: #8f8389;
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(232, 164, 184, 0.22);
  --topbar-bg: rgba(22, 17, 20, 0.92);
  --topbar-border: rgba(255, 255, 255, 0.07);
  --sidebar-bg: linear-gradient(180deg, #171217 0%, #110d11 100%);
  --sidebar-text: rgba(255, 255, 255, 0.86);
  --sidebar-muted: rgba(255, 255, 255, 0.56);
  --sidebar-hover: rgba(255, 255, 255, 0.08);
  --sidebar-active-border: rgba(232, 164, 184, 0.3);
  --hero-surface:
    radial-gradient(
      circle at top right,
      rgba(216, 141, 165, 0.17),
      transparent 34%
    ),
    linear-gradient(135deg, rgba(35, 27, 32, 0.98), rgba(19, 14, 18, 0.96));
  --hero-tag-bg: rgba(255, 255, 255, 0.06);
  --hero-tag-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}
body.temu-body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--page-bg);
  padding-top: 76px;
  overflow-x: hidden;
}
.font-serif {
  font-family: var(--font-serif);
}
.text-rose {
  color: var(--rose-dark) !important;
}
.text-muted-soft {
  color: var(--text-muted);
}
.bg-cream {
  background: var(--cream);
}
.bg-soft-pink {
  background: var(--soft-pink);
}
.bg-rose-soft {
  background: var(--soft-pink);
}

/* Navbar */
.navbar-temu {
  background: var(--topbar-bg);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--topbar-border);
  padding: 0.75rem 0;
}
.navbar-temu .nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
}
.navbar-temu .nav-link:hover,
.navbar-temu .nav-link.active {
  color: var(--rose-dark);
}
.navbar-temu .nav-link.active {
  border-bottom: 2px solid var(--rose-dark);
}
.brand-icon {
  color: var(--rose-dark);
}
.btn-nav-masuk {
  border: 2px solid var(--text);
  color: var(--text);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 1.5rem;
  background: transparent;
}
.btn-nav-masuk:hover {
  background: var(--soft-pink);
  color: var(--rose-dark);
  border-color: var(--rose);
}

/* Buttons */
.btn-temu {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  border: none;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-temu:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 132, 154, 0.4);
}
.btn-temu-outline {
  border: 2px solid var(--rose);
  color: var(--rose-dark);
  border-radius: 50px;
  font-weight: 600;
  background: transparent;
}
.btn-temu-outline:hover {
  background: var(--soft-pink);
  color: var(--rose-dark);
}
.btn-temu-soft {
  background: var(--soft-pink);
  color: var(--rose-dark);
  border: none;
  border-radius: 50px;
}

/* Cards */
.card-temu {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
}
.shadow-soft {
  box-shadow: var(--shadow);
}

[data-theme="dark"] .btn-temu-outline {
  border-color: rgba(232, 164, 184, 0.34);
}

[data-theme="dark"] .btn-temu-outline:hover {
  background: rgba(232, 164, 184, 0.12);
}

[data-theme="dark"] .btn-temu-soft {
  background: rgba(232, 164, 184, 0.16);
  color: var(--rose-dark);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* default gradient; can be overridden by inline background image */
  background: linear-gradient(
    135deg,
    var(--soft-pink) 0%,
    var(--cream) 40%,
    var(--peach) 100%
  );
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(255, 255, 255, 0.5),
    transparent 70%
  );
  z-index: 1;
}
.hero-section .container {
  z-index: 2;
  position: relative;
}
.hero-row {
  min-height: 80vh;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--rose-dark);
}
.hero-title {
  font-family: var(--font-serif);
  color: var(--text);
  line-height: 1.15;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
.hero-subtitle {
  color: var(--text-muted);
  max-width: 480px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
}

/* Phone Mockup */
.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}
.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 12px;
  animation: float 6s ease-in-out infinite;
}
.hero-phone-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}
.hero-phone-mockup {
  animation: float 6s ease-in-out infinite;
}
.phone-frame {
  width: 260px;
  height: 520px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #fdf5f0 0%, #fce8e0 50%, #f5d5c8 100%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-content {
  text-align: center;
  padding: 2rem 1.5rem;
}
.phone-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.phone-names {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
.phone-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.phone-date .separator {
  color: var(--rose);
}
.phone-info {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.phone-venue {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.phone-cta {
  display: inline-block;
  background: var(--rose-dark);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Stats Card */
.hero-stats-card {
  position: absolute;
  right: -20px;
  bottom: 80px;
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-stats-card.float-animation {
  animation: float 4s ease-in-out infinite;
}
.stats-icon {
  width: 44px;
  height: 44px;
  background: var(--soft-pink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--rose-dark);
}
.stats-content {
  display: flex;
  flex-direction: column;
}
.stats-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.stats-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.stats-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.stats-heart {
  color: var(--rose);
  font-size: 1.2rem;
  align-self: flex-start;
}

/* Features Bar */
.features-bar {
  background: var(--white);
  padding: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 3;
}
.features-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  padding: 0.5rem 0;
}
.feature-bar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.feature-bar-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
}
.feature-bar-text {
  display: flex;
  flex-direction: column;
}
.feature-bar-text strong {
  font-size: 0.82rem;
  color: var(--text);
}
.feature-bar-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--rose-dark);
  z-index: 2;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Sections */
.section-padding {
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.section-label {
  display: inline-block;
  color: var(--rose-dark);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0.75rem;
}

/* Features */
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(212, 132, 154, 0.15);
}
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  background: var(--soft-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--rose-dark);
}
.feature-card h6 {
  font-size: 0.95rem;
  line-height: 1.4;
}
.feature-card p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Pricing */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s;
}
.pricing-card:hover {
  transform: translateY(-6px);
}
.pricing-featured {
  border: 2px solid var(--rose);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--rose);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.pricing-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--rose-dark);
}
.pricing-features {
  list-style: none;
  padding: 0;
}
.pricing-features li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
}

/* Template cards */
.template-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.template-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(212, 132, 154, 0.15);
}
.template-card-preview {
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--soft-pink), var(--cream));
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.template-card-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.template-card:hover .template-card-thumb-img {
  transform: scale(1.05);
}
.template-card-screen {
  width: 100%;
  max-width: 200px;
}
.template-card-mockup {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.template-card-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.template-card-names {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.template-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.template-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  color: var(--rose-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.template-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* Testimonial */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Accordion */
.accordion-temu .accordion-item {
  border: none;
  margin-bottom: 0.5rem;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.accordion-temu .accordion-button {
  font-weight: 600;
  background: var(--white);
}
.accordion-temu .accordion-button:not(.collapsed) {
  background: var(--soft-pink);
  color: var(--rose-dark);
}

/* Auth */
.auth-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}
.form-temu {
  border-radius: 12px;
  border: 1px solid rgba(232, 164, 184, 0.3);
  padding: 0.65rem 1rem;
}
.form-temu:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(232, 164, 184, 0.25);
}

/* Footer */
.footer-temu {
  background: var(--text);
  color: #ddd;
}
.footer-temu h5,
.footer-temu h6 {
  color: #fff;
}
.footer-links a {
  color: #bbb;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--rose);
}
.border-soft {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Avatar */
.avatar-sm {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}
img.avatar-img {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* Logo & brand — global (home, admin, dashboard) */
.brand-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  line-height: 1;
}
.brand-link img,
.site-logo,
.site-logo-nav,
.site-logo-sidebar,
.navbar-temu .brand-link img,
.sidebar-brand .brand-link img,
.footer-temu .brand-link img {
  display: block;
  height: 40px !important;
  width: auto !important;
  max-width: 140px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: left center;
}
.navbar-temu .brand-link img,
.site-logo-nav {
  max-height: 38px !important;
  max-width: 130px !important;
}
.sidebar-brand {
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 1rem;
}
.sidebar-brand .brand-link {
  max-width: 100%;
}
.sidebar-brand .brand-link img,
.site-logo-sidebar {
  max-height: 36px !important;
  max-width: 120px !important;
}
.admin-sidebar .brand-text {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}
.auth-section .brand-link {
  justify-content: center;
}
.auth-section .brand-link img {
  max-height: 48px !important;
  max-width: 160px !important;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

@media (max-width: 991px) {
  .features-bar-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .feature-bar-item {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-row {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .pricing-featured {
    transform: none;
  }
  .features-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .btn-nav-masuk {
    display: none;
  }
}
