.acnova-about-page {
    background: var(--bg, #0f1c17);
    color: #ffffff;
    min-height: 100vh;
    padding: 72px 18px;
}

.acnova-about-wrap {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.acnova-panel {
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)), #1f2b2a;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 44px);
    box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

.acnova-hero-panel h1,
.acnova-panel h2 {
    color: #ffffff;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 14px 0;
}

.acnova-hero-panel h1 {
    font-size: clamp(38px, 6vw, 76px);
    line-height: .98;
}

.acnova-panel h2 {
    font-size: clamp(26px, 3vw, 42px);
}

.acnova-panel h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 850;
    margin-bottom: 12px;
}

.acnova-lead,
.acnova-section-lead,
.acnova-panel p,
.acnova-panel li {
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.75;
}

.acnova-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(30,166,74,.15);
    border: 1px solid rgba(30,166,74,.55);
    color: #f2c94c;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.acnova-story-box {
    margin-top: 28px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(35,75,53,.55);
    border: 1px solid rgba(242,201,76,.18);
}

.acnova-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.acnova-modules-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.acnova-module-card,
.acnova-support-grid article {
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px;
    padding: 22px;
    min-height: 190px;
}

.acnova-module-card h3,
.acnova-support-grid h3 {
    color: #ffffff;
}

.acnova-module-card p,
.acnova-support-grid p {
    color: rgba(255,255,255,.84);
}

.acnova-list,
.acnova-steps {
    margin-top: 18px;
    padding-left: 22px;
}

.acnova-list li,
.acnova-steps li {
    margin-bottom: 12px;
}

.acnova-role-grid,
.acnova-metrics-grid,
.acnova-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.acnova-role-grid span,
.acnova-metrics-grid span {
    background: #ffffff;
    color: #123326;
    border-left: 5px solid #d4a017;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 850;
}

.acnova-support-panel {
    border-color: rgba(242,201,76,.28);
}

.acnova-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.acnova-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
}

.acnova-btn-primary {
    background: #1EA64A;
    color: #ffffff;
}

.acnova-btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.25);
}

.acnova-btn-gold {
    background: #D4A017;
    color: #111;
}

@media (max-width: 980px) {
    .acnova-grid-2,
    .acnova-modules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .acnova-about-page {
        padding: 34px 12px;
    }

    .acnova-grid-2,
    .acnova-modules-grid,
    .acnova-role-grid,
    .acnova-metrics-grid,
    .acnova-support-grid {
        grid-template-columns: 1fr;
    }

    .acnova-panel {
        border-radius: 18px;
        padding: 22px;
    }

    .acnova-hero-panel h1 {
        font-size: 38px;
    }

    .acnova-btn {
        width: 100%;
    }
}

/* Global readable toggles, selects and dropdowns */
select,
option,
.acnova-lang-toggle,
.acnova-theme-toggle,
.dropdown-menu,
.dropdown-menu *,
.nav select,
.nav option,
header select,
header option {
    color: #ffffff !important;
    background-color: #16251f !important;
    border-color: rgba(255,255,255,.22) !important;
}

select option {
    color: #ffffff !important;
    background: #16251f !important;
}

[data-theme="light"] select,
[data-theme="light"] option,
[data-theme="light"] .dropdown-menu,
[data-theme="light"] .dropdown-menu *,
[data-theme="light"] header select,
[data-theme="light"] header option {
    color: #22272A !important;
    background-color: #ffffff !important;
}

[data-theme="light"] header select,
[data-theme="light"] header option,
[data-theme="light"] .site-header select,
[data-theme="light"] .site-header option {
    color: #ffffff !important;
    background-color: #234B35 !important;
}

button,
.btn,
.acnova-btn,
a {
    text-shadow: none;
}

.acnova-panel,
.acnova-module-card,
.acnova-support-grid article {
    color: #ffffff;
}

.acnova-panel p,
.acnova-panel li,
.acnova-module-card p {
    color: rgba(255,255,255,.9) !important;
}

.acnova-role-grid span,
.acnova-metrics-grid span,
table td,
table th {
    color: #123326 !important;
}

table th {
    color: #ffffff !important;
    background: #234B35 !important;
}

table td {
    background: #ffffff !important;
    color: #123326 !important;
}

table td strong,
table td b {
    color: #006b3f !important;
}

/* Capacity + Metrics white cards readability fix */
.acnova-capacity-grid > *,
.acnova-metrics-grid > *,
.capacity-grid > *,
.metrics-grid > *,
.about-capacity .mini-card,
.about-metrics .mini-card,
.about-capacity .stat-card,
.about-metrics .stat-card,
.about-capacity .pill-card,
.about-metrics .pill-card,
.about-capacity .card,
.about-metrics .card {
    background: #ffffff !important;
    color: #163828 !important;           /* deep green */
    border: 1px solid #B8860B !important; /* deep gold */
    box-shadow: none !important;
}

/* text inside those cards */
.acnova-capacity-grid > * *,
.acnova-metrics-grid > * *,
.capacity-grid > * *,
.metrics-grid > * *,
.about-capacity .mini-card *,
.about-metrics .mini-card *,
.about-capacity .stat-card *,
.about-metrics .stat-card *,
.about-capacity .pill-card *,
.about-metrics .pill-card *,
.about-capacity .card *,
.about-metrics .card * {
    color: #163828 !important; /* deep green */
}

/* optional emphasis */
.acnova-capacity-grid > * strong,
.acnova-metrics-grid > * strong,
.capacity-grid > * strong,
.metrics-grid > * strong,
.about-capacity .mini-card strong,
.about-metrics .mini-card strong,
.about-capacity .stat-card strong,
.about-metrics .stat-card strong,
.about-capacity .pill-card strong,
.about-metrics .pill-card strong {
    color: #B8860B !important; /* deep gold */
}

/* if you want some labels pure black */
.acnova-capacity-grid > * .text-dark,
.acnova-metrics-grid > * .text-dark,
.capacity-grid > * .text-dark,
.metrics-grid > * .text-dark {
    color: #111111 !important;
}


/* FORCE FIX: About page white mini cards text visibility */
body .about-page .about-card .capacity-grid div,
body .about-page .about-card .metrics-grid div,
body .about-page .capacity-grid div,
body .about-page .metrics-grid div,
body .about-card .capacity-grid div,
body .about-card .metrics-grid div,
body .capacity-grid div,
body .metrics-grid div {
    background: #ffffff !important;
    color: #163828 !important;
    border-left: 5px solid #D4A017 !important;
    border-top: 1px solid #D4A017 !important;
    border-right: 1px solid #D4A017 !important;
    border-bottom: 1px solid #D4A017 !important;
    font-weight: 800 !important;
}

/* Force every text inside those white cards */
body .about-page .about-card .capacity-grid div *,
body .about-page .about-card .metrics-grid div *,
body .about-page .capacity-grid div *,
body .about-page .metrics-grid div *,
body .about-card .capacity-grid div *,
body .about-card .metrics-grid div *,
body .capacity-grid div *,
body .metrics-grid div * {
    color: #163828 !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}

/* In case text is directly inside div, not span/p */
body .capacity-grid div,
body .metrics-grid div {
    color: #163828 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* Hover state */
body .capacity-grid div:hover,
body .metrics-grid div:hover {
    background: #F6F7F4 !important;
    color: #0F7A3D !important;
    border-color: #B8860B !important;
}


/* FORCE FIX: About page white mini cards text visibility */
body .about-page .about-card .capacity-grid div,
body .about-page .about-card .metrics-grid div,
body .about-page .capacity-grid div,
body .about-page .metrics-grid div,
body .about-card .capacity-grid div,
body .about-card .metrics-grid div,
body .capacity-grid div,
body .metrics-grid div {
    background: #ffffff !important;
    color: #163828 !important;
    border-left: 5px solid #D4A017 !important;
    border-top: 1px solid #D4A017 !important;
    border-right: 1px solid #D4A017 !important;
    border-bottom: 1px solid #D4A017 !important;
    font-weight: 800 !important;
}

/* Force every text inside those white cards */
body .about-page .about-card .capacity-grid div *,
body .about-page .about-card .metrics-grid div *,
body .about-page .capacity-grid div *,
body .about-page .metrics-grid div *,
body .about-card .capacity-grid div *,
body .about-card .metrics-grid div *,
body .capacity-grid div *,
body .metrics-grid div * {
    color: #163828 !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}

/* In case text is directly inside div, not span/p */
body .capacity-grid div,
body .metrics-grid div {
    color: #163828 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* Hover state */
body .capacity-grid div:hover,
body .metrics-grid div:hover {
    background: #F6F7F4 !important;
    color: #0F7A3D !important;
    border-color: #B8860B !important;
}

