/* =========================================================
   EduFlow ERP — Landing Page Styles
   ========================================================= */

:root {
    --erp-ink: #0b1f2a;
    --erp-ink-soft: #1e3a4c;
    --erp-muted: #5b7180;
    --erp-primary: #0f766e;
    --erp-primary-dark: #0d5f59;
    --erp-primary-light: #14b8a6;
    --erp-accent: #0e7490;
    --erp-surface: #f3faf8;
    --erp-surface-alt: #e8f5f2;
    --erp-white: #ffffff;
    --erp-border: rgba(15, 118, 110, 0.12);
    --erp-shadow: 0 10px 30px rgba(11, 31, 42, 0.08);
    --erp-shadow-lg: 0 24px 48px rgba(11, 31, 42, 0.12);
    --erp-radius: 1rem;
    --erp-radius-lg: 1.5rem;
    --erp-nav-h: 76px;
    --erp-font: "Plus Jakarta Sans", system-ui, sans-serif;
    --erp-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--erp-nav-h) + 12px);
}

body.landing-page {
    font-family: var(--erp-font);
    color: var(--erp-ink);
    background: var(--erp-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4,
.landing-page .display-font {
    font-family: var(--erp-display);
    letter-spacing: -0.02em;
}

.landing-page a {
    text-decoration: none;
}

.landing-page img {
    max-width: 100%;
    height: auto;
}

/* ---------- Utilities ---------- */

.erp-section {
    padding: 5rem 0;
    position: relative;
}

.erp-section-alt {
    background: var(--erp-surface);
}

.erp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--erp-primary-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.erp-title {
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--erp-ink);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.erp-lead {
    color: var(--erp-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 40rem;
}

.erp-lead.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-accent {
    color: var(--erp-primary);
    position: relative;
}

.text-accent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.08em;
    width: 100%;
    height: 0.22em;
    background: rgba(20, 184, 166, 0.28);
    border-radius: 999px;
    z-index: -1;
}

.btn-erp {
    --bs-btn-bg: var(--erp-primary);
    --bs-btn-border-color: var(--erp-primary);
    --bs-btn-hover-bg: var(--erp-primary-dark);
    --bs-btn-hover-border-color: var(--erp-primary-dark);
    --bs-btn-active-bg: var(--erp-primary-dark);
    --bs-btn-active-border-color: var(--erp-primary-dark);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.75rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-erp:hover,
.btn-erp:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}

.btn-erp-outline {
    --bs-btn-color: var(--erp-primary-dark);
    --bs-btn-border-color: rgba(15, 118, 110, 0.35);
    --bs-btn-hover-bg: rgba(15, 118, 110, 0.08);
    --bs-btn-hover-border-color: var(--erp-primary);
    --bs-btn-hover-color: var(--erp-primary-dark);
    --bs-btn-active-bg: rgba(15, 118, 110, 0.12);
    --bs-btn-active-border-color: var(--erp-primary);
    --bs-btn-active-color: var(--erp-primary-dark);
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.75rem 1.4rem;
    background: transparent;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-erp-outline:hover,
.btn-erp-outline:focus-visible {
    transform: translateY(-2px);
}

.btn-erp-light {
    background: #fff;
    color: var(--erp-primary-dark);
    border: none;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.75rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-erp-light:hover,
.btn-erp-light:focus-visible {
    color: var(--erp-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(11, 31, 42, 0.15);
}

.btn-erp,
.btn-erp-outline,
.btn-erp-light {
    min-height: 48px;
}

/* ---------- Navbar ---------- */

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
    padding: 0.65rem 0;
}

.landing-nav.is-scrolled {
    box-shadow: 0 8px 24px rgba(11, 31, 42, 0.06);
    border-bottom-color: var(--erp-border);
    padding: 0.35rem 0;
}

.landing-nav .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--erp-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--erp-ink) !important;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 0.7rem;
    background: linear-gradient(145deg, var(--erp-primary-light), var(--erp-primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.landing-nav .nav-link {
    color: var(--erp-ink-soft) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.55rem 0.85rem !important;
    border-radius: 0.5rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.landing-nav .nav-link:hover,
.landing-nav .nav-link:focus-visible,
.landing-nav .nav-link.active {
    color: var(--erp-primary) !important;
    background: rgba(15, 118, 110, 0.06);
}

.landing-nav .navbar-toggler {
    border: 1px solid var(--erp-border);
    border-radius: 0.6rem;
    padding: 0.45rem 0.6rem;
}

.landing-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.2);
}

.landing-nav .nav-cta .btn {
    min-height: 44px;
    padding: 0.55rem 1.1rem;
}

@media (max-width: 991.98px) {
    .landing-nav .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
        border-radius: var(--erp-radius);
        background: #fff;
        border: 1px solid var(--erp-border);
        box-shadow: var(--erp-shadow);
    }

    .landing-nav .nav-link {
        padding: 0.85rem 1rem !important;
        font-size: 1rem;
    }

    .landing-nav .nav-cta {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--erp-border);
    }

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

/* ---------- Hero ---------- */

.hero-section {
    position: relative;
    padding: 3.5rem 0 4.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(20, 184, 166, 0.14), transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(14, 116, 144, 0.1), transparent 50%),
        linear-gradient(180deg, #f7fcfb 0%, #ffffff 70%);
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 118, 110, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--erp-ink);
    margin: 1rem 0;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--erp-muted);
    line-height: 1.7;
    max-width: 34rem;
}

.hero-trust {
    font-size: 0.9rem;
    color: var(--erp-muted);
}

.hero-trust span + span::before {
    content: "•";
    margin: 0 0.45rem;
    color: var(--erp-primary-light);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Hero dashboard mockup */

.hero-visual {
    position: relative;
    z-index: 1;
}

.dash-float {
    animation: floatY 5s ease-in-out infinite;
}

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

.dash-frame {
    background: #fff;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius-lg);
    box-shadow: var(--erp-shadow-lg);
    overflow: hidden;
}

.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--erp-border);
    background: #fafcfb;
}

.dash-dots {
    display: flex;
    gap: 0.35rem;
}

.dash-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d1d5db;
}

.dash-dots span:nth-child(1) { background: #f87171; }
.dash-dots span:nth-child(2) { background: #fbbf24; }
.dash-dots span:nth-child(3) { background: #34d399; }

.dash-body {
    display: grid;
    grid-template-columns: 72px 1fr;
    min-height: 280px;
}

.dash-side {
    background: var(--erp-ink);
    padding: 0.85rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.dash-side i {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
}

.dash-side i.active {
    background: var(--erp-primary);
    color: #fff;
}

.dash-main {
    padding: 0.9rem;
    background: #f8fafc;
}

.stat-chip {
    background: #fff;
    border: 1px solid var(--erp-border);
    border-radius: 0.85rem;
    padding: 0.75rem;
    height: 100%;
}

.stat-chip .label {
    font-size: 0.72rem;
    color: var(--erp-muted);
    margin-bottom: 0.2rem;
}

.stat-chip .value {
    font-family: var(--erp-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--erp-ink);
    line-height: 1.2;
}

.stat-chip .delta {
    font-size: 0.7rem;
    color: var(--erp-primary);
    font-weight: 600;
}

.mini-chart {
    height: 64px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    padding-top: 0.5rem;
}

.mini-chart span {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--erp-primary-light), var(--erp-primary));
    opacity: 0.85;
}

.activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.activity-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.75rem;
    color: var(--erp-ink-soft);
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(15, 118, 110, 0.06);
}

.activity-list li:last-child {
    border-bottom: 0;
}

.activity-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--erp-primary);
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.notif-pill {
    position: absolute;
    top: -0.75rem;
    right: 1rem;
    background: #fff;
    border: 1px solid var(--erp-border);
    box-shadow: var(--erp-shadow);
    border-radius: 0.85rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
    max-width: calc(100% - 2rem);
}

.notif-pill i {
    color: var(--erp-primary);
}

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

    .dash-side {
        flex-direction: row;
        justify-content: center;
        padding: 0.6rem;
    }

    .notif-pill {
        position: static;
        margin: 0 0 0.75rem;
        max-width: 100%;
    }
}

/* ---------- Stats ---------- */

.stats-section {
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.stats-panel {
    background: var(--erp-ink);
    color: #fff;
    border-radius: var(--erp-radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--erp-shadow-lg);
}

.stat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
}

.stat-item .num {
    font-family: var(--erp-display);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.stat-item .lbl {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

/* ---------- Feature cards ---------- */

.feature-card {
    background: #fff;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.1);
    color: var(--erp-primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--erp-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ---------- Modules ---------- */

.modules-section {
    background:
        linear-gradient(180deg, var(--erp-ink) 0%, #143447 100%);
    color: #fff;
}

.modules-section .erp-title {
    color: #fff;
}

.modules-section .erp-lead {
    color: rgba(255, 255, 255, 0.72);
}

.module-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.85rem;
    padding: 0.9rem 1rem;
    height: 100%;
    transition: background 0.2s ease, transform 0.2s ease;
}

.module-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.module-chip i {
    width: 36px;
    height: 36px;
    border-radius: 0.55rem;
    background: rgba(20, 184, 166, 0.2);
    color: var(--erp-primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-chip span {
    font-weight: 600;
    font-size: 0.92rem;
}

/* ---------- Benefits ---------- */

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.55rem 0;
    color: var(--erp-ink-soft);
    font-weight: 500;
}

.benefits-list i {
    color: var(--erp-primary);
    font-size: 1.15rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.benefits-visual .dash-frame {
    box-shadow: var(--erp-shadow);
}

/* ---------- Roles ---------- */

.role-card {
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius);
    padding: 1.75rem 1.5rem;
    height: 100%;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.role-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.role-card.role-admin::before { background: var(--erp-primary); }
.role-card.role-teacher::before { background: #0e7490; }
.role-card.role-student::before { background: #0369a1; }
.role-card.role-parent::before { background: #0f766e; }

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--erp-shadow);
}

.role-card .role-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.role-admin .role-icon { background: rgba(15, 118, 110, 0.12); color: var(--erp-primary); }
.role-teacher .role-icon { background: rgba(14, 116, 144, 0.12); color: #0e7490; }
.role-student .role-icon { background: rgba(3, 105, 161, 0.12); color: #0369a1; }
.role-parent .role-icon { background: rgba(15, 118, 110, 0.1); color: #0f766e; }

.role-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.role-card p {
    color: var(--erp-muted);
    margin: 0;
    line-height: 1.6;
}

/* ---------- How it works ---------- */

.steps-track {
    position: relative;
}

.step-card {
    background: #fff;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius);
    padding: 1.5rem;
    height: 100%;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--erp-primary);
    color: #fff;
    font-family: var(--erp-display);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--erp-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ---------- Dashboard showcase ---------- */

.showcase-shell {
    background: #fff;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius-lg);
    box-shadow: var(--erp-shadow-lg);
    overflow: hidden;
}

.showcase-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 420px;
}

.showcase-sidebar {
    background: var(--erp-ink);
    color: rgba(255, 255, 255, 0.75);
    padding: 1.25rem 1rem;
}

.showcase-sidebar .brand {
    color: #fff;
    font-weight: 700;
    font-family: var(--erp-display);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-sidebar .nav-item-fake {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.55rem;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.showcase-sidebar .nav-item-fake.active {
    background: var(--erp-primary);
    color: #fff;
}

.showcase-main {
    background: #f4f7f6;
}

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--erp-border);
}

.showcase-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.showcase-content {
    padding: 1.25rem;
}

.kpi-card {
    background: #fff;
    border: 1px solid var(--erp-border);
    border-radius: 0.9rem;
    padding: 1rem;
    height: 100%;
}

.kpi-card .kpi-label {
    font-size: 0.78rem;
    color: var(--erp-muted);
}

.kpi-card .kpi-value {
    font-family: var(--erp-display);
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--erp-ink);
}

.chart-panel {
    background: #fff;
    border: 1px solid var(--erp-border);
    border-radius: 0.9rem;
    padding: 1rem;
    height: 100%;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    margin-top: 0.75rem;
}

.bar-chart span {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #5eead4, var(--erp-primary));
}

.line-chart {
    height: 120px;
    margin-top: 0.75rem;
    position: relative;
}

.line-chart svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 991.98px) {
    .showcase-layout {
        grid-template-columns: 1fr;
    }

    .showcase-sidebar {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        align-items: center;
    }

    .showcase-sidebar .brand {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .showcase-sidebar .nav-item-fake {
        margin: 0;
        font-size: 0.78rem;
        padding: 0.4rem 0.6rem;
        background: rgba(255, 255, 255, 0.06);
    }
}

@media (max-width: 575.98px) {
    .showcase-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- Security ---------- */

.security-card {
    background: #fff;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius);
    padding: 1.25rem;
    height: 100%;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.security-card i {
    width: 42px;
    height: 42px;
    border-radius: 0.7rem;
    background: rgba(15, 118, 110, 0.1);
    color: var(--erp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
}

.security-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.security-card p {
    color: var(--erp-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.55;
}

/* ---------- Testimonials ---------- */

.testimonial-card {
    background: #fff;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--erp-shadow);
}

.testimonial-stars {
    color: #d97706;
    letter-spacing: 0.1em;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.testimonial-text {
    color: var(--erp-ink-soft);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--erp-primary-light), var(--erp-primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-meta strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-meta span {
    font-size: 0.8rem;
    color: var(--erp-muted);
}

.sample-note {
    font-size: 0.85rem;
    color: var(--erp-muted);
}

/* ---------- CTA bands ---------- */

.cta-band {
    background:
        radial-gradient(ellipse 70% 80% at 20% 50%, rgba(20, 184, 166, 0.25), transparent 55%),
        linear-gradient(135deg, var(--erp-ink) 0%, #164a5a 100%);
    color: #fff;
    border-radius: var(--erp-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
}

.cta-band h2 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 36rem;
    margin: 0 auto 1.5rem;
}

.final-cta {
    background:
        linear-gradient(135deg, var(--erp-primary-dark) 0%, var(--erp-accent) 100%);
    color: #fff;
}

.final-cta .erp-title {
    color: #fff;
}

.final-cta .erp-lead {
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- FAQ ---------- */

.faq-accordion .accordion-item {
    border: 1px solid var(--erp-border);
    border-radius: 0.85rem !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-family: var(--erp-display);
    color: var(--erp-ink);
    box-shadow: none !important;
    background: #fff;
    padding: 1.1rem 1.25rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--erp-primary-dark);
    background: rgba(15, 118, 110, 0.05);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f766e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    color: var(--erp-muted);
    line-height: 1.65;
    padding: 0 1.25rem 1.15rem;
}

/* ---------- Footer ---------- */

.landing-footer {
    background: #07151c;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

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

.landing-footer .footer-brand {
    color: #fff;
    font-family: var(--erp-display);
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.landing-footer .footer-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 18rem;
}

.landing-footer h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.landing-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-footer li {
    margin-bottom: 0.55rem;
}

.landing-footer li a {
    font-size: 0.92rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.875rem;
}

/* ---------- Reveal animations ---------- */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .dash-float,
    .reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .feature-card:hover,
    .role-card:hover,
    .testimonial-card:hover,
    .module-chip:hover,
    .btn-erp:hover,
    .btn-erp-outline:hover,
    .btn-erp-light:hover,
    .btn-erp-ghost:hover,
    .btn-erp-ghost:focus-visible {
        transform: none;
    }
}

/* ---------- Focus ---------- */

.landing-page a:focus-visible,
.landing-page button:focus-visible,
.landing-page .btn:focus-visible {
    outline: 2px solid var(--erp-primary);
    outline-offset: 3px;
}

/* ---------- Responsive spacing ---------- */

@media (max-width: 767.98px) {
    .erp-section {
        padding: 3.5rem 0;
    }

    .hero-section {
        padding: 2.25rem 0 3rem;
    }

    .cta-band {
        padding: 2.25rem 1.25rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .hero-trust span + span::before {
        display: none;
    }
}

@media (max-width: 374.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .stat-chip .value {
        font-size: 1.05rem;
    }
}

/* ---------- Misc helpers ---------- */

.stats-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.modules-eyebrow {
    background: rgba(255, 255, 255, 0.1);
    color: #5eead4;
}

.benefits-panel {
    background: #f8fafc;
}

.btn-erp-ghost {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, 0.45);
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.1);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-bg: rgba(255, 255, 255, 0.14);
    --bs-btn-active-color: #fff;
    --bs-btn-active-border-color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.75rem 1.4rem;
    min-height: 48px;
    background: transparent;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-erp-ghost:hover,
.btn-erp-ghost:focus-visible {
    transform: translateY(-2px);
}
