* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #172033;
    font-family: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(10, 36, 114, 0.08);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
}

.navbar {
    min-height: 76px;
}

.navbar-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: var(--aos-primary);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 10px 22px rgba(10, 36, 114, 0.18);
}

.brand-copy,
.footer-brand span:last-child {
    display: grid;
    line-height: 1.2;
}

.brand-copy strong,
.footer-brand strong {
    font-size: 1rem;
    color: var(--aos-primary);
}

.brand-copy small,
.footer-brand small {
    max-width: 220px;
    color: #667085;
    font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
    font-size: 0.78rem;
    white-space: normal;
}

.navbar-nav {
    gap: 2px;
}

.nav-link {
    color: #344054;
    font-size: 0.93rem;
    font-weight: 600;
    padding: 10px 11px !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--aos-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-link {
    color: var(--aos-primary);
    font-weight: 700;
    text-decoration: none;
}

.join-btn,
.primary-cta {
    border: 0;
    color: #172033;
    background: var(--aos-accent);
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(255, 193, 7, 0.28);
}

.join-btn:hover,
.primary-cta:hover {
    background: #f2b500;
    color: #172033;
}

.secondary-cta {
    border: 1px solid rgba(10, 36, 114, 0.2);
    color: var(--aos-primary);
    background: #ffffff;
    font-weight: 800;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 72px 0 64px;
    background:
        linear-gradient(90deg, rgba(10, 36, 114, 0.98), rgba(10, 36, 114, 0.9)),
        url("../images/hero-study-pattern.svg");
    background-size: cover;
    color: #ffffff;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #fff2bd;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-title {
    max-width: 760px;
    margin: 0 0 18px;
    font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
    font-size: clamp(2rem, 4.8vw, 4.7rem);
    line-height: 1.1;
    font-weight: 800;
}

.hero-subtitle {
    max-width: 660px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.84);
    font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-actions .btn {
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 8px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 700;
}

.trust-item i {
    color: var(--aos-accent);
}

.dashboard-preview {
    max-width: 460px;
    margin-left: auto;
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.preview-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: #f5f7fb;
    border-bottom: 1px solid #e4e7ec;
}

.preview-status {
    display: inline-flex;
    gap: 6px;
}

.preview-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d0d5dd;
}

.preview-status span:first-child {
    background: var(--aos-secondary);
}

.preview-status span:nth-child(2) {
    background: var(--aos-accent);
}

.preview-status span:last-child {
    background: #12b76a;
}

.preview-body {
    padding: 20px;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.preview-stat {
    padding: 12px;
    border-radius: 8px;
    background: #f5f7fb;
}

.preview-stat strong {
    display: block;
    color: var(--aos-primary);
    font-size: 1.35rem;
}

.pdf-preview-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
}

.pdf-cover {
    display: grid;
    min-height: 104px;
    place-items: center;
    border-radius: 8px;
    background: var(--aos-primary);
    color: #ffffff;
    font-weight: 800;
}

.section-pad {
    padding: 76px 0;
}

.section-muted {
    background: #f5f7fb;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading.align-start {
    margin-left: 0;
    text-align: left;
}

.section-heading span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--aos-secondary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.section-heading h2 {
    margin: 0 0 10px;
    color: #172033;
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    font-weight: 800;
}

.section-heading p {
    margin: 0;
    color: #667085;
}

.category-grid,
.pdf-grid,
.benefit-grid,
.testimonial-grid,
.steps-grid {
    display: grid;
    gap: 18px;
}

.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pdf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps-grid,
.testimonial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.pdf-card,
.benefit-card,
.step-card,
.testimonial-card,
.pricing-card,
.faq-wrap {
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.06);
}

.category-card {
    display: grid;
    min-height: 196px;
    padding: 20px;
}

.category-icon,
.benefit-icon,
.step-number {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    background: rgba(10, 36, 114, 0.08);
    color: var(--aos-primary);
    font-size: 1.25rem;
}

.category-card h3,
.benefit-card h3,
.step-card h3 {
    margin: 16px 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
}

.category-card p,
.benefit-card p,
.step-card p,
.pdf-card p {
    color: #667085;
    font-size: 0.93rem;
}

.text-button {
    align-self: end;
    color: var(--aos-primary);
    font-weight: 800;
}

.pdf-card {
    overflow: hidden;
}

.pdf-card-cover {
    display: grid;
    min-height: 180px;
    place-items: center;
    background: #eef2ff;
    color: var(--aos-primary);
    font-size: 2.5rem;
}

.pdf-card-body {
    padding: 18px;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.badge-free {
    background: rgba(18, 183, 106, 0.12);
    color: #087443;
}

.badge-premium {
    background: rgba(227, 30, 36, 0.1);
    color: var(--aos-secondary);
}

.pdf-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    color: #667085;
    font-size: 0.84rem;
}

.benefit-card,
.step-card,
.testimonial-card {
    padding: 20px;
}

.pricing-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 390px));
    justify-content: center;
    gap: 22px;
}

.pricing-card {
    position: relative;
    padding: 28px;
}

.pricing-card.featured {
    border-color: rgba(255, 193, 7, 0.8);
    box-shadow: 0 22px 48px rgba(10, 36, 114, 0.14);
}

.plan-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--aos-accent);
    color: #172033;
    font-size: 0.78rem;
    font-weight: 800;
}

.price {
    display: flex;
    align-items: end;
    gap: 10px;
    margin: 16px 0;
}

.price strong {
    color: var(--aos-primary);
    font-size: 2.2rem;
    line-height: 1;
}

.price del {
    color: #98a2b3;
}

.feature-list {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 10px;
    color: #344054;
}

.feature-list i {
    color: #12b76a;
}

.cta-band {
    padding: 62px 0;
    background: var(--aos-primary);
    color: #ffffff;
}

.cta-band h2 {
    margin: 0;
    font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
    font-weight: 800;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.78);
}

.faq-wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 10px;
}

.accordion-button {
    font-weight: 800;
}

.accordion-button:not(.collapsed) {
    color: var(--aos-primary);
    background: #f5f7fb;
}

.site-footer {
    background: #101828;
    color: #ffffff;
    padding: 58px 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 34px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-mark {
    background: #ffffff;
    color: var(--aos-primary);
}

.footer-brand strong,
.footer-brand small,
.footer-summary {
    color: #ffffff;
}

.footer-summary {
    max-width: 360px;
    margin: 18px 0;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 800;
}

.site-footer a {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a,
.floating-whatsapp {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom a {
    margin: 0;
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    background: #25d366;
    box-shadow: 0 16px 28px rgba(37, 211, 102, 0.3);
}

.auth-page {
    min-height: calc(100vh - 76px);
    padding: 62px 0;
    background:
        linear-gradient(90deg, rgba(10, 36, 114, 0.94), rgba(10, 36, 114, 0.78)),
        url("../images/hero-study-pattern.svg");
    background-size: cover;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.7fr);
    gap: 28px;
    align-items: stretch;
}

.auth-panel,
.auth-form-card,
.account-placeholder {
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 58px rgba(16, 24, 40, 0.14);
}

.auth-panel {
    display: flex;
    min-height: 540px;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    color: #172033;
}

.auth-panel h1 {
    max-width: 560px;
    margin: 10px 0 12px;
    color: var(--aos-primary);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
}

.auth-panel p {
    max-width: 540px;
    color: #667085;
}

.auth-eyebrow {
    color: var(--aos-secondary);
}

.auth-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.auth-highlights span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 12px;
    border-radius: 8px;
    background: #f5f7fb;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-highlights i {
    color: var(--aos-primary);
}

.auth-form-card {
    padding: 32px;
}

.auth-form .form-control {
    min-height: 48px;
    border-color: #d0d5dd;
    border-radius: 8px;
}

.auth-form .form-control:focus {
    border-color: var(--aos-primary);
    box-shadow: 0 0 0 0.2rem rgba(10, 36, 114, 0.12);
}

.auth-form .form-label {
    color: #344054;
    font-weight: 700;
}

.auth-switch {
    margin: 18px 0 0;
    text-align: center;
    color: #667085;
}

.auth-switch a,
.auth-link {
    color: var(--aos-primary);
    font-weight: 800;
}

.auth-result-icon {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    font-size: 2rem;
}

.auth-result-icon.success {
    background: rgba(18, 183, 106, 0.12);
    color: #087443;
}

.auth-result-icon.danger {
    background: rgba(227, 30, 36, 0.1);
    color: var(--aos-secondary);
}

.account-placeholder {
    max-width: 860px;
    margin: 0 auto;
    padding: 42px;
}

.account-placeholder h1 {
    color: var(--aos-primary);
    font-weight: 800;
}

.account-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.account-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f5f7fb;
    color: #344054;
    font-weight: 700;
}

.user-app {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    min-height: calc(100vh - 76px);
    background: #f5f7fb;
}

.user-sidebar {
    position: sticky;
    top: 76px;
    height: calc(100vh - 76px);
    padding: 22px;
    border-right: 1px solid #e4e7ec;
    background: #ffffff;
    overflow-y: auto;
}

.user-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.user-brand strong,
.user-brand small {
    display: block;
    line-height: 1.2;
}

.user-brand strong {
    color: var(--aos-primary);
    font-weight: 800;
}

.user-brand small {
    color: #667085;
    font-size: 0.8rem;
}

.user-nav {
    display: grid;
    gap: 8px;
}

.user-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 8px;
    color: #344054;
    font-weight: 700;
}

.user-nav a:hover,
.user-nav a.active {
    background: rgba(10, 36, 114, 0.08);
    color: var(--aos-primary);
}

.user-nav i {
    width: 20px;
    text-align: center;
}

.user-main {
    min-width: 0;
    padding: 28px;
}

.user-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.user-topbar h1 {
    margin: 0;
    color: #172033;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 800;
}

.user-eyebrow {
    margin-bottom: 6px;
    color: var(--aos-secondary);
}

.user-mini-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #ffffff;
}

.user-mini-profile > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--aos-primary);
    color: #ffffff;
    font-weight: 800;
}

.user-mini-profile strong,
.user-mini-profile small {
    display: block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-mini-profile small {
    color: #667085;
}

.dashboard-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding: 22px;
    border: 1px solid #e4e7ec;
    border-left: 6px solid var(--aos-primary);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.06);
}

.dashboard-alert h2 {
    margin: 10px 0 6px;
    color: #172033;
    font-weight: 800;
}

.dashboard-alert p {
    margin: 0;
    color: #667085;
}

.dashboard-alert.status-border-success {
    border-left-color: #12b76a;
}

.dashboard-alert.status-border-warning {
    border-left-color: var(--aos-accent);
}

.dashboard-alert.status-border-danger {
    border-left-color: var(--aos-secondary);
}

.dashboard-alert.status-border-info {
    border-left-color: #2e90fa;
}

.dashboard-alert.status-border-muted {
    border-left-color: #98a2b3;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-success {
    background: rgba(18, 183, 106, 0.12);
    color: #087443;
}

.status-warning {
    background: rgba(255, 193, 7, 0.18);
    color: #7a4f00;
}

.status-danger {
    background: rgba(227, 30, 36, 0.1);
    color: var(--aos-secondary);
}

.status-info {
    background: rgba(46, 144, 250, 0.1);
    color: #175cd3;
}

.status-muted {
    background: #eef2f6;
    color: #475467;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.metric-card,
.dashboard-panel {
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.05);
}

.metric-card {
    display: grid;
    min-height: 150px;
    padding: 16px;
}

.metric-card i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: rgba(10, 36, 114, 0.08);
    color: var(--aos-primary);
    font-size: 1.2rem;
}

.metric-card span {
    margin-top: 14px;
    color: #667085;
    font-size: 0.85rem;
    font-weight: 700;
}

.metric-card strong {
    color: #172033;
    font-size: 1.05rem;
    font-weight: 800;
    word-break: break-word;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-panel {
    min-height: 270px;
    padding: 20px;
}

.dashboard-panel.panel-wide {
    grid-column: span 2;
}

.panel-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.panel-head span {
    color: var(--aos-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.panel-head h2 {
    margin: 3px 0 0;
    color: #172033;
    font-size: 1.25rem;
    font-weight: 800;
}

.panel-head a {
    color: var(--aos-primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.dashboard-list,
.compact-list,
.rule-list {
    display: grid;
    gap: 10px;
}

.dashboard-list-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 12px;
    border: 1px solid #eef2f6;
    border-radius: 8px;
}

.dashboard-list-item h3,
.compact-list strong {
    margin: 0;
    color: #172033;
    font-size: 0.98rem;
    font-weight: 800;
}

.dashboard-list-item p,
.compact-list span {
    display: block;
    margin: 2px 0 0;
    color: #667085;
    font-size: 0.84rem;
}

.list-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    background: #eef2ff;
    color: var(--aos-primary);
}

.pdf-action-row {
    grid-column: 2 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pdf-action-row a,
.pdf-action-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f5f7fb;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 800;
}

.pdf-action-row a {
    background: rgba(10, 36, 114, 0.08);
    color: var(--aos-primary);
}

.category-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-chip-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #f5f7fb;
    color: #344054;
    font-weight: 800;
}

.category-chip-list small {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: var(--aos-primary);
}

.rule-list div,
.compact-list div {
    padding: 12px;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    background: #ffffff;
}

.rule-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rule-list span {
    color: #667085;
    font-weight: 700;
}

.rule-list strong {
    color: #172033;
    text-align: right;
    word-break: break-word;
}

.empty-state {
    display: grid;
    min-height: 120px;
    place-items: center;
    border: 1px dashed #d0d5dd;
    border-radius: 8px;
    color: #667085;
    text-align: center;
    padding: 18px;
}

.admin-app {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    min-height: 100vh;
    background: #f5f7fb;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px;
    border-right: 1px solid #e4e7ec;
    background: #101828;
    color: #ffffff;
    overflow-y: auto;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.admin-brand .brand-mark {
    background: #ffffff;
    color: var(--aos-primary);
}

.admin-brand strong,
.admin-brand small {
    display: block;
    line-height: 1.2;
}

.admin-brand strong {
    color: #ffffff;
    font-weight: 800;
}

.admin-brand small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
}

.admin-nav {
    display: grid;
    gap: 8px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 700;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.admin-nav i {
    width: 20px;
    text-align: center;
}

.admin-main {
    min-width: 0;
    padding: 28px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-topbar h1 {
    margin: 0;
    color: #172033;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 800;
}

.admin-eyebrow {
    margin-bottom: 6px;
    color: var(--aos-secondary);
}

.admin-mini-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #ffffff;
}

.admin-mini-profile > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--aos-secondary);
    color: #ffffff;
    font-weight: 800;
}

.admin-mini-profile strong,
.admin-mini-profile small {
    display: block;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-mini-profile small {
    color: #667085;
}

.admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding: 24px;
    border-radius: 8px;
    background: var(--aos-primary);
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(10, 36, 114, 0.18);
}

.admin-hero h2 {
    margin: 12px 0 6px;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    font-weight: 800;
}

.admin-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.admin-hero-meta {
    display: grid;
    gap: 10px;
    min-width: 220px;
}

.admin-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 700;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.admin-metric-card,
.admin-panel {
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.05);
}

.admin-metric-card {
    display: grid;
    min-height: 154px;
    padding: 16px;
}

.admin-metric-card i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: rgba(227, 30, 36, 0.09);
    color: var(--aos-secondary);
    font-size: 1.2rem;
}

.admin-metric-card span {
    margin-top: 14px;
    color: #667085;
    font-size: 0.84rem;
    font-weight: 700;
}

.admin-metric-card strong {
    color: #172033;
    font-size: 1.08rem;
    font-weight: 800;
    word-break: break-word;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-panel {
    min-height: 280px;
    padding: 20px;
}

.admin-panel.panel-wide {
    grid-column: span 2;
}

.admin-bars {
    display: grid;
    gap: 14px;
}

.admin-bar-row {
    display: grid;
    gap: 7px;
}

.admin-bar-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 700;
}

.admin-bar-label span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-bar-label strong {
    color: var(--aos-primary);
}

.admin-bar-track {
    height: 10px;
    border-radius: 999px;
    background: #eef2f6;
    overflow: hidden;
}

.admin-bar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--aos-secondary);
}

.admin-table {
    display: grid;
    gap: 8px;
}

.admin-table-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 0.8fr 0.9fr;
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    color: #344054;
}

.admin-table-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-table-head {
    background: #f5f7fb;
    color: #172033;
    font-weight: 800;
}

.admin-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding: 24px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.05);
}

.admin-page-head h2 {
    margin: 6px 0 6px;
    color: #172033;
    font-weight: 800;
}

.admin-page-head p {
    margin: 0;
    color: #667085;
}

.content-table .admin-table-row {
    grid-template-columns: 1.3fr 1.2fr 0.5fr 0.7fr 0.5fr 1fr;
}

.pdf-content-table .admin-table-row {
    grid-template-columns: 1.4fr 1fr 0.75fr 0.65fr 0.75fr 1.1fr 1.35fr;
}

.plan-content-table .admin-table-row {
    grid-template-columns: 1.15fr 1fr 0.65fr 1.1fr 0.65fr 1fr 1.4fr;
}

.manual-payment-table .admin-table-row {
    grid-template-columns: 1.25fr 0.9fr 0.75fr 1fr 0.7fr 0.8fr 0.7fr;
}

.invoice-table-list .admin-table-row {
    grid-template-columns: 1.2fr 1.1fr 0.8fr 0.9fr 0.8fr 0.7fr;
}

.admin-invoice-table .admin-table-row {
    grid-template-columns: 1.1fr 1.25fr 1fr 0.75fr 0.85fr 0.75fr 0.65fr;
}

.notification-table .admin-table-row {
    grid-template-columns: 1.25fr 0.95fr 1fr 0.7fr 0.55fr 1fr 1.1fr;
}

.report-plan-table .admin-table-row {
    grid-template-columns: 1.2fr 0.65fr 0.55fr 0.9fr 0.6fr;
}

.report-pdf-table .admin-table-row {
    grid-template-columns: minmax(0, 1.5fr) 1fr 0.55fr;
}

.report-category-table .admin-table-row {
    grid-template-columns: 1.3fr 0.55fr 0.65fr 0.75fr;
}

.plan-content-table strong,
.plan-content-table small,
.manual-payment-table strong,
.manual-payment-table small,
.admin-invoice-table strong,
.admin-invoice-table small,
.notification-table strong,
.notification-table small {
    display: block;
}

.plan-content-table small,
.manual-payment-table small,
.admin-invoice-table small,
.notification-table small {
    margin-top: 3px;
    color: #667085;
    font-size: 0.76rem;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-actions a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 9px;
    border-radius: 8px;
    background: rgba(10, 36, 114, 0.08);
    color: var(--aos-primary);
    font-size: 0.82rem;
    font-weight: 800;
}

.table-actions .danger-link {
    background: rgba(227, 30, 36, 0.09);
    color: var(--aos-secondary);
}

.admin-form .form-control,
.admin-form .form-select {
    min-height: 46px;
    border-color: #d0d5dd;
    border-radius: 8px;
}

.admin-form textarea.form-control {
    min-height: auto;
}

.admin-form .form-control:focus,
.admin-form .form-select:focus {
    border-color: var(--aos-primary);
    box-shadow: 0 0 0 0.2rem rgba(10, 36, 114, 0.12);
}

.admin-form .form-label {
    color: #344054;
    font-weight: 800;
}

.admin-form .form-text {
    color: #667085;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.report-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
}

.report-filter-form label {
    display: grid;
    gap: 5px;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 800;
}

.report-filter-form .form-control {
    min-width: 150px;
    border-color: #d0d5dd;
    border-radius: 8px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #ffffff;
    color: #344054;
    font-weight: 800;
}

.checkbox-grid small {
    display: block;
    color: #667085;
    font-size: 0.76rem;
    font-weight: 600;
}

.mobile-bottom-cta {
    display: none;
}

.checkout-page {
    min-height: calc(100vh - 76px);
    padding: 62px 0;
    background: #f5f7fb;
}

.checkout-head {
    max-width: 760px;
    margin-bottom: 24px;
}

.checkout-head h1 {
    margin: 8px 0 8px;
    color: #172033;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
}

.checkout-head p {
    margin: 0;
    color: #667085;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.52fr);
    gap: 22px;
    align-items: start;
}

.checkout-plan-card,
.checkout-summary,
.checkout-result-card {
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(23, 32, 51, 0.07);
}

.checkout-plan-card {
    position: relative;
    padding: 30px;
}

.checkout-plan-card h2,
.checkout-summary h2,
.checkout-result-card h1 {
    color: #172033;
    font-weight: 800;
}

.checkout-plan-card p,
.checkout-result-card p {
    color: #667085;
}

.checkout-summary {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
}

.summary-row span {
    color: #667085;
    font-weight: 700;
}

.summary-row strong {
    color: #172033;
    text-align: right;
    word-break: break-word;
}

.summary-row.total {
    border-bottom-color: #d0d5dd;
}

.summary-row.total strong {
    color: var(--aos-primary);
    font-size: 1.25rem;
}

.checkout-result-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 34px;
    text-align: center;
}

.checkout-result-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
    text-align: left;
}

.checkout-result-grid div {
    padding: 14px;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    background: #f5f7fb;
}

.checkout-result-grid span,
.checkout-result-grid strong {
    display: block;
}

.checkout-result-grid span {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-result-grid strong {
    margin-top: 5px;
    color: #172033;
    font-weight: 800;
}

.invoice-document {
    max-width: 980px;
    margin: 0 auto;
    padding: 34px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    box-shadow: 0 16px 38px rgba(23, 32, 51, 0.06);
}

.invoice-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid #eef2f6;
}

.invoice-head > div:first-child {
    display: grid;
    gap: 8px;
}

.invoice-head h1 {
    margin: 0;
    color: var(--aos-primary);
    font-size: 1.6rem;
    font-weight: 800;
}

.invoice-head p,
.invoice-note {
    margin: 0;
    color: #667085;
}

.invoice-head > div:last-child {
    text-align: right;
}

.invoice-head > div:last-child strong,
.invoice-head > div:last-child span {
    display: block;
}

.invoice-head > div:last-child strong {
    color: #172033;
    font-size: 2rem;
    font-weight: 800;
}

.invoice-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.invoice-meta-grid div,
.invoice-total-box div {
    padding: 14px;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    background: #f5f7fb;
}

.invoice-meta-grid span,
.invoice-meta-grid strong,
.invoice-meta-grid small,
.invoice-total-box span,
.invoice-total-box strong {
    display: block;
}

.invoice-meta-grid span,
.invoice-total-box span {
    color: #667085;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.invoice-meta-grid strong,
.invoice-total-box strong {
    margin-top: 5px;
    color: #172033;
    font-weight: 800;
}

.invoice-meta-grid small {
    margin-top: 3px;
    color: #667085;
}

.invoice-table {
    display: grid;
    gap: 8px;
    margin: 24px 0;
}

.invoice-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 0.6fr 0.6fr 0.6fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid #eef2f6;
    border-radius: 8px;
}

.invoice-row-head {
    background: #f5f7fb;
    font-weight: 800;
}

.invoice-total-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    justify-content: end;
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 1199px) {
    .category-grid,
    .benefit-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nav-link {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        padding: 16px 0;
    }

    .nav-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .login-link,
    .join-btn {
        width: 100%;
        min-height: 46px;
    }

    .hero-section {
        padding: 54px 0;
    }

    .dashboard-preview {
        margin: 34px 0 0;
        max-width: none;
    }

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

    .auth-panel {
        min-height: auto;
    }

    .user-app {
        grid-template-columns: 1fr;
    }

    .user-sidebar {
        position: sticky;
        top: 76px;
        z-index: 12;
        height: auto;
        padding: 12px;
        border-right: 0;
        border-bottom: 1px solid #e4e7ec;
    }

    .user-brand {
        margin-bottom: 12px;
    }

    .user-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .user-nav a {
        flex: 0 0 auto;
        min-height: 42px;
        white-space: nowrap;
    }

    .user-main {
        padding: 18px;
    }

    .user-topbar,
    .dashboard-alert {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-panel.panel-wide {
        grid-column: auto;
    }

    .admin-app {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: sticky;
        top: 0;
        z-index: 12;
        height: auto;
        padding: 12px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .admin-brand {
        margin-bottom: 12px;
    }

    .admin-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .admin-nav a {
        flex: 0 0 auto;
        min-height: 42px;
        white-space: nowrap;
    }

    .admin-main {
        padding: 18px;
    }

    .admin-topbar,
    .admin-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-panel.panel-wide {
        grid-column: auto;
    }

    .admin-table-row {
        grid-template-columns: 1fr 1fr;
    }

    .admin-page-head {
        align-items: stretch;
        flex-direction: column;
    }

    .content-table .admin-table-row,
    .plan-content-table .admin-table-row,
    .manual-payment-table .admin-table-row,
    .invoice-table-list .admin-table-row,
    .admin-invoice-table .admin-table-row,
    .notification-table .admin-table-row,
    .report-plan-table .admin-table-row,
    .report-pdf-table .admin-table-row,
    .report-category-table .admin-table-row,
    .pdf-content-table .admin-table-row {
        grid-template-columns: 1fr 1fr;
    }

    .checkbox-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .checkout-result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .invoice-meta-grid {
        grid-template-columns: 1fr;
    }

    .trust-row,
    .category-grid,
    .pdf-grid,
    .benefit-grid,
    .steps-grid,
    .testimonial-grid,
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 72px;
    }

    .brand-copy small {
        display: none;
    }

    .section-pad {
        padding: 54px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .trust-row,
    .category-grid,
    .pdf-grid,
    .benefit-grid,
    .steps-grid,
    .testimonial-grid,
    .pricing-wrap,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .preview-stats {
        grid-template-columns: 1fr;
    }

    .pdf-preview-card {
        grid-template-columns: 1fr;
    }

    .auth-page {
        padding: 34px 0;
    }

    .auth-panel,
    .auth-form-card,
    .account-placeholder {
        padding: 24px;
    }

    .auth-highlights {
        grid-template-columns: 1fr;
    }

    .user-mini-profile {
        min-width: 0;
        width: 100%;
    }

    .dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-list-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .dashboard-list-item .badge-soft {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .pdf-action-row {
        grid-column: 1 / -1;
    }

    .rule-list div {
        align-items: flex-start;
        flex-direction: column;
    }

    .rule-list strong {
        text-align: left;
    }

    .admin-mini-profile {
        min-width: 0;
        width: 100%;
    }

    .admin-metrics {
        grid-template-columns: 1fr;
    }

    .admin-table-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .content-table .admin-table-row,
    .pdf-content-table .admin-table-row,
    .plan-content-table .admin-table-row,
    .manual-payment-table .admin-table-row,
    .invoice-table-list .admin-table-row,
    .admin-invoice-table .admin-table-row,
    .notification-table .admin-table-row,
    .report-plan-table .admin-table-row,
    .report-pdf-table .admin-table-row,
    .report-category-table .admin-table-row,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .report-filter-form,
    .report-filter-form label,
    .report-filter-form .btn {
        width: 100%;
    }

    .checkout-page {
        padding: 36px 0;
    }

    .checkout-plan-card,
    .checkout-summary,
    .checkout-result-card {
        padding: 22px;
    }

    .checkout-result-grid {
        grid-template-columns: 1fr;
    }

    .invoice-document {
        padding: 22px;
    }

    .invoice-head,
    .invoice-row {
        grid-template-columns: 1fr;
    }

    .invoice-head {
        flex-direction: column;
    }

    .invoice-head > div:last-child {
        text-align: left;
    }

    .invoice-total-box {
        grid-template-columns: 1fr;
    }

    .cta-band .d-flex,
    .footer-bottom {
        align-items: stretch !important;
        flex-direction: column;
    }

    .mobile-bottom-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 19;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -10px 24px rgba(23, 32, 51, 0.12);
    }

    .floating-whatsapp {
        bottom: 84px;
    }
}

@media print {
    body {
        padding: 0;
        background: #ffffff;
    }

    .site-header,
    .site-footer,
    .user-sidebar,
    .admin-sidebar,
    .user-topbar,
    .admin-topbar,
    .no-print,
    .floating-whatsapp,
    .mobile-bottom-cta {
        display: none !important;
    }

    .user-app,
    .admin-app {
        display: block;
        min-height: auto;
        background: #ffffff;
    }

    .user-main,
    .admin-main {
        padding: 0;
    }

    .invoice-document {
        max-width: none;
        border: 0;
        box-shadow: none;
    }
}
