/* =========================================================
   Westock — shared styles (index.php + guide.php)
   ========================================================= */
:root {
  --blue: #146bf4;
  --blue-2: #0b52d9;
  --blue-soft: #edf4ff;
  --navy: #112044;
  --muted: #68758e;
  --muted-2: #8b97aa;
  --line: #e9edf4;
  --light: #f6f9fd;
  --green: #13a979;
  --green-soft: #e7f9f1;
  --amber: #c27612;
  --amber-soft: #fff6e6;
  --red: #e0364f;
  --red-soft: #fff1f3;
  --radius: 18px;
  --shadow: 0 1px 2px #1120440a, 0 14px 40px #1c5fa214;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: Manrope, sans-serif; }
.si { font-family: 'Noto Sans Sinhala', sans-serif; color: var(--muted-2); font-size: 13px; line-height: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { max-width: 1200px; margin: 0 auto; padding-left: 30px; padding-right: 30px; }

/* ---------- Nav ---------- */
.nav { height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f2f4f9; }
.logo { display: flex; align-items: center; gap: 9px; font-family: Manrope, sans-serif; font-size: 24px; letter-spacing: -1.2px; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, #1587f9, var(--blue-2)); color: #fff; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 24px; }
.dot { color: #1976f6; }
.navlinks { display: flex; gap: 36px; font-size: 13px; font-weight: 700; color: #55627a; }
.navlinks a { position: relative; padding: 6px 0; }
.navlinks a:hover, .navlinks a.active { color: var(--blue); }
.navlinks a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--blue); }
.navright { display: flex; align-items: center; gap: 18px; }
.status { font-size: 12px; color: #64738b; }
.pulse, .online-dot { display: inline-block; width: 7px; height: 7px; background: #24b980; border-radius: 50%; margin-right: 6px; box-shadow: 0 0 0 3px #24b98022; }

/* ---------- Buttons ---------- */
.btn { border: 0; border-radius: 11px; padding: 15px 22px; font-weight: 800; font-size: 13px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; transition: transform .25s ease, box-shadow .25s ease, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; transform: none; cursor: wait; }
.btn.small { padding: 11px 16px; font-size: 12px; }
.primary { background: #116df4; color: #fff; box-shadow: 0 9px 20px #156df32c; }
.primary:hover { background: #0d62de; box-shadow: 0 12px 25px #146bea35; }
.secondary { background: var(--blue-soft); color: #1c5fcb; }
.outline { border: 1px solid #dce5f2; background: #fff; color: #18325b; }
.outline:hover { border-color: #b9cdee; }
.white { background: #fff; color: #1566dc; }
.text-link { border: 0; background: transparent; padding: 0; color: #1269e8; font-size: 12px; font-weight: 800; }
.text-link:hover { text-decoration: underline; }

/* ---------- Shared labels / headings ---------- */
.eyebrow, .section-label, .lc-kicker { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: #2876ed; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; background: var(--blue-soft); padding: 11px 15px; border-radius: 100px; letter-spacing: 1.3px; }
.spark { color: #1686f7; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; min-height: 600px; padding-top: 50px; padding-bottom: 70px; }
.hero h1, .guide-hero h1 { font-weight: 800; letter-spacing: -3.2px; line-height: 1.1; font-size: 56px; margin: 26px 0 22px; }
.hero h1 span, .guide-hero h1 span, .section-heading h2 span, .guide-promo h2 span { color: #1376f7; }
.hero-copy > p { font-size: 16px; line-height: 1.85; color: #64738a; max-width: 470px; margin: 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; font-weight: 600; color: #4a5872; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points span { width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 11px; font-weight: 800; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.glow { position: absolute; inset: -10px; background: radial-gradient(circle, #d3e8ff 0%, #e9f4ff 45%, transparent 72%); border-radius: 50%; pointer-events: none; }
.float-chip { position: absolute; background: #fff; border: 1px solid #e9f0f9; box-shadow: 0 12px 35px #184d851a; border-radius: 11px; padding: 11px 16px; font-size: 12px; font-weight: 800; }
.top-chip { right: -6px; top: 0; color: #1e69d7; }

/* ---------- Lookup card ---------- */
.lookup-card { position: relative; width: 100%; max-width: 450px; background: #fff; border: 1px solid #e3ebf7; border-radius: 22px; box-shadow: 0 30px 75px #1c5fa21f; padding: 28px; scroll-margin-top: 24px; }
.lc-head { display: flex; align-items: center; gap: 14px; }
.lc-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.lc-head h2 { font-size: 22px; letter-spacing: -.8px; margin: 4px 0 0; }
.lc-sub { color: var(--muted-2); font-size: 13px; margin: 14px 0 18px; }
.lookup-form { display: flex; gap: 8px; }
.lookup-form input { flex: 1; min-width: 0; border: 1px solid #dce5f1; border-radius: 11px; padding: 14px; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.lookup-form input:focus { border-color: #8db8fb; box-shadow: 0 0 0 4px #146bf41a; }
.lookup-form .btn { padding: 14px 22px; }
.notice { font-size: 12px; line-height: 1.6; color: var(--muted); min-height: 0; margin-top: 10px; }
.notice.error { color: var(--red); }
.lc-empty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.lc-empty > div { background: #f7faff; border-radius: 11px; padding: 14px; }
.lc-empty small, .r-grid small { display: block; font-size: 9px; letter-spacing: 1px; font-weight: 700; color: #9ca8b9; }
.skel { display: block; height: 10px; width: 70%; border-radius: 6px; margin-top: 10px; background: linear-gradient(90deg, #e8eef8 25%, #f3f7fd 50%, #e8eef8 75%); background-size: 200% 100%; animation: skel 1.6s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }

/* Result */
.result-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-top: 14px; animation: rise .4s ease both; }
.result-card + .result-card { margin-top: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.r-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.r-plan { font-weight: 800; font-size: 13px; }
.badge { font-size: 10px; font-weight: 800; letter-spacing: .5px; padding: 6px 10px; border-radius: 8px; }
.badge.active { color: #0f9e6c; background: var(--green-soft); }
.badge.expiring { color: var(--amber); background: var(--amber-soft); }
.badge.expired { color: var(--red); background: var(--red-soft); }
.r-days { margin: 14px 0 4px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 34px; letter-spacing: -1.5px; line-height: 1; }
.r-days small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted-2); margin-left: 6px; }
.r-bar { height: 7px; background: #edf1f7; border-radius: 10px; overflow: hidden; margin: 12px 0 16px; }
.r-bar i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #1587f9, var(--blue-2)); transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.result-card.expiring .r-bar i { background: linear-gradient(90deg, #f3a737, #e58a0c); }
.result-card.expired .r-bar i { background: var(--red); }
.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.r-grid > div { background: #f7faff; border-radius: 10px; padding: 11px 12px; }
.r-grid strong { display: block; font-size: 12px; margin-top: 6px; }
.r-renew { display: block; margin-top: 12px; font-size: 12px; }
.r-none { margin-top: 14px; background: #f7faff; border-radius: 14px; padding: 16px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- Features ---------- */
.feature-band { background: var(--light); padding: 95px 0 105px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2, .guide-promo h2, .faq h2 { font-size: 43px; font-weight: 800; margin: 16px 0 34px; letter-spacing: -2.2px; line-height: 1.13; }
.section-heading > p { max-width: 350px; color: #79859a; line-height: 1.8; font-size: 14px; margin: 0 0 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid #ecf0f7; border-radius: 17px; padding: 32px; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: #c8dcfb; box-shadow: 0 22px 45px #1458a21a; }
.feature-icon { width: 51px; height: 51px; display: grid; place-items: center; border-radius: 14px; font-size: 24px; font-weight: 700; }
.blue { background: #e8f2ff; color: #1b75ed; }
.violet { background: #f0eaff; color: #7759e8; }
.mint { background: #e5faf2; color: #13a979; }
.feature-card h3 { font-weight: 800; font-size: 17px; margin: 24px 0 10px; }
.feature-card p { font-size: 13px; line-height: 1.8; color: #8793a7; min-height: 70px; margin: 0 0 14px; }

/* ---------- Guide promo (index) ---------- */
.guide-promo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; padding-top: 110px; padding-bottom: 110px; }
.gp-copy > p { color: #8290a5; line-height: 1.8; max-width: 410px; margin: 0; }
.gp-warn { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 26px; background: var(--red-soft); color: var(--red); font-size: 12px; font-weight: 800; padding: 10px 14px; border-radius: 10px; }
.gp-warn b { width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 12px; }
.gp-steps { list-style: none; margin: 0; padding: 10px 28px; background: var(--light); border-radius: 24px; }
.gp-steps li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid #e6ecf5; }
.gp-steps li:last-child { border-bottom: 0; }
.gp-steps li > span { color: #1676ed; font-size: 13px; font-weight: 800; padding-top: 1px; }
.gp-steps li.critical > span { color: var(--red); }
.gp-steps p { margin: 0; }
.gp-steps strong, .gp-steps small { display: block; }
.gp-steps strong { font-size: 14px; }
.gp-steps small { color: #8995a8; font-size: 12px; margin-top: 5px; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { padding-bottom: 90px; }
.faq-list { display: grid; gap: 10px; max-width: 820px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; transition: border-color .2s, box-shadow .2s; }
details[open] { border-color: #cfe0fb; box-shadow: 0 10px 30px #1458a20f; }
summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 17px; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 12px 0 0; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, #0b5bd7, #2187fa); border-radius: 22px; padding-top: 45px; padding-bottom: 45px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 70px; }
.cta .section-label { color: #cce3ff; }
.cta h2 { font-weight: 800; font-size: 29px; margin: 12px 0; letter-spacing: -.8px; }
.cta p { font-size: 13px; color: #d8e9ff; margin: 0; }

/* ---------- Footer ---------- */
.footer { padding-bottom: 96px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 26px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.dev { font-size: 12px; color: #96a1b2; display: inline-flex; align-items: center; gap: 5px; }
.dev strong { color: var(--navy); font-weight: 700; }
.heart { display: inline-block; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .heart { animation: heartbeat 1.4s ease-in-out infinite; }
  @keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
}
.footer .logo { font-size: 20px; }
.footer .logo-icon { width: 29px; height: 29px; font-size: 18px; border-radius: 10px; }
.footer-brand p { font-size: 11px; line-height: 1.7; color: #96a1b2; max-width: 380px; margin: 12px 0 0; }
.footer-links { display: flex; gap: 22px; font-size: 12px; font-weight: 700; color: #55627a; padding-top: 6px; }
.footer-links a:hover { color: var(--blue); }
.footer-links .text-link { color: #55627a; }
.copy { font-size: 12px; color: #96a1b2; }

/* =========================================================
   Guide page
   ========================================================= */
.guide-hero { text-align: center; padding-top: 70px; padding-bottom: 40px; }
.guide-hero > p { color: #64738a; font-size: 16px; line-height: 1.8; max-width: 560px; margin: 0 auto; }
.guide-hero .si { margin-top: 6px; }
.guide-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.guide-meta span { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 9px 14px; font-size: 12px; font-weight: 700; color: #4a5872; }
.guide-body { max-width: 860px; padding-bottom: 20px; }

.alert { display: flex; gap: 16px; background: var(--red-soft); border: 1px solid #f7c6cf; border-radius: var(--radius); padding: 22px 24px; margin: 10px 0 40px; }
.alert-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; }
.alert h3 { color: var(--red); font-size: 16px; margin: 2px 0 6px; }
.alert p { font-size: 14px; line-height: 1.75; margin: 0; color: #5b3640; }
.alert .si { color: #9a6470; margin-top: 6px; }

.g-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.g-steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(#cfe0fb, #e9f0fb); }
.g-step { position: relative; display: flex; gap: 22px; margin-bottom: 18px; }
.g-num { flex: none; width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 1px solid #cfe0fb; color: var(--blue); font-family: Manrope, sans-serif; font-weight: 800; font-size: 16px; display: grid; place-items: center; z-index: 1; box-shadow: 0 8px 20px #146bf414; }
.g-step.critical .g-num { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 20px #e0364f33; }
.g-card { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: border-color .25s, box-shadow .25s; }
.g-card:hover { border-color: #cfe0fb; box-shadow: var(--shadow); }
.g-step.critical .g-card { border-color: #f7c6cf; }
.g-card h2 { font-size: 17px; font-weight: 800; letter-spacing: -.3px; margin: 2px 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.g-card > p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0; }
.g-card > p a { color: var(--blue); font-weight: 700; }
.g-card .si { margin-top: 6px; }
.g-card .btn { margin-top: 16px; }
.tag { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 4px 9px; border-radius: 7px; background: var(--red-soft); color: var(--red); }
.g-sub { margin-top: 16px; display: grid; gap: 8px; }
.g-sub > div { display: flex; gap: 12px; font-size: 13px; line-height: 1.7; background: var(--light); border-radius: 11px; padding: 11px 14px; color: #3f4c66; }
.g-sub b { flex: none; min-width: 78px; color: var(--navy); }
.g-sub span { min-width: 0; overflow-wrap: anywhere; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; background: #e8f0fd; color: #1756c2; padding: 2px 6px; border-radius: 6px; }

.done { display: flex; gap: 16px; align-items: center; background: var(--green-soft); border-radius: var(--radius); padding: 22px 24px; margin: 30px 0 60px; }
.done-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.done h3 { color: #0d8a61; font-size: 16px; margin: 0 0 4px; }
.done p { margin: 0; font-size: 13px; color: #3c6a5a; line-height: 1.7; }
.done a { color: #0d8a61; font-weight: 800; }
.guide .faq { padding-bottom: 60px; }
.guide .faq h2 { font-size: 30px; letter-spacing: -1.2px; margin: 0 0 20px; }

/* =========================================================
   Chat widget
   ========================================================= */
.chat-panel[hidden], .chat-launch[hidden] { display: none !important; }
.chat-launch { position: fixed; bottom: 25px; right: 27px; z-index: 20; border: 0; background: #1176f7; color: #fff; box-shadow: 0 12px 35px #146bea55; border-radius: 100px; padding: 13px 20px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; transition: transform .2s; }
.chat-launch:hover { transform: translateY(-2px); }
.chat-launch-icon { display: grid; place-items: center; }
.chat-launch i { display: none; width: 9px; height: 9px; background: #ff5a6e; border-radius: 50%; box-shadow: 0 0 0 3px #ffffff55; }
.chat-launch i.on { display: block; }
.chat-sys { text-align: center; margin: 12px 0; }
.chat-sys span { display: inline-block; font-size: 10.5px; line-height: 1.5; color: #6b778c; background: #eef2f8; padding: 6px 12px; border-radius: 14px; max-width: 290px; }
.compose-ids.locked { display: none; }
.chat-panel { position: fixed; right: 25px; bottom: 87px; width: 390px; height: min(640px, calc(100vh - 115px)); z-index: 25; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 75px #152d5652; display: flex; flex-direction: column; overflow: hidden; animation: rise .25s ease both; }
.chat-head { padding: 16px 18px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #eef1f6; }
.agent-avatar, .message-avatar { display: grid; place-items: center; background: #1378f8; color: #fff; font-weight: 800; border-radius: 12px; width: 38px; height: 38px; font-size: 21px; font-family: Manrope, sans-serif; }
.chat-head strong, .chat-head small { display: block; }
.chat-head strong { font-size: 14px; }
.chat-head small { font-size: 11px; color: var(--muted-2); margin-top: 3px; }
.chat-head-actions { margin-left: auto; display: flex; gap: 2px; }
.chat-head-actions button { background: none; border: 0; color: #8190a5; font-size: 22px; width: 30px; height: 30px; border-radius: 8px; }
.chat-head-actions button:hover { background: #f2f5fa; }
.chat-feed { flex: 1; overflow: auto; padding: 18px; background: #fcfdff; }
.chat-date { text-align: center; color: #a5afbd; font-size: 10px; letter-spacing: 1px; margin-bottom: 18px; }
.message { display: flex; gap: 9px; margin: 12px 0; align-items: flex-end; }
.message-avatar { width: 27px; height: 27px; font-size: 14px; border-radius: 9px; flex-shrink: 0; }
.bubble { background: #f0f4fa; padding: 12px 14px; border-radius: 15px 15px 15px 4px; font-size: 12.5px; line-height: 1.7; max-width: 275px; overflow-wrap: anywhere; white-space: pre-wrap; }
.message small { display: block; color: #a1acbc; font-size: 9px; margin-top: 5px; }
.message.user { justify-content: flex-end; }
.message.user .bubble { background: #1877f2; color: #fff; border-radius: 15px 15px 4px 15px; }
.message.user small { text-align: right; }
.chat-options { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 0 36px; }
.chat-options button { background: #fff; border: 1px solid #cfe0fb; color: #1265d6; border-radius: 15px; padding: 7px 11px; font-size: 11px; font-weight: 600; }
.chat-options button:hover { background: var(--blue-soft); }
.chat-compose { padding: 12px 16px 10px; border-top: 1px solid #eef1f6; }
.compose-ids { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.compose-ids input { width: 100%; border: 1px solid #e4eaf3; border-radius: 8px; padding: 9px; font-size: 12px; outline-color: #1979fa; }
.compose-ids input:disabled { background: #f5f7fa; color: #8b97aa; }
.compose-line { display: flex; align-items: flex-end; border: 1px solid #e0e7f1; border-radius: 13px; padding: 9px; }
.compose-line:focus-within { border-color: #8db8fb; }
.compose-line textarea { resize: none; flex: 1; border: 0; outline: 0; font-size: 12.5px; min-width: 0; background: transparent; }
.compose-line button { width: 32px; height: 32px; border: 0; background: #1678f8; color: #fff; border-radius: 50%; font-size: 17px; flex: none; }
.chat-footer-note { font-size: 10px; color: #a2acbb; text-align: center; margin-top: 7px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .navlinks, .status { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 50px; gap: 30px; }
  .hero-visual { padding-top: 20px; }
  .guide-promo { grid-template-columns: 1fr; gap: 36px; padding-top: 80px; padding-bottom: 80px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card p { min-height: 0; }
  .section-heading { display: block; }
  .cta { margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 560px) {
  .shell { padding-left: 16px; padding-right: 16px; }
  .nav { height: 68px; }
  .logo { font-size: 21px; }
  .hero { padding-top: 34px; padding-bottom: 50px; }
  .hero h1, .guide-hero h1 { font-size: 38px; letter-spacing: -2px; }
  .hero-copy > p, .guide-hero > p { font-size: 14px; }
  .hero-actions .btn { width: 100%; }
  .float-chip { display: none; }
  .lookup-card { padding: 20px; border-radius: 18px; }
  .lookup-form { flex-direction: column; }
  .lc-empty, .r-grid { grid-template-columns: 1fr 1fr; }
  .lc-empty > div:last-child, .r-grid > div:last-child { grid-column: span 2; }
  .section-heading h2, .guide-promo h2, .faq h2 { font-size: 32px; letter-spacing: -1.4px; }
  .feature-band { padding: 70px 0; }
  .gp-steps { padding: 6px 18px; }
  .cta { display: block; margin-left: 16px; margin-right: 16px; padding: 32px 22px; }
  .cta h2 { font-size: 23px; }
  .cta .btn { margin-top: 18px; width: 100%; }
  .footer-top { flex-direction: column; gap: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .guide-hero { padding-top: 44px; }
  .alert { flex-direction: column; padding: 18px; }
  .g-steps::before { left: 21px; }
  .g-step { gap: 12px; }
  .g-num { width: 44px; height: 44px; font-size: 13px; border-radius: 13px; }
  .g-card { padding: 18px; }
  .g-sub > div { flex-direction: column; gap: 2px; }
  .chat-panel { right: 0; bottom: 0; width: 100%; height: 100dvh; border-radius: 0; }
  .chat-launch { right: 15px; bottom: 15px; }
}

/* =========================================================
   Motion
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .motion-reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
  .motion-reveal.motion-visible { opacity: 1; transform: none; }
  .float-chip { animation: chip 5.5s ease-in-out infinite; }
  .glow { animation: glow 8s ease-in-out infinite alternate; }
  @keyframes chip { 50% { translate: 0 -8px; } }
  @keyframes glow { from { opacity: .7; scale: .96; } to { opacity: 1; scale: 1.06; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Pricing
   ========================================================= */
.pricing { padding-top: 105px; padding-bottom: 30px; scroll-margin-top: 10px; }
.pricing-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.pricing-head h2 { font-size: 43px; font-weight: 800; letter-spacing: -2.2px; line-height: 1.13; margin: 16px 0 16px; }
.pricing-head h2 span { color: #1376f7; }
.pricing-head p { color: #79859a; font-size: 15px; line-height: 1.8; margin: 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e6ecf5; border-radius: 22px; padding: 32px 28px 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.plan:hover { transform: translateY(-6px); border-color: #c8dcfb; box-shadow: 0 24px 50px #1458a218; }
.plan h3 { font-size: 20px; font-weight: 800; letter-spacing: -.5px; margin: 0; }
.plan-sub { color: var(--muted-2); font-size: 13px; line-height: 1.6; margin: 6px 0 0; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; font-family: Manrope, sans-serif; }
.price small { font-size: 14px; font-weight: 800; color: var(--muted); align-self: flex-start; margin-top: 9px; }
.price strong { font-size: 46px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.price span { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--muted-2); font-weight: 600; }
.per { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 26px; }
.save { font-size: 11px; font-weight: 800; color: var(--green); background: var(--green-soft); padding: 4px 9px; border-radius: 8px; }
.plan-list { list-style: none; padding: 22px 0 0; margin: 22px 0 26px; border-top: 1px solid var(--line); display: grid; gap: 13px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 30px; font-size: 13.5px; line-height: 1.6; color: #3f4c66; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.plan-list b { color: var(--navy); }
.plan-btn { width: 100%; padding: 15px; justify-content: center; }

.plan.featured { background: linear-gradient(160deg, #0b5bd7, #2187fa); border-color: transparent; color: #fff; box-shadow: 0 30px 60px #146bf440; }
.plan.featured:hover { box-shadow: 0 34px 70px #146bf455; }
.plan.featured .plan-sub, .plan.featured .price span, .plan.featured .per { color: #d3e6ff; }
.plan.featured .price small { color: #bcd8ff; }
.plan.featured .plan-list { border-color: #ffffff33; }
.plan.featured .plan-list li { color: #eef5ff; }
.plan.featured .plan-list b { color: #fff; }
.plan.featured .plan-list li::before { background: #ffffff26; color: #fff; }
.plan.featured .save { background: #fff; color: #0d8a61; }
.plan.featured .plan-btn.primary { background: #fff; color: #1566dc; box-shadow: 0 10px 24px #0a3a8f40; }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #ffcf4a; color: #4a3500; font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 6px 14px; border-radius: 20px; box-shadow: 0 8px 18px #c9900033; white-space: nowrap; }

.pricing-notes { list-style: none; padding: 0; margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; font-size: 13px; font-weight: 600; color: #4a5872; }
.pricing-notes li { display: flex; align-items: center; gap: 8px; }
.pricing-notes span { width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.pricing-si { text-align: center; font-family: 'Noto Sans Sinhala', sans-serif; color: var(--muted-2); font-size: 13px; line-height: 1.8; margin: 16px auto 0; max-width: 620px; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; gap: 28px; }
  .plan.featured { order: -1; }
  .plan-sub { min-height: 0; }
}
@media (max-width: 560px) {
  .pricing { padding-top: 70px; }
  .pricing-head h2 { font-size: 32px; letter-spacing: -1.4px; }
  .plan { padding: 28px 22px 22px; }
  .price strong { font-size: 40px; }
}