/* BossDesk website: flat illustration look from the video, deep green + gold, white stage */
:root {
  --green: #0E5E4A; --green-2: #0b4b3b; --green-soft: #e3f4ec; --mint: #f3faf6;
  --gold: #E0A91B; --gold-2: #f2c94c; --red: #c8372a; --blue: #2e6bb0; --purple: #7a5ad8;
  --ink: #16241F; --muted: #5b6f67; --line: rgba(14, 94, 74, .12); --wa: #25D366;
  --card: #fff; --shadow: 0 18px 40px rgba(14, 60, 46, .12); --r: 28px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Figtree", "Noto Sans Sinhala", system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="si"] body { font-family: "Noto Sans Sinhala", "Figtree", system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* language: every text has an en and a si version */
html[lang="si"] .en, html[lang="en"] .si { display: none !important; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
section { position: relative; padding: 110px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--gold); }
h1, h2, h3 { line-height: 1.15; font-weight: 900; letter-spacing: -.01em; }
html[lang="si"] h1, html[lang="si"] h2, html[lang="si"] h3 { line-height: 1.35; letter-spacing: 0; }
h2 { font-size: clamp(32px, 4.6vw, 54px); margin: 14px 0 18px; }
h2 .g, h1 .g { color: var(--green); } h2 .r, h1 .r { color: var(--red); } h2 .y, h1 .y { color: #c08d0f; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 680px; }
.center { text-align: center; } .center .lead { margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 28px; border-radius: 999px; font-weight: 800; font-size: 17px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.wa { background: var(--wa); color: #fff; box-shadow: 0 14px 30px rgba(37, 211, 102, .35); }
.btn.wa:hover { box-shadow: 0 18px 38px rgba(37, 211, 102, .45); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line), 0 8px 20px rgba(14, 60, 46, .06); }
.btn.dark { background: var(--ink); color: #fff; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.solid { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 22px; font-family: "Figtree", sans-serif; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand b { color: var(--green); }
.nav .links { display: flex; gap: 26px; margin-left: 30px; font-weight: 700; font-size: 15px; color: var(--muted); }
.nav .links a:hover { color: var(--green); }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: var(--mint); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.lang button { padding: 7px 13px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--muted); }
.lang button.on { background: var(--green); color: #fff; }
.nav .btn { padding: 11px 18px; font-size: 15px; }

/* hero */
.hero { min-height: 100vh; padding: 130px 0 70px; display: flex; align-items: center; overflow: hidden; background: radial-gradient(70% 60% at 85% 35%, #e3f4ec 0%, rgba(227, 244, 236, 0) 70%), radial-gradient(50% 50% at 10% 90%, #fdf1d8 0%, rgba(253, 241, 216, 0) 70%), #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 74px); margin: 18px 0 22px; }
html[lang="si"] .hero h1 { font-size: clamp(34px, 4.6vw, 60px); }
.hero .lead { margin-bottom: 32px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .note { margin-top: 18px; font-size: 15px; color: var(--muted); font-weight: 600; }
.hero .note b { color: var(--green); }
.stage3d { position: relative; height: min(720px, 78vh); }
.stage3d canvas { position: absolute; left: -22%; top: -6%; width: 144% !important; height: 112% !important; }
.stage3d .fallback { position: absolute; left: 50%; top: 50%; width: 300px; transform: translate(-50%, -50%) rotate(-6deg); border-radius: 40px; border: 12px solid var(--ink); box-shadow: var(--shadow); }
.stage3d.ready .fallback { display: none; }
.hero .who { position: absolute; bottom: 0; height: 46%; z-index: 2; pointer-events: none; }
.hero .who.l { left: -4%; } .hero .who.r { right: -2%; }
.hero .who img { height: 100%; width: auto; filter: drop-shadow(0 14px 18px rgba(14, 60, 46, .18)); }
.blob { position: absolute; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; z-index: -1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 6px 16px rgba(14, 60, 46, .08), inset 0 0 0 1px var(--line); }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

/* marquee strip */
.strip { padding: 22px 0; background: var(--ink); color: #fff; overflow: hidden; }
.strip .row { display: flex; gap: 46px; width: max-content; animation: slide 38s linear infinite; font-weight: 800; font-size: 20px; }
.strip span { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.strip span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* pain */
.pain { background: var(--mint); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.pcard { position: relative; background: #fff; border-radius: var(--r); padding: 30px 28px 0; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .25s; }
.pcard .tag { align-self: flex-start; padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff; background: var(--red); }
.pcard h3 { font-size: 26px; margin: 16px 0 10px; }
.pcard p { color: var(--muted); font-size: 16px; }
.pcard .fix { margin-top: 16px; padding: 12px 16px; border-radius: 16px; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 15px; }
.pcard .art { margin-top: 18px; height: 230px; display: flex; justify-content: center; align-items: flex-end; position: relative; }
.pcard .art::before { content: ""; position: absolute; bottom: -40px; width: 230px; height: 120px; border-radius: 50%; background: var(--green-soft); }
.pcard .art img { position: relative; height: 100%; width: auto; }

/* video */
.vid { background: #fff; }
.vid .wrap { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; }
.vframe { position: relative; border-radius: 34px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px rgba(14, 60, 46, .22); aspect-ratio: 9 / 16; }
.vframe video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vframe .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45)); transition: opacity .3s; }
.vframe .play span { width: 96px; height: 96px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2s infinite; }
.vframe .play svg { width: 38px; height: 38px; margin-left: 6px; }
.vframe.playing .play { opacity: 0; pointer-events: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.ticks { list-style: none; margin: 26px 0 30px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; font-size: 18px; }
.ticks li::before { content: "✓"; flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 16px; }

/* story: sticky phone */
.story { background: linear-gradient(180deg, #fff, var(--mint)); }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.story .sticky { position: sticky; top: 110px; height: calc(100vh - 140px); display: flex; align-items: center; justify-content: center; }
.sphone { position: relative; width: min(330px, 80%); aspect-ratio: 1170 / 2532; padding: 12px; border-radius: 50px; background: var(--ink); box-shadow: 0 34px 70px rgba(14, 94, 74, .25); }
.sphone .scr { position: relative; width: 100%; height: 100%; border-radius: 39px; overflow: hidden; background: #fff; }
.sphone .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s; }
.sphone .scr img.on { opacity: 1; }
.sphone .float { position: absolute; z-index: 3; }
.toast { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 12px 18px 12px 12px; box-shadow: 0 16px 34px rgba(14, 60, 46, .2); font-weight: 800; font-size: 15px; white-space: nowrap; }
.toast .ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); flex: none; }
.toast .ic svg { width: 24px; height: 24px; }
.toast small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.toast.red .ic { background: var(--red); }
.steps { display: flex; flex-direction: column; }
.step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .4s; }
.step.on { opacity: 1; }
.step .num { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 900; font-size: 22px; margin-bottom: 18px; }
.step h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 18px; max-width: 470px; }
.step .who { height: 190px; margin-top: 24px; }
.step .who img { height: 100%; width: auto; }

/* calculator */
.calc { background: var(--ink); color: #fff; overflow: hidden; }
.calc h2 { color: #fff; } .calc .lead { color: #b9c9c2; }
.calc .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.calc .box { background: #1f332c; border-radius: 30px; padding: 34px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.field { margin-bottom: 26px; }
.field label { display: flex; justify-content: space-between; font-weight: 700; font-size: 16px; margin-bottom: 10px; color: #d9e6e0; gap: 14px; }
.field label b { color: var(--gold); font-size: 20px; white-space: nowrap; }
input[type=range] { width: 100%; accent-color: var(--gold); height: 6px; }
.result { margin-top: 10px; padding-top: 24px; border-top: 1px dashed rgba(255, 255, 255, .18); }
.result small { color: #b9c9c2; font-weight: 700; }
.result .big { font-size: clamp(44px, 6vw, 72px); font-weight: 900; color: #ff6b5c; line-height: 1.1; font-family: "Figtree", sans-serif; }
.result p { color: #b9c9c2; font-size: 15px; margin-top: 8px; }
.calc .side { position: relative; text-align: center; }
.calc .side img { height: 420px; width: auto; margin: 0 auto; }
.coin3 { position: absolute; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe08a, var(--gold) 55%, #a97a0b); display: grid; place-items: center; font-weight: 900; color: #6b4b00; font-size: 20px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3), inset 0 -4px 0 rgba(0, 0, 0, .15); }

/* setup */
.setup .wrap { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: center; }
.setup .art { position: relative; display: flex; justify-content: center; }
.setup .art img { height: 520px; width: auto; position: relative; }
.setup .art .blob { width: 420px; height: 420px; background: var(--green-soft); bottom: 0; }
.list4 { display: grid; gap: 16px; margin-top: 30px; }
.li { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: 22px; padding: 18px 22px; box-shadow: var(--shadow); font-weight: 700; font-size: 17px; }
.li b { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 900; }
.li span small { display: block; color: var(--muted); font-weight: 600; font-size: 14px; }

/* packages */
.pk { background: var(--mint); }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; align-items: stretch; }
.pkg { position: relative; background: #fff; border-radius: 30px; padding: 34px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pkg.best { box-shadow: 0 0 0 4px var(--green), 0 30px 60px rgba(14, 94, 74, .22); transform: translateY(-14px); }
.pkg .badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); padding: 7px 16px; border-radius: 999px; background: var(--green); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.pkg small.tier { font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pkg h3 { font-size: 32px; margin: 6px 0 8px; font-family: "Figtree", sans-serif; }
.pkg.best h3 { color: var(--green); }
.pkg .promise { font-weight: 700; color: var(--ink); min-height: 52px; }
.pkg .price { margin: 22px 0 6px; font-weight: 900; font-size: 42px; font-family: "Figtree", sans-serif; }
.pkg .price small { font-size: 16px; color: var(--muted); font-weight: 700; }
.pkg .lock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: #8a6300; background: #fdf1d8; padding: 6px 12px; border-radius: 999px; align-self: flex-start; }
.pkg ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 11px; flex: 1; }
.pkg li { display: flex; gap: 10px; font-size: 15px; font-weight: 600; }
.pkg li::before { content: "✓"; color: var(--green); font-weight: 900; }
.pkg .btn { width: 100%; }
.yearly { margin-top: 26px; text-align: center; font-weight: 700; color: var(--muted); }

/* offer */
.offer { background: linear-gradient(160deg, var(--green) 0%, var(--green-2) 100%); color: #fff; overflow: hidden; }
.offer h2 { color: #fff; } .offer .lead { color: #cfe3dc; }
.offer .kicker { color: var(--gold-2); }
.offer .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.seats { display: flex; gap: 12px; margin: 26px 0 8px; }
.seat { width: 60px; height: 72px; border-radius: 16px; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 30px; box-shadow: 0 10px 20px rgba(0, 0, 0, .2); }
.seats + small { color: #cfe3dc; font-weight: 700; }
.ofcard { background: #fff; color: var(--ink); border-radius: 30px; padding: 32px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.orow { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.orow:last-of-type { border: 0; }
.orow s { color: var(--muted); font-weight: 700; }
.orow .free { background: var(--green); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.promises { display: grid; gap: 14px; margin-top: 30px; }
.prom { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, .08); border-radius: 20px; padding: 18px 20px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.prom .sh { flex: none; width: 46px; height: 46px; }
.prom b { display: block; font-size: 18px; margin-bottom: 2px; }
.prom span { color: #cfe3dc; font-size: 15px; }

/* proof */
.proof .shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; }
.shot { background: #fff; border-radius: 26px; padding: 10px; box-shadow: var(--shadow); }
.shot img { border-radius: 18px; aspect-ratio: 9 / 15; object-fit: cover; object-position: top; width: 100%; }
.shot p { padding: 12px 6px 4px; font-weight: 700; font-size: 14px; text-align: center; }
.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; }
.slot { border: 2px dashed var(--line); border-radius: 22px; padding: 22px 12px; text-align: center; color: var(--muted); font-weight: 700; font-size: 14px; }
.slot b { display: block; font-size: 28px; color: var(--green); }

/* founder */
.founder .wrap { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.founder .photo { position: relative; }
.founder .photo img { border-radius: 34px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.founder .photo .stk { position: absolute; right: -40px; bottom: -20px; height: 260px; }
.founder .photo .stk img { height: 100%; width: auto; aspect-ratio: auto; box-shadow: none; border-radius: 0; }
.founder blockquote { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.5; margin: 18px 0; }
.founder .sig { font-weight: 800; color: var(--green); }

/* faq */
.faq { background: var(--mint); }
.qs { max-width: 820px; margin: 40px auto 0; display: grid; gap: 14px; }
details { background: #fff; border-radius: 22px; padding: 4px 26px; box-shadow: 0 8px 22px rgba(14, 60, 46, .07); }
summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; gap: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 22px; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 22px; color: var(--muted); font-size: 16px; }

/* final */
.final { text-align: center; overflow: hidden; background: radial-gradient(60% 70% at 50% 100%, #e3f4ec, #fff 70%); }
.final h2 { font-size: clamp(36px, 5.4vw, 64px); }
.final .crowd { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-top: 50px; height: 300px; }
.final .crowd img { height: 100%; width: auto; margin: 0 -14px; }
.final .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
footer { background: var(--ink); color: #b9c9c2; padding: 50px 0 110px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
footer .brand { color: #fff; }
footer a:hover { color: #fff; }
footer .cols { display: flex; flex-wrap: wrap; gap: 26px; font-weight: 700; }

/* floating WhatsApp (phones) */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: none; }
.fab .btn { box-shadow: 0 14px 30px rgba(37, 211, 102, .45); }

/* reveal */
.rv { opacity: 0; transform: translateY(40px); }

/* responsive */
@media (max-width: 980px) {
  section { padding: 80px 0; }
  .nav .links { display: none; }
  .hero { padding-top: 100px; min-height: auto; }
  .hero .wrap, .vid .wrap, .story .wrap, .calc .wrap, .setup .wrap, .offer .wrap, .founder .wrap { grid-template-columns: 1fr; }
  .stage3d { height: 470px; order: -1; margin-top: -10px; }
  .cards3, .pkgs { grid-template-columns: 1fr; }
  .pkg.best { transform: none; }
  .vid .vframe { max-width: 360px; margin: 0 auto; }
  .story .sticky { top: 76px; height: 46vh; z-index: 2; background: linear-gradient(180deg, #fff 80%, rgba(255,255,255,0)); }
  .sphone { width: auto; height: 92%; }
  .step { min-height: 60vh; }
  .step .who { display: none; }
  .calc .side { display: none; }
  .setup .art img { height: 380px; }
  .setup .art .blob { width: 320px; height: 320px; }
  .proof .shots { grid-template-columns: repeat(2, 1fr); }
  .slots { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .slot { padding: 14px 4px; font-size: 11px; }
  .founder .photo { max-width: 300px; margin: 0 auto; }
  .founder .photo .stk { height: 200px; right: -30px; }
  .final .crowd { height: 190px; }
  .final .crowd img { margin: 0 -10px; }
  .fab { display: block; }
  .nav .right .btn { display: none; }
  .hero .who { height: 34%; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 38px; }
  html[lang="si"] .hero h1 { font-size: 31px; }
  .btn { padding: 15px 22px; font-size: 16px; white-space: normal; text-align: center; }
  .hero .ctas .btn { width: 100%; }
  .brand { font-size: 19px; } .brand img { width: 36px; height: 36px; }
  .lang button { padding: 6px 10px; font-size: 13px; }
  .stage3d { height: 400px; }
  .field label { font-size: 15px; }
  .calc .box { padding: 24px; }
  .seat { width: 48px; height: 58px; font-size: 24px; }
  .final .crowd { height: 150px; }
  .summary, summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .strip .row { animation: none; } .rv { opacity: 1; transform: none; } }
