/* =====================================================================
   RuangInvite — Design System (public site)
   70% white/ivory · 20% soft pink · 10% deep rose accent
   ===================================================================== */

:root {
  --c-white: #ffffff;
  --c-ivory: #fff8fa;
  --c-blush-50: #fce7ef;
  --c-blush-100: #f8cbd8;
  --c-rose-300: #efa7bd;
  --c-rose-400: #df7f9d;
  --c-rose-500: #c95d7f;
  --c-rose-700: #9e3f5f;
  --c-ink: #2f2228;
  --c-ink-2: #6e5862;
  --c-ink-3: #9a8590;
  --c-line: #f1dde4;
  --c-line-2: #ead0d9;
  --c-gold: #c9a27e;
  --c-success: #3f8f6b;
  --c-danger: #c2414f;

  --g-hero: linear-gradient(135deg, #fff8fa 0%, #fce7ef 45%, #ffffff 100%);
  --g-primary: linear-gradient(135deg, #efa7bd 0%, #df7f9d 45%, #c95d7f 100%);
  --g-primary-hover: linear-gradient(135deg, #e997b0 0%, #d6708f 45%, #b84f71 100%);
  --g-soft: linear-gradient(180deg, #ffffff 0%, #fff8fa 100%);
  --g-blush: linear-gradient(160deg, #fff8fa 0%, #fce7ef 100%);
  --g-deep: linear-gradient(135deg, #3a2730 0%, #5b3343 60%, #8d4563 100%);

  --f-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans: "DM Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --sh-xs: 0 1px 2px rgba(158, 63, 95, 0.06);
  --sh-sm: 0 4px 14px -6px rgba(158, 63, 95, 0.14);
  --sh-md: 0 16px 34px -18px rgba(158, 63, 95, 0.28);
  --sh-lg: 0 34px 70px -30px rgba(158, 63, 95, 0.38);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --container: 1180px;
  --gutter: 20px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; font-family: var(--f-sans); font-size: 16px; line-height: 1.65; color: var(--c-ink);
  background: var(--c-white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--c-rose-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-rose-700); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 500; color: var(--c-ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--c-rose-500); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 84px 0; position: relative; }
.section--soft { background: var(--g-soft); }
.section--blush { background: var(--g-blush); }
.section--tight { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-rose-500); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.section-head--center .eyebrow::after, .section-head .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.section-head--left .eyebrow::after { display: none; }
.title-xl { font-family: var(--f-serif); font-size: clamp(40px, 7vw, 76px); font-weight: 500; letter-spacing: -.01em; line-height: 1.02; }
.title-lg { font-family: var(--f-serif); font-size: clamp(32px, 5vw, 52px); font-weight: 500; letter-spacing: -.005em; }
.title-md { font-family: var(--f-serif); font-size: clamp(26px, 3.4vw, 36px); font-weight: 500; }
.title-lg em, .title-xl em, .title-md em { font-style: italic; color: var(--c-rose-500); }
.lead { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--c-ink-2); line-height: 1.7; }
.muted { color: var(--c-ink-2); }
.small { font-size: 14px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px;
  border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .2s, border-color .2s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--g-primary); color: #fff; box-shadow: 0 12px 26px -12px rgba(201, 93, 127, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { color: #fff; background: var(--g-primary-hover); transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(201, 93, 127, .8); }
.btn-secondary { background: rgba(255,255,255,.85); color: var(--c-rose-500); border-color: var(--c-rose-300); backdrop-filter: blur(6px); }
.btn-secondary:hover { background: #fff; color: var(--c-rose-700); border-color: var(--c-rose-500); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-2); }
.btn-ghost:hover { border-color: var(--c-rose-300); color: var(--c-rose-500); }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #4a3540; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--c-rose-700); }
.btn-white:hover { color: var(--c-rose-700); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 13.5px; }
.btn-lg { min-height: 56px; padding: 15px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); font-size: 11px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1; background: var(--c-blush-50); color: var(--c-rose-700);
}
.badge--new { background: #fff; color: var(--c-rose-500); box-shadow: inset 0 0 0 1px var(--c-rose-300); }
.badge--popular { background: var(--g-primary); color: #fff; }
.badge--value, .badge--exclusive { background: var(--g-deep); color: #fbe3ea; }
.badge--promo { background: #fff4e5; color: #a8611d; }
.badge--starter { background: #f5eef1; color: var(--c-ink-2); }
.badge--pkg-basic { background: #f6f0f2; color: #7e6570; }
.badge--pkg-platinum { background: var(--c-blush-50); color: var(--c-rose-700); }
.badge--pkg-premium { background: #2f2228; color: #f6d3dd; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--c-line-2); background: #fff; color: var(--c-ink-2); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--c-rose-300); color: var(--c-rose-500); }
.chip.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* ---------- Price ---------- */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price__now { font-family: var(--f-serif); font-weight: 600; color: var(--c-ink); font-size: 26px; line-height: 1; }
.price__old { color: var(--c-ink-3); font-size: 14.5px; text-decoration: line-through; text-decoration-color: var(--c-rose-500); text-decoration-thickness: 2px; }
.price__save { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: #a8611d; background: #fff4e5; padding: 4px 9px; border-radius: var(--r-pill); }
.price--lg .price__now { font-size: 46px; }
.price--lg .price__old { font-size: 17px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h); display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .3s;
}
.nav.is-scrolled, .nav--solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--c-line), 0 10px 30px -24px rgba(158,63,95,.4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink); }
.brand:hover { color: var(--c-ink); }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--g-primary); position: relative; box-shadow: 0 8px 16px -8px rgba(201,93,127,.8); flex: none; }
.brand__mark::before { content: ""; position: absolute; left: 9px; top: 11px; width: 13px; height: 3px; border-radius: 2px; background: #fff; }
.brand__mark::after { content: ""; position: absolute; left: 14px; top: 11px; width: 3px; height: 14px; border-radius: 2px; background: #fff; box-shadow: 9px -3px 0 0 #fff; }
.brand__text { font-family: var(--f-serif); font-size: 25px; font-weight: 600; letter-spacing: .005em; }
.brand__img { height: 75px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__menu a { display: block; padding: 10px 14px; border-radius: var(--r-pill); color: var(--c-ink); font-size: 15px; font-weight: 500; }
.nav__menu a:hover, .nav__menu a.is-active { color: var(--c-rose-500); background: rgba(252, 231, 239, .6); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__login { font-size: 14.5px; color: var(--c-ink-2); font-weight: 500; padding: 8px 10px; }
.nav__drawer { display: none; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--c-line-2); background: rgba(255,255,255,.8); cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 54px) 0 72px; background: var(--g-hero); overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero::before { width: 560px; height: 560px; right: -160px; top: -180px; background: radial-gradient(circle, rgba(248, 203, 216, .85) 0%, rgba(248, 203, 216, 0) 68%); animation: ti-float 14s ease-in-out infinite; }
.hero::after { width: 420px; height: 420px; left: -180px; bottom: -200px; background: radial-gradient(circle, rgba(239, 167, 189, .45) 0%, rgba(239, 167, 189, 0) 70%); animation: ti-float 18s ease-in-out infinite reverse; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { margin-bottom: 20px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; animation: ti-rise 1.1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__sub { max-width: 520px; animation: ti-fade-up 1s .35s var(--ease) both; }
.hero__cta { margin-top: 30px; animation: ti-fade-up 1s .5s var(--ease) both; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 34px; color: var(--c-ink-2); font-size: 14px; animation: ti-fade-up 1s .65s var(--ease) both; }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; height: 18px; color: var(--c-rose-500); }
.hero__visual { position: relative; justify-self: center; width: min(100%, 470px); animation: ti-fade-in 1.2s .2s var(--ease) both; }
.hero__arch { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 28px 28px; overflow: hidden; box-shadow: var(--sh-lg); background: var(--c-blush-50); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; animation: ti-zoom 18s ease-in-out infinite alternate; }
.hero__arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(201,93,127,.18) 100%); }
.hero__ring { position: absolute; inset: -16px; border-radius: 256px 256px 40px 40px; border: 1px solid rgba(201,93,127,.25); pointer-events: none; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--sh-md); font-size: 13.5px; color: var(--c-ink-2); line-height: 1.35;
}
.float-card strong { display: block; color: var(--c-ink); font-size: 15px; }
.float-card__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c-blush-50); color: var(--c-rose-500); flex: none; }
.float-card__icon svg { width: 20px; height: 20px; }
.float-card--a { left: -38px; bottom: 70px; animation: ti-bob 6s ease-in-out infinite; }
.float-card--b { right: -26px; top: 64px; animation: ti-bob 7s 1s ease-in-out infinite; }
.petal { position: absolute; width: 14px; height: 18px; border-radius: 80% 0 80% 0; background: linear-gradient(135deg, #f8cbd8, #efa7bd); opacity: .55; pointer-events: none; animation: ti-petal 16s linear infinite; z-index: 0; }

/* ---------- Promo banner ---------- */
.promo { padding: 0; margin-top: -28px; position: relative; z-index: 3; }
.promo__slider { position: relative; }
.promo__slide { display: none; }
.promo__slide.is-active { display: block; animation: ti-fade-in .6s var(--ease); }
.promo-card {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 30px 38px; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(120deg, #3a2730 0%, #6a3a4e 45%, #c95d7f 100%); color: #fff; box-shadow: var(--sh-lg);
}
.promo-card::before { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); }
.promo-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.promo-card--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,34,40,.78) 0%, rgba(47,34,40,.35) 60%, rgba(47,34,40,.15) 100%); }
.promo-card > *:not(img) { position: relative; z-index: 1; }
.promo-card__eyebrow { font-size: 11.5px; letter-spacing: .24em; font-weight: 700; text-transform: uppercase; color: #fbd3df; }
.promo-card__title { font-family: var(--f-serif); font-size: clamp(26px, 3.4vw, 38px); color: #fff; margin: 6px 0 6px; font-weight: 500; }
.promo-card__sub { color: rgba(255,255,255,.85); margin: 0; max-width: 560px; }
.promo-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.promo__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.promo__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--c-line-2); cursor: pointer; padding: 0; }
.promo__dots button.is-active { width: 22px; border-radius: 6px; background: var(--c-rose-500); }

.countdown { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-right: 6px; }
.countdown__box { min-width: 44px; padding: 7px 6px; border-radius: 10px; text-align: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: 17px; line-height: 1; }
.countdown__box small { display: block; font-size: 9px; letter-spacing: .1em; font-weight: 600; margin-top: 4px; opacity: .75; text-transform: uppercase; }
.countdown--light .countdown__box { background: #fff; border-color: var(--c-line); color: var(--c-ink); }
.countdown__sep { opacity: .5; font-weight: 700; }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.intro__media { position: relative; }
.intro__media img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.intro__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--r-lg); border: 1px solid var(--c-rose-300); z-index: -1; }
.intro__quote { font-family: var(--f-serif); font-size: clamp(22px, 2.5vw, 28px); font-style: italic; line-height: 1.45; color: var(--c-ink); margin: 24px 0 30px; padding-left: 22px; border-left: 2px solid var(--c-rose-300); }
.microlist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 22px; margin: 0; padding: 0; list-style: none; }
.microlist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--c-ink-2); }
.microlist svg { width: 20px; height: 20px; color: var(--c-rose-500); flex: none; margin-top: 2px; }

/* ---------- Style chooser ---------- */
.styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.style-card { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; isolation: isolate; box-shadow: var(--sh-sm); background: var(--c-blush-50); }
.style-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); z-index: -2; }
.style-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(47,34,40,.08) 0%, rgba(47,34,40,.35) 45%, rgba(47,34,40,.86) 100%); transition: opacity .3s; }
.style-card img { filter: blur(2.5px) saturate(1.1); transform: scale(1.08); }
.style-card:hover img { filter: blur(0); }
.style-card:hover img { transform: scale(1.07); }
.style-card:hover { color: #fff; }
.style-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; }
.style-card__icon { font-size: 22px; line-height: 1; }
.style-card__name { display: block; font-family: var(--f-serif); font-size: 25px; font-weight: 600; margin-top: 6px; }
.style-card__count { font-size: 13px; opacity: .85; }

/* ---------- Template cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.tcard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--g-blush); }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.tcard:hover .tcard__media img { transform: scale(1.06); }
.tcard__badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; max-width: calc(100% - 28px); }
.tcard__overlay { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 22px; background: linear-gradient(180deg, rgba(47,34,40,0) 45%, rgba(47,34,40,.55) 100%); opacity: 0; transition: opacity .35s var(--ease); }
.tcard__overlay .btn { transform: translateY(14px); transition: transform .4s var(--ease), background .2s; }
.tcard:hover .tcard__overlay, .tcard:focus-within .tcard__overlay { opacity: 1; }
.tcard:hover .tcard__overlay .btn, .tcard:focus-within .tcard__overlay .btn { transform: translateY(0); }
.tcard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.tcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tcard__cats { font-size: 12.5px; color: var(--c-ink-3); }
.tcard__name { font-family: var(--f-serif); font-size: 27px; font-weight: 600; margin: 0; line-height: 1.1; }
.tcard__name a { color: var(--c-ink); }
.tcard__name a:hover { color: var(--c-rose-500); }
.tcard__desc { font-size: 14.5px; color: var(--c-ink-2); margin: 0; flex: 1; }
.tcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--c-line-2); }
.tcard__actions { display: flex; gap: 8px; }
.tcard__actions .btn { min-height: 40px; padding: 8px 14px; font-size: 13.5px; }

/* Featured editorial layout */
.featured { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 28px; }
.featured > .tcard:first-child { grid-row: span 2; }
.featured > .tcard:first-child .tcard__media { aspect-ratio: 4 / 4.4; }
.featured > .tcard:first-child .tcard__name { font-size: 36px; }
.featured > .tcard:not(:first-child) { flex-direction: row; }
.featured > .tcard:not(:first-child) .tcard__media { aspect-ratio: auto; width: 44%; flex: none; min-height: 100%; }
.featured > .tcard:not(:first-child) .tcard__overlay { display: none; }

/* Catalog */
.catalog-head { padding: calc(var(--nav-h) + 50px) 0 40px; background: var(--g-hero); }
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.filters__row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -ms-overflow-style: none; }
.filters__row::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filters__row { flex-wrap: wrap; overflow: visible; } }
.filters__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-3); font-weight: 600; align-self: center; margin-right: 6px; white-space: nowrap; }
.is-hidden { display: none !important; }
.result-count { color: var(--c-ink-2); font-size: 14px; margin-bottom: 18px; }

/* ---------- Featured visual (parallax) ---------- */
.moment { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.moment__bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.moment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(47,34,40,.72) 0%, rgba(47,34,40,.35) 55%, rgba(47,34,40,.1) 100%); }
.moment .container { position: relative; z-index: 1; }
.moment__text { max-width: 560px; }
.moment__text .title-lg { color: #fff; }
.moment__text .lead { color: rgba(255,255,255,.88); }
.moment__chip { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: var(--r-pill); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); font-size: 14px; margin-top: 10px; animation: ti-bob 7s ease-in-out infinite; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why__item { padding: 28px 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-line); transition: transform .35s var(--ease), box-shadow .35s; }
.why__item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.why__icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--g-blush); color: var(--c-rose-500); margin-bottom: 16px; }
.why__icon svg { width: 24px; height: 24px; }
.why__item h3 { font-family: var(--f-serif); font-size: 23px; font-weight: 600; margin-bottom: 6px; }
.why__item p { font-size: 14.5px; color: var(--c-ink-2); margin: 0; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); transition: transform .4s var(--ease), box-shadow .4s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.plan__tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-rose-500); font-weight: 700; }
.plan__name { font-family: var(--f-serif); font-size: 34px; font-weight: 600; margin: 4px 0 6px; }
.plan__desc { font-size: 14.5px; color: var(--c-ink-2); min-height: 48px; }
.plan__price { margin: 14px 0 6px; }
.plan__note { font-size: 13px; color: var(--c-ink-3); margin-bottom: 20px; }
.plan__list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan__list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--c-ink); align-items: flex-start; }
.plan__list li.is-off { color: var(--c-ink-3); }
.plan__list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.plan__list .ok { color: var(--c-rose-500); }
.plan__list .no { color: #cdbac2; }
.plan--highlight { border: 1.5px solid var(--c-rose-300); box-shadow: 0 30px 60px -30px rgba(201,93,127,.55); transform: translateY(-10px) scale(1.015); background: linear-gradient(180deg, #fff 0%, #fff8fa 100%); }
.plan--highlight:hover { transform: translateY(-14px) scale(1.015); }
.plan--exclusive { background: linear-gradient(165deg, #2f2228 0%, #4a2d3b 60%, #6e3a52 100%); border-color: transparent; color: #fbeaf0; }
.plan--exclusive .plan__name, .plan--exclusive .price__now, .plan--exclusive .plan__list li { color: #fff; }
.plan--exclusive .plan__desc, .plan--exclusive .plan__note { color: rgba(251, 234, 240, .75); }
.plan--exclusive .plan__tag { color: #f6b6c9; }
.plan--exclusive .plan__list .ok { color: #f6b6c9; }
.plan--exclusive .plan__list li.is-off { color: rgba(255,255,255,.4); }
.plan--exclusive .price__old { color: rgba(255,255,255,.55); text-decoration-color: #f6b6c9; }
.plan--exclusive .countdown--light .countdown__box { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.plan__promo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; margin-bottom: 16px; }

/* Feature matrix */
.matrix-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--c-line); background: #fff; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
.matrix th, .matrix td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--c-line); }
.matrix th:first-child, .matrix td:first-child { text-align: left; position: sticky; left: 0; background: #fff; z-index: 1; }
.matrix thead th { font-family: var(--f-serif); font-size: 22px; font-weight: 600; background: var(--c-ivory); }
.matrix thead th:first-child { background: var(--c-ivory); font-family: var(--f-sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-3); }
.matrix thead th small { display: block; font-family: var(--f-sans); font-size: 12.5px; color: var(--c-ink-3); font-weight: 500; }
.matrix tbody tr:hover td { background: #fffafb; }
.matrix td.is-hl, .matrix th.is-hl { background: rgba(252, 231, 239, .45); }
.matrix .yes { color: var(--c-rose-500); font-weight: 700; }
.matrix .no { color: #cdbac2; }
.matrix .val { font-weight: 600; color: var(--c-rose-700); }
.matrix__feat small { display: block; color: var(--c-ink-3); font-size: 12.5px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 1px; background: repeating-linear-gradient(90deg, var(--c-rose-300) 0 6px, transparent 6px 12px); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__num { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-serif); font-size: 26px; font-weight: 600; color: var(--c-rose-500); background: #fff; border: 1px solid var(--c-rose-300); box-shadow: 0 0 0 8px var(--c-ivory); }
.step h3 { font-size: 17px; font-family: var(--f-sans); font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--c-ink-2); margin: 0; }

/* ---------- Testimonials ---------- */
.testis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.testi { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 16px; }
.testi__stars { color: #e3a24b; letter-spacing: 2px; font-size: 15px; }
.testi__quote { font-family: var(--f-serif); font-size: 21px; line-height: 1.45; font-style: italic; color: var(--c-ink); margin: 0; flex: 1; }
.testi__who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--g-primary); color: #fff; font-family: var(--f-serif); font-size: 20px; font-weight: 600; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi__who strong { display: block; font-size: 15px; }
.testi__who span { font-size: 13px; color: var(--c-ink-3); }
.testi__tpl { font-size: 12.5px; color: var(--c-rose-500); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--sh-sm); border-color: var(--c-rose-300); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--c-blush-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23C95D7F' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--c-ink-2); }
.faq__a p:last-child { margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; padding: 70px 40px; border-radius: 32px; overflow: hidden; text-align: center; background: linear-gradient(135deg, #fce7ef 0%, #f8cbd8 45%, #efa7bd 100%); }
.final-cta::before, .final-cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); }
.final-cta::before { width: 300px; height: 300px; left: -80px; top: -120px; }
.final-cta::after { width: 220px; height: 220px; right: -60px; bottom: -100px; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta .btn-group { justify-content: center; }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 30px; background: #2f2228; color: rgba(255,255,255,.72); margin-top: 0; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { color: #fff; }
.footer__tag { margin-top: 14px; font-family: var(--f-serif); font-size: 19px; font-style: italic; color: rgba(255,255,255,.85); }
.footer h4 { color: #fff; font-family: var(--f-sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer__bottom nav { display: flex; gap: 18px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--c-rose-500); }
.social svg { width: 18px; height: 18px; }

/* ---------- Floating WhatsApp & mobile sticky ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px;
  border-radius: var(--r-pill); background: var(--g-primary); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 18px 34px -14px rgba(201,93,127,.85);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float svg { width: 22px; height: 22px; }
.mobile-bar { display: none; }

/* ---------- Template detail ---------- */
.detail-hero { padding: calc(var(--nav-h) + 40px) 0 70px; background: var(--g-hero); position: relative; overflow: hidden; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.breadcrumb { font-size: 13.5px; color: var(--c-ink-3); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--c-ink-2); }
.detail-info .price { margin: 18px 0 8px; }
.detail-info__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.detail-panel { margin-top: 26px; padding: 22px; border-radius: var(--r-md); background: rgba(255,255,255,.75); border: 1px solid var(--c-line); backdrop-filter: blur(8px); }
.detail-panel h3 { font-size: 15px; font-family: var(--f-sans); font-weight: 700; margin-bottom: 12px; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.feature-pills li { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-line); font-size: 13.5px; }
.feature-pills li.is-off { color: var(--c-ink-3); text-decoration: line-through; background: transparent; }
.feature-pills svg { width: 14px; height: 14px; color: var(--c-rose-500); }

.voucher { display: grid; gap: 12px; }
.voucher__form { display: flex; gap: 10px; }
.voucher__form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--c-line-2); background: #fff; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.voucher__form input:focus { outline: none; border-color: var(--c-rose-500); box-shadow: 0 0 0 4px rgba(201,93,127,.12); }
.voucher__msg { font-size: 14px; margin: 0; }
.voucher__msg.is-error { color: var(--c-danger); }
.voucher__msg.is-ok { color: var(--c-success); }
.breakdown { display: none; border-radius: 14px; background: #fff; border: 1px dashed var(--c-rose-300); padding: 16px 18px; font-size: 14.5px; }
.breakdown.is-visible { display: block; animation: ti-pop .45s var(--ease); }
.breakdown__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.breakdown__row--total { border-top: 1px solid var(--c-line); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 17px; }
.breakdown__row--disc { color: var(--c-success); }
.breakdown__save { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #effaf4; color: var(--c-success); font-weight: 600; font-size: 14px; text-align: center; }

/* Phone preview */
.preview-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preview-toggle { display: inline-flex; padding: 5px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-xs); }
.preview-toggle button { border: 0; background: transparent; padding: 9px 16px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: var(--c-ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.preview-toggle button svg { width: 16px; height: 16px; }
.preview-toggle button.is-active { background: var(--c-ink); color: #fff; }
.phone { position: relative; width: 340px; height: 690px; padding: 14px; border-radius: 52px; background: linear-gradient(145deg, #3a2a31, #1d1418); box-shadow: 0 50px 90px -40px rgba(47,34,40,.6), inset 0 0 0 2px rgba(255,255,255,.08); transition: width .45s var(--ease), height .45s var(--ease), border-radius .45s; }
.phone::before { content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #120c0f; z-index: 2; }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 40px; background: #fff; display: block; }
.phone.is-desktop { width: min(100%, 900px); height: 560px; border-radius: 18px; padding: 30px 10px 10px; }
.phone.is-desktop::before { top: 11px; left: 18px; transform: none; width: 46px; height: 9px; border-radius: 5px; background: radial-gradient(circle at 4px 4.5px, #f37171 4px, transparent 4.5px), radial-gradient(circle at 21px 4.5px, #f3c06a 4px, transparent 4.5px), radial-gradient(circle at 38px 4.5px, #72c78b 4px, transparent 4.5px); }
.phone.is-desktop iframe { border-radius: 8px; }
.phone__loading { position: absolute; inset: 14px; border-radius: 40px; display: grid; place-items: center; background: var(--g-blush); color: var(--c-ink-3); font-size: 14px; z-index: 0; }
.preview-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.tryform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tryform .full { grid-column: 1 / -1; }
.input { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--c-line-2); background: #fff; }
.input:focus { outline: none; border-color: var(--c-rose-500); box-shadow: 0 0 0 4px rgba(201,93,127,.12); }
.label { display: block; font-size: 13px; font-weight: 600; color: var(--c-ink-2); margin-bottom: 6px; }

.gallery-shots { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.gallery-shots img { border-radius: var(--r-md); box-shadow: var(--sh-md); aspect-ratio: 9 / 16; object-fit: cover; object-position: top; width: 100%; }

/* Demo frame page */
.demo-page { min-height: 100vh; background: var(--g-hero); }
.demo-top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-line); }
.demo-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.demo-top__title { display: flex; align-items: center; gap: 12px; }
.demo-top__title strong { font-family: var(--f-serif); font-size: 22px; }
.demo-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; padding: 36px 0 60px; }
.demo-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.demo-card { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-sm); }

/* Simple pages */
.page-hero { padding: calc(var(--nav-h) + 56px) 0 50px; background: var(--g-hero); text-align: center; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--f-serif); font-size: 30px; margin-top: 1.4em; }
.prose p, .prose li { color: var(--c-ink-2); }

/* Login */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--c-ivory); }
.auth__visual { position: relative; overflow: hidden; background: var(--g-deep); }
.auth__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.auth__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(47,34,40,.1) 0%, rgba(47,34,40,.75) 100%); }
.auth__quote { position: absolute; left: 48px; right: 48px; bottom: 48px; z-index: 1; color: #fff; font-family: var(--f-serif); font-size: 30px; font-style: italic; line-height: 1.3; }
.auth__panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth__box { width: 100%; max-width: 420px; }
.auth__box .brand { margin-bottom: 34px; }
.auth__tabs { display: flex; gap: 6px; padding: 5px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-line); margin-bottom: 26px; }
.auth__tabs a { flex: 1; text-align: center; padding: 9px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--c-ink-2); }
.auth__tabs a.is-active { background: var(--c-ink); color: #fff; }
.form-field { margin-bottom: 16px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 36px; border: 0; background: transparent; cursor: pointer; color: var(--c-ink-3); border-radius: 10px; display: grid; place-items: center; }
.pw-toggle:hover { color: var(--c-rose-500); }
.pw-toggle svg { width: 20px; height: 20px; }
.alert { padding: 13px 16px; border-radius: 14px; font-size: 14.5px; margin-bottom: 18px; }
.alert-error { background: #fdecef; color: #9e2f45; border: 1px solid #f7cfd8; }
.alert-success { background: #ecf8f1; color: #2b6e50; border: 1px solid #c9ecd8; }
.alert-info { background: #fff6ec; color: #8a5a20; border: 1px solid #f5dfc2; }

/* Error pages */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; background: var(--g-hero); }
.error-page__code { font-family: var(--f-serif); font-size: clamp(90px, 18vw, 170px); line-height: 1; color: transparent; background: var(--g-primary); -webkit-background-clip: text; background-clip: text; font-weight: 600; }
.error-page h1 { font-family: var(--f-serif); font-size: clamp(28px, 4vw, 40px); }

/* Toast */
.toast-wrap { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { padding: 12px 18px; border-radius: 14px; background: var(--c-ink); color: #fff; font-size: 14px; box-shadow: var(--sh-lg); animation: ti-toast .35s var(--ease); text-align: center; }
.toast--success { background: #2b6e50; }
.toast--error { background: #9e2f45; }

/* Empty state */
.empty { text-align: center; padding: 50px 20px; border-radius: var(--r-lg); border: 1px dashed var(--c-line-2); background: var(--c-ivory); color: var(--c-ink-2); }

/* ---------- Reveal animations ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .is-visible { opacity: 1 !important; transform: none !important; }
.js [data-delay="1"] { transition-delay: .08s; }
.js [data-delay="2"] { transition-delay: .16s; }
.js [data-delay="3"] { transition-delay: .24s; }
.js [data-delay="4"] { transition-delay: .32s; }
.js [data-delay="5"] { transition-delay: .4s; }

@keyframes ti-rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes ti-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ti-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ti-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes ti-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 24px); } }
@keyframes ti-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ti-petal { 0% { transform: translate(0, -40px) rotate(0); opacity: 0; } 10% { opacity: .55; } 90% { opacity: .45; } 100% { transform: translate(-120px, 110vh) rotate(540deg); opacity: 0; } }
@keyframes ti-pop { 0% { opacity: 0; transform: scale(.96); } 100% { opacity: 1; transform: none; } }
@keyframes ti-toast { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ti-gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .styles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .demo-layout { grid-template-columns: 1fr; }
  .demo-side { position: static; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__menu, .nav__actions .btn, .nav__login { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__drawer { display: block; position: fixed; inset: var(--nav-h) 0 0 0; background: rgba(255,255,255,.98); backdrop-filter: blur(14px); padding: 26px var(--gutter) 120px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); overflow-y: auto; z-index: 89; }
  .nav-open .nav__drawer { opacity: 1; visibility: visible; transform: none; }
  .nav-open .nav { background: #fff; }
  .nav__drawer .nav__menu { display: grid; gap: 4px; }
  .nav__drawer .nav__menu a { font-size: 20px; font-family: var(--f-serif); font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .nav__drawer .btn-group { margin-top: 24px; }
  .hero { padding-top: calc(var(--nav-h) + 34px); }
  .hero__grid, .intro__grid, .detail-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { width: min(100%, 360px); }
  .float-card--a { left: -12px; bottom: 30px; }
  .float-card--b { right: -10px; top: 30px; }
  .featured { grid-template-columns: 1fr; }
  .featured > .tcard:first-child { grid-row: auto; }
  .featured > .tcard:not(:first-child) { flex-direction: column; }
  .featured > .tcard:not(:first-child) .tcard__media { width: 100%; aspect-ratio: 4 / 5; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--highlight { transform: none; }
  .plan--highlight:hover { transform: translateY(-4px); }
  .testis { grid-template-columns: 1fr; }
  .promo-card { grid-template-columns: 1fr; padding: 26px 24px; }
  .promo-card__side { align-items: flex-start; }
  .auth { grid-template-columns: 1fr; }
  .auth__visual { display: none; }
  .moment { min-height: 520px; }
  .wa-float { display: none; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--c-line); box-shadow: 0 -12px 30px -20px rgba(158,63,95,.4);
  }
  .mobile-bar .btn { flex: 1; min-height: 48px; padding: 10px 12px; font-size: 14.5px; }
  body.has-mobile-bar { padding-bottom: 76px; }
  .intro__media::before { inset: 14px -10px -14px 14px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .grid-cards { grid-template-columns: 1fr; gap: 22px; }
  .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; text-align: left; gap: 18px; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .step__num { width: 56px; height: 56px; font-size: 22px; margin: 0; grid-row: span 2; }
  .microlist { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .tcard__overlay { display: none; }
  .tcard__foot { flex-direction: column; align-items: stretch; }
  .tcard__actions .btn { flex: 1; }
  .final-cta { padding: 50px 22px; border-radius: 24px; }
  .btn-group .btn { flex: 1 1 auto; }
  .hero__cta .btn { width: 100%; }
  .phone { width: 300px; height: 610px; border-radius: 46px; }
  .gallery-shots { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tryform { grid-template-columns: 1fr; }
  .countdown__box { min-width: 40px; font-size: 15px; }
  .float-card { padding: 10px 12px; font-size: 12.5px; }
  .float-card__icon { width: 32px; height: 32px; }
  .float-card--b { display: none; }
  .matrix th, .matrix td { padding: 12px 12px; }
  .faq summary { padding: 18px 52px 18px 18px; font-size: 15px; }
  .faq__a { padding: 0 18px 18px; }
}
@media (max-width: 360px) {
  .brand__text { font-size: 22px; }
  .title-xl { font-size: 38px; }
  .styles { gap: 10px; }
  .style-card__name { font-size: 21px; }
}

/* Reduced motion: matikan animasi berat, konten tetap tampil */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale { opacity: 1; transform: none; }
  .petal, .hero::before, .hero::after { animation: none !important; }
  .moment__bg { transform: none !important; }
}

/* Guard: dekorasi tidak boleh menimbulkan horizontal scroll */
#main { overflow-x: hidden; overflow-x: clip; }
.countdown { flex-wrap: wrap; }
@media (max-width: 400px) {
  .countdown__label { width: 100%; margin: 0 0 6px; }
  .price--lg .price__now { font-size: 36px; }
  .plan { padding: 30px 20px 24px; }
  .promo-card { padding: 24px 18px; }
}
