/* ---------- solutions ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.sol-card { padding: clamp(24px, 3.2vw, 44px); overflow: hidden; }
.sol-live { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.sol-card h3 { color: var(--text); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; margin: 14px 0 10px; }
.sol-card p { max-width: 30em; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; line-height: 1.6; }
.badge-live { color: #bbf7d0; background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(74, 222, 128, 0.3); }
.badge-live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } }
.badge-soon { color: #f5d0fe; background: rgba(232, 121, 249, 0.1); border: 1px dashed rgba(240, 171, 252, 0.45); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.tags li { font-size: 0.86rem; line-height: 1.5; padding: 6px 12px; border-radius: 999px; background: rgba(167, 139, 250, 0.1); color: var(--text); border: 1px solid var(--line); }
.link { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; padding-block: 4px; position: relative; }
.link::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--fuchsia); transition: background-color 0.3s, transform 0.3s var(--ease-out); }
.link::after { content: ""; position: absolute; inset: auto 0 -2px 0; height: 1.5px; background: var(--grad-flow); transform: scaleX(0.25); transform-origin: var(--start-side); transition: transform 0.45s var(--ease-out); }
.link:hover::after { transform: scaleX(1); }
.link:hover::before { background: var(--fuchsia); transform: scale(1.15); }
.sol-visual { position: relative; display: grid; place-items: center; }
.sol-visual::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 132, 252, 0.35), transparent 65%); }
.phone-sm { width: 210px; transform: rotate(-4deg); }

.sol-soon { display: flex; flex-direction: column; align-items: flex-start; border-style: dashed; border-color: var(--line-2); background: linear-gradient(180deg, rgba(232, 121, 249, 0.05), rgba(167, 139, 250, 0.015)); }
.sol-soon p { margin-bottom: 22px; }
.sol-soon .link { margin-top: auto; }
.soon-visual { width: 130px; margin-bottom: 18px; }
.soon-links path { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.sn { transform-box: fill-box; transform-origin: center; animation: node 2.8s ease-in-out infinite; }
.sn2 { animation-delay: 0.35s; } .sn3 { animation-delay: 0.7s; } .sn4 { animation-delay: 1.05s; }
@keyframes node { 0%, 100% { opacity: 0.45; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1); } }
.sn-dot { transform-box: fill-box; transform-origin: center; animation: hover 3s ease-in-out infinite; }
@keyframes hover { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(4px); } }

/* the cafe and restaurant systems lead with full-width cards; the course platform, WordTech and "coming soon" sit in a row under them */
.sol-live { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; }
.sol-live .sol-visual { padding-inline: clamp(20px, 9vw, 130px); }
.sol-sm, .sol-soon { padding: clamp(22px, 2.6vw, 34px); }
.sol-sm { display: flex; flex-direction: column; align-items: flex-start; }
.sol-sm-top { display: flex; align-items: center; gap: 12px; }
.sol-sm-mark { width: 44px; height: 44px; filter: drop-shadow(0 8px 18px rgba(192, 132, 252, 0.45)); }
.sol-sm h3, .sol-soon h3 { font-size: clamp(22px, 2.1vw, 27px); margin: 12px 0 6px; }
.sol-sm p { margin-bottom: 16px; }
.sol-sm .link { margin-top: auto; }
.sol-soon .soon-visual { width: 76px; margin-bottom: 10px; }
.sol-soon p { margin-bottom: 16px; }

/* ---------- marquee ---------- */
.marquee {
  position: relative; overflow: hidden; direction: ltr; padding-block: 18px; margin-bottom: clamp(56px, 8vw, 100px);
  border-block: 1px solid var(--line); background: rgba(167, 139, 250, 0.04);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; direction: ltr; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex: none; direction: rtl; }
.marquee-list li { display: inline-flex; align-items: center; gap: 22px; padding-inline-end: 22px; white-space: nowrap; color: var(--text); font-size: clamp(16px, 1.6vw, 21px); font-weight: 500; }
.marquee-list li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--fuchsia); flex: none; }
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- journey ---------- */
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: clamp(70px, 10vw, 130px); }
.journey-steps { grid-column: 1; grid-row: 1; position: relative; }
.journey-stage { grid-column: 2; grid-row: 1; }
.stage-inner { position: sticky; top: calc(var(--header-h) + 20px); height: calc(100svh - var(--header-h) - 40px); display: grid; place-items: center; }
.phone-lg { width: min(290px, calc((100svh - var(--header-h) - 90px) / 2.2)); }
.journey-steps { --la: calc(18svh + 52px); --lb: 39svh; }
.journey-steps::before { content: ""; position: absolute; top: var(--la); bottom: var(--lb); inset-inline-start: 23px; width: 2px; background: var(--line-2); }
.journey-steps::after { content: ""; position: absolute; top: var(--la); inset-inline-start: 23px; width: 2px; height: calc((100% - var(--la) - var(--lb)) * var(--jp, 0)); background: linear-gradient(180deg, var(--violet), var(--fuchsia)); transition: height 0.6s var(--ease-out); }
.jstep { position: relative; min-height: 78svh; display: flex; flex-direction: column; justify-content: center; padding-inline-start: 76px; opacity: 0.32; transition: opacity 0.5s ease; }
.jstep:first-child { min-height: 64svh; justify-content: flex-start; padding-top: 18svh; }
.jstep.is-active { opacity: 1; }
.jnum {
  position: absolute; inset-inline-start: 0; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; z-index: 1;
  display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; color: var(--text);
  background: var(--ink); border: 3px solid var(--violet); transition: background 0.4s, color 0.4s, transform 0.5s var(--ease-out), border-color 0.4s;
}
.jstep:first-child .jnum { top: calc(18svh + 28px); }
.jstep.is-active .jnum { background: var(--grad); border-color: transparent; color: #1a0b2e; transform: scale(1.1); }
.jstep h4 { color: var(--text); font-weight: 700; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.35; margin-bottom: 10px; }
.jstep p { font-size: clamp(16px, 1.4vw, 19px); max-width: 26em; }

.scan-line { position: absolute; z-index: 4; left: 12%; right: 12%; top: 18%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #f0abfc, transparent); box-shadow: 0 0 18px 4px rgba(240, 171, 252, 0.55); opacity: 0; }
.journey[data-active="0"] .scan-line { animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0% { top: 16%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 82%; opacity: 0; } }
.sent-toast {
  position: absolute; z-index: 5; top: 44px; left: 50%; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border-radius: 16px; font-size: 0.92rem; font-weight: 500; color: #052e16; background: #bbf7d0;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6); transform: translate(-50%, -16px) scale(0.9); opacity: 0;
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
/* flex: none so the check never gets squeezed to 0 width next to the nowrap text on phones */
.sent-toast svg { width: 18px; height: 18px; flex: none; }
.journey[data-active="3"] .sent-toast { opacity: 1; transform: translate(-50%, 0) scale(1); }
.tablet-pop {
  position: absolute; width: min(270px, 48%); left: 2%; bottom: 10%; z-index: 6; padding: 7px; border-radius: 20px;
  opacity: 0; transform: translate(0, 40px) rotate(-5deg) scale(0.85);
  transition: opacity 0.5s, transform 0.8s var(--ease-out);
}
.tablet-pop .screen { border-radius: 14px; }
.tablet-pop .screen img { opacity: 1; transform: none; }
.journey[data-active="3"] .tablet-pop { opacity: 1; transform: rotate(-3deg); transition-delay: 0.35s; }
.bell { position: absolute; top: -16px; right: -14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #1a0b2e; background: var(--grad); box-shadow: 0 0 0 0 rgba(232, 121, 249, 0.6); }
.bell svg { width: 22px; height: 22px; }
.journey[data-active="3"] .bell { animation: bell-ring 1.4s ease-in-out 0.9s 2, bell-pulse 1.6s ease-out 0.9s infinite; }
@keyframes bell-ring { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(18deg); } 20% { transform: rotate(-16deg); } 30% { transform: rotate(12deg); } 40% { transform: rotate(-8deg); } 50% { transform: rotate(0); } }
@keyframes bell-pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 121, 249, 0.6); } 80%, 100% { box-shadow: 0 0 0 16px rgba(232, 121, 249, 0); } }
.receipt {
  position: absolute; left: 14%; top: 100%; width: 58%; padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 2px;
  font-size: 0.78rem; line-height: 1.5; color: #3b3355; background: #fdfcff; border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.6); clip-path: inset(0 0 100% 0); transition: clip-path 0.9s steps(8, end);
  -webkit-mask: radial-gradient(5px at 50% 100%, #0000 98%, #000) 50% / 12px 100%;
  mask: radial-gradient(5px at 50% 100%, #0000 98%, #000) 50% / 12px 100%;
}
.receipt b { color: #1a0b2e; font-size: 0.85rem; }
.journey[data-active="3"] .receipt { clip-path: inset(0 0 0 0); transition-delay: 1.4s; }
.flyer { position: absolute; z-index: 7; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #fff, #f0abfc 45%, #c084fc); box-shadow: 0 0 20px 6px rgba(240, 171, 252, 0.6); left: 50%; top: 30%; opacity: 0; pointer-events: none; }
.journey[data-active="3"] .flyer { animation: fly 0.9s cubic-bezier(0.5, 0, 0.3, 1) 0.1s both; }
@keyframes fly {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  15% { opacity: 1; transform: translate(-20px, -40px) scale(1); }
  100% { transform: translate(-150px, 170px) scale(0.5); opacity: 0; }
}

/* ---------- cashier panel ---------- */
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(30px, 5vw, 80px); align-items: center; margin-bottom: clamp(60px, 8vw, 100px); }
.panel-copy { min-width: 0; }
.tabs { display: flex; flex-direction: column; gap: 6px; }
.tab {
  position: relative; text-align: start; display: grid; grid-template-rows: auto 0fr; padding: 16px 20px; border-radius: var(--radius-md);
  border: 1px solid transparent; transition: background-color 0.35s, border-color 0.35s, grid-template-rows 0.45s var(--ease-out); overflow: hidden;
}
.tab b { color: var(--text-2); font-weight: 700; font-size: 1.2rem; line-height: 1.5; transition: color 0.3s; }
.tab span { overflow: hidden; min-height: 0; color: var(--text-2); opacity: 0; transition: opacity 0.4s; }
.tab:hover { background: rgba(167, 139, 250, 0.06); }
.tab.is-active { grid-template-rows: auto 1fr; background: rgba(167, 139, 250, 0.1); border-color: var(--line); }
.tab.is-active b { color: var(--text); }
.tab.is-active span { opacity: 1; padding-top: 4px; }
.tab-bar { position: absolute; inset: auto 0 0 0; height: 2px; background: var(--grad-flow); transform-origin: var(--start-side); transform: scaleX(0); }
.tabs.auto .tab.is-active .tab-bar { animation: tabbar 5.2s linear both; }
.tabs.paused .tab.is-active .tab-bar { animation-play-state: paused; }
@keyframes tabbar { to { transform: scaleX(1); } }
.tab-caption { display: none; }
.panel-visual { position: relative; display: grid; place-items: center; }
.panel-visual::before { content: ""; position: absolute; inset: 10% 0; background: radial-gradient(closest-side, rgba(167, 139, 250, 0.28), transparent); z-index: -1; }
.tablet-lg { width: 100%; max-width: 470px; }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr) 1.45fr; gap: 18px; }
.fact { padding: 26px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 230px; }
.fact-num {
  font-family: "Alexandria", "Readex Pro", sans-serif; font-weight: 700; font-size: clamp(64px, 7vw, 96px); line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.1em; font-variant-numeric: tabular-nums;
}
.fact p { font-size: 0.98rem; line-height: 1.7; }
.fact p b { display: block; color: var(--text); font-size: 1.12rem; font-weight: 700; margin-bottom: 4px; }
.fact-rating { display: grid; grid-template-columns: 1fr 42%; grid-template-rows: auto 1fr; gap: 14px 20px; overflow: hidden; }
.fact-rating .stars { grid-column: 1; }
.fact-rating p { grid-column: 1; }
.fact-rating img { grid-column: 2; grid-row: 1 / span 2; width: 100%; height: auto; border-radius: 16px; align-self: center; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7); transform: rotate(-2deg); }
.stars { display: flex; gap: 4px; }
.stars svg { width: 28px; height: 28px; fill: rgba(196, 181, 253, 0.18); transition: fill 0.4s, transform 0.4s var(--ease-out); }
.stars.lit svg { fill: #fbbf24; transform: scale(1.08); }
.stars.lit svg:nth-child(2) { transition-delay: 0.15s; } .stars.lit svg:nth-child(3) { transition-delay: 0.3s; }
.stars.lit svg:nth-child(4) { transition-delay: 0.45s; } .stars.lit svg:nth-child(5) { transition-delay: 0.6s; }

/* ---------- brands ---------- */
.brands { overflow: clip; --bc: #7c3aed; transition: --bc 1s ease; }
.brands[data-brand="1"] { --bc: #8a5530; }
.brands[data-brand="2"] { --bc: #e0472e; }
.brands[data-brand="3"] { --bc: #1f8a4f; }
.brands-glow { position: absolute; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(ellipse 55% 45% at 50% 62%, color-mix(in srgb, var(--bc) 42%, transparent), transparent 70%); }
.brands .sec-head { margin-inline: auto; text-align: center; }
.brands .sec-head p { margin-inline: auto; }
.fan { position: relative; height: clamp(440px, 52vw, 620px); }
.phone-fan {
  position: absolute; left: 50%; top: 50%; width: clamp(170px, 19vw, 250px);
  transform: translate(-50%, -50%) translateX(var(--x, 0)) translateY(var(--y, 0)) rotate(var(--r, 0deg)) scale(var(--s, 1));
  transition: transform 0.9s var(--ease-out), opacity 0.6s, filter 0.6s; z-index: var(--z, 1); opacity: var(--o, 1);
  filter: brightness(var(--b, 1));
}
.phone-fan .screen img { opacity: 1; transform: none; }
.phone-fan[data-pos="0"] { --x: 0%; --r: 0deg; --s: 1; --z: 4; --o: 1; --b: 1; box-shadow: inset 0 0 0 1.5px rgba(221, 214, 254, 0.2), 0 40px 90px -30px color-mix(in srgb, var(--bc) 80%, transparent); }
.phone-fan[data-pos="1"] { --x: -66%; --y: 4%; --r: -8deg; --s: 0.82; --z: 3; --b: 0.7; }
.phone-fan[data-pos="3"] { --x: 66%; --y: 4%; --r: 8deg; --s: 0.82; --z: 3; --b: 0.7; }
.phone-fan[data-pos="2"] { --x: 0%; --y: -4%; --r: 0deg; --s: 0.66; --z: 1; --o: 0.35; --b: 0.5; }
.brand-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(167, 139, 250, 0.05); color: var(--text-2); font-size: 0.95rem; transition: border-color 0.3s, background-color 0.3s, color 0.3s; }
.chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }
.chip.is-active { color: var(--text); border-color: var(--line-2); background: rgba(167, 139, 250, 0.14); }

/* ---------- course platform ---------- */
.lp { isolation: isolate; overflow: clip; }
.lp-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 50% 40% at 50% 38%, rgba(167, 139, 250, 0.13), transparent 70%); }
.lp-stage { position: relative; padding-inline-end: clamp(70px, 13vw, 170px); padding-bottom: clamp(10px, 3vw, 40px); }
.lp-teacher { position: relative; }
.browser {
  position: relative; border-radius: 18px; overflow: hidden; background: #120c24;
  box-shadow: inset 0 0 0 1.5px rgba(221, 214, 254, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.7), 0 44px 90px -36px rgba(192, 132, 252, 0.55);
}
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding-inline: 16px; background: linear-gradient(180deg, #221a40, #191231); border-bottom: 1px solid rgba(196, 181, 253, 0.12); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(196, 181, 253, 0.28); }
.browser-bar span {
  margin-inline: auto; padding: 2px 16px; border-radius: 999px; font-size: 0.78rem; line-height: 1.7; color: var(--text-2);
  background: rgba(167, 139, 250, 0.1); border: 1px solid var(--line);
}
.browser .screen { position: relative; overflow: hidden; aspect-ratio: 1200 / 760; background: #0f0a1f; }
.lp-student { position: absolute; inset-inline-end: 0; bottom: 0; width: clamp(150px, 21vw, 250px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone-lp { width: 100%; transform: rotate(-3deg); box-shadow: inset 0 0 0 1.5px rgba(221, 214, 254, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.75), 0 40px 80px -24px rgba(13, 10, 26, 0.95), 0 30px 70px -30px rgba(192, 132, 252, 0.6); }
.lp-student figcaption { font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.lp-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 6vw, 72px); }
.lp-feat { padding: 24px 24px 26px; border-radius: var(--radius-md); }
.lp-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 14px; color: #f5d0fe; background: linear-gradient(135deg, rgba(167, 139, 250, 0.28), rgba(232, 121, 249, 0.18)); border: 1px solid var(--line-2); }
.lp-ico svg { width: 24px; height: 24px; }
.lp-feat h3 { color: var(--text); font-weight: 700; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; margin-bottom: 4px; }
.lp-feat p { font-size: 0.97rem; line-height: 1.75; }

/* ---------- restaurant system ---------- */
.sol-resto { grid-template-columns: auto minmax(0, 1fr); }
.sol-resto .sol-visual { order: -1; }
.sol-resto .phone-sm { transform: rotate(4deg); }
.rs { isolation: isolate; overflow: clip; }
.rs-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 45% 40% at 78% 50%, rgba(232, 121, 249, 0.1), transparent 70%); }
.rs-layout { display: grid; grid-template-columns: clamp(200px, 24vw, 290px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rs-phone { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rs-phone figcaption { font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.rs-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }

/* ---------- WordTech ---------- */
.wordtech { isolation: isolate; overflow: clip; }
.wt-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 45% 40% at 22% 42%, rgba(167, 139, 250, 0.14), transparent 70%), radial-gradient(ellipse 40% 30% at 80% 82%, rgba(232, 121, 249, 0.09), transparent 70%);
}
.wt-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 14px; }
.wt-kicker svg { width: 38px; height: 38px; filter: drop-shadow(0 8px 18px rgba(192, 132, 252, 0.45)); }
.wt-name { font-family: "Alexandria", "Readex Pro", sans-serif; font-weight: 700; font-size: 1.3rem; line-height: 1.2; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordtech .sec-head .tags { margin: 22px 0 0; }

.wt-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.wt-steps { display: grid; gap: 14px; }
.wt-step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 20px 22px; border-radius: var(--radius-md); }
.wt-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-weight: 700; font-size: 1.15rem; color: var(--text);
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, var(--grad) border-box; border: 4px solid transparent;
}
.wt-step h3 { color: var(--text); font-weight: 700; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.4; margin: 5px 0 2px; }
.wt-step p { font-size: 0.97rem; line-height: 1.7; }

/* before → after: a photo of a book page turns into a designed exam sheet (sized in em so it scales as one piece) */
.wt-demo {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 1.4em;
  font-size: clamp(7px, 0.95vw, 10.5px); padding: 4.4em 2.6em 3.6em; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 70% at 50% 45%, rgba(167, 139, 250, 0.17), rgba(167, 139, 250, 0.02) 70%);
}
.wt-demo figure { display: flex; flex-direction: column; align-items: center; gap: 1.6em; }
.wt-demo figcaption { font-size: 0.86rem; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.wt-photo {
  position: relative; overflow: hidden; width: 16em; aspect-ratio: 3 / 4; border-radius: 0.8em; padding: 2.6em 2em 2em;
  display: flex; flex-direction: column; gap: 1.15em;
  background: linear-gradient(160deg, #ebe5d4, #d6cdb6); box-shadow: inset 0 0 0 0.9em #c9bfa5, 0 2em 4em -1.6em rgba(0, 0, 0, 0.7);
  transform: rotate(5deg);
}
.wt-pg { position: absolute; top: 1.5em; inset-inline-end: 2em; font-size: 0.95em; line-height: 1; color: #8c836d; }
.wt-photo i { display: block; height: 0.62em; border-radius: 0.4em; background: #a39a83; }
.wt-photo i:nth-of-type(2n) { width: 82%; }
.wt-photo i:nth-of-type(3n) { width: 64%; }
.wt-photo b { display: block; height: 0.4em; }
.wt-scan { position: absolute; inset-inline: 0; top: -22%; height: 20%; background: linear-gradient(180deg, transparent, rgba(232, 121, 249, 0.38), transparent); animation: wt-scan 3.2s ease-in-out infinite; }
@keyframes wt-scan { 0% { top: -22%; } 55%, 100% { top: 102%; } }
.wt-arrow { width: 6.4em; flex: none; overflow: visible; }
.wt-arrow-line { stroke-dasharray: 3 7; animation: dash 1.4s linear infinite; }
.wt-sheet {
  width: 19em; aspect-ratio: 210 / 297; border-radius: 0.7em; padding: 1.4em 1.4em 1.3em; background: #fff; color: #2a2240;
  display: flex; flex-direction: column; gap: 0.95em; line-height: 1.5;
  box-shadow: 0 2.4em 5em -1.4em rgba(192, 132, 252, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.6);
  transform: rotate(-3deg);
}
.wt-band { border-radius: 0.55em; padding: 0.85em 1em; color: #fff; background: linear-gradient(90deg, #7c3aed, #c026d3); }
.wt-band b { display: block; font-size: 1.6em; font-weight: 700; line-height: 1.3; }
.wt-band span { display: block; font-size: 0.92em; opacity: 0.88; }
.wt-field { border: 1px dashed #c4b5fd; border-radius: 0.45em; padding: 0.45em 0.8em; font-size: 0.98em; color: #6b5f8f; }
.wt-q { align-self: flex-start; padding: 0.15em 0.9em; border-radius: 99em; background: #f3e8ff; color: #7e22ce; font-weight: 700; font-size: 1.05em; }
.wt-item { font-size: 1.08em; color: #2a2240; }
.wt-line { display: block; border-top: 1px dashed #c4b5fd; }
.wt-end { margin-top: auto; align-self: center; font-size: 0.95em; font-weight: 700; color: #9333ea; }
/* the sheet builds itself line by line once it scrolls into view */
html.js .wt-sheet > * { opacity: 0; transform: translateY(0.7em); transition: opacity 0.5s ease, transform 0.6s var(--ease-out); }
html.js .wt-demo.in .wt-sheet > * { opacity: 1; transform: none; }
html.js .wt-demo.in .wt-sheet > :nth-child(1) { transition-delay: 0.5s; }
html.js .wt-demo.in .wt-sheet > :nth-child(2) { transition-delay: 0.7s; }
html.js .wt-demo.in .wt-sheet > :nth-child(3) { transition-delay: 0.9s; }
html.js .wt-demo.in .wt-sheet > :nth-child(4) { transition-delay: 1.05s; }
html.js .wt-demo.in .wt-sheet > :nth-child(5) { transition-delay: 1.2s; }
html.js .wt-demo.in .wt-sheet > :nth-child(6) { transition-delay: 1.35s; }
html.js .wt-demo.in .wt-sheet > :nth-child(7) { transition-delay: 1.6s; }

.wt-work-title { margin-top: clamp(56px, 7vw, 90px); }
.wt-work { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.wt-shot { padding: 10px; border-radius: var(--radius-md); }
.wt-shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--ink-3); }
.wt-shot figcaption { display: flex; flex-direction: column; padding: 12px 6px 4px; line-height: 1.5; }
.wt-shot b { color: var(--text); font-weight: 500; font-size: 1rem; }
.wt-shot span { color: var(--muted); font-size: 0.86rem; }

.wt-cta, .demo-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: clamp(28px, 4vw, 44px); padding: clamp(22px, 3vw, 32px) clamp(22px, 3.4vw, 40px);
  border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.12), rgba(232, 121, 249, 0.08));
}
.wt-cta p, .demo-cta p { max-width: 38em; font-size: clamp(16px, 1.4vw, 18.5px); }
.wt-cta p b, .demo-cta p b { color: var(--text); }

.demo-cta .cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- start ---------- */
.start .sec-head { margin-bottom: clamp(30px, 4vw, 50px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 33px; inset-inline: 33px calc(33.33% - 33px); height: 3px; border-radius: 3px; background: var(--grad-flow); transform-origin: var(--start-side); }
html.js .steps::before { transform: scaleX(0); transition: transform 1.4s var(--ease-out) 0.2s; }
html.js .steps.in::before { transform: scaleX(1); }
.step { position: relative; }
.node { position: relative; z-index: 1; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; margin-bottom: 22px; font-weight: 700; font-size: 1.5rem; color: var(--text); background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--grad) border-box; border: 5px solid transparent; }
.step h3 { color: var(--text); font-weight: 700; font-size: clamp(21px, 2vw, 26px); line-height: 1.4; margin-bottom: 6px; }
html.js .step { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.9s var(--ease-out); }
html.js .steps.in .step { opacity: 1; transform: none; }
html.js .steps.in .step:nth-child(2) { transition-delay: 0.45s; }
html.js .steps.in .step:nth-child(3) { transition-delay: 0.9s; }
html.js .steps .node { transform: scale(0.4); transition: transform 0.7s cubic-bezier(0.3, 1.6, 0.5, 1); }
html.js .steps.in .node { transform: none; }
html.js .steps.in .step:nth-child(2) .node { transition-delay: 0.5s; }
html.js .steps.in .step:nth-child(3) .node { transition-delay: 0.95s; }

/* ---------- final ---------- */
.final { padding-top: clamp(30px, 4vw, 60px); }
.final-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: clamp(36px, 6vw, 80px);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  background: radial-gradient(ellipse 70% 90% at 70% 20%, #2a1450, var(--ink-2) 70%);
  border: 1px solid var(--line-2);
}
.final-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: conic-gradient(from var(--a, 0deg) at 30% 110%, rgba(232, 121, 249, 0.25), rgba(167, 139, 250, 0.05), rgba(232, 121, 249, 0.25)); animation: spin 14s linear infinite; opacity: 0.8; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.net-soft { opacity: 0.55; }
.final-mark { width: 72px; height: 72px; margin-bottom: 18px; animation: hover 4s ease-in-out infinite; }
.final h2 { color: var(--text); font-weight: 700; font-size: clamp(32px, 5vw, 64px); line-height: 1.3; }
.final-copy p { margin-top: 8px; font-size: clamp(16px, 1.5vw, 20px); }
.final-number {
  display: inline-block; margin: 22px 0 26px; font-family: "Alexandria", sans-serif; font-weight: 700; letter-spacing: 0.06em;
  font-size: clamp(30px, 5.4vw, 64px); line-height: 1.2; direction: ltr;
  background: linear-gradient(90deg, #a78bfa, #e879f9, #a78bfa); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 5s linear infinite;
}
.final-copy .btn { display: flex; width: fit-content; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.qr img { width: 190px; height: 190px; padding: 14px; border-radius: 22px; background: #ede9fe; box-shadow: 0 24px 50px -20px rgba(232, 121, 249, 0.6); }
.qr figcaption { font-size: 0.9rem; color: var(--text-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 110px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.brand-stack { display: flex; flex-direction: column; line-height: 1; }
.brand-en { font-family: "Alexandria", sans-serif; font-weight: 700; font-size: 0.62rem; letter-spacing: 0.45em; color: var(--text-2); direction: ltr; margin-top: 2px; }
.foot-tag { color: var(--text); }
.foot-meta { margin-inline-start: auto; font-size: 0.9rem; color: var(--muted); }

/* ---------- facebook / instagram ---------- */
.socials { display: flex; align-items: center; gap: 10px; }
.final-socials { margin-top: 18px; color: var(--text-2); font-size: 0.95rem; }
.social {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--text);
  border: 1px solid var(--line-2); background: rgba(167, 139, 250, 0.06);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
}
.social svg { width: 20px; height: 20px; }
.social:hover { color: #fff; border-color: transparent; background: var(--grad); transform: translateY(-2px); }
.social:focus-visible { outline: 2px solid #e879f9; outline-offset: 3px; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; z-index: 55; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--wa);
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.65);
  animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) 2.2s both;
  transition: transform 0.3s var(--ease-out);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-ring 2.4s ease-out 3s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

