*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

/* ══════════════════════════════════════
       COLOR SYSTEM — based on user palette
    ══════════════════════════════════════ */
:root {
  /* User's palette */
  --bg-color: #ffffff;
  --second-bg-color: #c2cde1;
  --primary-text: #000000;
  --second-text: #ffffff;
  --main-color: #0097b2;

  /* Extended from user palette */
  --main-light: #2db8d0;
  --main-xlight: #e0f6fa;
  --main-pale: #f0fbfd;
  --main-dark: #006f85;
  --main-xdark: #004d5e;

  --bg-soft: #f4f7fb;
  --bg-2: #c2cde1;
  --bg-3: #a8b5cc;
  --bg-4: #eef1f7;

  --navy: #0d1b2a;
  --navy-2: #0f2236;
  --navy-3: #1a3550;

  --text-body: #000000;
  --text-muted: #4d5e78;
  --text-soft: #7a8fa8;
  --white: #ffffff;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;

  --sh-sm: 0 2px 12px rgba(0, 151, 178, 0.08);
  --sh-md: 0 6px 32px rgba(0, 151, 178, 0.13);
  --sh-lg: 0 16px 64px rgba(0, 100, 130, 0.18);
  --sh-teal: 0 8px 40px rgba(0, 151, 178, 0.28);

  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: "Jost", sans-serif;
  background: var(--bg-color);
  color: var(--text-body);
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 3px;
}

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

.tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--main-dark);
  background: linear-gradient(135deg, var(--main-xlight), #cef0f8);
  border: 1px solid var(--main-light);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
  font-weight: 500;
}
.title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-body);
}
.title span {
  color: var(--main-color);
  font-style: italic;
}
.sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--main-color), transparent);
  margin: 16px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Jost", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--main-color), var(--main-dark));
  color: var(--white);
  box-shadow: var(--sh-teal);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(0, 151, 178, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--main-dark);
  border: 1.5px solid var(--main-color);
}
.btn-outline:hover {
  background: var(--main-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 20px 0;
  transition: var(--ease);
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(0, 151, 178, 0.1);
  border-bottom: 1px solid rgba(194, 205, 225, 0.6);
}
#navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: "Cormorant Garamond", serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
/* "Nos Dot Project" — satu warna teal */
.nav-logo-main {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--main-color);
  letter-spacing: 0.01em;
}
/* separator | */
.nav-logo-divider {
  font-size: 1rem;
  font-weight: 300;
  color: var(--bg-3);
  line-height: 1;
  margin: 0 2px;
}
/* "Undangan Digital" — lebih besar, italic, elegan */
.nav-logo-sub {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-body);
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--main-color);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover {
  color: var(--main-color);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: var(--main-color);
  font-weight: 500;
}
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-body);
  border-radius: 2px;
  transition: var(--ease);
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--bg-2);
    box-shadow: var(--sh-md);
  }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #ffffff 0%, #eef4fc 40%, #d0e8f2 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 85%,
      rgba(0, 151, 178, 0.1) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(0, 151, 178, 0.08) 0%,
      transparent 45%
    );
}
.hero-bg::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(0, 151, 178, 0.1);
  top: -80px;
  right: 8%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(0, 151, 178, 0.08);
  bottom: 8%;
  left: 4%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--main-dark);
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--main-color);
  border-radius: 2px;
}
.hero-h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--text-body);
  margin-bottom: 20px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--main-color);
  display: block;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 151, 178, 0.15);
}
.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--main-color);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  z-index: 1;
}
.hero-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 3/4;
  position: relative;
}
.hero-card:nth-child(2) {
  margin-top: 48px;
}
.hero-mock {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
}
.mc {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 151, 178, 0.25);
  margin-bottom: 8px;
}
.ml {
  width: 100%;
  height: 8px;
  background: rgba(0, 151, 178, 0.18);
  border-radius: 4px;
}
.ml.s {
  width: 60%;
  margin: 0 auto;
}
.hero-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--main-color);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-visual {
    display: none;
  }
  .hero-content {
    max-width: 100%;
  }
}

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--navy);
  padding: 18px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 18s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(0, 151, 178, 0.75);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 500;
}
.mdot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--main-color);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── CATEGORIES ── */
#categories {
  padding: 100px 0 80px;
  background: var(--bg-soft);
}
.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--ease);
  border: 2px solid transparent;
  box-shadow: var(--sh-sm);
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 151, 178, 0.06), transparent);
  opacity: 0;
  transition: var(--ease);
}
.cat-card:hover,
.cat-card.active {
  border-color: var(--main-color);
  transform: translateY(-4px);
  box-shadow: var(--sh-teal);
}
.cat-card:hover::before,
.cat-card.active::before {
  opacity: 1;
}
.cat-card.active {
  background: linear-gradient(135deg, var(--main-xlight), #cef4fb);
}
.cat-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
  color: var(--main-color);
  line-height: 1;
}
.cat-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.03em;
}
.cat-count {
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-top: 4px;
}

/* ── THEMES ── */
#themes {
  padding: 80px 0 100px;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.f-btn {
  padding: 8px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--bg-3);
  background: var(--white);
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--ease);
  color: var(--text-muted);
}
.f-btn:hover,
.f-btn.active {
  background: var(--main-color);
  border-color: var(--main-color);
  color: var(--white);
}

.search-wrap {
  position: relative;
  margin-bottom: 48px;
  max-width: 420px;
}
.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--white);
  border: 1.5px solid var(--bg-2);
  border-radius: 100px;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  color: var(--text-body);
  outline: none;
  transition: var(--ease);
  box-shadow: var(--sh-sm);
}
.search-input:focus {
  border-color: var(--main-color);
  box-shadow: var(--sh-teal);
}
.search-ico {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
}

.results-info {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.results-info span {
  color: var(--main-color);
  font-weight: 500;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ── THEME CARD ── */
.theme-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: var(--ease);
  cursor: pointer;
  border: 1px solid rgba(194, 205, 225, 0.5);
}
.theme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(0, 151, 178, 0.25);
}
.card-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.theme-card:hover .card-img {
  transform: scale(1.05);
}
.card-mock {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
}
.cm-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.cm-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.cm-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
}
.cm-line.s {
  width: 60%;
  margin: 0 auto;
}

.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
}
.badge {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}
.b-bestseller {
  background: var(--main-color);
  color: var(--white);
}
.b-new {
  background: #2e8b57;
  color: var(--white);
}
.b-popular {
  background: #e05c00;
  color: var(--white);
}
.b-premium {
  background: var(--main-xdark);
  color: #7de8f8;
}
.b-full {
  background: var(--navy);
  color: var(--main-light);
}
.b-medium {
  background: var(--navy-3);
  color: #8dd8eb;
}
.b-simple {
  background: var(--bg-2);
  color: var(--text-muted);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.75) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.theme-card:hover .card-overlay {
  opacity: 1;
}
.overlay-btns {
  display: flex;
  gap: 8px;
  width: 100%;
}
.o-btn {
  flex: 1;
  padding: 9px 14px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--ease);
}
.o-preview {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
}
.o-book {
  background: var(--main-color);
  color: var(--white);
}
.o-btn:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.card-body {
  padding: 20px;
}
.card-cat {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.card-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 8px;
}
.card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 300;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--bg-4);
}
.card-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--main-dark);
}
.card-price small {
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 400;
  display: block;
}
.card-acts {
  display: flex;
  gap: 8px;
}
.c-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--bg-2);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--ease);
  color: var(--text-muted);
}
.c-btn:hover {
  border-color: var(--main-color);
  color: var(--main-dark);
  background: var(--main-xlight);
}

/* Demo / preview button */
.c-btn-demo {
  text-decoration: none;
  border-color: rgba(0, 151, 178, 0.35);
  color: var(--main-dark);
  background: var(--main-xlight);
}
.c-btn-demo:hover {
  border-color: var(--main-color);
  background: var(--main-color);
  color: var(--white);
}
/* Disabled state — demo belum tersedia */
.c-btn-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--text-soft);
  line-height: 1;
}
.empty-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--text-muted);
}

/* ── PACKAGES ── */
#packages {
  padding: 100px 0;
  background: var(--navy);
}
.pkg-header {
  text-align: center;
  margin-bottom: 64px;
}
.pkg-header .title {
  color: var(--white);
}
.pkg-header .tag {
  background: rgba(0, 151, 178, 0.15);
  color: var(--main-light);
  border-color: rgba(0, 151, 178, 0.3);
}
.pkg-header .sub {
  color: rgba(255, 255, 255, 0.45);
  margin: 0 auto;
  text-align: center;
}
.pkg-header .divider {
  margin: 16px auto;
}
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.pkg-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 151, 178, 0.15);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
}
.pkg-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--main-color),
    transparent
  );
}
.pkg-card:hover {
  background: rgba(0, 151, 178, 0.07);
  border-color: rgba(0, 151, 178, 0.45);
  transform: translateY(-4px);
}
.pkg-card.featured {
  background: linear-gradient(
    165deg,
    rgba(0, 151, 178, 0.14),
    rgba(0, 151, 178, 0.04)
  );
  border-color: var(--main-color);
}
.pkg-top-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--main-color);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.pkg-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.pkg-tag {
  font-size: 0.82rem;
  color: rgba(0, 151, 178, 0.7);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.pkg-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--main-light);
}
.pkg-price sub {
  font-size: 1rem;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}
.pkg-div {
  height: 1px;
  background: rgba(0, 151, 178, 0.15);
  margin: 24px 0;
}
.pkg-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pkg-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
}
.pkg-feat-ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 151, 178, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-light);
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* ── CTA ── */
#cta {
  padding: 120px 0;
  background: linear-gradient(160deg, var(--bg-soft) 0%, #d0e8f2 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
#cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(0, 151, 178, 0.12),
    transparent 70%
  );
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 16px;
}
.cta-h2 em {
  font-style: italic;
  color: var(--main-color);
}
.cta-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-weight: 300;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-acts {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-2);
  padding: 64px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
}
/* "Nos Dot Project" — satu warna teal */
.foot-brand-main {
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--main-color);
  letter-spacing: 0.01em;
}
/* separator | */
.foot-brand-divider {
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
}
/* "Undangan Digital" — lebih besar, italic */
.foot-brand-sub {
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
}
.foot-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  font-weight: 300;
  max-width: 300px;
}
.foot-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.foot-soc-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 151, 178, 0.12);
  border: 1px solid rgba(0, 151, 178, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-light);
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--ease);
}
.foot-soc-btn:hover {
  background: var(--main-color);
  color: var(--white);
  border-color: var(--main-color);
}
.foot-col-title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--main-color);
  margin-bottom: 20px;
}
.foot-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  font-weight: 300;
  transition: color 0.2s;
}
.foot-links a:hover {
  color: var(--main-light);
}
.foot-cinfo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.foot-cico {
  color: var(--main-color);
  font-size: 1rem;
  margin-top: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.foot-ctxt {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}
.foot-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(0, 151, 178, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.foot-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
}
.foot-copy span {
  color: var(--main-color);
}
@media (max-width: 768px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .foot-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── MODAL ── */
#modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.78);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#modal-overlay.open {
  display: flex;
}
.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  animation: mIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes mIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-head {
  padding: 28px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.modal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-body);
}
.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--bg-2);
  background: var(--bg-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--ease);
  flex-shrink: 0;
}
.modal-close:hover {
  border-color: var(--main-color);
  color: var(--main-dark);
}
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 28px 32px 32px;
}
@media (max-width: 640px) {
  .modal-body {
    grid-template-columns: 1fr;
  }
}
.modal-frame {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  aspect-ratio: 9/16;
  overflow: hidden;
  border: 1px solid var(--bg-2);
}
.modal-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.modal-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}
.modal-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.m-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.m-lbl {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.m-val {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}
.m-sec {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--main-dark);
  margin-bottom: 12px;
}
.m-feats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.m-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 300;
}
.m-feat-ico {
  color: var(--main-color);
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
}
.m-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--main-dark);
}
.m-acts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.m-acts .btn {
  justify-content: center;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TOAST ── */
#toast {
  position: fixed;
  /* bottom: 32px; */
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--navy);
  color: var(--main-light);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.85rem;
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(0, 151, 178, 0.3);
}
#toast.show {
  transform: translateX(-50%) translateY(0);
  bottom: 32px;
}

/* ── FAB ── */
.fab-wa {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 998;
  text-decoration: none;
  font-size: 1.6rem;
  color: #ffffff;
  transition: var(--ease);
  animation: pulse-wa 2s ease infinite;
}
.fab-wa:hover {
  transform: scale(1.1);
}
@keyframes pulse-wa {
  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 6px 40px rgba(37, 211, 102, 0.65);
  }
}
