/* ==========================================================================
   Alam Web — main stylesheet
   --------------------------------------------------------------------------
   1. Fonts & design tokens
   2. Base / reset
   3. Layout helpers & buttons
   4. Header & navigation
   5. Hero & trust strip
   6. Ticker
   7. Showcase (demo cards + filters)
   8. Benefits
   9. How it works
   10. Pricing
   11. FAQ
   12. Contact & form
   13. Footer
   14. Sticky mobile CTA
   15. Preview modal
   16. Scroll reveal & motion preferences
   ========================================================================== */

/* 1. Fonts & design tokens ------------------------------------------------ */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Colour */
  --ink: #0e1726;
  --ink-2: #1d2a3d;
  --ink-soft: #33415a;
  --muted: #5a6577;
  --bg: #fbf8f3;
  --bg-alt: #f4efe6;
  --surface: #ffffff;
  --line: #e7e0d4;
  --line-strong: #d8cfbf;
  --accent: #ff6b2c;          /* brand orange — use with dark text */
  --accent-hover: #ff8148;
  --accent-text: #c2410c;     /* orange that's readable as text on light bg */
  --accent-soft: #fff0e8;
  --green: #12805c;
  --green-soft: #e3f5ec;

  /* Type */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .06), 0 2px 6px rgba(14, 23, 38, .04);
  --shadow: 0 2px 4px rgba(14, 23, 38, .04), 0 12px 32px -8px rgba(14, 23, 38, .14);
  --shadow-lg: 0 4px 8px rgba(14, 23, 38, .04), 0 30px 60px -18px rgba(14, 23, 38, .28);

  /* Spacing */
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 72px;

  color-scheme: light;
}

/* 2. Base / reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--accent); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* 3. Layout helpers & buttons -------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.section-lead { margin-top: 16px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section-lead a { color: var(--accent-text); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 14px;
}
.eyebrow-pill {
  text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .875rem;
  color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line);
  padding: 6px 14px 6px 10px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.eyebrow-light { color: var(--accent); }
.dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: #1fb67a; position: relative;
}
.dot-live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #1fb67a; opacity: 0; animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn .icon { transition: transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--accent); --btn-fg: var(--ink); box-shadow: 0 6px 18px -6px rgba(255, 107, 44, .6); }
.btn-primary:hover { --btn-bg: var(--accent-hover); box-shadow: 0 10px 24px -8px rgba(255, 107, 44, .7); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-dark:hover { --btn-bg: var(--ink-2); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--surface); --btn-border: var(--ink); }
.btn-ghost:hover .icon { transform: none; }
.btn-ghost-light { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-border: rgba(255,255,255,.25); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid var(--line-strong); padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.text-link .icon { width: 1em; height: 1em; }
.text-link:hover { border-color: var(--accent); color: var(--accent-text); }

/* 4. Header & navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(251, 248, 243, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(251, 248, 243, .92); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand-name { font-family: var(--font-display); font-weight: 750; font-size: 1.375rem; letter-spacing: -0.03em; }
.brand-name span { color: var(--accent-text); }
.brand-light { color: #fff; }
.brand-light .brand-name span { color: var(--accent); }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 4px; }
.primary-nav ul a {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-weight: 550; font-size: .9375rem; text-decoration: none; color: var(--ink-soft);
  transition: color .2s, background-color .2s;
}
.primary-nav ul a:hover { color: var(--ink); background: rgba(14, 23, 38, .05); }
.primary-nav ul a.is-current { color: var(--ink); background: rgba(14, 23, 38, .07); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface);
  align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .25s ease, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(14, 23, 38, .3);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .primary-nav ul { flex-direction: column; gap: 2px; }
  .primary-nav ul a { font-size: 1.125rem; padding: 12px 14px; border-radius: 12px; }
  .nav-cta { min-height: 52px; }
}

/* 5. Hero & trust strip --------------------------------------------------- */
.hero { position: relative; isolation: isolate; padding-top: clamp(40px, 7vw, 88px); padding-bottom: 48px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 420px at 85% 20%, rgba(255, 107, 44, .16), transparent 70%),
    radial-gradient(520px 380px at 10% 0%, rgba(18, 128, 92, .08), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14, 23, 38, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 23, 38, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-title { position: relative; z-index: 0; font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.02; }
.hl {
  color: var(--ink);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 88%; background-size: 0% .26em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: underline 1s .4s cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes underline { to { background-size: 100% .26em; } }
.hero-sub { margin-top: 22px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-price-note { margin-top: 20px; color: var(--muted); font-size: .9375rem; }
.hero-price-note strong { color: var(--ink); }

/* Hero visual: browser + phone */
.hero-visual { position: relative; aspect-ratio: 1 / .86; }
.device-browser {
  position: absolute; top: 4%; right: 0; width: 92%;
  background: var(--surface); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(14, 23, 38, .08);
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
  transform-origin: right center;
  animation: float 9s ease-in-out infinite;
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: #f1ede6; border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d1c3; }
.browser-bar i:nth-child(1) { background: #ff8a7a; }
.browser-bar i:nth-child(2) { background: #ffcd5e; }
.browser-bar i:nth-child(3) { background: #6fd39b; }
.browser-bar span {
  margin-left: 12px; flex: 1; max-width: 60%; font-size: 11px; color: var(--muted);
  background: #fff; border-radius: 6px; padding: 2px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-screen { aspect-ratio: 16 / 10; overflow: hidden; }
.browser-screen img { width: 100%; }
.device-phone {
  position: absolute; left: 0; bottom: 0; width: 34%;
  aspect-ratio: 390 / 844; padding: 8px; border-radius: 34px;
  background: #11161f; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b3444;
  animation: float 9s -4.5s ease-in-out infinite;
}
.phone-notch { position: absolute; z-index: 2; top: 14px; left: 50%; width: 28%; height: 14px; transform: translateX(-50%); background: #11161f; border-radius: 10px; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #222; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .9s ease; }
.phone-screen img.is-active { opacity: 1; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .94); box-shadow: var(--shadow);
  border: 1px solid rgba(14, 23, 38, .06);
  font-size: .875rem; line-height: 1.3;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.float-card strong { display: block; font-weight: 650; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.float-icon-green { background: var(--green-soft); color: var(--green); }
.float-enquiry { right: -2%; bottom: 14%; animation: pop .6s 1.2s both cubic-bezier(.2, .9, .3, 1.3); }
.float-mobile { left: 26%; top: -2%; animation: pop .6s 1.6s both cubic-bezier(.2, .9, .3, 1.3); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }

.trust-strip {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.trust-strip li { display: flex; align-items: flex-start; gap: 12px; padding: 20px; font-size: .875rem; color: var(--muted); line-height: 1.4; }
.trust-strip li + li { border-left: 1px solid var(--line); }
.trust-strip .icon { width: 24px; height: 24px; color: var(--accent-text); margin-top: 1px; }
.trust-strip strong { display: block; color: var(--ink); font-size: .9375rem; font-weight: 650; margin-bottom: 2px; }

@media (max-width: 1080px) {
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
  .trust-strip li:nth-child(4) { border-left: 0; }
  .trust-strip li:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; width: 100%; margin: 8px auto 0; }
}
@media (max-width: 640px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .eyebrow-extra { display: none; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3rem); }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip li { padding: 16px; flex-direction: column; gap: 8px; }
  .trust-strip li + li { border-left: 0; }
  .trust-strip li:nth-child(even) { border-left: 1px solid var(--line); }
  .trust-strip li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .trust-strip li:last-child { grid-column: 1 / -1; border-left: 0; }
  .float-card { font-size: .78rem; padding: 8px 12px 8px 8px; gap: 8px; }
  .float-card small { display: none; }
  .float-icon { width: 28px; height: 28px; }
  .float-mobile { left: 30%; top: -4%; }
  .float-enquiry { right: 0; bottom: 6%; }
}

/* 6. Ticker --------------------------------------------------------------- */
.ticker {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-alt);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker ul { display: flex; }
.ticker li {
  display: flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--ink-soft); white-space: nowrap;
}
.ticker li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 7. Showcase ------------------------------------------------------------- */
.honesty-note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 20px;
  padding: 12px 16px; border-radius: 12px;
  background: var(--green-soft); color: #0b513a; font-size: .9375rem; line-height: 1.5;
  border: 1px solid #c4e8d6;
}
.honesty-note .icon { color: var(--green); margin-top: 2px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: transparent; font-weight: 600; font-size: .9375rem; color: var(--ink-soft);
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.demo-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, transform .3s ease;
}
.demo-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.demo-card.is-hidden { display: none; }
.demo-card.is-entering { animation: cardIn .45s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.demo-thumb {
  position: relative; display: block; width: 100%; padding: 28px 28px 0 28px; border: 0;
  aspect-ratio: 16 / 10.4; overflow: hidden; text-align: left;
  background: var(--thumb-bg, #eef1f6);
}
.demo-card[data-category="trades"] .demo-thumb { --thumb-bg: linear-gradient(140deg, #dfe9ff, #eef3ff 60%, #fff5d6); }
.demo-card[data-category="beauty"] .demo-thumb { --thumb-bg: linear-gradient(140deg, #2a2520, #3b332b 60%, #5a4630); }
.demo-card[data-category="food"] .demo-thumb { --thumb-bg: linear-gradient(140deg, #fbe5d3, #fdf1e4 60%, #e8f0dc); }
.demo-card[data-category="home"] .demo-thumb { --thumb-bg: linear-gradient(140deg, #d8ecd9, #eef6e6 60%, #f6f1dc); }
.thumb-browser {
  display: block; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 20px 40px -16px rgba(14, 23, 38, .35), 0 0 0 1px rgba(14, 23, 38, .06);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.thumb-browser .browser-bar { height: 22px; }
.thumb-browser .browser-bar i { width: 7px; height: 7px; }
.thumb-phone {
  position: absolute; right: 22px; bottom: -40px; width: 24%;
  padding: 4px; border-radius: 18px; background: #11161f;
  box-shadow: 0 16px 30px -10px rgba(14, 23, 38, .5);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.thumb-phone img { border-radius: 14px; aspect-ratio: 390 / 600; object-fit: cover; object-position: top; width: 100%; }
.thumb-cta {
  position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9375rem;
  transform: translate(-50%, -40%); opacity: 0; transition: opacity .25s, transform .25s;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5);
}
.demo-thumb:hover .thumb-browser, .demo-thumb:focus-visible .thumb-browser { transform: translateY(-6px); }
.demo-thumb:hover .thumb-phone, .demo-thumb:focus-visible .thumb-phone { transform: translateY(-14px) rotate(-2deg); }
.demo-thumb:hover .thumb-cta, .demo-thumb:focus-visible .thumb-cta { opacity: 1; transform: translate(-50%, -50%); }
.demo-thumb:focus-visible { outline-offset: -4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.demo-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; border-top: 1px solid var(--line); }
.demo-tag { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.tag-trades { color: #1f4fd1; }
.tag-beauty { color: #8a5a12; }
.tag-food { color: #b33d16; }
.tag-home { color: #1c6b3a; }
.demo-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.demo-body > p:not(.demo-tag) { color: var(--muted); font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 22px; }
.chips li { font-size: .8125rem; font-weight: 550; padding: 5px 11px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-soft); border: 1px solid var(--line); }
.demo-actions { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }

.showcase-foot {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-radius: var(--radius-lg); border: 1.5px dashed var(--line-strong);
}
.showcase-foot p { font-weight: 550; font-size: 1.0625rem; }

@media (max-width: 860px) {
  .demo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .demo-thumb { padding: 20px 20px 0; }
  .thumb-phone { right: 14px; width: 26%; }
  .demo-body { padding: 20px; }
  .showcase-foot { padding: 20px; }
  .showcase-foot .btn { width: 100%; }
}

/* 8. Benefits ------------------------------------------------------------- */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit {
  padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.benefit:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.benefit-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px;
  border-radius: 14px; background: var(--ink); color: var(--accent);
}
.benefit-icon .icon { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.benefit p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefit-grid { grid-template-columns: 1fr; } .benefit { padding: 22px; } }

/* 9. How it works --------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 44px; left: 8%; right: 8%; height: 2px;
  background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 0);
  background-size: 12px 2px; z-index: 0;
}
.step {
  position: relative; z-index: 1; padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-strong);
}
.step-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px;
  border-radius: 16px; background: var(--accent); color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(255, 107, 44, .7);
}
.step-icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: 1.375rem; margin-bottom: 10px; }
.step p { color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 8%; bottom: 8%; left: 55px; right: auto; width: 2px; height: auto; background-image: linear-gradient(var(--line-strong) 50%, transparent 0); background-size: 2px 12px; }
}

/* 10. Pricing ------------------------------------------------------------- */
.pricing { background: var(--bg-alt); border-top: 1px solid var(--line); }
.pricing .section-head { margin-inline: auto; text-align: center; }
.pricing .section-lead { margin-inline: auto; }
.price-card {
  display: grid; grid-template-columns: 1fr 1.1fr;
  max-width: 1000px; margin-inline: auto;
  border-radius: 28px; overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.price-main {
  position: relative; padding: clamp(28px, 4vw, 48px); background: var(--ink); color: #fff; overflow: hidden;
}
.price-main::before {
  content: ""; position: absolute; width: 360px; height: 360px; right: -160px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 44, .45), transparent 65%);
}
.price-main > * { position: relative; }
.price-badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .1); color: #ffd3bd;
}
.price-figures { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 20px; }
.price-line { display: flex; flex-direction: column; }
.price-amount { font-family: var(--font-display); font-size: clamp(3.25rem, 7vw, 4.5rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.price-unit { margin-top: 6px; font-size: .9375rem; color: #b8c2d3; }
.price-plus { font-family: var(--font-display); font-size: 2.25rem; color: var(--accent); font-weight: 600; margin-bottom: 26px; }
.price-blurb { color: #d4dbe6; margin-bottom: 28px; max-width: 34ch; }
.price-small { margin-top: 14px; font-size: .875rem; color: #b8c2d3; text-align: center; }
.price-includes { padding: clamp(28px, 4vw, 48px); }
.price-includes h3 { font-size: 1.375rem; margin-bottom: 20px; }
.tick-list { display: grid; gap: 14px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.tick-list .icon {
  width: 24px; height: 24px; padding: 4px; border-radius: 50%;
  background: var(--green-soft); color: var(--green); margin-top: 1px;
}
.tick-list strong { color: var(--ink); font-weight: 650; }
@media (max-width: 860px) { .price-card { grid-template-columns: 1fr; } }

/* 11. FAQ ----------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 650; font-size: 1.1875rem; letter-spacing: -0.01em;
  border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230e1726' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s ease, background-color .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq-item summary:hover::after { background-color: var(--accent-soft); }
.faq-item[open] summary:hover::after { background-color: var(--accent); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer a { color: var(--accent-text); font-weight: 600; }
.faq-item[open] .faq-answer { animation: faqIn .3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; margin-bottom: 8px; }
  .faq-item summary { padding: 18px 18px; font-size: 1.0625rem; }
  .faq-answer { padding: 0 18px 18px; }
}

/* 12. Contact & form ------------------------------------------------------ */
.contact { background: var(--ink); color: #fff; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 44, .22), transparent 65%); pointer-events: none;
}
.contact-layout { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.contact .section-lead { color: #c3cbd8; }
.contact-email {
  display: flex; align-items: center; gap: 16px; margin: 32px 0;
  padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  text-decoration: none; font-family: var(--font-display); font-weight: 650; font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  transition: background-color .2s, border-color .2s; word-break: break-all;
}
.contact-email:hover { background: rgba(255, 255, 255, .1); border-color: var(--accent); }
.contact-email small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8125rem; color: #aeb8c8; }
.contact-email-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--ink); }
.contact-points { display: grid; gap: 18px; }
.contact-points li { display: flex; gap: 14px; color: #c3cbd8; font-size: 1rem; }
.contact-points .icon { color: var(--accent); margin-top: 3px; }
.contact-points strong { color: #fff; }

.form-card {
  background: var(--surface); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.form-title { font-size: 1.5rem; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 7px; }
.req { color: var(--accent-text); }
.opt { color: var(--muted); font-weight: 400; font-size: .875rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fdfcfa;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bfb4a1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(255, 107, 44, .25);
}
.field [aria-invalid="true"] { border-color: #c0262d; }
.field ::placeholder { color: #8c94a1; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.field-hint { margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.field-error { margin-top: 6px; font-size: .875rem; font-weight: 600; color: #b3232a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { margin-top: 14px; font-size: .9375rem; font-weight: 550; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 16px; border-radius: 12px; background: var(--green-soft); color: #0b513a; }
.form-status.is-error { padding: 14px 16px; border-radius: 12px; background: #fdecec; color: #8f1d22; }
.form-status a { color: inherit; font-weight: 700; }
.form-privacy { margin-top: 14px; font-size: .8125rem; color: var(--muted); text-align: center; }
.form-privacy a { color: var(--ink-soft); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* 13. Footer -------------------------------------------------------------- */
.site-footer { background: #0a111d; color: #aeb8c8; padding: 64px 0 28px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1.2fr; gap: 40px; }
.footer-brand p { margin: 16px 0; max-width: 34ch; }
.footer-email { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--accent); }
.site-footer h2 { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a { text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; color: #8994a7; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: 100px; } }

/* 14. Sticky mobile CTA --------------------------------------------------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    display: flex; gap: 8px; padding: 8px;
    border-radius: 20px; background: rgba(14, 23, 38, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .45);
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn-primary { flex: 1; }
  .sticky-cta .btn-ghost-light { width: 52px; padding: 0; }
}

/* 15. Preview modal ------------------------------------------------------- */
.preview-modal {
  width: min(1320px, calc(100vw - 32px)); height: min(900px, calc(100dvh - 32px));
  max-width: none; max-height: none; padding: 0; border: 0; border-radius: 20px;
  background: #e9e4da; color: var(--ink); box-shadow: 0 40px 120px rgba(0, 0, 0, .5); overflow: hidden;
}
.preview-modal::backdrop { background: rgba(8, 13, 22, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.preview-modal[open] { animation: modalIn .3s cubic-bezier(.2, .8, .2, 1); }
.preview-modal[open]::backdrop { animation: fadeIn .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body.modal-open { overflow: hidden; }

.preview-shell { display: flex; flex-direction: column; height: 100%; }
.preview-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px 12px 20px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.preview-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.preview-heading h2 { font-size: 1.125rem; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-pill { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: #0b513a; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.device-toggle { display: flex; padding: 4px; gap: 2px; background: var(--bg-alt); border-radius: 12px; }
.device-toggle button {
  display: grid; place-items: center; width: 40px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted);
  transition: background-color .2s, color .2s;
}
.device-toggle button:hover { color: var(--ink); }
.device-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.preview-actions { display: flex; gap: 6px; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--bg-alt); border-color: var(--line-strong); }

.preview-stage { flex: 1; min-height: 0; display: flex; justify-content: center; padding: 16px; overflow: auto; }
.preview-frame {
  position: relative; width: 100%; height: 100%; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); transition: width .45s cubic-bezier(.2, .8, .2, 1);
}
.preview-stage[data-device="tablet"] .preview-frame { width: 820px; max-width: 100%; }
.preview-stage[data-device="mobile"] .preview-frame { width: 390px; max-width: 100%; border-radius: 28px; box-shadow: 0 0 0 8px #11161f, var(--shadow-lg); }
.preview-stage[data-device="mobile"] { padding: 24px; }
.preview-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.preview-loading { position: absolute; inset: 0; display: grid; place-items: center; background: #fff; transition: opacity .3s; }
.preview-loading span { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.preview-frame.is-loaded .preview-loading { opacity: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.preview-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px;
  background: var(--surface); border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ink-soft);
}
@media (max-width: 760px) {
  .preview-modal { width: 100vw; height: 100dvh; border-radius: 0; }
  .device-toggle { display: none; }
  .preview-stage { padding: 0; }
  .preview-stage .preview-frame { border-radius: 0 !important; box-shadow: none !important; width: 100% !important; }
  .preview-foot p { display: none; }
  .preview-foot .btn { width: 100%; }
  .preview-heading h2 { font-size: 1rem; }
}

/* 16. Scroll reveal & motion preferences --------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--reveal-delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
}
