/* ============================================================
   Liteweb Design — liteweb.my
   Design system & styles
   ============================================================ */

:root {
  --ink: #0e1a2b;
  --ink-2: #2c3e57;
  --muted: #5c6b82;
  --line: #e4eaf2;
  --line-soft: #edf1f7;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-ink: #0a1424;
  --accent: #2f6bff;
  --accent-deep: #1d4fd7;
  --violet: #7b5bff;
  --teal: #00b8b0;
  --gold: #f5a623;
  --grad: linear-gradient(135deg, #2f6bff 0%, #7b5bff 100%);
  --grad-soft: linear-gradient(135deg, rgba(47, 107, 255, 0.08), rgba(123, 91, 255, 0.08));

  --font-display: "Sora", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(14, 26, 43, 0.06), 0 2px 8px rgba(14, 26, 43, 0.05);
  --shadow-md: 0 4px 14px rgba(14, 26, 43, 0.08), 0 12px 32px rgba(14, 26, 43, 0.07);
  --shadow-lg: 0 12px 28px rgba(14, 26, 43, 0.12), 0 30px 70px rgba(14, 26, 43, 0.14);

  --container: 1140px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

ul { padding-left: 1.2em; }

::selection { background: rgba(47, 107, 255, 0.18); }

:focus-visible {
  outline: 3px solid rgba(47, 107, 255, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(47, 107, 255, 0.32);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.42);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  color: var(--accent);
  border-color: rgba(47, 107, 255, 0.45);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 20px rgba(14, 26, 43, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}
@media (max-width: 1180px) {
  .header-inner { gap: 12px; }
  .brand { font-size: 1.15rem; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand .brand-mark { flex: none; }
.brand .brand-dot { color: var(--accent); }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.92rem;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
:lang(zh) .primary-nav a { padding: 8px 10px; }
.primary-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.primary-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(47, 107, 255, 0.09);
  font-weight: 600;
}

.header-cta { flex: none; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex: none;
}
.lang-switch a {
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.lang-switch a + a { border-left: 1px solid var(--line); }
.lang-switch a:hover { color: var(--ink); background: var(--bg-soft); }
.lang-switch a[aria-current="true"] {
  background: var(--grad);
  color: #fff;
}

/* In-menu language switcher (mobile) */
.primary-nav .nav-lang { display: none; }
@media (max-width: 820px) {
  .header-inner > .lang-switch { display: none; }
  .primary-nav .nav-lang { display: block; padding: 12px 16px 4px; }
  .nav-lang .lang-switch a { padding: 11px 18px; font-size: 0.95rem; }
}

/* Chinese typography */
:lang(zh) {
  --font-display: "Sora", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-body: "Inter", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
:lang(zh) body { font-size: 16px; line-height: 1.78; }
:lang(zh) h1,
:lang(zh) h2,
:lang(zh) h3,
:lang(zh) h4 { letter-spacing: 0; }
:lang(zh) .eyebrow { letter-spacing: 0.06em; }
:lang(zh) .step-num,
:lang(zh) .next-steps li::before { font-family: var(--font-display); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: stretch;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(123, 91, 255, 0.13), transparent 60%),
    radial-gradient(800px 460px at 8% 4%, rgba(47, 107, 255, 0.12), transparent 62%),
    var(--bg-soft);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(14, 26, 43, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(720px 480px at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(720px 480px at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.15);
}

.hero h1 { margin-bottom: 20px; }
.hero .lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .check { color: var(--teal); font-weight: 700; }

/* Browser mockup */
.hero-visual { position: relative; }

.mock {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(0.6deg);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #f2f5f9;
  border-bottom: 1px solid var(--line);
}
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar .dot.r { background: #ff5f57; }
.mock-bar .dot.y { background: #febc2e; }
.mock-bar .dot.g { background: #28c840; }
.mock-url {
  flex: 1;
  max-width: 260px;
  margin-left: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}
.mock-body { padding: 22px 24px 26px; background: #fff; }

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.mock-logo {
  width: 74px;
  height: 14px;
  border-radius: 6px;
  background: var(--grad);
  opacity: 0.9;
}
.mock-links { display: flex; gap: 8px; }
.mock-links i {
  width: 38px;
  height: 8px;
  border-radius: 5px;
  background: var(--line);
}

.mock-hero {
  border-radius: 14px;
  background:
    radial-gradient(320px 180px at 90% 0%, rgba(123, 91, 255, 0.35), transparent 65%),
    linear-gradient(135deg, #2f6bff, #7b5bff);
  padding: 26px 22px;
  margin-bottom: 18px;
}
.mock-line {
  height: 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  margin-bottom: 9px;
}
.mock-line.w80 { width: 82%; height: 15px; }
.mock-line.w60 { width: 58%; }
.mock-line.w50 { width: 50%; background: rgba(255, 255, 255, 0.55); }
.mock-btn {
  width: 108px;
  height: 26px;
  border-radius: 999px;
  background: #fff;
  margin-top: 16px;
  box-shadow: 0 6px 14px rgba(10, 20, 36, 0.25);
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mock-card {
  height: 74px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  padding: 12px 11px;
}
.mock-card::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--grad-soft);
  border: 1px solid rgba(47, 107, 255, 0.3);
  margin-bottom: 10px;
}
.mock-card::after {
  content: "";
  display: block;
  width: 70%;
  height: 7px;
  border-radius: 4px;
  background: var(--line);
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.float-chip.chip-a { top: -18px; right: 8px; animation: floaty 5s ease-in-out infinite; }
.float-chip.chip-b { bottom: -16px; left: -14px; animation: floaty 6s 0.8s ease-in-out infinite; }
.float-chip .chip-ico { font-size: 1rem; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

/* ------------------------------------------------------------
   Cards / services grid
   ------------------------------------------------------------ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 107, 255, 0.35);
}

.card-ico {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(47, 107, 255, 0.22);
  color: var(--accent);
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.card p { font-size: 0.94rem; color: var(--muted); margin: 0; }

.center-link {
  text-align: center;
  margin-top: 44px;
}
.center-link a {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.center-link a:hover .arrow { transform: translateX(4px); }
.center-link .arrow { transition: transform 0.18s ease; }

/* ------------------------------------------------------------
   Steps
   ------------------------------------------------------------ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.3);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 7px; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------
   Pricing
   ------------------------------------------------------------ */
.setup-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 44px;
  padding: 15px 24px;
  border-radius: 14px;
  background: rgba(0, 184, 176, 0.08);
  border: 1px solid rgba(0, 184, 176, 0.3);
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.97rem;
  text-align: center;
}
.setup-note strong { color: var(--ink); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1020px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.plan-card h3 {
  font-size: 1.18rem;
  margin-bottom: 4px;
}
.plan-tag {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.plan-price .per { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.plan-bill-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.plan-features {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  flex: 1;
}
.plan-features li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 0.94rem;
}
.plan-features .check {
  flex: none;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 184, 176, 0.13);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 2px;
}
.plan-card .btn { justify-content: center; }

.plan-featured {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  box-shadow: 0 18px 44px rgba(47, 107, 255, 0.18);
  transform: scale(1.035);
  z-index: 1;
}
.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.35);
  white-space: nowrap;
}

/* Comparison table */
.table-scroll { overflow-x: auto; margin-top: 20px; }
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 680px;
}
.compare th, .compare td {
  padding: 15px 20px;
  text-align: left;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--line-soft);
}
.compare thead th {
  background: var(--bg-soft);
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 0.98rem;
}
.compare thead th .th-price {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child, .compare th:first-child { font-weight: 600; color: var(--ink); }
.compare .yes { color: var(--teal); font-weight: 700; }
.compare .no { color: #c3cbd7; }
.compare td:not(:first-child) { text-align: center; }
.compare thead th:not(:first-child) { text-align: center; }
.compare .col-hi { background: rgba(47, 107, 255, 0.045); }

.fine-print {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

/* ------------------------------------------------------------
   Case study / work
   ------------------------------------------------------------ */
.case-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.case-body { padding: 44px 46px; }
.case-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.case-body h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.case-body p { color: var(--muted); font-size: 0.99rem; }
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}
.case-meta li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
}
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.case-visual {
  position: relative;
  min-height: 320px;
  background:
    radial-gradient(420px 260px at 80% 10%, rgba(123, 91, 255, 0.2), transparent 65%),
    radial-gradient(380px 260px at 15% 90%, rgba(0, 184, 176, 0.14), transparent 60%),
    var(--bg-ink);
  display: grid;
  place-items: center;
  padding: 40px;
}
.case-visual .case-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
  text-align: center;
  padding: 18px 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}
.case-visual .case-logo small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Two-up compact case cards (home page) */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.case-card.compact { grid-template-columns: 1fr; }
.case-card.compact .case-body { padding: 30px 28px; }
.case-card.compact .case-body h3 { font-size: 1.3rem; }
.case-card.compact .case-visual { min-height: 168px; padding: 26px; order: -1; }
@media (max-width: 1020px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* Template directions */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.direction {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.direction:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.direction-thumb {
  height: 130px;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.direction-thumb::before {
  content: "";
  position: absolute;
  inset: 12px 12px auto 12px;
  height: 34%;
  border-radius: 8px 8px 4px 4px;
}
.direction-thumb::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  height: 46%;
  background:
    linear-gradient(var(--line-soft) 1.5px, transparent 1.5px) 0 0 / 100% 33.4%;
  border-radius: 4px;
}
.d-business::before { background: linear-gradient(135deg, #2f6bff, #6fa5ff); }
.d-restaurant::before { background: linear-gradient(135deg, #f5a623, #ffd166); }
.d-community::before { background: linear-gradient(135deg, #00b8b0, #5fd4ce); }
.d-studio::before { background: linear-gradient(135deg, #7b5bff, #b8a5ff); }
.direction h3 { font-size: 1.02rem; margin-bottom: 6px; }
.direction p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------
   Why choose / feature list
   ------------------------------------------------------------ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.why-item .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(47, 107, 255, 0.22);
  color: var(--accent);
}
.why-item h3 { font-size: 1.01rem; margin-bottom: 5px; }
.why-item p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Split feature rows (services page) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line-soft); }
.feature-row.flip .feature-art { order: 2; }

.feature-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  display: block;
}
.feature-info h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.feature-info p { color: var(--muted); }
.feature-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-2);
}
.feature-list .check {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 184, 176, 0.13);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
}

.feature-art {
  position: relative;
}
.art-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: 30px;
  min-height: 260px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.art-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--bg-soft);
}
.art-row .a-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.art-row .a-lines { flex: 1; }
.art-row .a-lines i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
}
.art-row .a-lines i + i { margin-top: 7px; width: 65%; }
.art-chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.art-chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 8px 15px;
  border-radius: 999px;
}
.art-chip.on {
  background: var(--grad-soft);
  border-color: rgba(47, 107, 255, 0.35);
  color: var(--accent-deep);
}
.art-bars { display: grid; gap: 12px; }
.art-bar {
  height: 12px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.art-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
}
.art-bar.b90 i { width: 90%; }
.art-bar.b75 i { width: 75%; }
.art-bar.b60 i { width: 60%; }

.tag-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(0, 184, 176, 0.09);
  border: 1px solid rgba(0, 184, 176, 0.3);
  color: #07726c;
}

/* Included panel */
.included-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 44px 46px;
}
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 36px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.included-grid li {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 9px 0;
  font-weight: 500;
  color: var(--ink-2);
  font-size: 0.96rem;
  border-bottom: 1px dashed var(--line-soft);
}
.included-grid .check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 184, 176, 0.13);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
}

/* Platform page: stacked feature panels, even vertical rhythm */
.platform-section { padding: 76px 0 88px; }
.platform-section .platform-panel + .platform-panel { margin-top: 28px; }
.platform-panel .panel-intro {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}
.included-grid li strong {
  color: var(--ink);
  font-weight: 600;
}
.included-grid li { line-height: 1.55; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-list details[open] { border-color: rgba(47, 107, 255, 0.4); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent-deep); }
.faq-plus {
  flex: none;
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease;
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list .faq-a {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.96rem;
}
.faq-list .faq-a p { margin: 0; }

/* ------------------------------------------------------------
   CTA panel
   ------------------------------------------------------------ */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(600px 320px at 90% -20%, rgba(123, 91, 255, 0.5), transparent 65%),
    radial-gradient(520px 320px at 0% 120%, rgba(0, 184, 176, 0.35), transparent 60%),
    var(--bg-ink);
  color: #fff;
  padding: 72px 60px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-panel h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-panel p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  max-width: 34em;
  margin: 0 auto 34px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.cta-panel .btn-light:hover { background: rgba(255,255,255,0.2); }

/* Light "try the demo" variant */
.cta-panel.demo {
  background:
    radial-gradient(600px 320px at 92% -20%, rgba(123, 91, 255, 0.14), transparent 65%),
    radial-gradient(520px 320px at 0% 120%, rgba(0, 184, 176, 0.12), transparent 60%),
    #fff;
  border: 1px solid rgba(47, 107, 255, 0.28);
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
}
.cta-panel.demo h2 { color: var(--ink); }
.cta-panel.demo p { color: var(--muted); }
.cta-panel.demo .eyebrow { margin-bottom: 18px; }

/* ------------------------------------------------------------
   Page hero (inner pages)
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding: 78px 0 70px;
  background:
    radial-gradient(800px 380px at 88% -30%, rgba(123, 91, 255, 0.13), transparent 62%),
    radial-gradient(700px 360px at 5% 0%, rgba(47, 107, 255, 0.11), transparent 62%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(14, 26, 43, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(640px 380px at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(640px 380px at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { max-width: 15em; margin-bottom: 18px; }
.page-hero .lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 40em;
  margin: 0;
}
.page-hero.center { text-align: center; }
.page-hero.center h1,
.page-hero.center .lead { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------
   Contact page
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 42px 44px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.form-field label .req { color: #e2574c; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}
.form-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 0.86rem;
  color: var(--muted);
}
.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(0, 184, 176, 0.1);
  border: 1px solid rgba(0, 184, 176, 0.35);
  color: #07726c;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-success.show { display: block; }

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px 30px;
}
.side-card + .side-card { margin-top: 22px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.side-card p { font-size: 0.93rem; color: var(--muted); }

.contact-line {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px dashed var(--line-soft);
}
.contact-line:last-child { border-bottom: none; }
.contact-line .ico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(47, 107, 255, 0.22);
  color: var(--accent);
}
.contact-line a { color: var(--ink); }
.contact-line a:hover { color: var(--accent); }

.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: ns; }
.next-steps li {
  counter-increment: ns;
  display: flex;
  gap: 14px;
  padding: 10px 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  align-items: flex-start;
}
.next-steps li::before {
  content: counter(ns);
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  margin-top: 1px;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--bg-ink);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 96px;
  padding: 72px 0 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 56px;
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 30em;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 11px; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  transition: color 0.15s ease;
}
.footer-nav a:hover { color: #fff; }
.footer-contact p { font-size: 0.94rem; margin-bottom: 10px; }
.footer-contact a { color: rgba(255, 255, 255, 0.68); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, 0.68); }
.footer-bottom a:hover { color: #fff; }

/* ------------------------------------------------------------
   Reveal animation
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .cards-grid, .steps-grid, .directions-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 64px 0 72px; }
  .hero-visual { max-width: 560px; }
  .feature-row { grid-template-columns: 1fr; gap: 34px; padding: 44px 0; }
  .feature-row.flip .feature-art { order: 0; }
  .case-card { grid-template-columns: 1fr; }
  .case-visual { min-height: 240px; }
  .plan-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 24px 20px;
    display: none;
  }
  body.nav-open .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a { padding: 13px 16px; border-radius: 12px; font-size: 1.02rem; }
  .header-cta { display: none; }
  body.nav-open .header-cta-mobile { display: block; padding-top: 12px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .cta-panel { padding: 54px 28px; }
  .contact-card { padding: 32px 24px; }
  .included-panel { padding: 32px 26px; }
  .case-body { padding: 32px 26px; }
}

@media (max-width: 560px) {
  .cards-grid, .steps-grid, .directions-grid, .why-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-chip.chip-b { left: 0; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .compare { min-width: 600px; }
}
