/* ============================================================
   SITECRAFT — GLOBAL STYLESHEET
   Refined dark theme · refined motion · refined typography
   ============================================================ */

:root {
  /* Surfaces */
  --bg-0: #07080b;
  --bg-1: #0c0e14;
  --bg-2: #11141d;
  --bg-3: #181c28;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --border-bright: rgba(255, 255, 255, 0.22);

  /* Text */
  --text: #f1f3f7;
  --text-dim: #9aa3b4;
  --text-muted: #656c7d;

  /* Brand palette — refined, less candy, more product */
  --brand: #7c5cff;
  --brand-2: #5e8bff;
  --brand-3: #4ad6ff;
  --accent: #ff7aa8;
  --warm: #ffb86b;

  /* Status */
  --success: #2ecc71;
  --warn: #f5a623;
  --danger: #ff5470;

  /* Geometry */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Shadow + motion */
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.65);
  --shadow-xl: 0 50px 140px -30px rgba(0, 0, 0, 0.85);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "ss03";
  overflow-x: hidden;
}

/* Global aurora background — fixed, never scrolls */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(700px 500px at 8% 8%, rgba(94, 139, 255, 0.14), transparent 65%),
    radial-gradient(800px 700px at 50% 110%, rgba(74, 214, 255, 0.08), transparent 60%);
}
/* Subtle grid texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Selection */
::selection { background: rgba(124, 92, 255, 0.35); color: #fff; }

/* Scrollbar polish */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.16); }

/* -------- Layout helpers -------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-tight { max-width: 960px; }
.grid { display: grid; gap: 18px; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hidden { display: none !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.text-dim { color: var(--text-dim); }
.text-muted { color: var(--text-muted); font-size: 13px; }
.small { font-size: 13px; }

/* ============================================================
   HEADER — floating glass nav, scroll state
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: backdrop-filter .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(7, 8, 11, 0.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.site-header > .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700; letter-spacing: -.025em; font-size: 17px;
  color: var(--text);
}
.logo-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background:
    radial-gradient(circle at 30% 30%, #fff 0%, transparent 40%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 60%, var(--brand-3) 100%);
  box-shadow: 0 4px 16px -2px rgba(124, 92, 255, 0.5),
              inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.logo .dot { color: var(--brand); }

.nav {
  display: flex; gap: 4px; align-items: center;
  padding: 4px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.nav a {
  color: var(--text-dim); font-size: 13.5px; font-weight: 500;
  padding: 7px 14px; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

@media (max-width: 720px) {
  .nav { display: none; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text); font-size: 14px; font-weight: 500;
  transition: transform .15s var(--ease), background .2s var(--ease),
              border .2s var(--ease), box-shadow .25s var(--ease);
  position: relative;
}
.btn:hover { background: var(--surface-strong); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { vertical-align: middle; }

.btn-primary {
  background: linear-gradient(180deg, #8a6cff 0%, #6a4aef 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.18),
    0 8px 24px -8px rgba(124, 92, 255, 0.55),
    0 0 0 0 rgba(124, 92, 255, 0);
}
.btn-primary:hover {
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.22),
    0 12px 32px -8px rgba(124, 92, 255, 0.65),
    0 0 0 4px rgba(124, 92, 255, 0.15);
}

.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface); border-color: var(--border); }

.btn-glow {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(124, 92, 255, 0.32);
  color: var(--text);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 0 0 rgba(124, 92, 255, 0);
  transition: box-shadow .3s var(--ease), border .2s var(--ease), transform .15s var(--ease);
}
.btn-glow:hover {
  border-color: rgba(124, 92, 255, 0.7);
  box-shadow:
    inset 0 0 24px rgba(124, 92, 255, 0.10),
    0 0 24px 0 rgba(124, 92, 255, 0.35);
  transform: translateY(-1px);
}

.btn-danger {
  background: rgba(255, 84, 112, .12); border-color: rgba(255, 84, 112, .35); color: #ffb4be;
}
.btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 10px; }
.btn-lg {
  padding: 13px 22px; font-size: 14.5px; font-weight: 600; border-radius: 12px;
  letter-spacing: -0.005em;
}
.btn-block { display: flex; width: 100%; }

/* ============================================================
   HERO — modern, layered, animated
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 40px;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 5px 5px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12.5px; color: var(--text-dim);
  backdrop-filter: blur(10px);
  transition: border .2s var(--ease), background .2s var(--ease);
}
.hero-eyebrow:hover {
  border-color: rgba(124, 92, 255, 0.5);
  background: rgba(124, 92, 255, 0.05);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-eyebrow .label { color: var(--text); font-weight: 500; }
.hero-eyebrow .cta {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 11px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff; font-weight: 500; font-size: 11.5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}

.hero-title {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 14ch;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .grad {
  background: linear-gradient(115deg, var(--brand) 0%, var(--brand-2) 45%, var(--brand-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.hero-desc {
  max-width: 580px;
  color: var(--text-dim);
  font-size: clamp(15px, 1.3vw, 18px);
  margin: 0;
  font-weight: 400;
  line-height: 1.55;
}
.hero-cta {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* Hero meta strip */
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: center;
  padding-top: 6px;
  color: var(--text-muted); font-size: 13px;
}
.hero-meta .item { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { color: var(--brand-3); }

/* ============================================================
   MOCKUP — layered browser frame with floating cards
   ============================================================ */
.mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 0 12px;
}
.mockup-frame {
  position: relative; z-index: 3;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  box-shadow:
    var(--shadow-xl),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.mockup {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25));
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.mockup-url {
  flex: 1; text-align: center;
  font-size: 12px; color: var(--text-muted);
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  letter-spacing: .01em;
}
.mockup-url .lock { display: inline-block; margin-right: 6px; opacity: .7; }
.mockup img { width: 100%; height: auto; display: block; }

/* Floating accent cards around mockup */
.mockup-float {
  position: absolute; z-index: 4;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(20, 22, 32, 0.92), rgba(15, 17, 25, 0.92));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px -16px rgba(0,0,0,0.6);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.mockup-float .ic {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(94, 139, 255, 0.18));
  color: #d6cdff;
}
.mockup-float .ic.green { background: linear-gradient(135deg, rgba(46,204,113,.25), rgba(46,204,113,.10)); color: #c2f5d5; }
.mockup-float.left { top: 22%; left: -6%; animation-delay: -3s; }
.mockup-float.right { bottom: 18%; right: -4%; }

@media (max-width: 900px) {
  .mockup-float { display: none; }
}

.mockup-glow {
  position: absolute; left: 50%; top: -15%;
  width: 90%; height: 75%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center, rgba(124, 92, 255, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 50%, rgba(255, 122, 168, 0.30) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(74, 214, 255, 0.32) 0%, transparent 55%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  opacity: .9;
}

/* ============================================================
   MARQUEE / TICKER — continuous scroll
   ============================================================ */
.marquee {
  position: relative;
  padding: 28px 0 12px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 14px; white-space: nowrap;
  letter-spacing: -0.01em;
}
.marquee-item .icon { color: var(--brand-3); opacity: .8; }
.marquee-item .sep {
  width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); opacity: .35;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
section.block { padding: 90px 0; position: relative; }
section.block.tight { padding: 60px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(124, 92, 255, 0.10);
  border: 1px solid rgba(124, 92, 255, 0.25);
  color: #d3c4ff;
  margin-bottom: 18px;
}
.section-head .kicker::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.section-head h2 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: clamp(30px, 4.2vw, 48px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.05;
  margin: 0 0 14px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { color: var(--text-dim); font-size: 16.5px; margin: 0; max-width: 580px; margin: 0 auto; }

/* ============================================================
   PROCESS — numbered timeline with connecting line
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 38px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(124, 92, 255, 0.6) 20%,
    rgba(94, 139, 255, 0.6) 50%,
    rgba(74, 214, 255, 0.6) 80%,
    transparent 100%);
  z-index: 0;
  opacity: 0.5;
}
.process-card {
  position: relative; z-index: 1;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(8px);
  transition: transform .35s var(--ease), border .25s var(--ease), background .25s var(--ease);
}
.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(94,139,255,0.12));
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 16px;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px -8px rgba(124, 92, 255, 0.5);
}
.process-card h3 {
  margin: 0 0 6px;
  font-size: 16px; font-weight: 600;
  letter-spacing: -.015em;
}
.process-card p { margin: 0; color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BENTO GRID — why us
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}
.bento-card {
  position: relative; overflow: hidden;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  transition: transform .35s var(--ease), border .25s var(--ease), background .25s var(--ease);
  display: flex; flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
/* Subtle hover glow */
.bento-card::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 92, 255, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.bento-card:hover::after { opacity: 1; }

.bento-card .ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.20), rgba(74, 214, 255, 0.10));
  border: 1px solid rgba(124, 92, 255, 0.25);
  color: #d3c4ff;
  margin-bottom: 16px;
}
.bento-card h3 {
  margin: 0 0 6px;
  font-size: 17px; font-weight: 600;
  letter-spacing: -.015em;
}
.bento-card p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }

/* Bento sizing */
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.tall   { grid-row: span 2; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-3, .bento-card.span-2, .bento-card.span-4 { grid-column: span 2; }
  .bento-card.span-6 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-3, .bento-card.span-2, .bento-card.span-4, .bento-card.span-6 { grid-column: span 1; }
}

/* Decorative content inside bento */
.bento-illust-pay {
  margin-top: auto; padding-top: 16px;
  display: flex; gap: 8px;
}
.bento-illust-pay .chip-mini {
  padding: 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
  font-size: 11.5px; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 6px;
}
.bento-illust-pay .chip-mini.live {
  background: rgba(46, 204, 113, .12); border-color: rgba(46, 204, 113, .35); color: #c2f5d5;
}
.bento-illust-pay .chip-mini .icon { color: var(--brand-3); }
.bento-illust-pay .chip-mini.live .icon { color: #2ecc71; }

.bento-illust-timer {
  margin-top: auto; display: flex; gap: 12px; align-items: baseline;
}
.bento-illust-timer .num {
  font-family: 'Sora', sans-serif;
  font-size: 56px; font-weight: 700; letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.55));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.bento-illust-timer .unit { color: var(--text-muted); font-size: 13px; }

.bento-illust-msg {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.bento-illust-msg .bubble {
  align-self: flex-start;
  padding: 8px 12px; border-radius: 14px 14px 14px 4px;
  background: var(--surface-strong); border: 1px solid var(--border);
  font-size: 12.5px; color: var(--text);
  max-width: 75%;
}
.bento-illust-msg .bubble.you {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(135deg, rgba(124,92,255,.22), rgba(94,139,255,.18));
  border-color: rgba(124, 92, 255, .35);
}

/* ============================================================
   UI ELEMENTS — premium chip grid
   ============================================================ */
.ui-chips {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 920px; margin: 0 auto;
}
.ui-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 14px; font-weight: 500;
  transition: transform .25s var(--ease-spring), border .2s var(--ease), background .2s var(--ease);
  cursor: default;
}
.ui-chip:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(124, 92, 255, 0.5);
  background: rgba(124, 92, 255, 0.08);
}
.ui-chip .icon { color: var(--brand-3); }

/* ============================================================
   PAYMENT GRID
   ============================================================ */
.pay-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px; margin: 0 auto;
}
.pay-tile {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: border .2s var(--ease), transform .2s var(--ease);
  position: relative;
}
.pay-tile:hover { transform: translateY(-2px); border-color: rgba(124, 92, 255, 0.4); }
.pay-tile .pay-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.12);
  color: var(--brand);
}
.pay-tile .pay-name { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.pay-tile > div:nth-child(2) { flex: 1; }
.pay-tile.soon { opacity: 0.6; }
.pay-tile.soon .pay-icon { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); }
.pay-tile.active { border-color: rgba(46, 204, 113, 0.4); background: rgba(46, 204, 113, 0.04); }
.pay-tile.active .pay-icon { background: rgba(46, 204, 113, 0.15); color: #c2f5d5; }

@media (max-width: 820px) { .pay-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 780px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border .2s var(--ease), background .2s var(--ease);
}
.faq-item[open], .faq-item:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 500; font-size: 15.5px; letter-spacing: -.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-chev {
  color: var(--text-muted);
  transition: transform .3s var(--ease), color .2s var(--ease);
}
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--brand); }
.faq-item p {
  margin: 0; padding: 0 22px 20px;
  color: var(--text-dim); font-size: 14.5px; line-height: 1.6;
}

/* ============================================================
   CTA WITH RECTANGLE — signature shadow-glow + fade-top mask
   ============================================================ */
.cta-rect {
  position: relative;
  max-width: 960px; margin: 0 auto;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at top, rgba(124, 92, 255, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-strong);
  overflow: hidden;
  isolation: isolate;
}
.cta-rect-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 18px;
  padding: 72px 32px 84px;
}
.cta-badge {
  display: inline-block;
  padding: 5px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong);
  color: var(--text-dim);
}
.cta-title {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-size: clamp(30px, 4.4vw, 52px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.04;
  margin: 0; max-width: 18ch;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-desc { margin: 0; color: var(--text-dim); max-width: 540px; font-size: 16px; }

/* The signature shadow-glow inset + fade-top mask (from the cta-with-rectangle component) */
.cta-rect-glow {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    0 -16px 128px 0 hsla(31, 97%, 72%, 0.40) inset,
    0 -16px 32px  0 hsla(27, 96%, 61%, 0.40) inset;
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 1) 8rem);
          mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 1) 8rem);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 80px;
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13.5px;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.4) 30%, rgba(74, 214, 255, 0.4) 70%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand p {
  margin: 12px 0 0; max-width: 320px;
  color: var(--text-dim); font-size: 13.5px;
}
.footer-col h5 {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text);
}
.footer-col a {
  display: block; padding: 6px 0;
  color: var(--text-dim); font-size: 13.5px;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   REVEAL ANIMATIONS — IntersectionObserver triggered
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="100"] { transition-delay: .1s; }
.reveal[data-delay="200"] { transition-delay: .2s; }
.reveal[data-delay="300"] { transition-delay: .3s; }
.reveal[data-delay="400"] { transition-delay: .4s; }
.reveal[data-delay="500"] { transition-delay: .5s; }
.reveal[data-delay="600"] { transition-delay: .6s; }

/* Initial appear (no IO needed — fires immediately on load) */
@keyframes appear {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes appear-zoom {
  from { opacity: 0; transform: translateX(-50%) scale(.95); }
  to   { opacity: 1; transform: translateX(-50%) scale(1); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.22); }
  50%      { box-shadow: 0 0 0 8px rgba(124, 92, 255, 0.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scale-in { 0% { opacity: 0; transform: scale(.95); } 100% { opacity: 1; transform: scale(1); } }

.animate-appear      { opacity: 0; animation: appear .8s var(--ease) forwards; }
.animate-appear-zoom { opacity: 0; animation: appear-zoom .9s var(--ease) forwards; }
.animate-scale-in    { opacity: 0; animation: scale-in 1s var(--ease) forwards; }

.delay-100  { animation-delay: 100ms; }
.delay-200  { animation-delay: 200ms; }
.delay-300  { animation-delay: 300ms; }
.delay-400  { animation-delay: 400ms; }
.delay-500  { animation-delay: 500ms; }
.delay-700  { animation-delay: 700ms; }
.delay-1000 { animation-delay: 1000ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   PRESERVED — Cards, forms, modals, dashboard, tables, etc.
   (kept unchanged so other pages still work)
   ============================================================ */

/* Cards / glass panels */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--border-strong); }
.card h2, .card h3 { margin: 0 0 8px; }
.card .meta { color: var(--text-muted); font-size: 12.5px; }

/* Forms */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; color: var(--text-dim); }
.form-group .hint { font-size: 12px; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: border .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
  font-family: inherit;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}
.textarea { resize: vertical; min-height: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

.checkbox-grid, .chip-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px;
}
.chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
  cursor: pointer; user-select: none; font-size: 13.5px;
  transition: border .2s var(--ease), background .2s var(--ease);
}
.chip:hover { border-color: var(--border-strong); }
.chip input { accent-color: var(--brand); }
.chip.active { border-color: rgba(124, 92, 255, 0.6); background: rgba(124, 92, 255, 0.10); }

.color-row { display: flex; gap: 14px; flex-wrap: wrap; }
.color-row label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--text-dim); }
.color-row input[type="color"] {
  width: 56px; height: 36px; padding: 0; border: 1px solid var(--border);
  background: transparent; border-radius: 10px; cursor: pointer;
}

.error-msg {
  color: #ffb4be; background: rgba(255, 84, 112, 0.08);
  border: 1px solid rgba(255, 84, 112, 0.35); padding: 10px 14px; border-radius: 12px;
  font-size: 13.5px; margin-top: 12px;
}
.success-msg {
  color: #bff5d2; background: rgba(46, 204, 113, 0.10);
  border: 1px solid rgba(46, 204, 113, 0.35); padding: 10px 14px; border-radius: 12px;
  font-size: 13.5px; margin-top: 12px;
}
.field-error { color: #ffb4be; font-size: 12.5px; margin-top: 4px; }
.input.invalid, .textarea.invalid, .select.invalid { border-color: rgba(255, 84, 112, 0.5); }

.url-list { display: flex; flex-direction: column; gap: 8px; }
.url-row { display: flex; gap: 8px; }
.url-row .input { flex: 1; }

/* Status badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border);
}
.badge.pending { background: rgba(245, 166, 35, .12); border-color: rgba(245, 166, 35, .35); color: #ffd699; }
.badge.review { background: rgba(74, 214, 255, .12); border-color: rgba(74, 214, 255, .35); color: #bfeeff; }
.badge.ready, .badge.approved, .badge.completed, .badge.confirmed, .badge.resolved {
  background: rgba(46, 204, 113, .12); border-color: rgba(46, 204, 113, .35); color: #bff5d2;
}
.badge.changes, .badge.open, .badge.awaiting { background: rgba(124, 92, 255, .12); border-color: rgba(124, 92, 255, .35); color: #d3c4ff; }
.badge.closed, .badge.suspended { background: rgba(107, 115, 132, .18); border-color: var(--border); color: var(--text-dim); }
.badge.priority-high { background: rgba(255, 84, 112, .12); border-color: rgba(255, 84, 112, .35); color: #ffb4be; }
.badge.priority-medium { background: rgba(245, 166, 35, .12); border-color: rgba(245, 166, 35, .35); color: #ffd699; }
.badge.priority-low { background: rgba(154, 163, 178, .12); border-color: var(--border); color: var(--text-dim); }
.badge.role-admin, .badge.role-super_admin { background: rgba(124, 92, 255, .14); border-color: rgba(124, 92, 255, .4); color: #d3c4ff; }

/* Tabs */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.tab {
  padding: 10px 16px; background: transparent; border: none; color: var(--text-dim);
  font-size: 13.5px; border-bottom: 2px solid transparent; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--brand); }

/* Tables */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { color: var(--text-dim); font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px); z-index: 100;
  display: grid; place-items: center; padding: 20px;
  animation: fadeIn .2s var(--ease);
}
.modal {
  background: var(--bg-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 24px; width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  animation: slideUp .25s var(--ease);
}
.modal h3 { margin-top: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* Toast */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 12px 16px; border-radius: 12px; min-width: 240px; max-width: 360px;
  background: var(--bg-2); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg); font-size: 13.5px;
  animation: slideInRight .25s var(--ease);
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--brand-3); }

/* Dashboard layout */
.dash {
  display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 68px);
}
.dash-side {
  border-right: 1px solid var(--border); padding: 22px 14px;
  background: rgba(0, 0, 0, .18);
}
.dash-side h4 { color: var(--text-muted); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; margin: 16px 8px 8px; }
.dash-side a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; color: var(--text-dim); font-size: 14px;
  transition: background .2s var(--ease), color .2s var(--ease);
  cursor: pointer;
}
.dash-side a:hover { background: var(--surface); color: var(--text); }
.dash-side a.active { background: var(--surface-strong); color: var(--text); }
.dash-main { padding: 28px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.dash-header h1 { margin: 0; font-size: 24px; letter-spacing: -.02em; }

@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: flex; flex-wrap: wrap; gap: 6px; border-right: none; border-bottom: 1px solid var(--border); padding: 12px; }
  .dash-side h4 { display: none; }
  .dash-side a { padding: 6px 10px; font-size: 13px; }
  .dash-main { padding: 18px; }
}

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.stat .label { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.stat .value { font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; }

/* Profile bubble */
.profile { display: flex; align-items: center; gap: 10px; }
.profile img { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-strong); }
.profile .name { font-size: 13.5px; }

/* Spinner */
.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .2);
  border-top-color: var(--brand); border-radius: 50%;
  animation: spin .8s linear infinite; display: inline-block;
}

/* Stagger child animations */
.stagger > * { animation: fadeUp .6s var(--ease) both; }
.stagger > *:nth-child(1) { animation-delay: .05s; }
.stagger > *:nth-child(2) { animation-delay: .12s; }
.stagger > *:nth-child(3) { animation-delay: .19s; }
.stagger > *:nth-child(4) { animation-delay: .26s; }
.stagger > *:nth-child(5) { animation-delay: .33s; }
.stagger > *:nth-child(6) { animation-delay: .40s; }

/* Auth gate */
.auth-gate { display: grid; place-items: center; min-height: 70vh; padding: 24px; }
.auth-card { max-width: 420px; text-align: center; padding: 30px; }
.auth-card h2 { margin: 0 0 10px; }
.gsi-mount { display: flex; justify-content: center; margin-top: 16px; }

/* SVG icon defaults */
.icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; }

/* Status step pill list */
.status-step { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dim); }
.status-step .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.status-step.done .dot { background: var(--success); }
.status-step.current .dot { background: var(--brand); box-shadow: 0 0 0 4px rgba(124, 92, 255, .2); }

/* Quote strip (admin → user) */
.quote-strip {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 166, 35, .10), rgba(255, 92, 189, .06));
  border: 1px solid rgba(245, 166, 35, .30);
}

/* Feature grid (kept for compatibility) */
.features { padding: 70px 0; }
.features .grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature {
  padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  transition: transform .25s var(--ease), border .25s var(--ease);
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature .icon-tile {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, .18), rgba(255, 92, 189, .12));
  border: 1px solid rgba(124, 92, 255, .25);
  color: #d3c4ff;
  margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--text-dim); font-size: 14px; }
