:root{--bg:#FFFFFF;--surface:#F1F4F9;--surface2:#F7F9FC;--surface3:#EBF0F6;--border:#E0E6EF;--text:#0E1A2E;--muted:#56667E;--primary:#1E66F5;--primary-h:#1553D6;--primary-soft:#E6EEFF;--primary-ink:#1048C2;--navy:#0A1C3A;--navy2:#132A50;--navy-ink:#B4C4E0;--ok:#0E7A54;--ok-soft:#E0F4EB;--vio:#5A43C8;--vio-soft:#EEEAFC;--card:#FFFFFF;--accent:#FFC629;--accent-ink:#5C4200;--accent-soft:#FFF6DB;--shadow:0 30px 80px rgba(10,28,58,.14);--gutter:28px}
[data-theme="dark"]{--bg:#0A101C;--surface:#111A2B;--surface2:#152034;--surface3:#1C2942;--border:#25344F;--text:#E7EDF7;--muted:#9CABC3;--primary:#3D7DFF;--primary-h:#5A92FF;--primary-soft:#172C55;--primary-ink:#A3C2FF;--navy:#071328;--navy2:#0F2140;--navy-ink:#A9B9D6;--ok:#45C292;--ok-soft:#0F2D22;--vio:#AB9BFF;--vio-soft:#261F4B;--card:#152034;--accent:#FFC629;--accent-ink:#FFD866;--accent-soft:#2E2612;--shadow:0 30px 80px rgba(0,0,0,.5)}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased}
button{font-family:inherit;cursor:pointer}
a{color:var(--primary);text-decoration:none}
a:hover{color:var(--primary-h)}
section[id]{scroll-margin-top:16px}

/* Layout */
.wrap{max-width:1240px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.section{padding-bottom:120px}
.stack{display:flex;flex-direction:column;gap:48px}
.title{margin:0;font-size:clamp(34px,4.6vw,60px);line-height:1.05;letter-spacing:-.03em;font-weight:800;text-wrap:balance}

/* Header */
.site-header{max-width:1240px;margin:0 auto;padding:20px var(--gutter);display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center}
.logo{display:block;width:auto;height:28px}
.logo-white{display:none}
[data-theme="dark"] .logo-blue{display:none}
[data-theme="dark"] .logo-white{display:block}
.site-nav{display:flex;gap:26px;font-size:15px;font-weight:600;flex-wrap:wrap}
.site-nav a{color:var(--text)}
.site-nav a:hover{color:var(--primary)}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:16px}
.theme-toggle{width:38px;height:44px;border-radius:99px;border:0;background:transparent;color:var(--text);display:grid;place-items:center;padding:0}
.icon-sun{display:none}
[data-theme="dark"] .icon-sun{display:block}
[data-theme="dark"] .icon-moon{display:none}
.signin{color:var(--text);font-weight:600;font-size:15px;white-space:nowrap}
.signin:hover{color:var(--primary)}
.btn-header{height:44px;padding:0 20px;border-radius:99px;background:var(--text);color:var(--bg);font-weight:700;font-size:15px;display:flex;align-items:center;white-space:nowrap}
.btn-header:hover{color:var(--bg);opacity:.88}

/* Hero */
.hero{padding-top:clamp(48px,9vw,120px);padding-bottom:56px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:26px}
.offer-pill{display:flex;align-items:center;gap:10px;padding:6px 16px 6px 6px;border-radius:99px;background:var(--accent-soft);color:var(--text);font-size:14px;font-weight:600}
.offer-pill:hover{color:var(--text)}
.offer-tag{padding:4px 10px;border-radius:99px;background:var(--accent);color:#3D2C00;font-weight:800;font-size:12.5px;white-space:nowrap}
h1{margin:0;font-size:clamp(44px,6.4vw,86px);line-height:1;letter-spacing:-.04em;font-weight:800;max-width:1184px;text-wrap:balance}
.hero-sub{margin:0;font-size:clamp(18px,1.8vw,21px);color:var(--muted);max-width:600px;text-wrap:pretty}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.btn{height:56px;border-radius:99px;font-weight:700;font-size:17px;display:flex;align-items:center}
.btn-primary{padding:0 30px;background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-h);color:#fff}
.btn-outline{padding:0 28px;border:1.5px solid var(--border);color:var(--text)}
.btn-outline:hover{color:var(--text);border-color:var(--text)}
.btn-white{padding:0 32px;background:#fff;color:#1048C2;font-weight:800;margin-top:6px}
.btn-white:hover{color:#0A1C3A}

/* Dashboard stage */
.stage{background:var(--navy);border-radius:36px;padding:clamp(24px,5vw,64px) clamp(16px,5vw,64px) 0;overflow:hidden}
.stage-app{background:var(--card);border-radius:20px 20px 0 0;box-shadow:var(--shadow);display:flex;min-height:360px;overflow:hidden}
.stage-rail{width:60px;flex:none;background:var(--navy2);display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 0}
.rail-logo{width:28px;height:28px;border-radius:8px;background:var(--primary)}
.rail-line{width:28px;height:6px;border-radius:9px;background:rgba(255,255,255,.18)}
.rail-first{margin-top:12px}
.stage-body{flex:1;min-width:0;padding:clamp(18px,3vw,32px);display:flex;flex-direction:column;gap:22px;text-align:left}
.stage-label{font-size:14px;color:var(--muted);font-weight:600}
.stage-value{font-size:clamp(30px,4vw,44px);font-weight:800;letter-spacing:-.02em}
.stage-bars{flex:1;min-height:150px;display:flex;align-items:flex-end;gap:clamp(4px,1vw,10px)}
.stage-bars i{flex:1;background:var(--primary-soft);border-radius:8px 8px 3px 3px}
.stage-bars .bar-mid{background:var(--primary)}
.stage-bars .bar-top{background:var(--accent)}

/* Products */
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}
.product{background:var(--surface);color:var(--text);border-radius:28px;padding:32px;display:flex;flex-direction:column;gap:14px;min-height:340px;transition:transform .15s ease}
.product:hover{color:var(--text);transform:translateY(-3px)}
.product-kicker{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--primary-ink)}
.product-name{font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.product-desc{font-size:17px;color:var(--muted);text-wrap:pretty;max-width:340px}
.product-more{margin-top:auto;font-weight:700;font-size:16px}
.product-navy{background:var(--navy);color:#fff}
.product-navy:hover{color:#fff}
.product-navy .product-kicker{color:var(--accent)}
.product-navy .product-desc{color:var(--navy-ink)}

/* Benefits */
.benefit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:40px 32px}
.benefit{display:flex;flex-direction:column;gap:10px;padding-top:20px;border-top:2px solid var(--text)}
.benefit-first{border-top-color:var(--accent)}
.benefit h3{margin:0;font-size:22px;font-weight:800;letter-spacing:-.01em;line-height:1.2}
.benefit p{margin:0;font-size:16.5px;color:var(--muted);text-wrap:pretty}
.anim{width:68px;height:68px;border-radius:20px;background:var(--surface);position:relative;overflow:hidden;display:grid;place-items:center;margin-bottom:6px}

/* Benefit animations */
@keyframes lpBar{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
@keyframes lpDraw{0%{stroke-dashoffset:24;opacity:1}40%,80%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes lpPop{0%,100%{transform:scale(.9)}45%{transform:scale(1.08)}}
@keyframes lpDrain{0%{height:85%;background:#1E66F5}55%{height:16%;background:#1E66F5}65%{height:16%;background:#FFC629}100%{height:85%;background:#1E66F5}}
@keyframes lpSweep{0%,100%{transform:translate(-11px,2px) rotate(-12deg)}50%{transform:translate(11px,-2px) rotate(12deg)}}
@keyframes lpBlink{0%,40%,100%{opacity:.25}50%,60%{opacity:1}}
@keyframes lpPing{0%{transform:scale(.4);opacity:.9}100%{transform:scale(2.6);opacity:0}}
@keyframes lpSpin{to{transform:rotate(360deg)}}
@keyframes lpDrop{0%{transform:translateY(-44px);opacity:0}25%{transform:translateY(0);opacity:1}35%{transform:translateY(-4px)}45%{transform:translateY(0)}85%{opacity:1}100%{opacity:0}}
@keyframes lpFlip{0%,100%{transform:rotateY(0)}50%{transform:rotateY(180deg)}}

.a-bars{display:flex;align-items:flex-end;gap:5px;height:36px}
.a-bars i{width:9px;height:36px;border-radius:3px;background:var(--primary);transform-origin:bottom;animation:lpBar 1.4s ease-in-out infinite}
.a-bars i:nth-child(2){background:var(--accent)}

.a-pop{animation:lpPop 2s ease-in-out infinite;line-height:0}
.a-check{animation:lpDraw 2s ease-in-out infinite}

.a-tank{width:24px;height:40px;border-radius:7px;border:2.5px solid var(--text);position:relative;overflow:hidden}
.a-tank i{position:absolute;left:2px;right:2px;bottom:2px;height:85%;background:#1E66F5;border-radius:3px;animation:lpDrain 3.2s ease-in-out infinite}

.a-scan{position:relative;width:48px;height:40px}
.a-scan>i{position:absolute;top:18px;width:6px;height:6px;border-radius:99px;background:var(--muted);animation:lpBlink 2.4s ease-in-out infinite}
.a-scan>.dot-accent{background:var(--accent)}
.a-lens{position:absolute;left:12px;top:6px;animation:lpSweep 2.4s ease-in-out infinite}
.a-lens b{display:block;width:20px;height:20px;border-radius:99px;border:3.5px solid var(--primary)}
.a-lens u{position:absolute;width:4px;height:11px;border-radius:3px;background:var(--primary);left:17px;top:16px;transform:rotate(-45deg)}

.a-phone{width:28px;height:44px;border-radius:7px;border:2.5px solid var(--text);position:relative;display:grid;place-items:center}
.a-phone i{position:absolute;width:10px;height:10px;border-radius:99px;border:2px solid var(--primary);animation:lpPing 1.8s ease-out infinite}
.a-phone .ring-accent{border-color:var(--accent)}
.a-phone b{width:8px;height:8px;border-radius:99px;background:var(--primary)}

.a-clock{width:40px;height:40px;border-radius:99px;border:3px solid var(--text);position:relative}
.a-clock i{position:absolute;left:50%;top:50%;width:3px;height:14px;margin-left:-1.5px;margin-top:-14px;border-radius:3px;background:var(--primary);transform-origin:50% 100%;animation:lpSpin 1.6s linear infinite}
.a-clock .hand-short{height:9px;margin-top:-9px;background:var(--accent);animation-duration:9.6s}
.a-clock b{position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px;border-radius:99px;background:var(--text)}

.a-coins{position:relative;width:36px;height:46px}
.a-coins i{position:absolute;left:3px;width:30px;height:10px;border-radius:50%;background:var(--accent);border:2px solid #C99400;opacity:0;animation:lpDrop 2.6s ease-out infinite}

.a-flip-wrap{perspective:120px}
.a-flip{width:40px;height:40px;border-radius:12px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:800;font-size:22px;animation:lpFlip 2.8s ease-in-out infinite}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
  .a-coins i{opacity:1}
}

/* Made for Sri Lanka */
.local{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:48px;align-items:center}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chips span{font-size:17px;font-weight:700;padding:14px 22px;border-radius:99px;background:var(--surface)}

/* Pricing */
.pricing{background:var(--primary);color:#fff;border-radius:36px;padding:clamp(40px,7vw,88px) clamp(24px,6vw,80px);display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px}
.pricing-tag{padding:6px 14px;border-radius:99px;background:var(--accent);color:#3D2C00;font-weight:800;font-size:13.5px}
.pricing h2{margin:0;font-size:clamp(34px,5vw,64px);line-height:1.02;letter-spacing:-.03em;font-weight:800;max-width:800px;text-wrap:balance}
.price{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;justify-content:center}
.price-old{font-size:22px;font-weight:700;color:#BFD3FF;text-decoration:line-through;text-decoration-thickness:2px}
.price-new{font-size:clamp(44px,6vw,72px);font-weight:800;letter-spacing:-.03em;line-height:1}
.price-per{font-size:18px;color:#DCE7FF;font-weight:600}
.pricing-note{margin:0;font-size:18px;color:#DCE7FF;max-width:560px;text-wrap:pretty}
.calc{display:flex;align-items:center;gap:16px;padding:10px 10px 10px 22px;border-radius:99px;background:rgba(255,255,255,.12);flex-wrap:wrap;justify-content:center}
.calc-label{font-weight:700}
.stepper{display:flex;align-items:center;gap:4px}
.stepper button{width:44px;height:44px;border-radius:99px;border:0;background:rgba(255,255,255,.18);color:#fff;font-size:20px}
.stepper button:hover{background:rgba(255,255,255,.28)}
.stepper output{width:44px;text-align:center;font-weight:800;font-size:18px;font-variant-numeric:tabular-nums}
.calc-total{padding:10px 18px;border-radius:99px;background:#fff;color:#0A1C3A;font-weight:800;font-variant-numeric:tabular-nums}
.pricing-small{font-size:13.5px;color:#BFD3FF}

/* FAQ */
.faq{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:48px;align-items:start}
.faq-intro{display:flex;flex-direction:column;gap:14px}
.faq-intro p{margin:0;color:var(--muted);font-size:17px;max-width:360px}
.faq-intro a{font-weight:700}
.faq-list{display:flex;flex-direction:column}
.faq-list details{border-bottom:1px solid var(--border)}
.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0;color:var(--text);font-size:18px;font-weight:700;cursor:pointer;list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";width:32px;height:32px;border-radius:99px;background:var(--surface);color:var(--text);display:grid;place-items:center;font-size:20px;font-weight:600;flex:none}
.faq-list details[open] summary::after{content:"−";background:var(--accent);color:#3D2C00}
.faq-list details p{margin:0;padding:0 48px 22px 0;color:var(--muted);font-size:16.5px;text-wrap:pretty}

/* Footer */
.site-footer{max-width:1240px;margin:0 auto;padding:28px var(--gutter);display:flex;gap:20px;flex-wrap:wrap;align-items:center;font-size:14px;color:var(--muted);border-top:1px solid var(--border)}
.footer-name .logo{height:20px}
.footer-links{margin-left:auto;display:flex;flex-wrap:wrap;gap:4px 20px}
.footer-links a{color:var(--muted)}
.footer-links a:hover{color:var(--text)}
.footer-social{display:flex;gap:4px}
.footer-social a{width:44px;height:44px;display:grid;place-items:center;border-radius:99px;color:var(--muted)}
.footer-social a:hover{color:var(--text);background:var(--surface)}

:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.pricing :focus-visible{outline-color:#fff}

/* Phone: the nav takes its own row and the header tightens up */
@media (max-width:860px){
  .site-header{flex-wrap:wrap;gap:12px 16px}
  .site-nav{order:3;width:100%;gap:16px}
  .site-nav a{padding:6px 0}
}
@media (max-width:640px){
  :root{--gutter:20px}
  .section{padding-bottom:80px}
  .stack{gap:32px}
  .stage,.pricing{border-radius:28px}
  .stage-app{min-height:300px}
  .stage-rail{width:44px}
  .rail-logo{width:22px;height:22px}
  .rail-line{width:22px}
  .calc{border-radius:28px;padding:14px}
  .faq-list details p{padding-right:0}
}
@media (max-width:420px){
  :root{--gutter:16px}
  .brand .logo{height:23px}
  .header-actions{gap:8px}
  .signin{font-size:14px}
  .btn-header{padding:0 13px;font-size:14px}
  .site-nav{gap:14px;font-size:14.5px}
  .offer-pill{font-size:13px;text-align:left}
}
@media (max-width:345px){
  .theme-toggle{display:none}
}

/* Comfortable tap targets on touch screens */
@media (max-width:860px){
  .brand,.signin{min-height:44px}
  .signin{display:flex;align-items:center}
  .site-nav a{padding:10px 0}
  .footer-links{margin-left:0;width:100%}
  .footer-links a{padding:12px 0}
  .footer-social{margin-left:-12px}
}
@media (max-width:420px){
  .site-header{column-gap:6px}
  .header-actions{gap:6px}
  .theme-toggle{width:34px}
  .btn-header{padding:0 12px}
}
@media (max-width:370px){
  .brand .logo{height:20px}
}

/* Terms, privacy and refunds */
.legal{max-width:760px;padding-top:clamp(32px,6vw,72px);padding-bottom:96px}
.legal-back{display:inline-block;font-size:15px;font-weight:600;padding:10px 0;margin-bottom:12px}
.legal h1{font-size:clamp(38px,5.4vw,60px);line-height:1.05;letter-spacing:-.03em}
.legal-date{margin:14px 0 36px;font-size:15px;color:var(--muted)}
.legal h2{margin:40px 0 12px;font-size:24px;font-weight:800;letter-spacing:-.01em;line-height:1.25}
.legal p,.legal li{font-size:17px;line-height:1.65;color:var(--muted);text-wrap:pretty}
.legal p{margin:0 0 14px}
.legal strong{color:var(--text);font-weight:700}
.legal ul{margin:0 0 14px;padding-left:22px}
.legal li{margin-bottom:8px}
.legal a{font-weight:600}
