/* SaferWebs — site styles */
:root {
  --navy-950: #040a1c;
  --navy-900: #071230;
  --navy-800: #0a1a3a;
  --navy-700: #12295c;
  --green: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-50: #ecfdf3;
  --ink: #0b1324;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6eaf2;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --on-dark: #e2e8f0;
  --on-dark-2: #a9b4c8;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(11, 19, 36, .05), 0 14px 36px -14px rgba(11, 19, 36, .16);
  --shadow-lg: 0 30px 70px -28px rgba(4, 10, 28, .45);
  --f-body: "Inter", "Noto Sans Sinhala", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-head: "Plus Jakarta Sans", "Noto Sans Sinhala", "Noto Sans Tamil", "Inter", system-ui, sans-serif;
  --wrap: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; }
:lang(si) h1, :lang(si) h2, :lang(si) h3, :lang(si) h4, :lang(si) .btn,
:lang(ta) h1, :lang(ta) h2, :lang(ta) h3, :lang(ta) h4, :lang(ta) .btn { letter-spacing: 0; line-height: 1.35; }
:lang(si) body, :lang(ta) body { line-height: 1.75; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: #04120a; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 13px 22px; font-weight: 700; font-size: 16px; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; white-space: nowrap; text-align: center; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-green { background: var(--green); color: #04120a; box-shadow: 0 10px 30px -10px rgba(34, 197, 94, .7); }
.btn-green:hover { background: #2fd96b; box-shadow: 0 14px 36px -10px rgba(34, 197, 94, .85); transform: translateY(-1px); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-sm svg { width: 17px; height: 17px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; white-space: normal; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: rgba(7, 18, 48, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); color: #fff; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(7, 18, 48, .94); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: #fff; }
.logo svg { width: 30px; height: 34px; }
.logo-word .g { color: var(--green); }
.primary ul { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.primary a { color: var(--on-dark-2); transition: color .15s; }
.primary a:hover { color: #fff; }
.bar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .14); }
.lang-btn:hover { background: rgba(255, 255, 255, .08); }
.lang-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; color: var(--ink); border-radius: 16px; padding: 8px; min-width: 170px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.lang-menu a:hover { background: var(--bg-alt); }
.lang-menu a[aria-current] { background: var(--green-50); color: var(--green-700); font-weight: 700; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; padding: calc(var(--header-h) + 64px) 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(34, 197, 94, .20), transparent 60%),
    radial-gradient(800px 600px at 92% 30%, rgba(56, 132, 255, .22), transparent 60%),
    radial-gradient(600px 400px at 60% 110%, rgba(34, 197, 94, .12), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .25); padding: 7px 14px; border-radius: 999px; }
:lang(si) .eyebrow, :lang(ta) .eyebrow { letter-spacing: .02em; text-transform: none; }
.hero h1 { font-size: clamp(42px, 5.8vw, 76px); margin: 22px 0 20px; }
:lang(si) .hero h1 { font-size: clamp(36px, 4.9vw, 64px); }
:lang(ta) .hero h1 { font-size: clamp(32px, 4.3vw, 56px); }
.hl { background: linear-gradient(92deg, #4ade80 10%, #22c55e 45%, #2dd4bf 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 30px; font-size: 14.5px; color: var(--on-dark-2); font-weight: 500; }
.chips li { display: inline-flex; align-items: center; gap: 7px; }
.chips svg, .plan li svg { width: 18px; height: 18px; flex: none; }

/* ---------- try-it preview ---------- */
.tryit { --acc: #16a34a; --acc-2: #22c55e; display: grid; grid-template-columns: minmax(0, 1fr) 286px; grid-template-areas: "panel device" "note device" "cta device"; column-gap: 26px; row-gap: 14px; align-items: start; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); }
.tryit[data-color="blue"] { --acc: #2563eb; --acc-2: #60a5fa; }
.tryit[data-color="violet"] { --acc: #7c3aed; --acc-2: #a78bfa; }
.tryit[data-color="amber"] { --acc: #d97706; --acc-2: #fbbf24; }
.tryit[data-color="rose"] { --acc: #e11d48; --acc-2: #fb7185; }
.try-panel { grid-area: panel; display: flex; flex-direction: column; gap: 14px; }
.try-label { font-weight: 700; font-size: 15px; color: #fff; }
.try-input input { width: 100%; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: 14px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s; }
.try-input input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .25); }
.try-row { display: flex; flex-direction: column; gap: 14px; }
.try-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.try-types button { padding: 9px 10px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--on-dark); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .15s, border-color .15s, color .15s; }
.try-types button:hover { background: rgba(255, 255, 255, .12); }
.try-types button[aria-checked="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.try-colors { display: flex; gap: 10px; }
.sw { width: 28px; height: 28px; border-radius: 50%; border: 3px solid transparent; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .15s; }
.sw:hover { transform: scale(1.1); }
.sw[aria-checked="true"] { border-color: #fff; }
.sw-green { background: #16a34a; } .sw-blue { background: #2563eb; } .sw-violet { background: #7c3aed; } .sw-amber { background: #d97706; } .sw-rose { background: #e11d48; }
.try-note { grid-area: note; font-size: 13.5px; color: var(--on-dark-2); }
#try-cta { grid-area: cta; }

.device { grid-area: device; width: 286px; height: 580px; border-radius: 46px; background: #05070d; padding: 12px; box-shadow: 0 0 0 2px #2a3452, 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.device-screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #f8fafc; color: var(--ink); display: flex; flex-direction: column; font-family: "Inter", "Noto Sans Sinhala", "Noto Sans Tamil", sans-serif; }
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #05070d; z-index: 3; }
.ds-nav { display: flex; align-items: center; gap: 10px; padding: 44px 16px 12px; background: #fff; border-bottom: 1px solid #eef1f6; }
.ds-logo { width: 36px; height: 36px; border-radius: 11px; background: var(--acc); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; flex: none; transition: background .3s; font-family: "Plus Jakarta Sans", "Noto Sans Sinhala", "Noto Sans Tamil", sans-serif; }
.ds-name { min-width: 0; line-height: 1.25; }
.ds-name b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.ds-name small { font-size: 11.5px; color: var(--muted); }
.ds-name .open { color: #16a34a; font-weight: 600; }
.ds-hero { position: relative; margin: 12px; border-radius: 18px; padding: 16px 16px 16px; color: #fff; overflow: hidden; min-height: 176px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(140deg, var(--acc), var(--acc-2)); transition: background .3s; }
.ds-art { position: absolute; inset: 0; opacity: .95; }
.ds-art svg { position: absolute; right: -6px; top: -4px; width: 120px; height: 120px; opacity: .28; }
.ds-art::before, .ds-art::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.ds-art::before { width: 140px; height: 140px; right: -40px; bottom: -60px; }
.ds-art::after { width: 70px; height: 70px; left: -20px; top: -24px; }
.ds-tag { position: relative; font-family: "Plus Jakarta Sans", "Noto Sans Sinhala", "Noto Sans Tamil", sans-serif; font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
:lang(si) .ds-tag, :lang(ta) .ds-tag { letter-spacing: 0; font-size: 17px; line-height: 1.4; }
.ds-btn { position: relative; align-self: flex-start; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-weight: 700; font-size: 12.5px; padding: 7px 12px; border-radius: 999px; }
.ds-btn svg { width: 14px; height: 14px; }
.ds-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 12px; }
.ds-tiles span { background: #fff; border: 1px solid #eef1f6; border-radius: 12px; padding: 10px 4px; font-size: 11px; font-weight: 600; text-align: center; line-height: 1.25; }
.ds-tiles i { display: block; width: 26px; height: 26px; margin: 0 auto 6px; border-radius: 8px; background: color-mix(in srgb, var(--acc) 16%, white); }
.ds-card { margin: 10px 12px 0; background: #fff; border: 1px solid #eef1f6; border-radius: 12px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.ds-stars { color: #f59e0b; letter-spacing: 2px; font-size: 13px; }
.ds-map { margin: 10px 12px 0; flex: 1; min-height: 56px; border-radius: 12px; position: relative; overflow: hidden; background: linear-gradient(90deg, transparent 46%, #fff 46%, #fff 52%, transparent 52%), linear-gradient(0deg, transparent 42%, #fff 42%, #fff 50%, transparent 50%), linear-gradient(35deg, transparent 58%, #fde68a 58%, #fde68a 63%, transparent 63%), #dbeafe; }
.ds-map i { position: absolute; left: 50%; top: 42%; width: 22px; height: 22px; background: var(--acc); border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg); box-shadow: 0 4px 8px rgba(0, 0, 0, .25); transition: background .3s; }
.ds-map i::after { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 50%; }
.ds-bar { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid #eef1f6; margin-top: 10px; padding: 10px 6px 16px; font-size: 11px; font-weight: 600; text-align: center; color: var(--muted); }
.ds-bar span::before { content: ""; display: block; width: 22px; height: 22px; margin: 0 auto 4px; border-radius: 7px; background: #eef1f6; }
.ds-bar .on { color: var(--ink); }
.ds-bar .on::before { background: #22c55e; }
.device-screen .pop { animation: pop .35s ease; }
@keyframes pop { from { transform: scale(.96); opacity: .6; } to { transform: none; opacity: 1; } }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { color: var(--on-dark-2); font-weight: 600; font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.section.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 85% 0%, rgba(34, 197, 94, .16), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(56, 132, 255, .14), transparent 60%); pointer-events: none; }
.section.dark .wrap { position: relative; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sec-head.left { text-align: left; margin: 0 0 36px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin-bottom: 12px; }
:lang(si) .kicker, :lang(ta) .kicker { letter-spacing: .02em; text-transform: none; font-size: 14px; }
.dark .kicker { color: var(--green); }
.sec-head h2 { font-size: clamp(32px, 4vw, 50px); }
:lang(ta) .sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); }
:lang(si) .sec-head h2 { font-size: clamp(28px, 3.5vw, 44px); }
.sec-sub { margin-top: 16px; color: var(--muted); font-size: 18px; }
.dark .sec-sub { color: var(--on-dark-2); }

/* ---------- work ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: -18px 0 38px; }
.filters button { padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); background: var(--bg-alt); border: 1px solid var(--line); transition: all .15s; }
.filters button:hover { border-color: #cbd5e1; }
.filters button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.work-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.work-card.wide { grid-column: span 3; }
.work-grid.filtered .work-card { grid-column: span 2; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11, 19, 36, .05), 0 26px 50px -20px rgba(11, 19, 36, .28); }
.work-card[hidden] { display: none; }
.work-media { display: block; width: 100%; background: #0b1324; text-align: left; position: relative; overflow: hidden; }
.browser { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #eef1f6; border-bottom: 1px solid var(--line); }
.browser i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser i:nth-child(1) { background: #f87171; } .browser i:nth-child(2) { background: #fbbf24; } .browser i:nth-child(3) { background: #4ade80; }
.browser em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 10px; background: #fff; border-radius: 6px; padding: 2px 10px; flex: 1; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s ease; }
.work-card:hover .work-media img { transform: scale(1.035); }
.work-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tag { font-size: 13px; font-weight: 700; color: var(--green-700); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge svg { width: 13px; height: 13px; }
.badge.live { background: #dcfce7; color: #15803d; }
.badge.demo { background: #e0e7ff; color: #3730a3; }
.badge.anon { background: #f1f5f9; color: #475569; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.work-body h3 { font-size: 22px; }
.work-body p { color: var(--ink-2); font-size: 15.5px; }
.link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink); align-self: flex-start; }
.link svg { width: 18px; height: 18px; transition: transform .2s; }
.link:hover svg { transform: translateX(4px); }
.link:hover { color: var(--green-700); }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6dce8; }
.svc-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); margin-bottom: 20px; }
.svc-ic svg, .promise-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 20px; margin-bottom: 8px; }
.svc p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: 1fr 440px; gap: 72px; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 6px; position: relative; }
.step { display: flex; gap: 20px; padding: 16px 0; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 62px; bottom: -10px; width: 2px; background: linear-gradient(var(--green), rgba(34, 197, 94, .1)); }
.step-n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; display: grid; place-items: center; font-size: 17px; box-shadow: 0 0 0 6px var(--green-50); }
.step h3 { font-size: 20px; margin-bottom: 4px; }
.step p { color: var(--ink-2); font-size: 16px; }

.chat { background: #efeae2; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #e3ddd3; }
.chat-head { display: flex; align-items: center; gap: 12px; background: var(--navy-800); color: #fff; padding: 14px 18px; }
.chat-av { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-700); display: grid; place-items: center; flex: none; }
.chat-av svg { width: 20px; height: 22px; }
.chat-head b { display: block; font-size: 15.5px; line-height: 1.2; }
.chat-head small { font-size: 12.5px; color: #86efac; }
.chat-label { margin-left: auto; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .12); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.chat-body { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 8px; background-image: radial-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px); background-size: 16px 16px; }
.msg { position: relative; max-width: 84%; padding: 8px 12px 20px; border-radius: 12px; font-size: 15px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: #667781; }
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.msg.out time::after { content: " ✓✓"; color: #53bdeb; }
.chat-day { text-align: center; margin: 6px 0; }
.chat-day span { display: inline-block; background: #fff; color: #54656f; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 8px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.chat figcaption { display: flex; align-items: center; gap: 8px; background: #fff; padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid #e3ddd3; }
.chat figcaption svg, .care svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- promise ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: 28px; transition: background .25s, border-color .25s, transform .25s; }
.promise:hover { background: rgba(255, 255, 255, .07); border-color: rgba(34, 197, 94, .4); transform: translateY(-3px); }
.promise-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(34, 197, 94, .14); color: var(--green); margin-bottom: 18px; }
.promise h3 { font-size: 20px; margin-bottom: 8px; }
.promise p { color: var(--on-dark-2); font-size: 15.5px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--green); box-shadow: 0 30px 60px -30px rgba(22, 163, 74, .45); transform: translateY(-10px); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: #04120a; font-size: 12.5px; font-weight: 800; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 22px; }
.plan-for { color: var(--muted); font-size: 15px; margin-top: 4px; min-height: 48px; }
.price { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -0.03em; margin: 18px 0 22px; line-height: 1.1; }
.price small { font-family: var(--f-body); font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price span { display: block; font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.price.custom { font-size: 32px; }
:lang(si) .price.custom, :lang(ta) .price.custom { font-size: 26px; letter-spacing: 0; }
.plan ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; font-size: 15.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { margin-top: 3px; }
.plan .btn { margin-top: auto; }
.care { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; margin-top: 34px; color: var(--muted); font-size: 15px; }

/* ---------- reviews (real only) ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.review figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-wrap .sec-head { text-align: left; margin: 0; position: sticky; top: calc(var(--header-h) + 30px); }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #d6dce8; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; font-family: var(--f-head); }
.faq summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-alt); position: relative; transition: transform .25s, background .25s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
details[open] .plus { background: var(--green); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; }

/* ---------- final CTA ---------- */
.final { padding: 0 0 110px; background: var(--bg-alt); }
.final-box { position: relative; overflow: hidden; border-radius: 32px; padding: 60px 56px; background: var(--navy-900); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 40px; isolation: isolate; }
.final-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 90% 20%, rgba(34, 197, 94, .35), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(56, 132, 255, .25), transparent 60%); }
.final-box h2 { font-size: clamp(30px, 3.6vw, 46px); }
:lang(ta) .final-box h2 { font-size: clamp(24px, 3vw, 38px); }
.final-box p { color: var(--on-dark); font-size: 18px; margin-top: 10px; max-width: 560px; }
.final-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: none; }
.final-mail { color: var(--on-dark-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.final-mail:hover { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-2); padding: 72px 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { display: flex; flex-direction: column; gap: 9px; }
.site-footer a:hover { color: #fff; }
.foot-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #04120a; display: grid; place-items: center; box-shadow: 0 16px 36px -10px rgba(34, 197, 94, .8); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1280px, 94vw); max-height: 92vh; margin: auto; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 10, 28, .82); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 16px; box-shadow: var(--shadow-lg); background: #0b1324; }
.lightbox p { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.lb-close { position: absolute; top: -18px; right: -18px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; box-shadow: var(--shadow); }

/* ---------- language suggestion ---------- */
.suggest { position: fixed; left: 20px; bottom: 20px; z-index: 45; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: 14.5px; max-width: calc(100% - 110px); flex-wrap: wrap; }
.suggest[hidden] { display: none; }
#suggest-no { color: var(--muted); font-size: 14px; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .chips { justify-content: center; }
  .tryit { max-width: 660px; margin-inline: auto; width: 100%; }
  .process-grid { grid-template-columns: 1fr; gap: 48px; }
  .chat { max-width: 520px; width: 100%; margin-inline: auto; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card, .work-card.wide, .work-grid.filtered .work-card { grid-column: span 1; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-wrap .sec-head { position: static; text-align: center; }
}
@media (max-width: 960px) {
  .primary { position: absolute; top: var(--header-h); left: 0; right: 0; }
  .primary ul { display: none; flex-direction: column; gap: 0; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 8px 20px 18px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .6); }
  .primary ul.open { display: flex; }
  .primary a { display: block; padding: 13px 4px; font-size: 17px; color: var(--on-dark); border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .menu-btn { display: inline-flex; }
  .svc-grid, .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan.featured { transform: none; }
  .plan-for { min-height: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .final-box { flex-direction: column; text-align: center; padding: 48px 28px; }
  .final-box p { margin-inline: auto; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .hide-sm { display: none; }
  .lang-btn span { display: none; }
  .lang-btn { padding: 9px; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-grid { padding-bottom: 48px; }
  .tryit { grid-template-columns: 1fr; grid-template-areas: "panel" "device" "note" "cta"; padding: 18px; justify-items: stretch; }
  .device { justify-self: center; width: 272px; height: 560px; }
  .try-types { grid-template-columns: repeat(3, 1fr); }
  .try-types button { padding: 9px 4px; font-size: 13px; }
  .try-colors { justify-content: center; }
  .section { padding: 76px 0; }
  .sec-head { margin-bottom: 36px; }
  .filters { margin-top: -6px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .work-grid, .svc-grid, .promise-grid, .reviews { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .final { padding-bottom: 76px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .price { font-size: 36px; }
  .step { gap: 16px; }
  .chat-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.notfound-box { text-align: center; max-width: 720px; }
.notfound-box .lead { margin-inline: auto; }
.notfound-box .hero-actions, .notfound-langs { justify-content: center; }
.notfound-langs a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- long-word safety (Tamil / Sinhala) ---------- */
.hero-grid > *, .tryit > *, .process-grid > *, .faq-wrap > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
.ds-logo { font-size: 15px; }
:lang(ta) .ds-tag { font-size: 15px; }
@media (max-width: 700px) {
  .btn { white-space: normal; }
  .hero-actions .btn { max-width: 100%; }
  :lang(si) .hero h1 { font-size: 32px; }
  :lang(ta) .hero h1 { font-size: 27px; }
  :lang(ta) .sec-head h2 { font-size: 24px; }
  :lang(si) .sec-head h2 { font-size: 27px; }
  :lang(ta) .final-box h2 { font-size: 24px; }
}

/* ---------- currency picker + price note ---------- */
.cur-pick { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cur-pick select { font: inherit; font-weight: 700; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 34px 7px 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.cur-pick select:hover { border-color: #cbd5e1; }
.price .amt { white-space: nowrap; }
.price .note { display: block; font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.price .amt { display: inline; font-family: inherit; font-size: inherit; font-weight: inherit; color: inherit; letter-spacing: inherit; margin: 0; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-copy { position: sticky; top: calc(var(--header-h) + 30px); }
.contact-copy h2 { font-size: clamp(32px, 4vw, 50px); }
:lang(si) .contact-copy h2 { font-size: clamp(28px, 3.5vw, 44px); }
:lang(ta) .contact-copy h2 { font-size: clamp(26px, 3.2vw, 40px); }
.contact-sub { color: var(--ink-2); font-size: 18px; margin: 16px 0 28px; max-width: 460px; }
.contact-or { font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: 14px; font-weight: 700; color: var(--ink); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-alt); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 16px 0 18px; }
.form-error { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 14.5px; font-weight: 600; }
.form-error[hidden] { display: none; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: none; text-align: center; padding: 24px 8px; outline: none; }
.form-done:target, .form-done.show { display: block; }
.contact-card:has(.form-done:target) .contact-form, .contact-card.done .contact-form { display: none; }
.done-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.done-icon svg { width: 32px; height: 32px; }
.form-done h3 { font-size: 22px; margin-bottom: 8px; }
.form-done p { color: var(--ink-2); max-width: 420px; margin: 0 auto; }
.done-ref { margin-top: 14px !important; font-size: 15px; }
.done-ref b { font-family: ui-monospace, Consolas, monospace; color: var(--green-700); letter-spacing: .04em; }
.done-ref[hidden] { display: none; }
.link-btn { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.form-failed h3 { color: #991b1b; font-size: 18px; }
@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-copy { position: static; text-align: center; }
  .contact-sub { margin-inline: auto; }
}
@media (max-width: 700px) {
  .contact-card { padding: 22px 18px; border-radius: var(--r); }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  :lang(si) .contact-copy h2 { font-size: 27px; }
  :lang(ta) .contact-copy h2 { font-size: 24px; }
}
