/* Modern Landing Page — School Management ERP (aligned with auth/login theme) */

:root {
    --lp-primary: #0f766e;
    --lp-primary-dark: #115e59;
    --lp-accent: #2dd4bf;
    --lp-accent-2: #38bdf8;
    --lp-success: #34d399;
    --lp-dark: #0f172a;
    --lp-muted: #64748b;
    --lp-light: rgba(248, 250, 252, 0.88);
    --lp-card: rgba(255, 255, 255, 0.92);
    --lp-glass: rgba(255, 255, 255, 0.78);
    --lp-radius: 20px;
    --lp-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    --lp-shadow-lg: 0 30px 80px rgba(15, 118, 110, 0.18);
}

html {
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.landing-page {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.8125rem;
    color: #ffffff;
    background: transparent;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
}

.landing-page-shell {
    position: relative;
    z-index: 1;
    background: transparent;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* Login-style animated wave / glow background across the whole page */
.landing-auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.landing-auth-bg.auth-bg-cover {
    min-height: 100%;
    height: 100%;
}

.landing-auth-bg > .bg-overlay {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0.2 !important;
    pointer-events: none !important;
    z-index: 0;
    /* Keep Acadular cover-pattern off — it draws hard lines across the page */
    background-image: none !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.landing-auth-bg .auth-edu-bg {
    z-index: 1;
    display: block !important;
}

.landing-auth-bg .auth-edu-float {
    display: block !important;
    color: rgba(226, 232, 240, 0.38);
}

.landing-auth-bg .auth-edu-letter {
    display: block !important;
    color: rgba(226, 232, 240, 0.22);
}

.landing-auth-bg .auth-edu-light {
    display: block !important;
    opacity: 1;
}

.landing-auth-bg .auth-edu-light--top {
    display: block !important;
}

.landing-auth-bg .auth-edu-plane {
    display: block !important;
}

/* Soft diagonal beams (login-like) — extra blur so they don't look like CTA lines */
.landing-auth-bg .auth-edu-beam {
    display: block !important;
    filter: blur(28px) !important;
}

/* Soft wave layers that travel across the full viewport */
.landing-auth-bg .landing-wave {
    display: block !important;
    position: absolute;
    left: -10%;
    width: 120%;
    height: 28vh;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
    background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(45, 212, 191, 0.35), transparent 70%);
    animation: landingWaveDrift 16s ease-in-out infinite;
}

.landing-auth-bg .landing-wave--1 {
    bottom: -4%;
    animation-duration: 14s;
}

.landing-auth-bg .landing-wave--2 {
    bottom: 12%;
    opacity: 0.22;
    background: radial-gradient(ellipse 90% 100% at 40% 100%, rgba(56, 189, 248, 0.3), transparent 72%);
    animation-duration: 18s;
    animation-direction: reverse;
}

/* Mid-page wave only — avoid hero CTA band */
.landing-auth-bg .landing-wave--3 {
    top: auto;
    bottom: 38%;
    height: 22vh;
    opacity: 0.16;
    background: radial-gradient(ellipse 70% 100% at 60% 50%, rgba(94, 234, 212, 0.28), transparent 70%);
    animation-duration: 20s;
}

@keyframes landingWaveDrift {
    0%, 100% { transform: translateX(-4%) translateY(0); }
    50% { transform: translateX(4%) translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
    .landing-auth-bg.auth-bg-cover,
    .landing-auth-bg .landing-wave,
    .landing-auth-bg .auth-edu-float,
    .landing-auth-bg .auth-edu-light,
    .landing-auth-bg .auth-edu-beam,
    .landing-auth-bg .auth-edu-letter,
    .landing-auth-bg .auth-edu-plane {
        animation: none !important;
    }
}

/* ── Navbar (black) ── */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0.85rem 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-navbar.navbar-scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    padding: 0.55rem 0;
}

.landing-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.landing-navbar .navbar-brand img,
.landing-navbar .navbar-brand .acadular-logo-svg {
    filter: none;
}

/* Interactive Acadular logo — color-only hover, fixed size */
.acadular-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    color: inherit;
}

.acadular-logo-svg {
    display: block;
    width: auto;
    overflow: visible;
}

.acadular-wordmark {
    fill: currentColor;
    font-weight: 900 !important;
    transition: fill 0.25s ease;
}

.acadular-logo--interactive .acadular-a,
.acadular-logo--interactive .acadular-bar,
.acadular-logo--interactive .acadular-cap,
.acadular-logo--interactive .acadular-tassel-dot,
.acadular-logo--interactive .acadular-book {
    transition: fill 0.25s ease;
}

.acadular-logo--interactive .acadular-tassel-line {
    transition: stroke 0.25s ease;
}

.acadular-logo--interactive:hover .acadular-wordmark,
a:hover > .acadular-logo--interactive .acadular-wordmark {
    fill: #F39200;
}

.acadular-logo--interactive:hover .acadular-a,
.acadular-logo--interactive:hover .acadular-bar,
.acadular-logo--interactive:hover .acadular-cap,
.acadular-logo--interactive:hover .acadular-tassel-dot,
a:hover > .acadular-logo--interactive .acadular-a,
a:hover > .acadular-logo--interactive .acadular-bar,
a:hover > .acadular-logo--interactive .acadular-cap,
a:hover > .acadular-logo--interactive .acadular-tassel-dot {
    fill: #F39200;
}

.acadular-logo--interactive:hover .acadular-tassel-line,
a:hover > .acadular-logo--interactive .acadular-tassel-line {
    stroke: #F39200;
}

.acadular-logo--interactive:hover .acadular-book,
a:hover > .acadular-logo--interactive .acadular-book {
    fill: #ffb347;
}

.landing-footer .acadular-logo {
    color: #fff;
}

.landing-navbar .navbar-brand .acadular-logo {
    color: #fff;
}

.landing-navbar .nav-link {
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem !important;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.landing-navbar .nav-link:hover,
.landing-navbar .nav-link.active {
    color: #fff !important;
}

.landing-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--lp-accent), var(--lp-primary));
    border-radius: 3px;
}

.landing-navbar .landing-nav-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.landing-navbar .navbar-brand {
    margin-right: 0.5rem;
    min-width: 0;
    flex: 0 1 auto;
}

.landing-navbar .landing-nav-toggler {
    border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 10px;
    padding: 0.4rem 0.55rem;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
    margin-left: auto;
    flex: 0 0 auto;
    z-index: 1040;
    line-height: 1;
}

.landing-navbar .landing-nav-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(45, 212, 191, 0.35);
}

.landing-navbar .landing-nav-burger,
.landing-navbar .landing-nav-close {
    font-size: 1.45rem;
    line-height: 1;
    color: #fff;
    display: block;
}

.landing-navbar .landing-nav-close {
    display: none;
}

.landing-navbar .landing-nav-toggler[aria-expanded="true"] .landing-nav-burger {
    display: none;
}

.landing-navbar .landing-nav-toggler[aria-expanded="true"] .landing-nav-close {
    display: block;
}

/* Keep Bootstrap expand-lg behavior; force visible icon on small screens */
@media (max-width: 991.98px) {
    .landing-navbar .landing-nav-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .landing-navbar .navbar-brand .acadular-logo-svg {
        height: 28px !important;
        width: auto;
        max-width: min(168px, calc(100vw - 5.25rem));
    }
}

@media (min-width: 992px) {
    .landing-navbar .landing-nav-toggler {
        display: none !important;
    }

    .landing-navbar .landing-nav-container {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .landing-navbar .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        flex-grow: 1;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
    }

    .landing-navbar .navbar-nav {
        flex-wrap: nowrap;
        align-items: center;
        margin-left: 0.25rem;
        margin-right: 0.25rem;
        gap: 0;
    }

    .landing-navbar .nav-link {
        padding: 0.45rem 0.7rem !important;
        font-size: 0.95rem;
    }

    .landing-navbar .nav-cta-group {
        flex-wrap: nowrap;
        flex-shrink: 0;
        gap: 0.45rem !important;
    }

    .landing-navbar .nav-cta-group .btn {
        white-space: nowrap;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .landing-navbar .navbar-brand .acadular-logo-svg {
        height: 30px !important;
        width: auto;
    }
}

.btn-landing-nav-primary {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent-2) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-landing-nav-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.4);
}

.btn-landing-nav-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 600;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    background: transparent;
    transition: all 0.2s;
}

.btn-landing-nav-outline:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.btn-landing-primary {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-accent-2) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.35);
}

.btn-landing-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 118, 110, 0.45);
}

.btn-landing-outline {
    border: 2px solid rgba(15, 118, 110, 0.45);
    color: var(--lp-primary);
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    background: transparent;
    transition: all 0.2s;
}

.btn-landing-outline:hover {
    background: var(--lp-primary);
    border-color: var(--lp-primary);
    color: #fff;
}

.landing-hero .btn-landing-primary,
.landing-hero .btn-landing-primary:hover,
.landing-hero .btn-landing-primary:focus,
.landing-hero .btn-landing-primary:active,
.landing-hero button.btn-landing-primary.hero-cta-btn,
.landing-hero button.btn-landing-primary.hero-cta-btn:hover,
.landing-hero button.btn-landing-primary.hero-cta-btn:focus,
.landing-hero button.btn-landing-primary.hero-cta-btn:active {
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%);
    border: none !important;
    outline: none;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
    font-weight: 700;
    box-shadow: 0 6px 22px rgba(45, 212, 191, 0.45);
}

.landing-hero button.btn-landing-primary.hero-cta-btn {
    border: none !important;
    outline: none;
    box-shadow: 0 6px 22px rgba(45, 212, 191, 0.45);
}

.landing-hero button.btn-landing-primary.hero-cta-btn:focus,
.landing-hero button.btn-landing-primary.hero-cta-btn:active {
    border: none !important;
    outline: none;
    box-shadow: 0 6px 22px rgba(45, 212, 191, 0.45);
}

.landing-hero .hero-cta-btn {
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 2;
    text-decoration: none !important;
    background-clip: padding-box;
    isolation: isolate;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.22s ease,
                background 0.22s ease,
                border-color 0.22s ease,
                color 0.22s ease,
                filter 0.22s ease;
}

.landing-hero a.hero-cta-btn,
.landing-hero a.hero-cta-btn:hover,
.landing-hero a.hero-cta-btn:focus,
.landing-hero a.hero-cta-btn:active,
.landing-hero a.hero-cta-btn:visited {
    text-decoration: none !important;
    -webkit-text-decoration-line: none !important;
    text-decoration-line: none !important;
    border-bottom: none !important;
    box-shadow: 0 6px 22px rgba(45, 212, 191, 0.45);
}

.landing-hero a.btn-landing-primary.hero-cta-btn {
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%);
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
}

.landing-hero .hero-cta-btn:hover {
    transform: translateY(-4px) scale(1.03);
}

.landing-hero .hero-cta-btn:active {
    transform: translateY(-1px) scale(0.99);
}

.landing-hero .hero-cta-btn:focus-visible {
    outline: 3px solid rgba(94, 234, 212, 0.65);
    outline-offset: 3px;
}

.landing-hero .btn-landing-primary.hero-cta-btn:hover {
    color: #0f172a;
    filter: brightness(1.08);
    box-shadow: 0 12px 32px rgba(45, 212, 191, 0.55);
}

/* ── Hero ── */
.landing-hero {
    min-height: auto;
    padding: 7.5rem 0 2rem;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 0 !important;
    box-shadow: none !important;
}

.landing-hero::before,
.landing-hero::after {
    content: none !important;
    display: none !important;
}

@media (min-width: 992px) {
    .landing-hero {
        min-height: auto;
        padding: 7.5rem 0 2.25rem;
    }
}

.landing-hero .hero-cta-group {
    position: relative;
    z-index: 3;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 1.5rem;
    row-gap: 0.75rem;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    outline: none !important;
}

.landing-hero .hero-cta-group::before,
.landing-hero .hero-cta-group::after {
    content: none !important;
    display: none !important;
}

.landing-hero .hero-subtitle {
    max-width: 540px;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(45, 212, 191, 0.22);
    top: -10%;
    right: -5%;
    animation: blobFloat 12s ease-in-out infinite;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(56, 189, 248, 0.18);
    bottom: 10%;
    left: -8%;
    animation: blobFloat 15s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 118, 110, 0.12);
    color: var(--lp-accent);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(45, 212, 191, 0.28);
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--lp-success);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.landing-hero h1,
.landing-hero .hero-title-interactive {
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.landing-hero h1 .gradient-text,
.landing-hero .hero-title-accent {
    display: inline;
    background: linear-gradient(120deg, #5eead4, #2dd4bf, #38bdf8, #5eead4);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: heroGradientShift 5s ease infinite;
}

@keyframes heroGradientShift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-subtitle {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.92);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    max-width: 540px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #f1f5f9;
    box-shadow: none;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-chip:hover,
.hero-chip.is-active {
    transform: translateY(-2px);
    background: rgba(45, 212, 191, 0.22);
    border-color: rgba(94, 234, 212, 0.55);
    color: #ffffff;
}

.hero-chip i {
    color: var(--lp-accent);
}

/* Hero visual — transparent PNG */
.hero-visual-wrap {
    position: relative;
    padding: 1.5rem 1rem 2rem;
    min-height: 320px;
}

.hero-main-img {
    width: 100%;
    max-width: min(480px, 90vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(15, 118, 110, 0.18));
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-float {
    position: absolute;
    object-fit: contain;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
    transition: transform 0.15s ease-out;
}

.hero-float-1 {
    width: clamp(90px, 18vw, 140px);
    top: 8%;
    right: 2%;
    animation: floatSide 5s ease-in-out infinite;
}

.hero-float-2 {
    width: clamp(80px, 16vw, 120px);
    bottom: 18%;
    left: 0;
    animation: floatSide 7s ease-in-out infinite reverse;
}

@keyframes floatSide {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

.hero-stat-card {
    position: absolute;
    bottom: 8%;
    right: 5%;
    background: var(--lp-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: var(--lp-shadow);
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-stat-card .stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lp-primary);
}

.hero-stat-card .stat-lbl {
    font-size: 0.75rem;
    color: var(--lp-muted);
    font-weight: 600;
}

/* ── Stats bar ── */
.stats-bar {
    padding: 0.75rem 0 1rem;
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.stats-bar .container {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.88) 0%, rgba(56, 189, 248, 0.75) 100%);
    border-radius: var(--lp-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--lp-shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-item .stat-value {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    display: block;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
    font-weight: 500;
    margin-top: 0.35rem;
    display: block;
}

.stats-privacy {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 1.15rem;
}

/* ── Sections — alternating colour bands (after hero + stats) ── */
.landing-section {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.48) 0%, rgba(30, 41, 59, 0.36) 100%);
}

.landing-section-alt {
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.32) 0%, rgba(8, 145, 178, 0.18) 100%);
}

/* Hero + stats share the page background (no alternate band) */
.landing-hero,
.stats-bar {
    background: transparent;
}

/* CTA continues the same band as the section above (FAQ = alt) */
.cta-section.landing-section-alt {
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.32) 0%, rgba(8, 145, 178, 0.18) 100%);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(56, 189, 248, 0.14));
    color: #5eead4 !important;
    -webkit-text-fill-color: #5eead4;
    font-size: 0.75rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(45, 212, 191, 0.28);
    backdrop-filter: blur(8px);
    cursor: default;
    pointer-events: none;
    text-decoration: none !important;
    line-height: 1.4;
}

.landing-page .section-badge,
.landing-page .landing-section .section-badge,
.landing-page .landing-page-hero .section-badge,
.landing-page .landing-hero .section-badge {
    color: #5eead4 !important;
    -webkit-text-fill-color: #5eead4;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(56, 189, 248, 0.14));
    border: 1px solid rgba(45, 212, 191, 0.28);
    font-size: 0.75rem !important;
}

.section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.8125rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    #features .section-subtitle,
    #why-acadular .section-subtitle {
        max-width: none;
        white-space: nowrap;
    }
}

/* Body copy matches the CTA lead size; card text stays smaller */
.landing-page .landing-body,
.landing-page .section-subtitle,
.landing-page .hero-subtitle,
.landing-page .landing-page-hero p,
.landing-page .landing-page-hero .text-muted,
.landing-page .landing-page-hero .fw-semibold,
.landing-page .landing-section > .container > p,
.landing-page .landing-section > .container > .reveal > p,
.landing-page .landing-section > .container > .reveal > .fw-semibold,
.landing-page .landing-section > .container > .row > [class*="col-"] > p,
.landing-page .landing-section > .container > .row > [class*="col-"] > .fw-semibold,
.landing-page .landing-section > .container > .text-center > p,
.landing-page .cta-section .cta-lead {
    font-size: clamp(0.95rem, 2.8vw, 1.05rem) !important;
    line-height: 1.40;
}

.landing-page .feature-card > p,
.landing-page .feature-card .text-muted,
.landing-page .module-list li,
.landing-page .portal-card-tilt p,
.landing-page .portal-card-tilt .text-muted,
.landing-page .portal-card-tilt .small,
.landing-page .faq-accordion .accordion-body,
.landing-page .feature-showcase p,
.landing-page .feature-showcase .text-muted {
    font-size: 0.8125rem !important;
    line-height: 1.40;
}

/* Readable body text on dark section backgrounds */
.landing-page .landing-section > .container > .row > [class*="col-"] > p.text-muted,
.landing-page .landing-section > .container > .row > [class*="col-"] .text-muted:not(.feature-card .text-muted):not(.portal-card-tilt .text-muted):not(.feature-showcase .text-muted) {
    color: rgba(241, 245, 249, 0.9) !important;
    -webkit-text-fill-color: rgba(241, 245, 249, 0.9);
}

/* Introduction — same two-column pattern as Flexible ERP */
#introduction .feature-showcase,
#flexible-erp .feature-showcase {
    padding: 1.35rem 1.5rem;
}

#flexible-erp .feature-showcase {
    padding: 1.90rem 1.5rem;
}

#introduction .feature-showcase .fw-bold,
#flexible-erp .feature-showcase .fw-bold {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
    margin-bottom: 0.65rem !important;
}

#introduction .intro-unify-list {
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

#introduction .intro-unify-list li {
    color: #334155 !important;
    -webkit-text-fill-color: #334155;
    font-size: 0.8125rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    line-height: 1.3;
}

/* Scroll reveal — visible by default; only hide after JS marks ready */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

html.landing-reveal-ready .reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(30px);
}

.module-pills.reveal {
    overflow: visible;
}

.feature-tabs.reveal {
    overflow: visible;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Feature tabs ── */
.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    overflow: visible;
}

.feature-tab {
    border: 2px solid #e2e8f0;
    background: #fff;
    color: var(--lp-muted);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.22s ease,
                background 0.22s ease,
                border-color 0.22s ease,
                color 0.22s ease,
                filter 0.22s ease;
}

.feature-tab:hover {
    transform: translateY(-4px) scale(1.03);
    color: #0f172a;
    border: 2px solid transparent;
    background:
        linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%) padding-box,
        linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%) border-box;
    background-clip: padding-box, border-box;
    filter: brightness(1.08);
    box-shadow: 0 12px 32px rgba(45, 212, 191, 0.55);
}

.feature-tab:active {
    transform: translateY(-1px) scale(0.99);
}

.feature-tab:focus,
.feature-tab:focus-visible {
    outline: none;
    box-shadow: none;
}

.feature-tab.active,
.feature-tab.active:focus,
.feature-tab.active:focus-visible {
    color: #fff;
    border: 2px solid transparent;
    background:
        linear-gradient(135deg, var(--lp-primary), var(--lp-accent-2)) padding-box,
        linear-gradient(135deg, var(--lp-primary), var(--lp-accent-2)) border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
    outline: none;
    filter: none;
    transform: none;
}

.feature-tab.active:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1.08);
    box-shadow: 0 12px 32px rgba(45, 212, 191, 0.55);
    border: 2px solid transparent;
    background:
        linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%) padding-box,
        linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%) border-box;
    background-clip: padding-box, border-box;
}

.feature-tab.active:active {
    transform: translateY(-1px) scale(0.99);
}

.feature-tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.feature-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-showcase {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--lp-radius);
    padding: 2.5rem;
    box-shadow: var(--lp-shadow);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.feature-showcase-img,
.contact-illustration {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
}

.feature-showcase-img {
    max-height: min(280px, 40vw);
}

.contact-illustration {
    max-height: min(200px, 35vw);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
}

.feature-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: #fff !important;
    border: 1px solid #e2e8f0;
    border-radius: var(--lp-radius);
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: #000;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lp-shadow);
    border-color: rgba(15, 118, 110, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(56, 189, 248, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.feature-card .feature-icon i {
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-card h3,
.feature-card p,
.feature-card .text-muted {
    color: #000 !important;
    -webkit-text-fill-color: #000;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.feature-card > p,
.feature-card .text-muted {
    font-size: 0.8125rem;
    line-height: 1.65;
}

/* Overview tab: 4 cards per row */
.feature-overview-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.feature-overview-grid > .feature-overview-col {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

@media (max-width: 1199.98px) {
    .feature-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .feature-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .feature-overview-grid {
        grid-template-columns: 1fr;
    }
}

/* Force readable black copy inside white content cards */
.module-panel,
.portal-card-tilt,
.pricing-card,
.landing-blog-card,
.step-card,
.feature-showcase,
.contact-card,
.faq-accordion .accordion-item,
.faq-accordion .accordion-button,
.faq-accordion .accordion-body {
    color: #000 !important;
}

.module-panel,
.portal-card-tilt,
.pricing-card,
.landing-blog-card,
.step-card,
.feature-showcase,
.contact-card {
    background: #fff !important;
}

.module-panel .text-muted,
.portal-card-tilt .text-muted,
.pricing-card .text-muted,
.landing-blog-card .text-muted,
.step-card .text-muted,
.feature-showcase .text-muted,
.module-panel-header h3,
.portal-card-tilt h3,
.portal-card-tilt .h5,
.portal-card-tilt p,
.pricing-card .plan-name,
.pricing-card li,
.landing-blog-title,
.landing-blog-excerpt,
.landing-blog-date,
.step-card h3,
.step-card p,
.faq-accordion .accordion-button,
.faq-accordion .accordion-body {
    color: #000 !important;
    -webkit-text-fill-color: #000;
}

.module-panel-header .small,
.portal-audience {
    color: #333 !important;
    -webkit-text-fill-color: #333;
}

/* ── Module pills & panels ── */
.module-pills {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 2rem;
    max-height: none;
    overflow: visible;
    padding: 0.5rem 0.25rem;
    width: 100%;
}

.module-pill {
    border: 2px solid #e2e8f0;
    background: #fff;
    color: var(--lp-muted);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    width: 100%;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.22s ease,
                background 0.22s ease,
                border-color 0.22s ease,
                color 0.22s ease,
                filter 0.22s ease;
}

.module-pill:hover {
    transform: translateY(-4px) scale(1.03);
    color: #0f172a;
    border: 2px solid transparent;
    background:
        linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%) padding-box,
        linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%) border-box;
    background-clip: padding-box, border-box;
    filter: brightness(1.08);
    box-shadow: 0 12px 32px rgba(45, 212, 191, 0.55);
}

.module-pill:active {
    transform: translateY(-1px) scale(0.99);
}

.module-pill:focus,
.module-pill:focus-visible {
    outline: none;
    box-shadow: none;
}

.module-pill.active,
.module-pill.active:focus,
.module-pill.active:focus-visible {
    color: #fff;
    border: 2px solid transparent;
    background:
        linear-gradient(135deg, var(--lp-primary), var(--lp-accent-2)) padding-box,
        linear-gradient(135deg, var(--lp-primary), var(--lp-accent-2)) border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
    outline: none;
    filter: none;
    transform: none;
}

.module-pill.active:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1.08);
    box-shadow: 0 12px 32px rgba(45, 212, 191, 0.55);
    border: 2px solid transparent;
    background:
        linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%) padding-box,
        linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%) border-box;
    background-clip: padding-box, border-box;
}

.module-pill.active:active {
    transform: translateY(-1px) scale(0.99);
}

.module-panel {
    display: none;
    background: #fff;
    border-radius: var(--lp-radius);
    padding: 2rem;
    box-shadow: var(--lp-shadow);
    border: 1px solid #f1f5f9;
    animation: fadeIn 0.35s ease;
}

.module-panel.active {
    display: block;
}

.module-panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.module-panel-header .module-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent-2));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-panel-header .module-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.module-panel-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.module-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.5rem 1.5rem;
}

.module-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    font-size: 0.8125rem;
    color: var(--lp-muted);
}

.module-list li::before {
    content: '\eb7b';
    font-family: 'remixicon';
    position: absolute;
    left: 0;
    color: var(--lp-success);
    font-size: 1rem;
}

/* ── Portal cards ── */
.portal-card-tilt {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--lp-radius);
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: box-shadow 0.3s, border-color 0.3s;
    will-change: transform;
}

.portal-card-tilt:hover {
    box-shadow: var(--lp-shadow);
    border-color: rgba(15, 118, 110, 0.2);
}

.portal-card-tilt .portal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent-2));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}

.portal-card-tilt .portal-icon i {
    font-size: 1.6rem;
    color: #fff;
}

.portal-card-tilt .portal-audience {
    font-size: 0.8rem;
    color: var(--lp-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Steps timeline ── */
.steps-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 56px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent), var(--lp-accent-2));
    border-radius: 3px;
    z-index: 0;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 1.75rem 1.35rem 1.5rem;
    border-radius: var(--lp-radius);
    border: 1px solid rgba(15, 118, 110, 0.14);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
    cursor: pointer;
    outline: none;
}

.step-card:hover,
.step-card:focus-visible {
    transform: translateY(-10px);
    box-shadow: 0 22px 48px rgba(15, 118, 110, 0.22);
    border-color: rgba(45, 212, 191, 0.55);
}

.step-circle {
    width: 72px;
    height: 72px;
    background: #fff;
    border: 3px solid var(--lp-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.15rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--lp-primary);
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.15);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.step-card:hover .step-circle,
.step-card:focus-visible .step-circle {
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent-2));
    color: #fff;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.35);
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.25s ease;
}

.step-card:hover h3,
.step-card:focus-visible h3 {
    color: var(--lp-primary) !important;
    -webkit-text-fill-color: var(--lp-primary);
}

@media (max-width: 767.98px) {
    .steps-timeline {
        flex-direction: column;
        gap: 1rem;
    }

    .steps-timeline::before {
        display: none;
    }
}

/* ── Pricing ── */
.billing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    padding: 0.4rem;
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 2.5rem;
}

.billing-toggle-wrap .billing-cycle-btn {
    appearance: none;
    border: 0;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--lp-muted);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    transition: color 0.2s, background 0.2s;
    cursor: pointer;
}

.billing-toggle-wrap .billing-cycle-btn.active {
    color: #fff;
    background: var(--lp-primary);
}

.billing-toggle-wrap .billing-cycle-btn:focus-visible {
    outline: 2px solid var(--lp-primary);
    outline-offset: 2px;
}

.pricing-card {
    background: #fff;
    border: 2px solid #f1f5f9;
    border-radius: 24px;
    padding: 2.25rem;
    height: 100%;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--lp-shadow-lg);
}

.pricing-card.popular {
    border-color: var(--lp-primary);
    background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.pricing-card .popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent-2));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    letter-spacing: 0.03em;
}

.pricing-card .btn-landing-primary,
.pricing-card .btn-landing-outline {
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.22s ease,
                background 0.22s ease,
                border-color 0.22s ease,
                color 0.22s ease,
                filter 0.22s ease;
}

.pricing-card .btn-landing-primary:hover,
.pricing-card .btn-landing-outline:hover {
    transform: translateY(-4px) scale(1.03);
    color: #0f172a;
    border: 2px solid transparent;
    background:
        linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%) padding-box,
        linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%) border-box;
    background-clip: padding-box, border-box;
    filter: brightness(1.08);
    box-shadow: 0 12px 32px rgba(45, 212, 191, 0.55);
}

.pricing-card .btn-landing-primary:active,
.pricing-card .btn-landing-outline:active {
    transform: translateY(-1px) scale(0.99);
}

.pricing-card .plan-name {
    font-size: 1.2rem;
    font-weight: 800;
}

.pricing-card .plan-price {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-card .plan-price span {
    font-size: 0.95rem;
    font-weight: 500;
    -webkit-text-fill-color: var(--lp-muted);
}

.pricing-features li::before {
    color: var(--lp-success);
}

.comparison-table {
    border-radius: var(--lp-radius);
    overflow: hidden;
    border: none !important;
}

.comparison-table thead th {
    background: var(--lp-dark);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.comparison-table tbody tr {
    transition: background 0.2s;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

/* ── FAQ ── */
.faq-accordion .accordion-item {
    border: 1px solid #f1f5f9;
    border-radius: 16px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(45, 212, 191, 0.04));
    color: var(--lp-primary);
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--lp-muted);
    line-height: 1.7;
}

/* ── Contact ── */
.contact-card {
    background: linear-gradient(135deg, #ecfdf5, #f0f9ff);
    border-radius: var(--lp-radius);
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.contact-card img {
    max-height: 180px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
}

/* ── CTA ── */
.cta-section {
    position: relative;
    padding: 2.5rem 0;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.cta-section::before {
    content: none;
    display: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.72) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(56, 189, 248, 0.45) 100%);
    border-radius: var(--lp-radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--lp-shadow);
}

.cta-inner {
    max-width: none;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-section h2 {
    font-weight: 800;
    font-size: clamp(1.55rem, 5vw, 2.5rem);
    color: #fff;
    line-height: 1.25;
    margin: 0 0 0.85rem;
    max-width: 100%;
}

.cta-section .cta-lead {
    opacity: 0.9;
    max-width: none;
    width: 100%;
    align-self: stretch;
    margin: 0 0 1.5rem;
    font-size: clamp(0.95rem, 2.8vw, 1.05rem) !important;
    line-height: 1.65;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.cta-section .cta-tagline {
    margin: 1.25rem 0 0;
    font-size: 0.875rem !important;
    line-height: 1.4;
    opacity: 0.75;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.cta-img-float {
    display: block;
    width: min(100%, 280px);
    max-width: 100%;
    height: auto;
    max-height: min(180px, 32vw);
    object-fit: contain;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.cta-section .btn-light,
.cta-section .btn-outline-light {
    font-weight: 700;
    border-radius: 50px;
    padding: 0.65rem 1.35rem;
    flex: 0 1 auto;
    min-width: min(100%, 11rem);
    text-align: center;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.22s ease,
                background 0.22s ease,
                border-color 0.22s ease,
                color 0.22s ease,
                filter 0.22s ease;
}

.landing-page .cta-section .btn-light,
.landing-page .cta-section .btn-light:hover,
.landing-page .cta-section .btn-light:focus,
.landing-page .cta-section .btn-light:active {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
}

.cta-section .btn-outline-light {
    font-weight: 600;
    border-width: 2px;
}

.cta-section .btn-light:hover,
.cta-section .btn-outline-light:hover {
    transform: translateY(-4px) scale(1.03);
    color: #0f172a;
    border-color: transparent;
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%);
    filter: brightness(1.08);
    box-shadow: 0 12px 32px rgba(45, 212, 191, 0.55);
}

.cta-section .btn-light:active,
.cta-section .btn-outline-light:active {
    transform: translateY(-1px) scale(0.99);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 3rem 0;
    }

    .cta-inner {
        padding: 2rem 2rem;
    }

    .cta-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        width: auto;
        max-width: 100%;
    }

    .cta-section .btn-light,
    .cta-section .btn-outline-light {
        width: auto;
        flex: 0 1 auto;
        min-width: 0;
        white-space: nowrap;
        padding: 0.65rem 1.25rem;
    }
}

.comparison-scroll .comparison-table {
    min-width: 560px;
}

/* ── Footer ── */
.landing-footer {
    background: rgba(15, 23, 42, 0.72);
    color: rgba(255, 255, 255, 0.65);
    padding: 4rem 0 2rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    align-items: start;
}

.landing-footer-brand {
    min-width: 0;
}

.landing-footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 22rem;
    color: rgba(255, 255, 255, 0.65);
}

.landing-footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.85rem;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer a:hover {
    color: #fff;
}

.landing-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.landing-footer .footer-links a {
    font-size: 0.9rem;
    display: inline-block;
}

.landing-footer-social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.landing-footer-social a {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.05rem;
    line-height: 1;
}

.landing-footer-social a:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.landing-footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 2rem 0 1.25rem;
    opacity: 1;
}

.landing-footer-copy {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.landing-footer .footer-brand {
    font-weight: 800;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #5eead4, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 991.98px) {
    .landing-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1.25rem;
    }

    .landing-footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .landing-footer-tagline {
        max-width: 28rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .landing-footer {
        padding: 2.5rem 0 1.5rem;
        text-align: center;
    }

    .landing-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }

    .landing-footer-col {
        text-align: center;
    }

    .landing-footer .footer-links {
        align-items: center;
    }

    .landing-footer-social {
        justify-content: center;
    }

    .landing-footer-heading {
        margin-bottom: 0.65rem;
    }

    .landing-footer-divider {
        margin: 1.5rem 0 1rem;
    }
}

/* ── Image credit ── */
.image-credit {
    font-size: 0.7rem;
    color: var(--lp-muted);
    opacity: 0.7;
    margin-top: 0.5rem;
}

.image-credit a {
    color: inherit;
}

section[id] {
    scroll-margin-top: 80px;
}

/* ── Responsive ── */
@media (max-width: 1199.98px) {
    .hero-main-img {
        max-width: 420px;
    }
}

@media (max-width: 991.98px) {
    .landing-navbar {
        padding: 0.65rem 0;
    }

    .landing-navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .landing-navbar .navbar-collapse {
        background: rgba(0, 0, 0, 0.98);
        margin-top: 0.75rem;
        padding: 1rem 1.15rem 1.25rem;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        max-height: min(78vh, 560px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .landing-navbar .navbar-nav {
        gap: 0.15rem;
        margin-bottom: 1rem !important;
        align-items: stretch !important;
    }

    .landing-navbar .nav-link {
        padding: 0.7rem 0.85rem !important;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .landing-navbar .nav-link.active,
    .landing-navbar .nav-link:hover {
        background: rgba(45, 212, 191, 0.12);
    }

    .landing-navbar .nav-link.active::after {
        display: none;
    }

    .nav-cta-group {
        width: 100%;
        flex-direction: column !important;
        gap: 0.55rem !important;
    }

    .nav-cta-group .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 0.65rem 1rem;
    }

    .landing-hero {
        min-height: auto;
        padding: 5.5rem 0 1.5rem;
        text-align: center;
        overflow: visible;
    }

    .landing-hero .container,
    .landing-section .container,
    .stats-bar .container,
    .cta-section .container,
    .landing-footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 36rem;
    }

    .hero-cta-group {
        justify-content: center !important;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .landing-hero .hero-cta-btn {
        width: 100%;
        max-width: 100%;
    }

    .hero-chips {
        justify-content: center;
    }

    img.hero-main-img,
    img.feature-showcase-img,
    img.contact-illustration,
    .landing-blog-image img {
        max-width: 100%;
        height: auto;
    }

    .hero-visual-wrap {
        margin-top: 1.5rem;
        padding: 0.5rem;
        min-height: 220px;
    }

    .hero-main-img {
        max-width: min(100%, 420px);
        height: auto;
    }

    .hero-float-1 {
        width: 80px;
        right: 0;
        top: 5%;
    }

    .hero-float-2 {
        width: 70px;
        left: 0;
        bottom: 12%;
    }

    .hero-stat-card {
        position: static;
        display: inline-block;
        margin-top: 1.25rem;
    }

    .stats-bar .container {
        margin-left: 1rem;
        margin-right: 1rem;
        width: auto;
        padding: 2rem 1.25rem;
    }

    .steps-timeline {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .steps-timeline::before {
        display: none;
    }

    .step-card {
        width: 100%;
        max-width: 100%;
    }

    .pricing-card.popular {
        transform: none;
    }

    .landing-section {
        padding: 3.5rem 0;
    }

    .module-list {
        grid-template-columns: 1fr;
    }

    .feature-showcase {
        padding: 1.5rem;
    }

    .module-panel {
        padding: 1.25rem;
    }

    .contact-card {
        padding: 2rem 1.25rem;
    }

    .module-pills {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex-wrap: unset;
        justify-content: stretch;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        margin-left: 0;
        margin-right: 0;
        padding: 0.25rem 0 0.75rem;
    }

    .module-pill {
        width: 100%;
        flex: unset;
        max-width: 100%;
        font-size: 0.84rem;
        padding: 0.55rem 0.75rem;
        white-space: nowrap;
        justify-content: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .module-pill span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .feature-tabs {
        justify-content: center;
        flex-wrap: wrap !important;
        overflow: visible !important;
        scrollbar-width: none;
        padding-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        gap: 0.45rem;
    }

    .feature-tabs::-webkit-scrollbar {
        display: none;
        height: 0;
        width: 0;
    }

    .feature-tab {
        flex: 0 1 auto;
        white-space: nowrap;
        font-size: 0.84rem;
        padding: 0.5rem 1rem;
    }

    .feature-showcase-img,
    .contact-illustration {
        max-width: 100%;
        height: auto;
    }

    .pricing-card {
        height: auto;
    }

    .landing-modal .modal-dialog {
        margin: 0.75rem;
        max-width: calc(100% - 1.5rem);
    }
}

@media (max-width: 767.98px) {
    .landing-hero {
        padding-top: 5rem;
        padding-bottom: 2.5rem;
    }

    .landing-hero h1 {
        font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .landing-hero .btn-lg,
    .landing-hero .hero-cta-btn {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        padding: 0.75rem 1.1rem;
    }

    .hero-float-1,
    .hero-float-2 {
        display: none;
    }

    .hero-visual-wrap {
        min-height: 0;
    }

    .hero-stat-card {
        max-width: 100%;
    }

    .stat-item .stat-value {
        font-size: 1.55rem;
    }

    .pricing-card {
        padding: 1.75rem 1.25rem;
    }

    .section-title {
        font-size: clamp(1.45rem, 6vw, 1.9rem);
    }

    .section-subtitle {
        margin-bottom: 1.75rem;
        font-size: 0.95rem;
        max-width: 100%;
    }

    .cta-section {
        padding: 2rem 0;
    }

    .cta-section::before {
        content: none;
        display: none;
    }

    .cta-inner {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }

    .cta-img-float {
        width: min(100%, 220px);
        max-height: 140px;
        margin-bottom: 1rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .cta-section .btn-light,
    .cta-section .btn-outline-light,
    .cta-section .btn-lg {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .cta-section .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    .landing-footer {
        padding: 2.75rem 0 1.5rem;
        text-align: center;
    }

    .landing-footer .footer-links {
        margin-bottom: 0;
        padding-left: 0;
        align-items: center;
    }

    .landing-footer-social {
        justify-content: center;
    }

    .landing-footer .row > [class*="col-"] {
        text-align: center;
    }

    .feature-card-head {
        flex-wrap: wrap;
    }

    .portal-card-tilt {
        text-align: center;
        transform: none !important;
    }

    .contact-card {
        text-align: center;
    }

    .comparison-scroll {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .module-pills {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .module-pills {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .module-pill {
        font-size: 0.82rem;
        padding: 0.5rem 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .landing-navbar .navbar-brand {
        font-size: 1rem;
        max-width: calc(100% - 3.5rem);
    }

    .landing-navbar .navbar-brand .acadular-logo-svg {
        max-width: 100%;
        height: 30px !important;
    }

    .feature-tabs {
        justify-content: center;
        flex-wrap: wrap !important;
        overflow: visible !important;
        scrollbar-width: none;
        gap: 0.4rem;
    }

    .feature-tabs::-webkit-scrollbar {
        display: none;
        height: 0;
    }

    .feature-tab {
        font-size: 0.82rem;
        padding: 0.5rem 0.95rem;
    }

    .module-pill {
        font-size: 0.82rem;
        padding: 0.5rem 0.75rem;
    }

    .hero-chip {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }

    .billing-toggle-wrap {
        flex-wrap: wrap;
        padding: 0.4rem;
        width: 100%;
        max-width: 22rem;
        justify-content: center;
    }

    .billing-toggle-wrap .billing-cycle-btn {
        flex: 1 1 auto;
        padding: 0.45rem 0.75rem;
        font-size: 0.85rem;
    }

    .step-circle {
        width: 64px;
        height: 64px;
        font-size: 1.2rem;
    }

    .portal-card-tilt {
        padding: 1.5rem 1rem;
    }

    .faq-accordion .accordion-button {
        font-size: 0.95rem;
        padding: 0.9rem 1rem;
    }

    .landing-blog-card {
        margin-bottom: 0;
    }

    .stats-bar .container {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 399.98px) {
    .stats-bar .container {
        border-radius: 14px;
    }

    .hero-badge {
        font-size: 0.72rem;
    }
}

/* ── Blog cards ── */
.landing-blog-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: var(--lp-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.landing-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-lg);
}

.landing-blog-image {
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #ecfdf5, #e0f2fe);
}

.landing-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-blog-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-primary);
    font-size: 2.5rem;
}

.landing-blog-body {
    padding: 1.25rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.landing-blog-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lp-muted);
    margin-bottom: 0.4rem;
}

.landing-blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    color: var(--lp-dark);
}

.landing-blog-excerpt {
    color: var(--lp-muted);
    font-size: 0.8125rem;
    margin-bottom: 1rem;
    flex: 1;
}

.landing-blog-read,
.landing-page .landing-blog-read {
    font-weight: 700;
    text-decoration: none;
    color: #2563eb !important;
    -webkit-text-fill-color: #2563eb;
}

.landing-blog-read:hover,
.landing-page .landing-blog-read:hover {
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8;
}

.blog-carousel {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.blog-carousel-viewport {
    flex: 1 1 auto;
    min-width: 0;
}

.blog-carousel-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.blog-carousel-track .landing-blog-card.is-offscreen {
    display: none !important;
}

.blog-nav {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.15rem;
    background: transparent;
    box-shadow: none;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-family: inherit;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.blog-chevron {
    display: block;
    width: 14px;
    height: 34px;
}

.blog-nav[hidden] {
    display: none !important;
}

.blog-nav:hover {
    background: transparent;
    color: #60a5fa;
    -webkit-text-fill-color: #60a5fa;
}

@media (max-width: 767.98px) {
    .blog-carousel {
        flex-direction: column;
        align-items: center;
    }

    .blog-carousel-track {
        grid-template-columns: 1fr;
    }

    .blog-nav-prev {
        order: 1;
    }

    .blog-nav-prev .blog-chevron {
        transform: rotate(90deg);
    }

    .blog-carousel-viewport {
        order: 2;
        width: 100%;
    }

    .blog-nav-next {
        order: 3;
    }

    .blog-nav-next .blog-chevron {
        transform: rotate(90deg);
    }
}

.landing-blog-detail-content {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.94);
}

.landing-blog-detail-content img {
    max-width: 100%;
    height: auto;
}

.landing-blog-article-section {
    padding-top: clamp(6.5rem, 12vw, 8rem);
}

.landing-blog-article {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.landing-blog-back,
.landing-page .landing-blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: #60a5fa !important;
    -webkit-text-fill-color: #60a5fa;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.landing-blog-back:hover,
.landing-page .landing-blog-back:hover {
    color: #93c5fd !important;
    -webkit-text-fill-color: #93c5fd;
}

.landing-blog-article-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.landing-blog-article-image {
    margin-bottom: 1.5rem;
    border-radius: 14px;
    overflow: hidden;
}

.landing-blog-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.landing-blog-article .landing-blog-date {
    color: rgba(255, 255, 255, 0.78);
}

.landing-blog-article .landing-blog-detail-content,
.landing-page .landing-blog-article .landing-blog-detail-content,
.landing-page .landing-page-hero .landing-blog-detail-content,
.landing-page .landing-page-hero .landing-blog-detail-content p,
.landing-page .landing-page-hero .landing-blog-detail-content li,
.landing-page .landing-page-hero .landing-blog-detail-content h2,
.landing-page .landing-page-hero .landing-blog-detail-content h3,
.landing-page .landing-page-hero .landing-blog-detail-content h4,
.landing-page .landing-page-hero .landing-blog-detail-content span,
.landing-page .landing-blog-article-title,
.landing-page .landing-blog-article .landing-blog-date {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}

.landing-page .landing-blog-detail-content a {
    color: #60a5fa !important;
    -webkit-text-fill-color: #60a5fa;
}

.landing-modal .modal-content {
    border: 0;
    border-radius: 18px;
}

.landing-modal .form-control:focus {
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

/* Modals must sit above the fixed wave background and remain sharp/scrollable */
body.landing-page .modal {
    z-index: 1080;
    pointer-events: auto;
}

body.landing-page .modal-backdrop {
    z-index: 1070;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.landing-page .modal .modal-content {
    background: #fff !important;
    color: #000 !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.landing-page .modal .modal-body {
    overflow-y: auto;
    max-height: min(70vh, 640px);
    -webkit-overflow-scrolling: touch;
}

body.landing-page #blogDetailModal .modal-dialog {
    max-height: calc(100vh - 2rem);
}

body.landing-page #blogDetailModal .landing-blog-detail-content {
    color: #000 !important;
}

/* Card copy must stay readable on the dark wave background */
.landing-page .feature-card,
.landing-page .module-panel,
.landing-page .portal-card-tilt,
.landing-page .pricing-card,
.landing-page .landing-blog-card,
.landing-page .step-card,
.landing-page .feature-showcase,
.landing-page .contact-card {
    background-color: #ffffff !important;
}

.landing-page .feature-card,
.landing-page .feature-card h3,
.landing-page .feature-card p,
.landing-page .feature-card .text-muted,
.landing-page .module-panel,
.landing-page .module-panel-header h3,
.landing-page .module-panel .text-muted,
.landing-page .module-panel .small,
.landing-page .portal-card-tilt,
.landing-page .portal-card-tilt h3,
.landing-page .portal-card-tilt .h5,
.landing-page .portal-card-tilt p,
.landing-page .portal-card-tilt .text-muted,
.landing-page .pricing-card,
.landing-page .pricing-card .plan-name,
.landing-page .pricing-card .pricing-features li,
.landing-page .pricing-card .text-muted,
.landing-page .landing-blog-card,
.landing-page .landing-blog-title,
.landing-page .landing-blog-excerpt,
.landing-page .landing-blog-date,
.landing-page .step-card,
.landing-page .step-card h3,
.landing-page .step-card p,
.landing-page .step-card .text-muted,
.landing-page .feature-showcase,
.landing-page .feature-showcase h3,
.landing-page .feature-showcase p,
.landing-page .feature-showcase .text-muted,
.landing-page .contact-card,
.landing-page .contact-card h3,
.landing-page .contact-card p,
.landing-page .faq-accordion .accordion-button,
.landing-page .faq-accordion .accordion-body {
    color: #000000 !important;
    -webkit-text-fill-color: #000000;
}

.landing-page .portal-card-tilt .portal-audience {
    color: #0f766e !important;
    -webkit-text-fill-color: #0f766e;
}

.landing-page .pricing-card .plan-price {
    -webkit-text-fill-color: transparent;
}

.landing-page .module-panel-header .module-icon i,
.landing-page .portal-card-tilt .portal-icon i,
.landing-page .feature-card .feature-icon i {
    -webkit-text-fill-color: unset;
}

/* -- Hero photo (new landing visual) -- */
.hero-main-img.hero-main-photo {
    max-width: min(560px, 100%);
    border-radius: 1.25rem;
    object-fit: cover;
    filter: drop-shadow(0 24px 48px rgba(15, 118, 110, 0.22));
}

.hero-lead {
    font-size: clamp(1.1rem, 2.1vw, 1.35rem);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    line-height: 1.45;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
    max-width: 34rem;
}

.landing-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.92) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

.hero-privacy-stats {
    gap: 1.25rem;
}

.hero-privacy-stat {
    display: flex;
    flex-direction: column;
    min-width: 7rem;
}

.hero-privacy-stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: #5eead4 !important;
    -webkit-text-fill-color: #5eead4;
    line-height: 1.2;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

.hero-privacy-stat span {
    font-size: 0.8rem;
    color: rgba(241, 245, 249, 0.88) !important;
    -webkit-text-fill-color: rgba(241, 245, 249, 0.88);
    font-weight: 600;
}

.hero-privacy-note {
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.88) !important;
    -webkit-text-fill-color: rgba(226, 232, 240, 0.88);
    font-weight: 500;
}

/* -- Inner landing pages -- */
.landing-page-hero {
    padding: clamp(4.5rem, 10vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    background: transparent;
}

.landing-page .landing-page-hero .section-subtitle {
    text-align: center !important;
    text-align-last: center !important;
    text-justify: auto;
    margin-left: auto;
    margin-right: auto;
}

.landing-page-hero > .container > .text-center > p.text-muted,
.landing-page-hero > .container > .reveal > p.text-muted {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
}

.landing-page-hero .feature-card,
.landing-page-hero .pricing-card,
.landing-page-hero .landing-blog-card {
    text-align: left;
}

/* Match About intro body alignment on home and about (not card copy) */
.landing-page .hero-subtitle,
.landing-page .landing-section > .container > p,
.landing-page .landing-section > .container > .reveal > p,
.landing-page .landing-section > .container > .row > [class*="col-"] > p,
.landing-page .landing-section > .container > .row > [class*="col-"] > .fw-semibold,
.landing-page .cta-section .cta-lead {
    text-align: justify !important;
    text-align-last: left !important;
    text-justify: inter-word;
    max-width: none;
    width: 100%;
    align-self: stretch;
}

.landing-page .landing-section > .container > .reveal > p.section-subtitle,
.landing-page #features .section-subtitle,
.landing-page #why-acadular .section-subtitle,
.landing-page #solutions .section-subtitle,
.landing-page #faq .section-subtitle {
    text-align: center !important;
    text-align-last: center !important;
    text-justify: auto;
    margin-left: auto;
    margin-right: auto;
}

.landing-page .outcomes-lead {
    text-align: justify !important;
    text-align-last: left !important;
    text-justify: inter-word;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    color: rgba(255, 255, 255, 0.94) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.94);
    font-size: clamp(0.95rem, 2.8vw, 1.05rem) !important;
    line-height: 1.65;
}

.landing-page .feature-card p,
.landing-page .feature-card .text-muted,
.landing-page .feature-showcase p,
.landing-page .feature-showcase .text-muted,
.landing-page .faq-accordion .accordion-body {
    text-align: left;
    text-align-last: auto;
}

.landing-page .portal-card-tilt,
.landing-page .portal-card-tilt h3,
.landing-page .portal-card-tilt .h5,
.landing-page .portal-card-tilt p,
.landing-page .portal-card-tilt .text-muted,
.landing-page .portal-card-tilt .small,
.landing-page .portal-card-tilt .portal-audience {
    text-align: center !important;
    text-align-last: center;
}

.landing-page .navbar-nav .nav-link.active {
    opacity: 1;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .hero-main-img.hero-main-photo {
        max-width: min(420px, 92vw);
    }
}

@media (max-width: 575.98px) {
    .hero-privacy-stat {
        min-width: 45%;
    }
}

/* Dark landing surfaces: body copy must stay light and readable */
.landing-page .landing-hero,
.landing-page .landing-page-hero,
.landing-page .landing-section,
.landing-page .cta-section,
.landing-page .landing-section .fw-semibold,
.landing-page .landing-page-hero .fw-semibold,
.landing-page .section-title,
.landing-page .section-subtitle,
.landing-page .hero-lead,
.landing-page .hero-subtitle {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.landing-page .landing-section .col-lg-6 > .module-list {
    gap: 0.12rem 1.25rem;
}

.landing-page .landing-section .col-lg-6 > .module-list li {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    line-height: 1.2;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

.landing-page .landing-section .col-lg-6 > .module-list li::before {
    color: #5eead4;
}

.landing-page .text-muted,
.landing-page .landing-section p,
.landing-page .landing-page-hero p,
.landing-page .landing-hero p {
    color: rgba(255, 255, 255, 0.94) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.94);
}

/* White cards keep dark text */
.landing-page .feature-card,
.landing-page .feature-card h3,
.landing-page .feature-card p,
.landing-page .feature-card .text-muted,
.landing-page .feature-showcase,
.landing-page .feature-showcase h3,
.landing-page .feature-showcase p,
.landing-page .feature-showcase .text-muted,
.landing-page .feature-showcase .module-list li,
.landing-page .portal-card-tilt,
.landing-page .portal-card-tilt h3,
.landing-page .portal-card-tilt p,
.landing-page .portal-card-tilt .text-muted,
.landing-page .faq-accordion .accordion-button,
.landing-page .faq-accordion .accordion-body,
.landing-page .pricing-card,
.landing-page .pricing-card .text-muted,
.landing-page .landing-blog-card,
.landing-page .landing-blog-card .text-muted,
.landing-page .landing-page-hero .landing-blog-card p,
.landing-page .landing-blog-card .landing-blog-title,
.landing-page .landing-blog-card .landing-blog-excerpt,
.landing-page .landing-blog-card .landing-blog-date,
.landing-page .contact-card,
.landing-page .contact-card p {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
}

.landing-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 45%, #38bdf8 100%);
    box-shadow: 0 8px 22px rgba(45, 212, 191, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.landing-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.landing-to-top i {
    font-size: 1.35rem;
    line-height: 1;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
}

.landing-to-top:hover {
    filter: brightness(1.08);
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
}
