body {font-family: 'Inter', 'Nunito', 'Open Sans', sans-serif;}
.dropdown-menu {
    background-color: #fff;
    color: #1f2937;
}
.dropdown-menu .dropdown-item {
    color: #1f2937;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d3b8e;
}
.btn-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    background-image: none !important;
    color: #0f1f3d;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
    opacity: 0.75;
    cursor: pointer;
    appearance: none;
    transition: opacity 0.2s ease;
}
.btn-close::before {
    content: '\00d7';
    font-family: inherit;
}
.btn-close:hover,
.btn-close:focus {
    opacity: 1;
    outline: none;
}
.person-picker { position: relative; width: 100%; }
.person-picker-input { position: relative; }
.person-picker-dropdown {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    z-index: 1051;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.6rem;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.15);
}
.person-picker-dropdown-item {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.5rem 0.75rem;
    text-align: left;
}
.person-picker-dropdown-item:hover {
    background: rgba(13,110,253,0.08);
}
.person-picker-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.person-picker-selected .badge {
    font-weight: 600;
    background: rgba(13,110,253,0.15);
    color: #0d3b8e;
}
.person-picker {
    width: 100%;
}
.person-picker-list {
    border: 1px solid #dee2e6;
    border-radius: 0.6rem;
    max-height: 220px;
    overflow-y: auto;
    background-color: #fff;
    padding: 0.4rem;
}
.person-picker-option {
    cursor: pointer;
    padding: 0.35rem 0.45rem;
    border-radius: 0.45rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.person-picker-option:not(.active):hover {
    background: rgba(13, 110, 253, 0.08);
}
.person-picker-option.active {
    background: rgba(13, 110, 253, 0.18);
}
.person-picker-option .form-check-input {
    margin-top: 0;
}
.person-picker-list::-webkit-scrollbar {
    width: 6px;
}
.person-picker-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
}
.person-picker-list::-webkit-scrollbar-track {
    background: transparent;
}
.person-picker-summary .table td {
    padding: 0.35rem 0.5rem;
    vertical-align: middle;
    font-size: 0.85rem;
}
.person-picker-summary .card-header {
    background: #f8f9fa;
}
/* Manager dashboard styles */
.manager-hero {
    background: linear-gradient(135deg, #0d6efd, #143b6b);
    border-radius: 18px;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.manager-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08), transparent 25%),
                radial-gradient(circle at 90% 10%, rgba(255,255,255,0.06), transparent 20%);
    pointer-events: none;
}

#addFileModal .form-label {
    font-weight: 600;
    color: #0f1f3d;
}
#addFileModal .dropdown-menu {
    border-radius: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
    padding: 0.25rem;
}
#addFileModal .dropdown-item {
    border-radius: 0.4rem;
    padding: 0.35rem 0.75rem;
    font-weight: 500;
    color: #1f2937;
}
#addFileModal .dropdown-item:hover,
#addFileModal .dropdown-item:focus {
    background: rgba(13,110,253,0.08);
    color: #0d3b8e;
}
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.35rem;
}
.hero-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-badges {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.chip-light {
    background: rgba(255,255,255,0.18);
    color: #0b2342;
}
.hero-sub {
    color: rgba(255,255,255,0.88);
    max-width: 720px;
}
.hero-stats-card {
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
.hero-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.hero-stat__label {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}
.hero-stat__value {
    font-size: 2rem;
    font-weight: 800;
}
.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}
.hero-stat__value-sm {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
}
.hero-stat__value-tag {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.16);
    font-weight: 600;
}
.glass-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.04);
    backdrop-filter: blur(4px);
}
.hero-stat-grid div {
    padding: 0.6rem 0.55rem;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 767px) {
    .hero-title {
        font-size: 1.75rem;
    }
}

/* Landing page: Legal SaaS redesign */
.landing-legal {
    --legal-navy: #0b1b2b;
    --legal-ink: #14243c;
    --legal-slate: #5b6b7d;
    --legal-border: #e4e8ef;
    --legal-card: #ffffff;
    --legal-gold: #c7a45a;
    --legal-emerald: #1f7a6b;
    --legal-bg: #f7f8fb;
    font-family: 'Inter', sans-serif;
    background: var(--legal-bg);
    color: var(--legal-ink);
}

.landing-legal h1,
.landing-legal h2,
.landing-legal h3,
.landing-legal h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--legal-navy);
}

.landing-legal .public-header {
    background: rgba(248, 249, 251, 0.9);
    border-bottom: 1px solid var(--legal-border);
    backdrop-filter: blur(16px);
}

.landing-legal .public-brand {
    color: var(--legal-navy);
}

.landing-legal .public-brand__tagline {
    color: rgba(11, 27, 43, 0.5);
    letter-spacing: 0.2em;
}

.landing-legal .public-header__link {
    color: rgba(11, 27, 43, 0.7);
}

.landing-legal .public-header__link {
    text-transform: none;
    letter-spacing: 0.08em;
}

.landing-legal .public-header__link.is-active,
.landing-legal .public-header__link:hover {
    color: var(--legal-emerald);
}

.landing-legal .public-navbar__actions .btn-modern--ghost {
    background: transparent;
    border: 1px solid var(--legal-border);
    color: var(--legal-navy);
}

.landing-legal .public-navbar__actions .btn-modern--primary {
    background: var(--legal-navy);
    color: #fff;
}

.landing-legal .public-navbar__actions .btn-modern {
    text-transform: none;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
}

.legal-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--legal-emerald);
}

.legal-hero {
    position: relative;
    padding: 6.5rem 0 5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f7f8fb 0%, #eef2f8 45%, #fbf7ef 100%);
}

.legal-hero__glow {
    position: absolute;
    inset: -10% 0 auto;
    height: 420px;
    background: radial-gradient(circle at 15% 30%, rgba(31, 122, 107, 0.12), transparent 55%),
                radial-gradient(circle at 80% 20%, rgba(199, 164, 90, 0.18), transparent 50%);
    pointer-events: none;
}

.legal-hero__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.legal-hero__title {
    font-size: clamp(2.2rem, 2.6vw, 3.3rem);
    line-height: 1.15;
    margin: 0.7rem 0 1rem;
}

.legal-hero__lead {
    color: var(--legal-slate);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
}

.legal-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-legal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-legal--primary {
    background: var(--legal-navy);
    color: #fff;
    box-shadow: 0 14px 30px rgba(11, 27, 43, 0.18);
}

.btn-legal--ghost {
    border: 1px solid var(--legal-border);
    color: var(--legal-navy);
    background: #fff;
}

.btn-legal:hover {
    transform: translateY(-1px);
}

.legal-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.legal-trust__badge {
    padding: 0.45rem 0.9rem;
    background: #fff;
    border: 1px solid var(--legal-border);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--legal-slate);
}

.legal-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.legal-stat-card {
    background: var(--legal-card);
    border: 1px solid var(--legal-border);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(20, 36, 60, 0.08);
}

.legal-stat-card__value {
    font-size: 1.25rem;
    font-weight: 700;
}

.legal-stat-card__label {
    display: block;
    color: var(--legal-slate);
    margin-top: 0.35rem;
    font-size: 0.85rem;
}

.legal-hero__preview {
    position: relative;
}

.legal-preview {
    background: var(--legal-card);
    border-radius: 20px;
    border: 1px solid var(--legal-border);
    box-shadow: 0 24px 60px rgba(20, 36, 60, 0.18);
    padding: 1.8rem;
}

.legal-preview__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.legal-preview__title {
    font-weight: 700;
    display: block;
}

.legal-preview__subtitle {
    font-size: 0.85rem;
    color: var(--legal-slate);
}

.legal-preview__status {
    background: rgba(31, 122, 107, 0.15);
    color: var(--legal-emerald);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.legal-preview__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

.legal-metric {
    padding: 0.75rem;
    border-radius: 14px;
    border: 1px solid var(--legal-border);
    background: #f9fafc;
}

.legal-metric span {
    color: var(--legal-slate);
    font-size: 0.8rem;
}

.legal-metric strong {
    display: block;
    font-size: 1.1rem;
    margin-top: 0.3rem;
}

.legal-preview__chart {
    height: 110px;
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    margin-bottom: 1.4rem;
}

.chart-bar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, rgba(11, 27, 43, 0.9), rgba(11, 27, 43, 0.4));
    border-radius: 10px;
}

.legal-preview__list {
    display: grid;
    gap: 0.6rem;
}

.legal-preview__row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--legal-border);
    background: #fff;
    font-size: 0.9rem;
}

.legal-preview__pill {
    background: rgba(11, 27, 43, 0.08);
    color: var(--legal-navy);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.legal-preview__pill.is-warning {
    background: rgba(199, 164, 90, 0.18);
    color: var(--legal-gold);
}

.legal-preview__tag {
    position: absolute;
    bottom: -18px;
    right: 24px;
    background: var(--legal-navy);
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-section {
    padding: 4.5rem 0;
}

.legal-section__head {
    max-width: 640px;
    margin-bottom: 2.6rem;
}

.legal-section__head p {
    color: var(--legal-slate);
    margin-top: 0.7rem;
}

.legal-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.legal-feature-card {
    padding: 1.6rem;
    border-radius: 18px;
    border: 1px solid var(--legal-border);
    background: var(--legal-card);
    box-shadow: 0 20px 40px rgba(20, 36, 60, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legal-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 45px rgba(20, 36, 60, 0.12);
}

.legal-feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(11, 27, 43, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--legal-navy);
}

.legal-feature-card p {
    color: var(--legal-slate);
    margin-top: 0.6rem;
}

.legal-section--dashboard {
    background: #f1f4f9;
}

.legal-dashboard {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.legal-dashboard__bullets {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.4rem;
    color: var(--legal-slate);
}

.legal-dashboard__bullets i {
    color: var(--legal-emerald);
    margin-right: 0.4rem;
}

.mock-shell {
    display: grid;
    grid-template-columns: 140px 1fr;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--legal-border);
    background: #fff;
    box-shadow: 0 30px 60px rgba(20, 36, 60, 0.15);
}

.mock-sidebar {
    background: var(--legal-navy);
    color: #fff;
    padding: 1.4rem 1rem;
}

.mock-sidebar__logo {
    font-weight: 700;
    letter-spacing: 0.2em;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.mock-sidebar nav {
    display: grid;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.mock-sidebar nav span {
    opacity: 0.7;
}

.mock-sidebar nav span.is-active {
    opacity: 1;
    font-weight: 600;
}

.mock-main {
    padding: 1.6rem;
    display: grid;
    gap: 1.4rem;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-header span {
    color: var(--legal-slate);
    font-size: 0.85rem;
}

.mock-pill {
    background: rgba(11, 27, 43, 0.1);
    color: var(--legal-navy);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.mock-pill.is-warning {
    background: rgba(199, 164, 90, 0.18);
    color: var(--legal-gold);
}

.mock-pill.is-success {
    background: rgba(31, 122, 107, 0.18);
    color: var(--legal-emerald);
}

.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.mock-cards div {
    padding: 0.8rem;
    border-radius: 12px;
    background: #f7f8fb;
    border: 1px solid var(--legal-border);
}

.mock-cards span {
    display: block;
    color: var(--legal-slate);
    font-size: 0.8rem;
}

.mock-cards strong {
    font-size: 1rem;
}

.mock-table {
    display: grid;
    gap: 0.6rem;
}

.mock-table__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--legal-border);
}

.legal-workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.legal-workflow-card {
    padding: 1.6rem;
    border-radius: 16px;
    border: 1px solid var(--legal-border);
    background: var(--legal-card);
}

.legal-workflow-card p {
    color: var(--legal-slate);
    margin-top: 0.6rem;
}

.legal-section--ai {
    background: #0f1d2f;
    color: #fff;
}

.legal-section--ai h2,
.legal-section--ai h4,
.legal-section--ai .legal-eyebrow {
    color: #fff;
}

.legal-ai {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.legal-ai__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.legal-ai__badges span {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.legal-ai__panel {
    display: grid;
    gap: 1rem;
}

.legal-ai__card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-ai__card p {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.5rem;
}

.legal-section--cta {
    padding: 4.5rem 0 5.5rem;
}

.landing-legal footer {
    background: #0b1b2b;
}

.legal-cta {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--legal-border);
    box-shadow: 0 24px 60px rgba(20, 36, 60, 0.12);
}

.legal-cta__actions {
    display: grid;
    gap: 0.9rem;
}

.legal-cta__contact {
    display: grid;
    gap: 0.3rem;
    color: var(--legal-slate);
    font-size: 0.9rem;
}

.reveal-up {
    opacity: 0;
    transform: translateY(16px);
    animation: reveal-up 0.9s ease forwards;
}

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .legal-hero__grid,
    .legal-dashboard,
    .legal-ai,
    .legal-cta {
        grid-template-columns: 1fr;
    }

    .legal-hero {
        padding-top: 5rem;
    }

    .legal-feature-grid,
    .legal-workflow-grid {
        grid-template-columns: 1fr;
    }

    .mock-shell {
        grid-template-columns: 1fr;
    }

    .mock-sidebar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mock-sidebar nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .legal-hero__stats,
    .legal-preview__metrics,
    .mock-cards {
        grid-template-columns: 1fr;
    }

    .legal-hero__actions {
        flex-direction: column;
    }
}

.summary-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.04);
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}
.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.summary-meta h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.focus-card {
    padding: 1.4rem;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.05);
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}
.focus-card__badge {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #e9f0ff;
    color: #0d6efd;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.manager-pills .nav-link {
    margin-right: 0.5rem;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background: #f5f7fb;
    color: #0b2342;
    border: 1px solid transparent;
}
.manager-pills .nav-link.active {
    background: linear-gradient(135deg, #0d6efd, #143b6b);
    color: #fff;
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.25);
}

.law-panel.compact {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.team-list {
    margin: 0;
    padding: 0;
}
.team-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.team-item:last-child {
    border-bottom: none;
}
.timeline-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.timeline-item:last-child {
    border-bottom: none;
}
.timeline-date {
    font-weight: 700;
    color: #0a2a7a;
    width: 50px;
}
.timeline-content strong {
    display: block;
    font-weight: 600;
}
.alert .btn-close {
    position: relative;
    width: 1rem;
    height: 1rem;
    padding: 0.25rem;
    background: transparent;
    border: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.alert .btn-close:hover {
    opacity: 1;
}
.alert.auto-dismiss {
    animation: fadeOutAlert 0.5s ease forwards;
    animation-delay: 5s;
}
@keyframes fadeOutAlert {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}
.bg-slate-950 {
    background-color: #030712 !important;
    color: #e2e8f0;
}

.modern-hero {
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.95) 60%, rgba(28, 45, 77, 0.95));
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-hero__glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.7;
    z-index: 0;
}

.modern-hero__glow--left {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.45), transparent 60%);
    top: -40%;
    left: -15%;
}

.modern-hero__glow--right {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 60%);
    bottom: -30%;
    right: -10%;
}

.modern-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.modern-hero__text {
    max-width: 580px;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.45em;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4ade80;
    margin-bottom: 0.8rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-description {
    color: rgba(226, 232, 240, 0.75);
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
}

.modern-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
}

.btn-modern {
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    transition: transform 0.3s ease, background 0.3s ease, border 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-modern--primary {
    background: #4ade80;
    border-color: transparent;
    color: #04111f;
}

.btn-modern--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-modern:hover {
    transform: translateY(-2px);
    border-color: transparent;
}

.modern-hero__stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modern-hero__stat-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex: 1 1 150px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.8);
}

.modern-hero__panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(59, 130, 246, 0.2));
    border-radius: 32px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    box-shadow: 0 35px 80px rgba(2, 6, 23, 0.5);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    margin-bottom: 1rem;
}

.panel-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.panel-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.2rem;
}

.panel-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: #f1f5f9;
    font-weight: 500;
}

.panel-list span {
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.modern-section {
    padding: 4rem 0;
    margin-top: 1.5rem;
}

.modern-onboarding {
    background: rgba(15, 23, 42, 0.65);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 0;
}

.modern-onboarding .section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.modern-onboarding .section-description {
    max-width: 640px;
}

.onboarding-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: stretch;
}

.onboarding-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.onboarding-card {
    background: rgba(2, 6, 23, 0.35);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.onboarding-step {
    display: inline-flex;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #4ade80;
    font-size: 0.65rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.onboarding-card p {
    color: rgba(226, 232, 240, 0.85);
    margin: 0;
}

.onboarding-video {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.9));
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(74, 222, 128, 0.35);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 260px;
}

.onboarding-video h3 {
    margin: 0;
    font-size: 1.75rem;
}

.onboarding-video p {
    color: rgba(226, 232, 240, 0.8);
    margin: 0;
}

.onboarding-video__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

@media (max-width: 991px) {
    .modern-hero__grid,
    .onboarding-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .modern-hero {
        padding: 3rem 0 2rem;
    }

    .modern-hero__buttons {
        justify-content: flex-start;
    }

    .modern-hero__stats {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .approach-card__metrics {
        flex-direction: column;
    }

    .modern-contact,
    .modern-onboarding {
        margin-top: 1rem;
    }

    .contact-grid {
        flex-direction: column;
    }
}

.modern-services {
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-description {
    color: rgba(226, 232, 240, 0.75);
    max-width: 720px;
}

.services-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(15, 23, 42, 0.65);
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 220px;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 0;
}

.service-card p {
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.95rem;
    flex: 1;
}

.service-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.modern-approach {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: center;
}

.approach-points {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(226, 232, 240, 0.8);
}

.approach-points li {
    display: flex;
    gap: 0.6rem;
    position: relative;
    padding-left: 1.5rem;
}

.approach-points li::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #4ade80;
}

.approach-card {
    background: linear-gradient(180deg, rgba(74, 222, 128, 0.12), rgba(15, 23, 42, 0.65));
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(74, 222, 128, 0.3);
    min-height: 280px;
}

.approach-card h3 {
    margin-top: 0.4rem;
    margin-bottom: 0.6rem;
}

.approach-card__metrics {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.approach-card__metrics > div {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    flex: 1;
    text-align: center;
}

.modern-contact {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(8, 145, 178, 0.3));
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.contact-info a {
    color: #4ade80;
    text-decoration: none;
}

.contact-info span {
    color: rgba(226, 232, 240, 0.8);
}

.public-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0.85rem 0;
    background: rgba(2, 6, 23, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.public-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
}

.public-brand {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.public-brand__name {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.public-brand__tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.public-header__nav {
    display: flex;
    gap: 1.25rem;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
}

.public-header__link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.35rem 0.2rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.public-header__link.is-active,
.public-header__link:hover {
    color: #4ade80;
}

.public-navbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.public-navbar__actions .btn-modern {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
}

.public-navbar__actions .btn-modern i {
    font-size: 0.9rem;
}

.public-navbar__actions .btn-modern--ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.public-navbar__actions .btn-modern--primary {
    background: #4ade80;
    color: #04111f;
    border: none;
}

.owner-quick-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.owner-quick-nav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.owner-quick-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.owner-quick-nav__link {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 0.15rem;
}

.owner-quick-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: transparent;
    transition: background 0.2s ease;
}

.owner-quick-nav__link:hover::after,
.owner-quick-nav__link:focus-visible::after {
    background: rgba(255, 255, 255, 0.75);
}

.owner-quick-nav__link--muted {
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 991px) {
    .public-header__inner {
        flex-direction: column;
        gap: 1rem;
    }

    .public-header__nav {
        justify-content: center;
        gap: 0.75rem;
    }

    .public-navbar__actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .public-header__inner {
        gap: 1.25rem;
    }

    .public-header__nav {
        gap: 0.9rem;
    }

    .public-header__link {
        font-size: 0.78rem;
        letter-spacing: 0.04em;
    }

    .public-navbar__actions .btn-modern {
        font-size: 0.68rem;
        letter-spacing: 0.16em;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (min-width: 992px) {
    .modern-hero__grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}
\n@media (min-width: 1200px){.container{max-width:1400px}}
