/********** Boothwise Premium SaaS Landing **********/
:root {
    --navy: #172B4D;
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --teal: #14B8A6;
    --light: #F1F5F9;
    --white: #FFFFFF;
    --primary: var(--blue);
    --primary-dark: var(--blue-dark);
    --dark: var(--navy);
    --surface: var(--white);
    --muted: #64748B;
    --border: #E2E8F0;
    --radius: 12px;
    --radius-lg: 14px;
    --shadow-sm: 0 4px 24px rgba(23, 43, 77, 0.08);
    --shadow-md: 0 12px 40px rgba(23, 43, 77, 0.12);
    --nav-height: 72px;
}

body {
    font-family: Inter, "Noto Sans Malayalam", system-ui, sans-serif;
    color: var(--dark);
    background: var(--white);
}

html[lang="ml"] body {
    font-size: 1.0625rem;
    line-height: 1.75;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.navbar-brand,
.hero-modern h1 {
    font-family: "Plus Jakarta Sans", "Noto Sans Malayalam", system-ui, sans-serif;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 100000;
    padding: 0.75rem 1.25rem;
    background: var(--dark);
    color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--navy);
}

.section-lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.py-section {
    padding: 5rem 0;
}

/* ---- Navbar ---- */
.landing-navbar {
    min-height: var(--nav-height);
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.landing-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.landing-navbar .navbar-brand img {
    height: 40px;
    width: auto;
}

.landing-navbar .nav-link {
    font-weight: 500;
    color: var(--navy) !important;
    font-size: 0.95rem;
}

.landing-navbar .nav-link:hover,
.landing-navbar .nav-link.active {
    color: var(--blue) !important;
}

.landing-navbar .btn-cta-nav {
    background: var(--blue);
    color: #fff !important;
    border: none;
    font-weight: 600;
    border-radius: 10px;
}

.landing-navbar .btn-cta-nav:hover {
    background: var(--blue-dark);
    color: #fff !important;
}

.lang-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.lang-btn.active {
    background: var(--navy);
    color: #fff;
}

/* ---- Hero ---- */
.hero-modern {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 90%, rgba(20, 184, 166, 0.1) 0%, transparent 45%),
        linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 55%, #F1F5F9 100%);
    padding: 7.5rem 0 4.5rem;
    margin-bottom: 0;
}

.hero-modern .container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1.25rem;
}

.hero-modern h1 {
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.hero-lead {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 34rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-hero-primary {
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
}

.btn-hero-primary:hover {
    background: var(--blue-dark);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-hero-outline {
    background: transparent;
    color: var(--navy);
    font-weight: 600;
    border: 1.5px solid var(--border);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--blue);
    border-color: var(--blue);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-proof span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
}

/* Device mockups */
.hero-devices {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
}

.device-laptop {
    width: min(100%, 420px);
    background: var(--navy);
    border-radius: 12px 12px 4px 4px;
    padding: 10px 10px 0;
    box-shadow: var(--shadow-md);
}

.device-laptop-screen {
    background: #0f172a;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.device-laptop-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.device-laptop-base {
    height: 12px;
    background: #334155;
    border-radius: 0 0 8px 8px;
    margin: 0 -18px;
}

.device-phone {
    width: 140px;
    background: var(--navy);
    border-radius: 22px;
    padding: 8px;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.device-phone-screen {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9 / 19;
}

.device-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-devices-caption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 1rem;
}

@media (max-width: 991.98px) {
    .hero-devices {
        min-height: auto;
        flex-direction: column;
        align-items: center;
    }

    .device-laptop {
        display: none;
    }

    .device-phone {
        width: 180px;
        order: -1;
        margin-bottom: 0.5rem;
    }
}

/* ---- Trust strip ---- */
.trust-strip {
    background: var(--white);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
}

.trust-stat {
    text-align: center;
    padding: 1rem;
}

.trust-stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.35rem;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.trust-stat .stat-label {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
}

/* ---- Feature cards ---- */
.feature-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.feature-card .icon-wrap i {
    font-size: 1.25rem;
    color: var(--blue);
}

.feature-card .icon-wrap.teal {
    background: rgba(20, 184, 166, 0.12);
}

.feature-card .icon-wrap.teal i {
    color: var(--teal);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---- Capabilities dark band ---- */
.capabilities-band {
    background: var(--navy);
    color: #fff;
    padding: 5rem 0;
}

.capabilities-band .section-eyebrow {
    color: var(--teal);
    background: rgba(20, 184, 166, 0.15);
}

.capabilities-band .section-title {
    color: #fff;
}

.capabilities-band .section-lead {
    color: rgba(255, 255, 255, 0.7);
}

.capability-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
}

.capability-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.capability-card p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.capability-card .cap-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: rgba(37, 99, 235, 0.25);
    color: #93C5FD;
}

.capability-card .cap-icon.teal {
    background: rgba(20, 184, 166, 0.2);
    color: #5EEAD4;
}

/* ---- Showcase ---- */
.showcase-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: var(--light);
}

.showcase-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-caption {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    margin-top: 1rem;
}

/* ---- Solutions ---- */
.solution-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.solution-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.solution-card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.solution-card ul {
    padding-left: 1.1rem;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.solution-card ul li {
    margin-bottom: 0.4rem;
}

/* ---- Process ---- */
.process-step-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--light);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.process-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-embed-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 9;
}

.video-embed-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- Privacy ---- */
.privacy-grid .privacy-item {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    border: 1px solid var(--border);
}

.privacy-grid .privacy-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.privacy-grid .privacy-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---- Mobile app ---- */
.mobile-app-section {
    background: linear-gradient(135deg, #EEF2FF 0%, #F1F5F9 100%);
}

.app-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.app-badge-row img {
    height: 40px;
    width: auto;
    max-width: 135px;
    object-fit: contain;
    display: block;
}

/* ---- Pricing ---- */
.pricing-tabs .nav-pills .nav-link {
    color: var(--dark);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    margin: 0 0.25rem;
    border: 1px solid var(--border);
    background: var(--white);
}

.pricing-tabs .nav-pills .nav-link.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.price-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.price-card.featured {
    border: 2px solid var(--blue);
}

.price-card-header {
    padding: 1.75rem;
}

.price-card-header.dark {
    background: var(--navy);
    color: #fff;
}

.price-card-header.primary {
    background: var(--blue);
    color: #fff;
}

.price-card-body {
    padding: 1.75rem;
}

.price-feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.price-feature:last-of-type {
    border-bottom: none;
}

/* ---- Testimonials ---- */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.testimonial-card .quote {
    color: var(--muted);
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
}

.testimonial-card .author-name {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.15rem;
}

.testimonial-card .author-role {
    font-size: 0.85rem;
    color: var(--muted);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* ---- FAQ ---- */
.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--dark);
    background: var(--light);
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue-dark);
    box-shadow: none;
}

.faq-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

/* ---- Final CTA ---- */
.final-cta {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 30%, rgba(20, 184, 166, 0.25) 0%, transparent 45%),
        var(--navy);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.final-cta h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.final-cta .btn-cta-primary {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
}

.final-cta .btn-cta-primary:hover {
    background: var(--light);
    color: var(--blue);
}

.final-cta .btn-cta-outline {
    background: transparent;
    color: #fff;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
}

.final-cta .btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

/* ---- Contact / forms ---- */
.contact-info-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.signup-form-card,
.demo-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.checklist-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Footer ---- */
.landing-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
}

.landing-footer .section-title,
.landing-footer h5 {
    color: #fff;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.landing-footer a:hover {
    color: #fff;
}

.landing-footer .btn-link {
    display: block;
    text-align: left;
    padding: 0.25rem 0;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

.landing-footer .btn-link:hover {
    color: #fff;
}

.landing-footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    font-size: 0.9rem;
}

.landing-footer .footer-menu a {
    margin-left: 1rem;
    text-decoration: none;
}

.footer-brand-line {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

/* ---- Mobile sticky / WhatsApp ---- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
}

.mobile-sticky-cta .btn {
    flex: 1;
    font-weight: 600;
    border-radius: 12px;
    font-size: 0.85rem;
}

.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.25rem;
    z-index: 9997;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
    color: #fff;
    transform: scale(1.08);
}

.btn-primary {
    background-color: var(--blue);
    border-color: var(--blue);
}

.btn-primary:hover {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
}

.text-primary {
    color: var(--blue) !important;
}

@media (max-width: 991.98px) {
    .hero-modern {
        padding: 6rem 0 3.5rem;
    }

    .mobile-sticky-cta {
        display: flex;
    }

    body.has-mobile-cta {
        padding-bottom: 4.5rem;
    }

    .floating-whatsapp {
        bottom: 5.5rem;
    }

    .py-section {
        padding: 3.5rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .wow {
        visibility: visible !important;
        animation: none !important;
    }
}

#loaderLSGD,
#loaderWard {
    display: none;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.election-modal {
    z-index: 100010;
}

.modal-backdrop.show {
    z-index: 100009;
}

.election-modal .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.election-modal .modal-header {
    align-items: flex-start;
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.25rem;
}

.election-modal .modal-body {
    padding: 0.75rem 1.5rem 0.5rem;
}

.election-modal .modal-footer {
    border-top: none;
    justify-content: flex-start;
    padding: 0.75rem 1.5rem 1.5rem;
}

.election-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.election-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}

.election-countdown > div {
    background: var(--light);
    border-radius: 12px;
    text-align: center;
    padding: 0.85rem 0.35rem;
}

.election-countdown [data-unit] {
    display: block;
    font-family: "Plus Jakarta Sans", "Noto Sans Malayalam", system-ui, sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
}

.election-countdown small {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.election-description {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0;
    white-space: pre-line;
}

.election-passed {
    display: none;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.election-countdown.is-complete ~ .election-passed {
    display: block;
}

.election-topbar {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.election-topbar .navbar-brand img {
    height: 42px;
    width: auto;
}

.election-page {
    padding: 3rem 0 4rem;
}

.election-page .container {
    max-width: 720px;
}

.election-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.election-back:hover {
    color: var(--blue-dark);
}

.election-date {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}
