/* BulkBuzz Solutions — bento design system */
:root {
  --bg: #F2F2F5;
  --tile: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #4A4A55;
  --ink-3: #7A7A86;
  --line: rgba(26, 26, 26, 0.08);

  --lavender: #E9E3FF;
  --peach: #FFE4D6;
  --mint: #DDF5E8;
  --sky: #DCEEFF;
  --butter: #FFF4C7;

  --accent: #6C47FF;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(108, 71, 255, 0.12);
  --danger: #D93A3A;

  --radius: 28px;
  --radius-sm: 18px;
  --gap: 18px;
  --max: 1200px;

  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 0 1px rgba(26, 26, 26, 0.04);
  --lift: 0 22px 44px -18px rgba(26, 26, 26, 0.22), 0 4px 10px -4px rgba(26, 26, 26, 0.08);

  --font: "Geist", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.5rem; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 0.75rem; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(var(--max), 100% - 32px);
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 10px 10px 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-radius: 999px;
  box-shadow: var(--inner), 0 6px 24px -12px rgba(26, 26, 26, 0.18);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em;
  text-decoration: none; white-space: nowrap;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 0.95rem;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 8px 14px; border-radius: 999px; color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--bg); color: var(--ink); }
.nav-links a.active { background: var(--ink); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.user-info { display: none; align-items: center; gap: 8px; }
.user-info.show { display: flex; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lavender); color: var(--accent); font-weight: 700;
}
.user-name { font-weight: 600; font-size: 0.95rem; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--bg); color: var(--ink); cursor: pointer; font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 22px -10px rgba(108, 71, 255, 0.7); }
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(108, 71, 255, 0.8); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 0.9rem; }
.btn-danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1.5px var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
main { padding: 28px 0 8px; }
.section { margin-top: 56px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 20px; flex-wrap: wrap; }
.section-head p { max-width: 520px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 10px;
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: var(--gap);
}
.bento.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bento.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.w2 { grid-column: span 2; }
.w3 { grid-column: span 3; }
.w4 { grid-column: 1 / -1; }
.h2 { grid-row: span 2; }

.tile {
  position: relative;
  background: var(--tile);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--inner);
  display: flex; flex-direction: column;
  min-height: 190px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s cubic-bezier(.2, .8, .2, 1);
}
.tile > * { position: relative; z-index: 1; }
.tile:hover { transform: translateY(-4px) scale(1.012); box-shadow: var(--inner), var(--lift); }
.tile.static:hover { transform: none; box-shadow: var(--inner); }
.tile > .push { margin-top: auto; }
.t-lav { background: var(--lavender); }
.t-peach { background: var(--peach); }
.t-mint { background: var(--mint); }
.t-sky { background: var(--sky); }
.t-butter { background: var(--butter); }
.t-dark { background: var(--ink); color: #fff; }
.t-dark p { color: rgba(255, 255, 255, 0.72); }
.t-accent { background: var(--accent); color: #fff; }
.t-accent p { color: rgba(255, 255, 255, 0.82); }

.icon {
  width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center;
  background: #fff; color: var(--accent); font-size: 1.2rem;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.06), inset 0 0 0 1px rgba(26, 26, 26, 0.04);
  margin-bottom: 18px; flex-shrink: 0;
}
.tile:not([class*="t-"]) .icon { background: var(--bg); }
.t-dark .icon, .t-accent .icon { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: none; }
.icon-lg { width: 64px; height: 64px; border-radius: 20px; font-size: 1.6rem; }

.stat { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin: auto 0 6px; }
.stat-label { font-weight: 500; color: var(--ink-2); margin: 0; }

.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; color: var(--ink-2); font-size: 0.95rem; }
.checks i { color: var(--accent); margin-top: 5px; font-size: 0.85rem; }
.t-dark .checks li, .t-accent .checks li { color: rgba(255, 255, 255, 0.85); }
.t-dark .checks i, .t-accent .checks i { color: #fff; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.75); color: var(--ink);
}
.pill-accent { background: var(--accent-soft); color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* Hero */
.hero { min-height: 420px; padding: clamp(28px, 5vw, 56px); justify-content: space-between; }
.hero h1 { max-width: 14ch; }
.hero p.lead { font-size: 1.15rem; max-width: 46ch; margin: 14px 0 28px; }
.page-hero { min-height: 260px; }
.page-hero h1 { max-width: 18ch; }
.deco {
  position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(108, 71, 255, 0.35), rgba(108, 71, 255, 0) 70%);
  pointer-events: none; z-index: 0;
}
.deco-icon {
  position: absolute; right: clamp(20px, 5vw, 56px); top: clamp(20px, 5vw, 56px);
  width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center;
  background: #fff; color: var(--accent); font-size: 2.1rem;
  box-shadow: 0 18px 30px -16px rgba(108, 71, 255, 0.55);
  transform: rotate(8deg);
}

/* Steps */
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 18px;
}

/* Pricing */
.price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 18px; }
.price span { font-size: 0.95rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.t-dark .price span { color: rgba(255, 255, 255, 0.6); }
.pricing .checks { margin-bottom: 24px; }

/* Contact list */
.info-list li { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.info-list i { width: 18px; margin-top: 5px; color: var(--accent); flex-shrink: 0; text-align: center; }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.t-dark .info-list i { color: #B9A7FF; }
.big-link { font-size: 1.15rem; font-weight: 700; text-decoration: none; word-break: break-word; }
.big-link:hover { color: var(--accent); }

.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { font-weight: 600; }
.hours .closed { color: var(--danger); }

.map { flex: 1; min-height: 320px; border: 0; border-radius: var(--radius-sm); width: 100%; }
.tile.map-tile { padding: 10px; }

/* Legal */
.legal-tile ul { margin-top: 6px; }
.legal-tile ul li { position: relative; padding: 4px 0 4px 20px; color: var(--ink-2); }
.legal-tile ul li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal-tile h3 { display: flex; align-items: baseline; gap: 10px; }
.legal-num { font-size: 0.8rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 1rem; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-2); margin-bottom: 16px; line-height: 1.45; }
.check-field input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.check-field a { color: var(--accent); }
.form-note { display: none; margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: var(--mint); font-weight: 500; font-size: 0.95rem; }
.form-note.show { display: block; }
.form-error { display: none; color: var(--danger); font-size: 0.9rem; margin-bottom: 12px; }
.form-error.show { display: block; }

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(26, 26, 26, 0.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal.show { display: flex; animation: fade 0.25s ease; }
.modal-card {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: var(--radius); padding: 32px 28px 26px;
  box-shadow: 0 30px 60px -20px rgba(26, 26, 26, 0.4);
  animation: pop 0.3s cubic-bezier(.2, .8, .2, 1);
}
.modal-card.wide { width: min(620px, 100%); }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--bg); cursor: pointer; font-size: 1rem; color: var(--ink);
}
.modal-close:hover { background: var(--lavender); }
.modal-head { margin-bottom: 20px; padding-right: 36px; }
.modal-foot { margin-top: 16px; text-align: center; font-size: 0.92rem; color: var(--ink-2); }
.modal-foot a, .link-btn { color: var(--accent); font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.success { display: none; text-align: center; padding: 12px 0; }
.success.show { display: block; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--mint); color: #1F8A4C; font-size: 1.8rem; }
.svc-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 0.95rem; }
.svc-list li:last-child { border-bottom: 0; }
.svc-list i { color: var(--accent); margin-top: 5px; }

/* ---------- Footer ---------- */
.footer { margin-top: 56px; padding-bottom: 24px; }
.footer .tile { min-height: 0; }
.footer h4 { margin-bottom: 12px; }
.footer-links li { padding: 4px 0; }
.footer-links a { text-decoration: none; color: var(--ink-2); }
.footer-links a:hover { color: var(--accent); }
.t-dark .footer-links a { color: rgba(255, 255, 255, 0.75); }
.t-dark .footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 8px 0; font-size: 0.88rem; color: var(--ink-3); }
.footer-bottom a { color: var(--ink-3); text-decoration: none; margin-left: 16px; }
.footer-bottom a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: var(--accent); }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--accent); color: #fff;
  box-shadow: 0 12px 24px -10px rgba(108, 71, 255, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal animation ---------- */
.js .reveal:not(.in) { opacity: 0; }
.reveal.in { animation: rise 0.7s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal:not(.in) { opacity: 1; }
  .reveal.in, .modal.show, .modal-card { animation: none; }
  .tile, .btn { transition: none; }
  .tile:hover, .btn:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 10px; }
}
@media (max-width: 960px) {
  .bento, .bento.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w3, .w4 { grid-column: 1 / -1; }
  .h2 { grid-row: span 1; }

  .menu-btn { display: grid; place-items: center; }
  .nav { border-radius: 26px; flex-wrap: wrap; }
  .brand { flex: 1 1 0; min-width: 0; }
  .nav-actions { flex: none; }
  .nav-links {
    display: none; order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0 4px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 14px; }
}
@media (max-width: 620px) {
  .bento, .bento.cols-3, .bento.cols-2 { grid-template-columns: minmax(0, 1fr); }
  .w2, .w3, .w4 { grid-column: auto; }
  .tile { padding: 22px; min-height: 0; }
  .hero { min-height: 0; }
  .deco-icon { width: 60px; height: 60px; font-size: 1.5rem; border-radius: 18px; }
  .hero h1, .page-hero h1 { padding-right: 64px; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav { padding-left: 14px; }
  .brand { font-size: 0.95rem; white-space: normal; line-height: 1.2; }
  .nav-actions .btn-login { display: none; }
  .user-name { display: none; }
  .section { margin-top: 40px; }
  .footer-bottom a { margin-left: 0; margin-right: 16px; }
}
@media (max-width: 380px) {
  .nav-actions .btn-signup { padding: 10px 12px; }
}

/* =====================================================================
   Imagery & creative animations
   ===================================================================== */

/* Ambient page background: dotted grid + drifting colour blobs */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(26, 26, 26, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.blobs { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.blobs span { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: drift 26s ease-in-out infinite alternate; }
.blobs span:nth-child(1) { background: #D9CFFF; top: -160px; left: -120px; }
.blobs span:nth-child(2) { background: #FFD9C7; top: 30%; right: -180px; animation-duration: 32s; animation-delay: -8s; }
.blobs span:nth-child(3) { background: #CFF0DE; bottom: -200px; left: 30%; animation-duration: 38s; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(80px, 60px) scale(1.12); } 100% { transform: translate(-60px, 120px) scale(0.95); } }

/* Cursor spotlight on tiles (position set from JS) */
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 45%);
  opacity: 0; transition: opacity 0.3s;
}
.tile:hover::before { opacity: 1; }
.t-dark::before, .t-accent::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.12), transparent 45%); }

/* Icon wiggle on hover */
.tile:hover .icon { animation: wiggle 0.7s ease; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg) scale(1.08); } 55% { transform: rotate(8deg) scale(1.08); } 80% { transform: rotate(-3deg); } }

/* ---------- Photo tiles ---------- */
.tile.photo { padding: 0; color: #fff; min-height: 280px; justify-content: flex-end; background: #2B2540; }
.tile .bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .8, .2, 1);
}
.tile.photo:hover .bg { transform: scale(1.08); }
.tile.photo::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(22, 18, 40, 0) 30%, rgba(22, 18, 40, 0.82) 100%);
}
.photo .cap { padding: 26px; }
.photo .cap p { color: rgba(255, 255, 255, 0.86); }
.photo .cap .pill { background: rgba(255, 255, 255, 0.2); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.photo .icon { background: rgba(255, 255, 255, 0.18); color: #fff; box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.photo-top { position: absolute !important; top: 18px; left: 18px; right: 18px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; }

/* Hero with background photo + pastel wash + slow Ken Burns */
.tile.has-bg .bg { animation: kenburns 24s ease-in-out infinite alternate; }
.tile.has-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, var(--wash, var(--lavender)) 0%, var(--wash, var(--lavender)) 38%, rgba(255, 255, 255, 0.15) 75%, rgba(255, 255, 255, 0) 100%);
}
.t-lav.has-bg { --wash: #E9E3FF; }
.t-peach.has-bg { --wash: #FFE4D6; }
.t-mint.has-bg { --wash: #DDF5E8; }
.t-sky.has-bg { --wash: #DCEEFF; }
.t-butter.has-bg { --wash: #FFF4C7; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-2%, -1.5%); } }
.t-accent.has-bg::after { background: linear-gradient(100deg, rgba(108, 71, 255, 0.97) 0%, rgba(108, 71, 255, 0.9) 45%, rgba(108, 71, 255, 0.55) 100%); }

/* Floating notification cards over hero photos */
.float-cards { position: absolute !important; right: clamp(16px, 4vw, 44px); bottom: clamp(16px, 4vw, 40px); z-index: 1; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -14px rgba(26, 26, 26, 0.45);
  font-size: 0.85rem; font-weight: 600; line-height: 1.25;
  animation: bob 5s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--ink-3); font-size: 0.75rem; }
.float-card .fc-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-card:nth-child(2) { animation-delay: -1.6s; margin-right: 28px; }
.float-card:nth-child(3) { animation-delay: -3.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Mini animated illustrations ---------- */
.illus { margin: 6px 0 18px; }

/* Chat (WhatsApp) */
.chat { color: var(--ink); display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.65); min-height: 196px; }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 0.86rem; line-height: 1.35; box-shadow: 0 2px 6px rgba(26, 26, 26, 0.06); opacity: 0; }
.bubble small { display: block; font-size: 0.7rem; color: var(--ink-3); margin-top: 2px; text-align: right; }
.bubble.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; }
.bubble.out { align-self: flex-end; background: #D2F5C8; border-bottom-right-radius: 5px; }
.bubble:nth-child(1) { animation: chat1 9s infinite; }
.bubble:nth-child(2) { animation: chat2 9s infinite; }
.bubble:nth-child(3) { animation: chat3 9s infinite; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 11px 14px; border-radius: 16px; background: #fff; animation: typingShow 9s infinite; opacity: 0; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dot 1s infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat1 { 0%, 3% { opacity: 0; transform: translateY(10px) scale(0.96); } 8%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat2 { 0%, 24% { opacity: 0; transform: translateY(10px) scale(0.96); } 29%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat3 { 0%, 50% { opacity: 0; transform: translateY(10px) scale(0.96); } 55%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes typingShow { 0%, 34% { opacity: 0; } 37%, 49% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-4px); opacity: 1; } }

/* SMS ticker */
.ticker { height: 150px; overflow: hidden; border-radius: 18px; mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.ticker ul { animation: tickUp 12s linear infinite; }
.tile:hover .ticker ul { animation-play-state: paused; }
.ticker li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.75); font-size: 0.84rem; }
.ticker li b { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker li em { font-style: normal; font-size: 0.72rem; font-weight: 600; color: #1F8A4C; white-space: nowrap; }
.ticker li i { color: var(--accent); }
@keyframes tickUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* RCS carousel */
.carousel { overflow: hidden; border-radius: 18px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.carousel-track { display: flex; gap: 12px; width: max-content; animation: slideX 22s linear infinite; }
.tile:hover .carousel-track { animation-play-state: paused; }
.rcs-card { width: 150px; flex-shrink: 0; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 6px 16px -10px rgba(26, 26, 26, 0.3); }
.rcs-card img { width: 100%; height: 84px; object-fit: cover; }
.rcs-card div { padding: 8px 10px 10px; font-size: 0.8rem; font-weight: 600; line-height: 1.3; }
.rcs-card span { display: block; margin-top: 6px; text-align: center; padding: 5px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.72rem; }
@keyframes slideX { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }

/* Virtual call: ringing phone + sound wave */
.call { display: flex; align-items: center; gap: 18px; padding: 8px 0 4px; }
.ring { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 1.2rem; flex-shrink: 0; animation: shake 3s infinite; }
.ring::before, .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 2s ease-out infinite; }
.ring::after { animation-delay: 1s; }
@keyframes pulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.1); opacity: 0; } }
@keyframes shake { 0%, 60%, 100% { transform: rotate(0); } 64%, 72%, 80% { transform: rotate(-12deg); } 68%, 76% { transform: rotate(12deg); } }
.wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.wave span { width: 5px; height: 100%; border-radius: 4px; background: var(--ink); opacity: 0.75; transform-origin: center; animation: eq 1.1s ease-in-out infinite; }
.wave span:nth-child(2n) { animation-delay: -0.3s; }
.wave span:nth-child(3n) { animation-delay: -0.55s; }
.wave span:nth-child(5n) { animation-delay: -0.8s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

/* Ads chart */
.chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 0 2px; position: relative; }
.chart .bar { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--accent), #A48BFF); transform-origin: bottom; transform: scaleY(0.08); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.chart .bar:nth-child(odd) { background: linear-gradient(180deg, #1A1A1A, #55556A); }
.in .chart .bar { transform: scaleY(var(--h)); }
.chart .bar:nth-child(2) { transition-delay: 0.1s; } .chart .bar:nth-child(3) { transition-delay: 0.2s; }
.chart .bar:nth-child(4) { transition-delay: 0.3s; } .chart .bar:nth-child(5) { transition-delay: 0.4s; }
.chart .bar:nth-child(6) { transition-delay: 0.5s; } .chart .bar:nth-child(7) { transition-delay: 0.6s; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.chart polyline { fill: none; stroke: #FF7A45; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.8s 0.6s ease; }
.in .chart polyline { stroke-dashoffset: 0; }

/* Poster fan */
.fan { position: relative; height: 170px; margin: 4px 0 16px; }
.fan img { position: absolute; left: 50%; top: 6px; width: 118px; height: 150px; object-fit: cover; border-radius: 14px; border: 4px solid #fff; box-shadow: 0 14px 26px -14px rgba(26, 26, 26, 0.55); transition: transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.fan img:nth-child(1) { transform: translateX(-50%) rotate(-8deg) translateX(-26px); }
.fan img:nth-child(2) { transform: translateX(-50%) rotate(7deg) translateX(26px); }
.fan img:nth-child(3) { transform: translateX(-50%) rotate(0); z-index: 2; }
.tile:hover .fan img:nth-child(1) { transform: translateX(-50%) rotate(-16deg) translateX(-90px) translateY(8px); }
.tile:hover .fan img:nth-child(2) { transform: translateX(-50%) rotate(15deg) translateX(90px) translateY(8px); }
.tile:hover .fan img:nth-child(3) { transform: translateX(-50%) translateY(-8px) scale(1.04); }

/* Marquee strip */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: slideX 36s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; font-weight: 600; white-space: nowrap; box-shadow: var(--inner); }
.chip i { color: var(--accent); }
.tile.strip { min-height: 0; padding: 18px 0; gap: 12px; }

/* Steps: highlight cycles through the four tiles */
.steps .tile { animation: stepGlow 8s infinite; }
.steps .tile:nth-child(2) { animation-delay: 2s; }
.steps .tile:nth-child(3) { animation-delay: 4s; }
.steps .tile:nth-child(4) { animation-delay: 6s; }
.steps .tile.in { animation: rise 0.7s cubic-bezier(.2, .8, .2, 1) backwards var(--d, 0ms), stepGlow 8s infinite; }
.steps .tile:nth-child(2).in { animation-delay: var(--d, 0ms), 2s; }
.steps .tile:nth-child(3).in { animation-delay: var(--d, 0ms), 4s; }
.steps .tile:nth-child(4).in { animation-delay: var(--d, 0ms), 6s; }
@keyframes stepGlow { 0%, 22% { box-shadow: var(--inner), 0 0 0 3px var(--accent), 0 18px 36px -18px rgba(108, 71, 255, 0.7); } 30%, 100% { box-shadow: var(--inner); } }
.steps .step-num { position: relative; }
.steps .step-bar { height: 5px; border-radius: 5px; background: rgba(26, 26, 26, 0.08); overflow: hidden; margin-top: auto; }
.steps .step-bar::after { content: ""; display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: stepFill 8s infinite; animation-delay: inherit; }
.steps .tile:nth-child(2) .step-bar::after { animation-delay: 2s; }
.steps .tile:nth-child(3) .step-bar::after { animation-delay: 4s; }
.steps .tile:nth-child(4) .step-bar::after { animation-delay: 6s; }
@keyframes stepFill { 0% { transform: scaleX(0); } 24% { transform: scaleX(1); } 26%, 100% { transform: scaleX(0); } }

/* Rotating gradient border for the highlighted plan */
.glow-border { isolation: isolate; }
.glow-border > .gb { position: absolute !important; inset: 0; z-index: -1 !important; border-radius: inherit; overflow: hidden; }
.glow-border > .gb::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, var(--accent), #FF9A6B, #7AD9A6, #6FB6FF, var(--accent)); animation: spin 6s linear infinite; }
.glow-border > .gb::after { content: ""; position: absolute; inset: 3px; border-radius: calc(var(--radius) - 3px); background: var(--ink); }
@keyframes spin { to { transform: rotate(1turn); } }

/* Accordion FAQ */
details.tile { min-height: 0; cursor: pointer; }
details.tile summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 700; font-size: 1.05rem; }
details.tile summary::-webkit-details-marker { display: none; }
details.tile summary .plus { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: rgba(255, 255, 255, 0.8); transition: transform 0.35s, background 0.35s, color 0.35s; }
details.tile:not([class*="t-"]) summary .plus { background: var(--bg); }
details.tile[open] summary .plus { transform: rotate(135deg); background: var(--accent); color: #fff; }
details.tile p { margin-top: 12px; animation: fade 0.4s ease; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 0 -6px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 620px; font-size: 0.95rem; }
.compare th, .compare td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.compare tbody th { font-weight: 600; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare tbody tr { transition: background 0.2s; }
.compare tbody tr:hover { background: var(--bg); }
.compare .y { color: #1F8A4C; } .compare .n { color: var(--ink-3); }

/* Timeline (about) */
.timeline li { position: relative; padding: 0 0 22px 34px; }
.timeline li::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: linear-gradient(var(--accent), rgba(108, 71, 255, 0.1)); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 3px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.in .timeline li::after { animation: pop 0.5s backwards; }
.timeline h4 { margin-bottom: 4px; }

/* Link arrow nudge */
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--accent); }
.more i { transition: transform 0.25s; }
.tile:hover .more i, .more:hover i { transform: translateX(5px); }
.photo .more { color: #fff; }

/* TOC (legal) */
.toc { position: sticky; top: 100px; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 0.92rem; transition: background 0.2s, color 0.2s; }
.toc a:hover { background: var(--bg); color: var(--accent); }
.toc a span { color: var(--accent); font-weight: 700; font-size: 0.8rem; min-width: 22px; }
.legal-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: var(--gap); align-items: start; }

.has-bg .float-cards ~ *, .hero.has-bg .lead { max-width: 40ch; }
@media (max-width: 1140px) { .float-cards { display: none; } }
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .float-cards { display: none; }
}
@media (max-width: 620px) {
  .tile.photo { min-height: 240px; }
  .tile.has-bg::after { background: linear-gradient(180deg, var(--wash, var(--lavender)) 0%, var(--wash, var(--lavender)) 42%, transparent 88%); }
  .tile.hero.has-bg { padding-bottom: 170px; }
  .t-accent.has-bg::after { background: rgba(108, 71, 255, 0.9); }
  .blobs span { width: 320px; height: 320px; }
  .tile:hover .fan img:nth-child(1) { transform: translateX(-50%) rotate(-14deg) translateX(-70px) translateY(8px); }
  .tile:hover .fan img:nth-child(2) { transform: translateX(-50%) rotate(13deg) translateX(70px) translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .bubble, .typing { opacity: 1; animation: none !important; }
  .typing { display: none; }
}
