/* ==========================================================
   Hanioo campaign landing page
   ========================================================== */

:root {
  --purple: #3B0AF7;
  --purple-dark: #2D06C9;
  --purple-light: #6B4CFF;
  --purple-soft: #F1EEFF;
  --night: #12063F;           /* deepest gradient stop */
  --magenta: #C04DFF;         /* small vibrant accents only */
  --pink: #FF7AE0;
  --cyan: #4DD8FF;
  --text: #150B33;
  --text-muted: #4B4666;      /* AA on white and on --purple-soft */
  --bg: #FFFFFF;
  --border: #E0E6F2;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(21, 11, 51, .06);
  --shadow-md: 0 16px 40px rgba(59, 10, 247, .16);
  --shadow-lg: 0 40px 80px rgba(10, 2, 50, .45);
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --hero-grad: linear-gradient(140deg, var(--night) 0%, var(--purple-dark) 42%, var(--purple) 72%, var(--purple-light) 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--text); background: var(--bg); overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 3px; border-radius: 8px; }

.container { width: min(100% - 40px, 1160px); margin-inline: auto; position: relative; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: var(--purple-dark); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__icon { width: 20px; height: 20px; flex: none; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 1.05rem; }

.btn--primary { background: linear-gradient(135deg, var(--purple-light), var(--purple)); color: #fff; box-shadow: 0 10px 26px rgba(59, 10, 247, .38); }
.btn--primary:hover { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); box-shadow: 0 14px 32px rgba(59, 10, 247, .5); }
.btn--primary:disabled { opacity: .7; cursor: progress; transform: none; }

.btn--soft { color: var(--purple-dark); background: #fff; border-color: #D9D0FF; box-shadow: 0 6px 16px rgba(59, 10, 247, .08); }
.btn--soft:hover { background: var(--purple-soft); border-color: var(--purple-light); }
.btn--wa { color: #fff; background: #0C7A55; box-shadow: 0 8px 20px rgba(12, 122, 85, .3); } /* darker than brand green so white text stays readable */
.btn--wa:hover { background: #0A6847; box-shadow: 0 12px 26px rgba(12, 122, 85, .4); }
.btn--glass { color: #fff; background: var(--purple); border-color: var(--purple); box-shadow: 0 8px 20px rgba(59, 10, 247, .28); }
.btn--glass:hover { background: var(--purple-dark); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.stores--center { justify-content: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 62px; padding: 9px 24px 9px 14px;
  color: var(--text); background: #fff; border-radius: 18px; text-decoration: none;
  box-shadow: 0 14px 34px rgba(10, 2, 50, .35), inset 0 0 0 1px rgba(255, 255, 255, .6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px rgba(10, 2, 50, .45); }
.store-btn:active { transform: none; }
.store-btn__icon { width: 38px; height: 38px; flex: none; }
.store-btn__text { display: grid; line-height: 1.15; text-align: left; }
.store-btn__text small { font-size: .72rem; font-weight: 500; color: var(--text-muted); }
.store-btn__text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  margin-bottom: calc(var(--header-h) * -1); /* let the hero slide under the transparent header */
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .9); border-color: var(--border); box-shadow: 0 8px 28px rgba(21, 11, 51, .08);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 20px; padding-left: clamp(0px, 1.6vw, 22px); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo__text { font-family: "Fredoka", var(--font); font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -.01em; color: #3D4C9C; }
.footer .logo__text { font-size: 1.7rem; }

.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__list a:not(.btn) {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; color: var(--text);
  transition: background-color .2s ease, color .2s ease;
}
.nav__list a:not(.btn):hover { background: var(--purple-soft); color: var(--purple-dark); }
.nav__cta-item { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border);
  border-radius: 12px; background: #fff; cursor: pointer; position: relative;
}
.menu-toggle__bar {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease, background-color .25s ease;
}
.menu-toggle__bar:nth-child(1) { top: 15px; }
.menu-toggle__bar:nth-child(2) { top: 21px; }
.menu-toggle__bar:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .header__cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px rgba(21, 11, 51, .18);
    padding: 12px 20px 20px; border-radius: 0 0 24px 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a:not(.btn) { display: block; padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; color: var(--text); }
  .nav__list a:not(.btn):hover { background: var(--purple-soft); color: var(--purple-dark); }
  .nav__cta-item { display: block; margin-top: 10px; }
  .nav__cta-item .btn { width: 100%; }
  .nav :focus-visible { outline-color: var(--purple-light); }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 6px 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--purple-dark); background: #fff; border: 1px solid #d9d0ff; border-radius: 999px;
}
.eyebrow--glass { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.grad-text { background: linear-gradient(95deg, var(--purple) 0%, var(--purple-light) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Orbs / backgrounds ---------- */
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; animation: drift 14s ease-in-out infinite; }
.orb--1 { width: 460px; height: 460px; top: -120px; right: -80px; background: radial-gradient(circle, var(--magenta), transparent 70%); }
.orb--2 { width: 420px; height: 420px; bottom: -140px; left: -100px; background: radial-gradient(circle, var(--cyan), transparent 70%); opacity: .35; animation-delay: -5s; }
.orb--3 { width: 360px; height: 360px; top: 30%; left: 35%; background: radial-gradient(circle, var(--purple-light), transparent 70%); animation-delay: -9s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.08); } }

/* ---------- Hero (light) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--text);
  background: linear-gradient(180deg, #F3EFFF 0%, #FBFAFF 62%, #fff 100%);
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(88px, 11vw, 150px);
}
.hero::before { /* dot grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background-image: radial-gradient(rgba(59, 10, 247, .13) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%); mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hero::after { /* curved edge into the next section */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: clamp(40px, 6vw, 90px);
  background: var(--purple-soft); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero__bg { z-index: -1; }
.hero .orb { opacity: .28; }
.hero .orb--1 { background: radial-gradient(circle, var(--purple-light), transparent 70%); }
.hero .orb--2 { background: radial-gradient(circle, #CBB8FF, transparent 70%); opacity: .4; }
.hero .orb--3 { display: none; }
.hero .eyebrow--glass { color: var(--purple-dark); background: #fff; border-color: #D9D0FF; backdrop-filter: none; -webkit-backdrop-filter: none; }

.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero__lead { margin-top: 20px; font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--text-muted); max-width: 32em; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .92rem; font-weight: 500; color: var(--text-muted); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--purple-light); }
.hero__link { margin-top: 18px; }
.hero__link a { font-weight: 600; text-underline-offset: 4px; color: var(--purple-dark); }

/* store buttons in the hero: dark, like the official badges */
.hero .store-btn { background: var(--text); color: #fff; box-shadow: 0 14px 30px rgba(21, 11, 51, .25); }
.hero .store-btn:hover { box-shadow: 0 20px 40px rgba(21, 11, 51, .32); }
.hero .store-btn__text small { color: rgba(255, 255, 255, .75); }

/* Visual: two overlapping phones on a soft backdrop */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.duo { position: relative; width: min(100%, 420px); height: 560px; }
.duo::before, .duo::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.duo::before { width: 410px; height: 410px; background: linear-gradient(150deg, #E2D9FF 0%, #F5F2FF 72%); }
.duo::after { width: 520px; height: 520px; border: 1.5px dashed #CFC3FF; }

.duo .phone--front { position: absolute; right: 0; top: 14px; width: 250px; z-index: 2; transform: rotate(2.5deg); animation: bob 9s ease-in-out infinite; }
.duo .phone--back  { position: absolute; left: 0; top: 66px; width: 226px; z-index: 1; transform: rotate(-5deg); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(2.5deg); } 50% { transform: translateY(-10px) rotate(2.5deg); } }

.chip {
  position: absolute; z-index: 3; pointer-events: none; padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; color: var(--purple-dark);
  background: #fff; border: 1px solid #E3DCFF; box-shadow: 0 10px 24px rgba(59, 10, 247, .12);
  animation: floaty 7s ease-in-out infinite;
}
.chip--1 { top: 0; left: 6%; }
.chip--2 { top: 24%; right: -78px; animation-delay: -2s; }
.chip--3 { bottom: 14%; left: -46px; animation-delay: -4s; }
.chip--4 { bottom: 0; right: 8%; animation-delay: -1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .stores, .facts { justify-content: center; }
  .hero__visual { padding-top: 12px; }
}
@media (max-width: 620px) {
  .chip, .duo .phone--back, .duo::after { display: none; } /* keep the narrow layout clean */
  .duo { height: auto; display: flex; justify-content: center; }
  .duo::before { width: 330px; height: 330px; }
  .duo .phone--front { position: relative; right: auto; top: auto; }
  .store-btn { width: 100%; max-width: 340px; }
}

/* ---------- Phone mockup (pure CSS, illustrative) ---------- */
.phone {
  position: relative; width: 280px; aspect-ratio: 9 / 18.4; padding: 9px; border-radius: 42px;
  background: linear-gradient(145deg, #2E2272, var(--text));
  box-shadow: 0 34px 60px rgba(59, 10, 247, .22), 0 8px 18px rgba(21, 11, 51, .2), inset 0 0 0 2px rgba(255, 255, 255, .12);
}
.phone__notch { position: absolute; top: 16px; left: 50%; width: 78px; height: 20px; transform: translateX(-50%); background: var(--text); border-radius: 999px; z-index: 3; }
.phone__screen { height: 100%; border-radius: 33px; overflow: hidden; background: #F8F6FF; display: flex; flex-direction: column; }
.phone__img { width: 100%; height: 100%; object-fit: cover; }
.mock-note { font-size: .8rem; color: var(--text-muted); text-align: center; }

.ui-status { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px 4px; font-size: .7rem; font-weight: 700; color: var(--text); }
.ui-status__dots { display: inline-flex; gap: 3px; }
.ui-status__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--text); }
.ui-head { padding: 20px 15px 12px; background: linear-gradient(160deg, var(--purple) 0%, var(--purple-light) 100%); color: #fff; border-radius: 0 0 22px 22px; }
.ui-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.ui-search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: .7rem; color: var(--text-muted); background: #fff; border-radius: 12px; }
.ui-search__icon { width: 11px; height: 11px; border: 2px solid var(--purple-light); border-radius: 50%; flex: none; }
.ui-chips { display: flex; gap: 6px; margin: 10px 0 2px; }
.ui-chips span { padding: 4px 10px; font-size: .64rem; font-weight: 600; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.ui-chips .is-on { background: #fff; color: var(--purple-dark); }
.ui-list { display: flex; flex-direction: column; gap: 9px; padding: 14px 11px 8px; flex: 1; min-height: 0; }
.ui-card { display: flex; align-items: center; gap: 10px; padding: 10px; background: #fff; border: 1px solid #EEEAFB; border-radius: 14px; box-shadow: 0 4px 12px rgba(59, 10, 247, .06); }
.ui-card__body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.ui-line { display: block; height: 7px; width: 78%; border-radius: 4px; background: #D9D1F5; }
.ui-line--s { width: 52%; height: 6px; background: #ECE8FA; }
.ui-avatar { position: relative; width: 34px; height: 34px; flex: none; overflow: hidden; border-radius: 50%; background: var(--purple-soft); }
.ui-avatar::before { content: ""; position: absolute; left: 50%; top: 6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--purple-light); }
.ui-avatar::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 24px; height: 17px; margin-left: -12px; border-radius: 50%; background: var(--purple-light); }
.ui-pill { white-space: nowrap; padding: 3px 9px; font-size: .6rem; font-weight: 700; border-radius: 999px; color: var(--purple-dark); background: var(--purple-soft); }
.ui-pill--alt { color: var(--text); background: #EDF0F7; }
.ui-card--col { flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px; border-left: 3px solid var(--purple-light); }
.ui-card--col b { font-size: .76rem; color: var(--text); white-space: nowrap; }
.ui-card--col small { font-size: .64rem; color: var(--text-muted); }
.ui-card--col .ui-pill { margin-top: 5px; }
.ui-cta { margin: 6px 13px 15px; padding: 11px; text-align: center; font-size: .78rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--purple-light), var(--purple)); border-radius: 14px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(60px, 8vw, 108px) 0; }
.section--tint { background: var(--purple-soft); overflow: hidden; }
.section--tint::before, .section--tint::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none;
}
.section--tint::before { top: -160px; left: -120px; background: var(--purple-light); }
.section--tint::after { bottom: -180px; right: -120px; background: var(--cyan); opacity: .25; }
.section--tint > .container { z-index: 1; }

.section--soft { background: linear-gradient(180deg, #fff 0%, #F7F4FF 100%); overflow: hidden; }

.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(34px, 5vw, 58px); }
.section__lead { margin-top: 16px; color: var(--text-muted); font-size: 1.08rem; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3 { grid-template-columns: 1fr; } }

/* Feature cards */
.card {
  position: relative; overflow: hidden; padding: 30px 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(59, 10, 247, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card::before { /* gradient top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--g1), var(--g2));
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card h3 { margin: 20px 0 8px; }
.card p { color: var(--text-muted); }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 10px 22px rgba(59, 10, 247, .28);
  transition: transform .3s ease;
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.08); }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(1) { --g1: var(--purple-light); --g2: var(--purple); }
.card:nth-child(2) { --g1: var(--magenta);      --g2: var(--purple-light); }
.card:nth-child(3) { --g1: var(--cyan);         --g2: var(--purple-light); }
.card:nth-child(4) { --g1: var(--pink);         --g2: var(--magenta); }
.card:nth-child(5) { --g1: var(--purple);       --g2: var(--purple-dark); }
.card:nth-child(6) { --g1: #8F7BFF;             --g2: var(--cyan); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative; padding: 34px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid #E8E1FF; box-shadow: 0 14px 36px rgba(59, 10, 247, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  font-weight: 800; font-size: 1.3rem; color: #fff; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-light), var(--purple)); box-shadow: 0 0 0 6px var(--purple-soft);
}
.step p { margin-top: 8px; color: var(--text-muted); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 60px; left: calc(100% + 2px); width: 18px; border-top: 2px dashed #BDB0FF; }
.section--soft .stores { margin-top: 44px; }
.section--soft .store-btn { background: var(--text); color: #fff; box-shadow: 0 14px 30px rgba(21, 11, 51, .25); }
.section--soft .store-btn:hover { box-shadow: 0 20px 40px rgba(21, 11, 51, .32); }
.section--soft .store-btn__text small { color: rgba(255, 255, 255, .75); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: 100%; left: 50px; width: 0; height: 22px; border-top: 0; border-left: 2px dashed #BDB0FF; }
}

/* ---------- Enquiry (split) ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.split__copy .section__lead { margin-bottom: 24px; }
.checks { display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; color: var(--text-muted); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%233B0AF7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 0 0 1px #d9d0ff;
}
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

.form {
  display: grid; gap: 18px; padding: clamp(22px, 4vw, 38px); border-radius: 28px;
  background: rgba(255, 255, 255, .8); border: 1px solid #fff;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(59, 10, 247, .18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .check { font-size: .92rem; font-weight: 600; }
.req { color: #C2185B; }
.opt { font-weight: 400; color: var(--text-muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--border); border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { resize: vertical; min-height: 130px; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%233B0AF7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #bfb2ff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(107, 76, 255, .22); }
.form [aria-invalid="true"] { border-color: #C2185B; }
.form [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(194, 24, 91, .18); }
.field__error { font-size: .85rem; font-weight: 500; color: #B3124F; }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--text-muted); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--purple); cursor: pointer; }
.check a { color: var(--purple-dark); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; }
.form__status { padding: 14px 16px; border-radius: 14px; font-weight: 500; font-size: .95rem; }
.form__status.is-success { color: #0B5B2E; background: #E3F8EA; border: 1px solid #9ADCB2; }
.form__status.is-error { color: #7A0E36; background: #FDE8EF; border: 1px solid #F3A9C2; }

/* ---------- CTA band (light) ---------- */
.cta { padding: clamp(40px, 6vw, 70px) 0 clamp(64px, 8vw, 110px); }
.cta__inner {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--text);
  padding: clamp(46px, 7vw, 90px) clamp(22px, 5vw, 64px); border-radius: 36px;
  background:
    radial-gradient(60% 90% at 92% 0%, rgba(107, 76, 255, .22), transparent 65%),
    radial-gradient(50% 80% at 4% 100%, rgba(77, 216, 255, .16), transparent 65%),
    linear-gradient(160deg, #EFEBFF 0%, #FAF8FF 100%);
  border: 1px solid #E3DCFF; box-shadow: 0 30px 70px rgba(59, 10, 247, .14);
}
.cta__inner::before, .cta__inner::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1.5px dashed rgba(107, 76, 255, .28); pointer-events: none;
}
.cta__inner::before { width: 420px; height: 420px; left: -150px; bottom: -220px; }
.cta__inner::after { width: 260px; height: 260px; right: -80px; bottom: -120px; }
.cta__inner .orb { display: none; }
.cta__inner h2 { max-width: 16em; margin: 0 auto; font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.cta__inner p { margin: 18px auto 0; max-width: 34em; font-size: 1.12rem; color: var(--text-muted); }
.cta .store-btn { background: var(--text); color: #fff; box-shadow: 0 14px 30px rgba(21, 11, 51, .25); }
.cta .store-btn:hover { box-shadow: 0 20px 40px rgba(21, 11, 51, .32); }
.cta .store-btn__text small { color: rgba(255, 255, 255, .75); }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, #F3EFFF 0%, #EAE4FF 100%); color: var(--text-muted); padding: 56px 0 28px; border-top: 1px solid #E3DCFF; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #D9D0FF; }
.footer__brand { display: grid; gap: 12px; justify-items: start; }
.footer__brand .logo { margin-right: 0; }
.footer__stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badge-link { display: block; line-height: 0; border-radius: 8px; transition: transform .2s ease; }
.badge-link:hover { transform: translateY(-2px); }
.badge-link img { height: 44px; width: auto; }
/* The Google Play artwork ships with clear space around the badge; crop it so both badges align. */
.badge-crop { display: block; width: 150px; aspect-ratio: 564 / 166; overflow: hidden; border-radius: 8px; }
.badge-crop img { width: 114.5%; max-width: none; height: auto; margin: -7.45% 0 0 -7.45%; }
.footer__quick h3 { margin-bottom: 14px; font-size: 1.05rem; color: var(--text); }
.footer__quick ul { display: grid; gap: 4px; }
.footer__quick a { display: inline-block; padding: 5px 0; color: var(--text-muted); text-decoration: none; }
.footer__quick a:hover { color: var(--purple-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer__contact h3 { margin-bottom: 14px; font-size: 1.05rem; color: var(--text); }
.footer__contact ul { display: grid; gap: 10px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.footer__contact svg { width: 20px; height: 20px; flex: none; color: var(--purple-light); }
.footer__contact a { color: var(--text-muted); text-decoration: none; }
.footer__contact a:hover { color: var(--purple-dark); text-decoration: underline; text-underline-offset: 4px; }
.contact-note { margin-top: 28px; text-align: center; color: var(--text-muted); }
.contact-note a { color: var(--purple-dark); font-weight: 600; text-underline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: .88rem; color: var(--text-muted); }

/* ---------- Contact: rows, section, quick bar ---------- */
.contact-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-row--center { justify-content: center; margin-top: 26px; }
.hero .contact-row { margin-top: 16px; }
@media (max-width: 920px) { .hero .contact-row { justify-content: center; } }
.is-unconfigured { opacity: .55; cursor: not-allowed; }
.is-unconfigured:hover { transform: none; }

.contact-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card .btn { margin-top: 20px; }
.contact-card--wa .card__icon { background: linear-gradient(135deg, #25D366, #0C7A55); box-shadow: 0 10px 22px rgba(12, 122, 85, .28); }
.contact-card--wa::before { background: linear-gradient(90deg, #25D366, #0C7A55); }
.card__icon svg { fill: none; }

.quickbar { display: none; }
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #0C7A55; box-shadow: 0 14px 30px rgba(12, 122, 85, .4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
.call-float {
  position: fixed; right: 22px; bottom: 92px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--purple); box-shadow: 0 14px 30px rgba(59, 10, 247, .4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.call-float:hover { transform: translateY(-3px) scale(1.05); }
.call-float svg { width: 28px; height: 28px; }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 820px) {
  .wa-float, .call-float { display: none; }
  body { padding-bottom: 76px; }
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(21, 11, 51, .12);
  }
  .quickbar__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 8px;
    font: inherit; font-size: .92rem; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; border-radius: 14px; cursor: pointer;
  }
  .quickbar__btn--call { color: #fff; background: var(--purple); }
  .quickbar__btn--wa { color: #fff; background: #0C7A55; }
  .quickbar__btn--msg { color: var(--purple-dark); background: #fff; border-color: #D9D0FF; }
}
@media (max-width: 360px) { .quickbar__btn { font-size: .85rem; gap: 0; } .quickbar__btn .btn__icon { display: none; } }

/* ---------- Enquiry popup ---------- */
html.modal-open { overflow: hidden; }
.modal {
  width: min(calc(100% - 24px), 600px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible;
}
.modal::backdrop { background: rgba(21, 11, 51, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__panel {
  position: relative; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto;
  padding: clamp(18px, 3vw, 26px) clamp(18px, 3vw, 28px); border-radius: 24px; background: #fff; box-shadow: 0 40px 90px rgba(10, 2, 50, .45);
}
.modal__panel h2 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); padding-right: 48px; }
.modal__lead { margin: 4px 0 16px; font-size: .95rem; color: var(--text-muted); }
.modal__close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; padding: 0; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; cursor: pointer; transition: background-color .2s ease;
}
.modal__close:hover { background: var(--purple-soft); }
.modal__close::before, .modal__close::after { content: ""; position: absolute; left: 10px; right: 10px; top: 17px; height: 2px; border-radius: 2px; background: var(--text); }
.modal__close::before { transform: rotate(45deg); }
.modal__close::after { transform: rotate(-45deg); }
.modal .form { gap: 12px; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; }

/* compact fields inside the popup so it fits without scrolling on typical screens */
.modal .field-row { gap: 12px; }
.modal .field { gap: 4px; }
.modal .field label, .modal .check { font-size: .86rem; }
.modal .form input[type="text"], .modal .form input[type="email"], .modal .form input[type="tel"] { min-height: 42px; padding: 8px 14px; font-size: .95rem; border-radius: 12px; }
.modal .form textarea { min-height: 58px; padding: 10px 14px; font-size: .95rem; border-radius: 12px; }
.modal .check { gap: 10px; line-height: 1.4; }
.modal .check input { width: 20px; height: 20px; }
.modal .form__submit { min-height: 48px; font-size: 1rem; }
.modal .field__error { font-size: .8rem; }
.modal .form__status { padding: 10px 14px; font-size: .9rem; }

/* reCAPTCHA + submit on one row */
.form__actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }
.captcha { max-width: 100%; min-height: 78px; }
.form__actions .form__submit { width: 100%; }
@media (max-width: 640px) { .form__actions { grid-template-columns: 1fr; } }
@media (max-width: 360px) { .captcha { height: 66px; overflow: hidden; } .captcha .g-recaptcha { transform: scale(.82); transform-origin: 0 0; } }

/* ---------- Reveal on scroll (only when JS is available) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2), .js .grid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .steps .reveal:nth-child(3), .js .grid .reveal:nth-child(3n) { transition-delay: .16s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .store-btn:hover { transform: none; }
}

/* Browsers without backdrop-filter: keep glass elements readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .eyebrow--glass { background: rgba(255, 255, 255, .22); }
  .card, .form { background: #fff; }
}
