/*
 * Apex landing page styles (Release 45; Release 64 redesigned —
 * beautiful + compact).
 * Brand palette (owner, applies to web too): Deep Teal #0B6E6E,
 * gradient → #074A4A, Marigold Gold #FFB400 (always with Ink
 * text), Ink #10242B. Compact density: ~14.5px base, tight
 * section padding, small radii. Mobile-first responsive.
 */
/* Self-hosted Bengali typeface (Release 51: relocated from the
   cancelled PWA's asset folder to public/fonts/). */
:root {
    --lp-primary: #0B6E6E;
    --lp-primary-dark: #074A4A;
    --lp-accent: #FFB400;
    --lp-accent-dark: #E5A200;
    --lp-ink: #10242B;
    --lp-bg: #F5F8F8;
    --lp-surface: #FFFFFF;
    --lp-text: #1C2B30;
    --lp-muted: #5B6B70;
    --lp-line: #E2EBEB;
    --lp-wa: #1FA855;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
    font-size: 14.5px;
    background: var(--lp-bg);
    color: var(--lp-text);
}
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
a { color: var(--lp-primary); }
img { max-width: 100%; }

/* Header — sticky, slim */
.lp-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--lp-line);
    backdrop-filter: blur(6px);
}
.lp-header-in { position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; }
.lp-brand { display: inline-flex; align-items: center; flex: none; }
.lp-logo { height: 36px; width: auto; max-width: 160px; object-fit: contain; border-radius: 8px; }
.lp-nav { display: flex; gap: 16px; margin-left: 6px; }
.lp-nav a { color: var(--lp-text); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 6px 2px; }
.lp-nav a:hover { color: var(--lp-primary); }
.lp-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lp-login { color: var(--lp-text); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.lp-login:hover { color: var(--lp-primary); }
.lp-menu-btn {
    display: none; margin-left: auto;
    background: none; border: 1px solid var(--lp-line); border-radius: 9px;
    width: 38px; height: 38px; cursor: pointer; color: var(--lp-ink); font-size: 16px;
}

/* Buttons */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    background: var(--lp-primary); color: #fff; border: 0; cursor: pointer;
    font: inherit; font-weight: 700; font-size: 13.5px;
    padding: 9px 16px; border-radius: 999px; text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.lp-btn:hover { background: var(--lp-primary-dark); }
.lp-btn-accent { background: var(--lp-accent); color: var(--lp-ink); }
.lp-btn-accent:hover { background: var(--lp-accent-dark); }
.lp-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.8); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.14); }
.lp-btn-light { background: #fff; color: var(--lp-ink); border: 1px solid var(--lp-line); }
.lp-btn-light:hover { background: #EDF6F6; }
.lp-btn-wa { background: var(--lp-wa); color: #fff; }
.lp-btn-wa:hover { background: #178A43; }
.lp-btn-lg { padding: 11px 20px; font-size: 14.5px; }
.lp-btn-sm { padding: 7px 13px; font-size: 13px; }
.lp-btn-block { width: 100%; justify-content: center; }
.lp-x {
    background: none; border: 0; font-size: 22px; line-height: 1;
    color: var(--lp-muted); cursor: pointer; padding: 2px 6px;
}

/* Install strip (top) */
.lp-strip {
    display: flex; align-items: center; gap: 10px;
    background: var(--lp-ink); color: #fff;
    padding: 7px 14px; font-size: 13px;
}
.lp-strip[hidden] { display: none; }
.lp-strip-icon { width: 32px; height: 32px; border-radius: 8px; }
.lp-strip-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.lp-strip-text span { opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-strip .lp-x { color: #fff; }

/* Hero */
.lp-hero {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff;
}
.lp-hero-in {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px;
    align-items: center; padding-top: 30px; padding-bottom: 36px;
}
.lp-hero h1 { font-size: 32px; line-height: 1.3; margin: 0 0 10px; font-weight: 700; }
.lp-hero p { font-size: 15.5px; line-height: 1.6; opacity: .93; margin: 0 0 18px; }
.lp-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-slider { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; background: rgba(255,255,255,.08); box-shadow: 0 14px 34px rgba(7,74,74,.35); }
.lp-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: block; }
.lp-slide.active { opacity: 1; }
.lp-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-slide-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 20px 12px 8px; font-size: 13.5px; font-weight: 600;
    background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff;
}
.lp-dots { display: flex; gap: 6px; justify-content: center; margin-top: 9px; }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.lp-dot.active { background: var(--lp-accent); }

/* Sections */
.lp-section { padding: 34px 0; }
.lp-section-alt { background: #EDF6F6; }
.lp-h2 { font-size: 21px; margin: 0 0 16px; text-align: center; color: var(--lp-ink); }
.lp-h2-left { text-align: left; margin: 0; }
.lp-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lp-more { font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.lp-more:hover { color: var(--lp-primary-dark); }
.lp-grid { display: grid; gap: 12px; }
.lp-grid-features { grid-template-columns: repeat(3, 1fr); }
.lp-feature, .lp-service {
    background: var(--lp-surface); border: 1px solid var(--lp-line);
    border-radius: 14px; padding: 15px;
}
.lp-service-link { display: block; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.lp-service-link:hover { border-color: var(--lp-primary); transform: translateY(-2px); }
.lp-feature h3, .lp-service h3 { margin: 9px 0 4px; font-size: 15.5px; color: var(--lp-ink); }
.lp-feature p, .lp-service p { margin: 0; color: var(--lp-muted); font-size: 13.5px; line-height: 1.55; }
.lp-feature-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 11px;
    background: #EDF6F6; color: var(--lp-primary); font-size: 18px;
}
.lp-service-img { width: 100%; height: 96px; object-fit: cover; border-radius: 10px; }
.lp-service-arrow { font-size: 12px; color: var(--lp-primary); }

/* Popular products (Release 64) */
.lp-prail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lp-pcard {
    display: block; background: var(--lp-surface); border: 1px solid var(--lp-line);
    border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit;
    transition: border-color .15s ease, transform .15s ease;
}
.lp-pcard:hover { border-color: var(--lp-primary); transform: translateY(-2px); }
.lp-pcard-img { position: relative; display: block; aspect-ratio: 1/1; background: #EDF6F6; }
.lp-pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-pcard-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--lp-primary); font-size: 30px; opacity: .5; }
.lp-badge-off {
    position: absolute; top: 8px; left: 8px;
    background: var(--lp-accent); color: var(--lp-ink);
    font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
}
.lp-pcard-body { display: block; padding: 9px 11px 11px; }
.lp-pcard-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--lp-ink); min-height: 38px;
}
.lp-pcard-price { display: flex; align-items: baseline; gap: 7px; margin-top: 4px; }
.lp-pcard-price strong { color: var(--lp-primary-dark); font-size: 14.5px; }
.lp-pcard-price s { color: var(--lp-muted); font-size: 12.5px; }

/* App promo (Release 64: Ink two-column with a CSS phone frame) */
.lp-promo { background: var(--lp-ink); color: #E6EFEF; }
.lp-promo-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; }
.lp-promo-copy h2 { margin: 0 0 8px; font-size: 22px; color: #fff; text-align: left; }
.lp-promo-copy > p { margin: 0 0 14px; color: rgba(230,239,239,.85); line-height: 1.6; font-size: 14.5px; }
.lp-checks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.lp-checks li { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.lp-checks i { color: var(--lp-accent); font-size: 15px; }
.lp-phone { justify-self: center; width: 218px; border: 9px solid #06161B; border-radius: 34px; background: linear-gradient(160deg, var(--lp-primary), var(--lp-primary-dark)); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.lp-phone-screen { padding: 22px 16px 20px; text-align: center; color: #fff; }
.lp-phone-icon { width: 62px; height: 62px; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.lp-phone-name { font-weight: 700; font-size: 15.5px; margin: 9px 0 14px; }
.lp-phone-rows { display: grid; gap: 8px; }
.lp-phone-rows span {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.14); border-radius: 10px;
    padding: 8px 11px; font-size: 13px; font-weight: 600; text-align: left;
}
.lp-phone-rows i { color: var(--lp-accent); width: 16px; text-align: center; }

/* FAQ */
.lp-faq-wrap { max-width: 760px; }
.lp-faq {
    background: var(--lp-surface); border: 1px solid var(--lp-line);
    border-radius: 12px; padding: 11px 15px; margin-bottom: 8px;
}
.lp-faq summary { cursor: pointer; font-weight: 600; color: var(--lp-ink); font-size: 14.5px; }
.lp-faq-body { margin-top: 7px; color: var(--lp-muted); line-height: 1.6; font-size: 14px; }

/* Contact strip (Release 64) */
.lp-contact { text-align: center; }
.lp-contact-sub { margin: -8px 0 16px; color: var(--lp-muted); font-size: 14px; }
.lp-contact-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.lp-contact-addr { margin: 14px 0 0; color: var(--lp-muted); font-size: 13.5px; }

/* Footer (Release 67 — LIGHT shared design system with the
   storefront footer; Release 65 built the four-column structure
   on Ink, the owner's light reference footers supersede that
   skin. White surface with a hairline + soft shadow on top, Ink
   headings with no underline bar, muted links led by a small
   teal chevron, icon-led contact rows, round soft-grey social
   circles with brand-coloured glyphs, and a wave divider over
   a light-grey copyright band. The logo renders plainly now —
   the white chip it wore on the dark footer is retired, so
   .lp-logo-footer carries no background or padding.) */
.lp-footer { position: relative; background: #FFFFFF; color: var(--lp-muted); border-top: 1px solid var(--lp-line); box-shadow: 0 -10px 28px rgba(16, 36, 43, .05); }
.lp-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding-top: 28px; padding-bottom: 22px; }
@media (max-width: 359px) {
    .lp-footer-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1025px) {
    .lp-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
}
.lp-footer-about { color: var(--lp-muted); line-height: 1.6; font-size: 13.5px; max-width: 330px; margin: 10px 0 0; }
.lp-footer h4 { color: var(--lp-ink); margin: 2px 0 12px; font-size: 15px; font-weight: 700; }
.lp-footer a { color: var(--lp-muted); text-decoration: none; }
.lp-footer-links { list-style: none; margin: 0; padding: 0; }
.lp-footer-links a { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-size: 13.5px; transition: color .15s ease; }
.lp-footer-links a::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 9px; color: #93C4BA; transition: color .15s ease, transform .15s ease; }
.lp-footer-links a:hover { color: var(--lp-primary); }
.lp-footer-links a:hover::before { color: var(--lp-primary); transform: translateX(2px); }
.lp-footer a.lp-inline { display: inline; padding: 0; color: var(--lp-primary); font-weight: 600; }
.lp-footer a.lp-inline:hover { color: var(--lp-primary-dark); }
.lp-footer p { margin: 5px 0; font-size: 13.5px; }
.lp-footer-line { display: flex; align-items: flex-start; gap: 9px; line-height: 1.5; }
.lp-footer-ic { flex: none; width: 26px; height: 26px; margin-top: -4px; border-radius: 50%; background: #EAF3F1; color: var(--lp-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; }
.lp-footer-socials { display: flex; gap: 8px; margin-top: 14px; }
.lp-footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #EFF5F3; color: var(--lp-primary); font-size: 14px; transition: background .15s ease, color .15s ease; }
.lp-footer-socials a i { transition: color .15s ease; }
.lp-footer-socials a[data-platform*="facebook"] i { color: #1877F2; }
.lp-footer-socials a[data-platform*="youtube"] i { color: #FF0000; }
.lp-footer-socials a[data-platform*="instagram"] i { color: #E1306C; }
.lp-footer-socials a[data-platform*="twitter"] i { color: #10242B; }
.lp-footer-socials a[data-platform*="linkedin"] i { color: #0A66C2; }
.lp-footer-socials a[data-platform*="whatsapp"] i { color: #1FA855; }
.lp-footer-socials a[data-platform*="telegram"] i { color: #229ED9; }
.lp-footer-socials a[data-platform*="tiktok"] i { color: #10242B; }
.lp-footer-socials a[data-platform*="pinterest"] i { color: #E60023; }
.lp-footer-socials a:hover { background: var(--lp-primary); }
.lp-footer-socials a:hover i { color: #FFFFFF; }
.lp-footer-wave { line-height: 0; }
.lp-footer-wave svg { display: block; width: 100%; height: 34px; }
.lp-footer-bar { background: #F2F6F4; padding: 12px 0; font-size: 12.5px; color: var(--lp-muted); }
.lp-footer-bar-in { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.lp-footer-note a.lp-inline { color: var(--lp-primary); font-weight: 600; }

/* Install card (floating / bottom sheet on mobile) */
.lp-card {
    position: fixed; z-index: 60; right: 18px; bottom: 18px; width: 320px;
    background: var(--lp-surface); border-radius: 20px;
    box-shadow: 0 18px 44px rgba(16,36,43,.28);
    padding: 20px; text-align: center;
    animation: lp-rise .35s ease;
}
.lp-card[hidden] { display: none; }
.lp-card .lp-x { position: absolute; top: 8px; right: 10px; }
.lp-card-icon { width: 58px; height: 58px; border-radius: 14px; }
.lp-card-title { font-weight: 700; font-size: 17px; margin-top: 8px; color: var(--lp-ink); }
.lp-card-text { color: var(--lp-muted); font-size: 14px; line-height: 1.6; margin: 6px 0 14px; }
@keyframes lp-rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Release 51 — native app install surfaces */
.lp-meta { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--lp-muted); }
.lp-card .lp-meta { margin: 10px 0 2px; }
.lp-meta-dark { color: rgba(255,255,255,.78); }
.lp-guide {
    position: fixed; z-index: 61; right: 18px; bottom: 18px; width: 320px;
    background: var(--lp-surface); border-radius: 20px;
    box-shadow: 0 18px 44px rgba(16,36,43,.28);
    padding: 20px; animation: lp-rise .35s ease;
}
.lp-guide[hidden] { display: none; }
.lp-guide .lp-x { position: absolute; top: 8px; right: 10px; }
.lp-steps { margin: 0; padding-left: 20px; color: var(--lp-text); font-size: 14.5px; line-height: 1.75; }
.lp-qr { display: flex; gap: 16px; align-items: center; }
.lp-qr-box {
    width: 138px; height: 138px; flex: none;
    background: #fff; border-radius: 14px; padding: 9px;
}
.lp-qr-cap { font-weight: 700; font-size: 16px; color: #fff; }
.lp-qr-note { margin: 5px 0 0; font-size: 13.5px; max-width: 300px; color: rgba(230,239,239,.8); }

@media (max-width: 900px) {
    .lp-hero-in { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 28px; gap: 18px; }
    .lp-hero h1 { font-size: 26px; }
    .lp-promo-in { grid-template-columns: 1fr; gap: 20px; }
    /* Footer grid (R65 structure, R67 light skin): keeps its
       2×2 grid at ≤1024px — only the gap tightens on small
       screens. */
    .lp-footer-grid { gap: 18px 14px; }
    /* Mobile nav: the anchor list becomes a drop-down panel. */
    .lp-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .lp-header-actions { margin-left: 0; }
    .lp-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 12px;
        background: #fff; border-bottom: 1px solid var(--lp-line);
        box-shadow: 0 14px 24px rgba(16,36,43,.10);
    }
    .lp-nav.open { display: flex; }
    .lp-nav a { padding: 9px 2px; border-bottom: 1px solid var(--lp-line); }
    .lp-nav a:last-child { border-bottom: 0; }
    .lp-card, .lp-guide {
        left: 12px; right: 12px; bottom: 12px; width: auto;
        border-radius: 22px 22px 16px 16px;
    }
    .lp-qr { flex-direction: column; text-align: center; }
    .lp-qr-note { margin-left: auto; margin-right: auto; }
    /* Products: horizontal scroll rail on mobile. */
    .lp-prail {
        display: flex; overflow-x: auto; gap: 10px;
        padding-bottom: 8px; scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .lp-pcard { flex: 0 0 43%; scroll-snap-align: start; }
}
@media (max-width: 520px) {
    .lp-grid-features { grid-template-columns: 1fr 1fr; }
    .lp-login { display: none; }
    .lp-install { display: none; }
    .lp-phone { width: 196px; }
    .lp-contact-btns .lp-btn { width: 100%; }
}

/* Release 84 — visible keyboard focus (was: zero :focus rules). */
.lp-btn:focus-visible, .lp-card-link:focus-visible, .lp-inline:focus-visible,
.lp-nav-link:focus-visible, .lp-footlink:focus-visible, .lp-burger:focus-visible {
    outline: 3px solid var(--lp-accent);
    outline-offset: 2px;
}

/* Release 84 — Services as horizontal rows (media left, text right),
   deliberately unlike the Features 3-column icon-card grid. */
.lp-services-list { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .lp-services-list { grid-template-columns: 1fr 1fr; } }
.lp-service-row { display: flex; gap: 12px; align-items: flex-start; }
.lp-service-row .lp-service-media { flex: none; width: 64px; }
.lp-service-row .lp-service-img { width: 64px; height: 64px; }
.lp-service-row .lp-feature-ic { width: 64px; height: 64px; font-size: 24px; border-radius: 12px; }
.lp-service-row h3 { margin: 0 0 4px; }
.lp-service-body { min-width: 0; }

/* Release 84 — landing header must fit at <=400px (logo + burger +
   shop CTA only; login/install already hide at <=520px). */
@media (max-width: 400px) {
    .lp-logo { max-width: 120px; }
    .lp-header-in { gap: 8px; }
    .lp-shop-cta { padding-left: 10px; padding-right: 10px; }
}
