/* =====================================================================
   AN PHÁT 43 — Brand Guidelines
   content.css — Styles cho 9 sections nội dung
   (extract từ extra_css cũ trong brand-review/index.php)
   ===================================================================== */

/* ===== HERO ===== */
.brand-hero {
    background: linear-gradient(135deg, #040F28 0%, #0a1a3a 100%);
    color: #fff;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}
.brand-hero::before {
    content: "";
    position: absolute;
    top: -50%; right: -10%;
    width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(253,93,20,.15) 0%, transparent 60%);
    pointer-events: none;
}
.brand-hero .eyebrow {
    display: inline-block;
    padding: .4rem 1rem;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.brand-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1rem;
    color: #fff;
}
.brand-hero .tagline {
    font-size: 1.25rem;
    color: rgba(255,255,255,.7);
    max-width: 700px;
}
.brand-hero .meta-row {
    margin-top: 3rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}
.brand-hero .meta-row strong {
    color: #FDBE33;
    display: block;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: .3rem;
}

/* ===== SECTION CHUNG ===== */
.bg-section {
    padding: 5rem 2rem;
    border-bottom: 1px solid #eaeaea;
}
.bg-section-label {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #FD5D14;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid #FD5D14;
}
.bg-section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #040F28;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.bg-section-lead {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-bottom: 3rem;
}

/* ===== VERBAL IDENTITY ===== */
.bg-story-block {
    background: #F4F6F8;
    padding: 3rem;
    border-left: 4px solid #FD5D14;
    position: relative;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
}
.bg-story-block::before {
    content: "\201C";
    position: absolute;
    top: -.5rem; left: 1.5rem;
    font-size: 6rem;
    color: #FD5D14;
    font-family: serif;
    line-height: 1;
    opacity: .3;
}

/* ===== BRAND OPTIONS — 3 phương án × 3 sub-sections ===== */
.bg-brand-options { margin-top: 3rem; }

.bg-bopt-section-title {
    display: flex;
    align-items: baseline;
    gap: .85rem;
    flex-wrap: wrap;
    font-size: 1.5rem;
    font-weight: 700;
    color: #040F28;
    margin: 3.5rem 0 .35rem;
    padding-bottom: .85rem;
    border-bottom: 2px solid #eaeaea;
    position: relative;
}
.bg-bopt-section-title::after {
    content: "";
    position: absolute;
    bottom: -2px; left: 0;
    width: 80px; height: 2px;
    background: #FD5D14;
}
.bg-brand-options > .bg-bopt-section-title:first-child { margin-top: 1rem; }
.bg-bopt-section-num {
    font-family: monospace;
    font-size: .8rem;
    letter-spacing: .1em;
    color: #FD5D14;
    border: 1px solid #FD5D14;
    padding: .25rem .55rem;
    border-radius: 3px;
    font-weight: 700;
    align-self: center;
}
.bg-bopt-section-en {
    font-size: .65rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    margin-left: auto;
}
.bg-bopt-section-lead {
    font-size: .95rem;
    color: #666;
    margin: 0 0 1.75rem;
    line-height: 1.65;
}

.bg-bopt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}
@media (max-width: 1100px) { .bg-bopt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .bg-bopt-grid { grid-template-columns: 1fr; } }

.bg-bopt-card {
    background: #fff;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: all .25s;
}
.bg-bopt-card:hover {
    border-color: #FD5D14;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.bg-bopt-head {
    padding: 1.5rem 1.5rem 1.1rem;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .85rem;
}
.bg-bopt-num {
    font-family: monospace;
    font-size: .7rem;
    letter-spacing: .2em;
    color: #FD5D14;
    border: 1px solid #FD5D14;
    padding: .2rem .55rem;
    border-radius: 3px;
    font-weight: 700;
    flex-shrink: 0;
    align-self: flex-start;
}
.bg-bopt-name-block h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #040F28;
    margin: 0 0 .3rem;
    line-height: 1.3;
}
.bg-bopt-name-block .bopt-tagline {
    font-size: .8rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

.bg-bopt-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bg-bopt-values {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: flex-start;
    align-content: flex-start;
}
.bg-bopt-pill {
    display: inline-block;
    padding: .45rem .9rem;
    background: #F4F6F8;
    color: #040F28;
    font-size: .85rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid #e5e5e5;
    transition: all .2s;
}
.bg-bopt-card:hover .bg-bopt-pill {
    background: #fff;
    border-color: #FD5D14;
    color: #FD5D14;
}

.bg-bopt-section h6 {
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #FD5D14;
    font-weight: 700;
    margin: 0 0 .5rem;
}
.bg-bopt-section p {
    font-size: .85rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}
.bg-bopt-section.bopt-mission h6 { color: #999; }
.bg-bopt-section.bopt-mission p { color: #040F28; font-weight: 500; }

.bg-bopt-pillars { gap: 1rem; }
.bg-bopt-pillar {
    display: flex;
    gap: .75rem;
    padding: .85rem 1rem;
    background: #FAFAF9;
    border-left: 3px solid #FD5D14;
}
.bg-bopt-pillar .bopt-pillar-num {
    font-family: monospace;
    font-size: .7rem;
    font-weight: 700;
    color: #FD5D14;
    flex-shrink: 0;
    letter-spacing: .05em;
    line-height: 1.5;
}
.bg-bopt-pillar h6 {
    font-size: .9rem;
    font-weight: 700;
    color: #040F28;
    margin: 0 0 .25rem;
    line-height: 1.3;
}
.bg-bopt-pillar p {
    font-size: .78rem;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

/* ===== AUDIENCE ===== */
.bg-audience { margin-top: 2rem; }

.bg-aud-group { margin-bottom: 3rem; }
.bg-aud-group:last-child { margin-bottom: 0; }
.bg-aud-group-head {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: .85rem;
    border-bottom: 2px solid #eaeaea;
    position: relative;
}
.bg-aud-group-head::after {
    content: "";
    position: absolute;
    bottom: -2px; left: 0;
    width: 60px; height: 2px;
    background: #FD5D14;
}
.bg-aud-roman {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FD5D14;
    line-height: 1;
    letter-spacing: .05em;
    flex-shrink: 0;
    min-width: 2.5rem;
}
.bg-aud-group-text { flex: 1; min-width: 0; }
.bg-aud-group-eyebrow {
    display: block;
    font-size: .65rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    margin-bottom: .2rem;
}
.bg-aud-group-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #040F28;
    margin: 0;
    line-height: 1.3;
}

.bg-aud-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 992px) { .bg-aud-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .bg-aud-grid { grid-template-columns: 1fr; } }

.bg-aud-card {
    background: #FAFAF9;
    border: 1px solid #eaeaea;
    padding: 1.1rem 1.25rem;
    display: flex;
    gap: .85rem;
    transition: all .25s;
    position: relative;
}
.bg-aud-card:hover {
    border-color: #FD5D14;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.bg-aud-num {
    font-family: monospace;
    font-size: .7rem;
    font-weight: 700;
    color: #FD5D14;
    border: 1px solid #FD5D14;
    padding: .1rem .4rem;
    border-radius: 3px;
    align-self: flex-start;
    flex-shrink: 0;
    letter-spacing: .05em;
    min-width: 1.85rem;
    text-align: center;
}
.bg-aud-content { flex: 1; min-width: 0; }
.bg-aud-name {
    font-size: .92rem;
    font-weight: 700;
    color: #040F28;
    margin: 0 0 .35rem;
    line-height: 1.35;
}
.bg-aud-desc {
    font-size: .8rem;
    color: #666;
    margin: 0;
    line-height: 1.55;
}

.bg-aud-budget { margin-top: 3rem; }
.bg-aud-budget-head {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: .85rem;
    border-bottom: 2px solid #eaeaea;
    position: relative;
}
.bg-aud-budget-head::after {
    content: "";
    position: absolute;
    bottom: -2px; left: 0;
    width: 60px; height: 2px;
    background: #FD5D14;
}
.bg-aud-budget .bg-print-table .pt-tier {
    font-weight: 700;
    color: #040F28;
    min-width: 140px;
    font-size: .95rem;
}
.bg-aud-budget .bg-print-table .pt-range {
    color: #FD5D14;
    font-family: monospace;
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
    min-width: 120px;
}
.bg-aud-budget .bg-print-table .pt-desc {
    color: #555;
    line-height: 1.55;
}

/* ===== PRINT TABLE (dùng chung) ===== */
.bg-print-table-wrap {
    overflow-x: auto;
    border: 1px solid #eaeaea;
}
.bg-print-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 640px;
}
.bg-print-table th,
.bg-print-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
    font-size: .95rem;
    vertical-align: top;
}
.bg-print-table th {
    background: #040F28;
    color: #fff;
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}
.bg-print-table tbody tr:last-child td { border-bottom: none; }
.bg-print-table tbody tr:hover { background: #FAFAF9; }
.bg-print-empty {
    padding: 2.5rem 2rem;
    color: #999;
    text-align: center;
    background: #F4F6F8;
    border: 1px dashed #d4d4d4;
    font-size: .9rem;
}
.bg-print-empty code {
    background: #040F28;
    color: #FDBE33;
    padding: .15rem .4rem;
    border-radius: 3px;
    font-size: .8rem;
}

/* ===== TYPOGRAPHY (legacy + options grid) ===== */
.bg-typo-hero {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    line-height: .9;
    color: #040F28;
    letter-spacing: -.03em;
}
.bg-typo-weights { margin-top: 3rem; display: grid; gap: 1rem; }
.bg-typo-weight-row {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 2rem;
    align-items: baseline;
    padding: 1.25rem 0;
    border-bottom: 1px solid #eaeaea;
}
.bg-typo-weight-row .role {
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #999;
}
.bg-typo-weight-row .sample { font-size: 1.5rem; color: #040F28; }
.bg-typo-weight-row .label { font-size: .85rem; color: #555; font-family: monospace; }

.bg-typo-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (max-width: 992px) { .bg-typo-options-grid { grid-template-columns: 1fr; } }

.bg-typo-option-card {
    background: #FAFAF9;
    border: 1px solid #eaeaea;
    padding: 2rem 2rem 1.75rem;
    transition: all .25s;
    display: flex;
    flex-direction: column;
}
.bg-typo-option-card:hover {
    border-color: #FD5D14;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.bg-typo-option-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #eaeaea;
}
.bg-typo-option-name {
    font-size: .85rem;
    font-weight: 700;
    color: #040F28;
    letter-spacing: .02em;
    margin: 0;
}
.bg-typo-option-tagline {
    font-size: .7rem;
    color: #999;
    letter-spacing: .05em;
    text-align: right;
}

.bg-typo-mark {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 700;
    color: #040F28;
    margin: 0 0 .35rem;
    line-height: 1.1;
    letter-spacing: .04em;
}
.bg-typo-mark .mark-num { color: #F45A06; }
.bg-typo-eyebrow {
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 1.5rem;
    font-weight: 500;
}
.bg-typo-h1 {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    color: #040F28;
    margin: 0 0 .5rem;
    line-height: 1.25;
    font-weight: 700;
}
.bg-typo-h2 {
    font-size: 1rem;
    color: #555;
    margin: 0 0 1rem;
    line-height: 1.35;
    font-weight: 600;
}
.bg-typo-body {
    font-size: .9rem;
    color: #555;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

.bg-typo-option-meta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eaeaea;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.bg-typo-font-pill {
    font-size: .7rem;
    font-family: monospace;
    background: #040F28;
    color: #FDBE33;
    padding: .25rem .6rem;
    border-radius: 3px;
}
.bg-typo-font-pill.body {
    background: #F4F6F8;
    color: #040F28;
    border: 1px solid #ddd;
}

.bg-typo-prosCons {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.bg-typo-prosCons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .78rem;
    line-height: 1.55;
}
.bg-typo-prosCons li {
    padding: .2rem 0;
    display: flex;
    gap: .4rem;
    align-items: flex-start;
}
.bg-typo-prosCons .pros li { color: #2D5016; }
.bg-typo-prosCons .pros li::before { content: "+"; color: #9ACD32; font-weight: 700; flex-shrink: 0; }
.bg-typo-prosCons .cons li { color: #7A2A2A; }
.bg-typo-prosCons .cons li::before { content: "−"; color: #dc3545; font-weight: 700; flex-shrink: 0; }
.bg-typo-prosCons-label {
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 .35rem;
    font-weight: 700;
}

.bg-typo-reasoning {
    background: #fff;
    border-left: 3px solid #FD5D14;
    padding: .85rem 1rem;
    font-size: .82rem;
    color: #555;
    line-height: 1.6;
    margin: 1rem 0 0;
}

/* ===== COLOR SYSTEMS ===== */
.bg-colorsys-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (max-width: 992px) { .bg-colorsys-grid { grid-template-columns: 1fr; } }

.bg-colorsys-card {
    background: #fff;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: all .25s;
}
.bg-colorsys-card:hover {
    border-color: #FD5D14;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.bg-colorsys-head {
    padding: 1.5rem 1.75rem 1rem;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}
.bg-colorsys-num {
    font-family: monospace;
    font-size: .7rem;
    letter-spacing: .2em;
    color: #FD5D14;
    border: 1px solid #FD5D14;
    padding: .2rem .55rem;
    border-radius: 3px;
    font-weight: 700;
    flex-shrink: 0;
}
.bg-colorsys-num.bg-ica-num {
    font-size: .85rem;
    letter-spacing: .05em;
    padding: .3rem .6rem;
    min-width: 2.2rem;
    text-align: center;
}
.bg-colorsys-name-block h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #040F28;
    margin: 0 0 .2rem;
    line-height: 1.3;
}
.bg-colorsys-name-block .cs-tagline {
    font-size: .85rem;
    color: #777;
    margin: 0;
    line-height: 1.45;
}

.bg-colorsys-swatches {
    display: flex;
    height: 120px;
    border-bottom: 1px solid #eaeaea;
}
.bg-colorsys-swatches > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: .75rem;
    color: #fff;
    position: relative;
    font-family: monospace;
    font-size: .65rem;
}
.bg-colorsys-swatches > div.lite { color: #040F28; }
.bg-colorsys-swatches .cs-role {
    font-size: .6rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: .85;
    margin-bottom: .15rem;
}
.bg-colorsys-swatches .cs-hex {
    font-weight: 700;
    letter-spacing: .02em;
}

.bg-colorsys-body {
    padding: 1.25rem 1.75rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bg-colorsys-section h6 {
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin: 0 0 .4rem;
}
.bg-colorsys-section p {
    font-size: .85rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}
.bg-colorsys-section.fit p {
    color: #040F28;
    font-weight: 500;
}

.bg-colorsys-empty-card {
    background: #F4F6F8;
    border: 1px dashed #d4d4d4;
    padding: 2.5rem 2rem;
    color: #999;
    text-align: center;
    font-size: .9rem;
    line-height: 1.6;
}
.bg-colorsys-empty-card code {
    background: #040F28;
    color: #FDBE33;
    padding: .15rem .4rem;
    border-radius: 3px;
    font-size: .8rem;
}

/* ===== GALLERY OVERVIEW ===== */
.bg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.bg-gallery-item {
    aspect-ratio: 1;
    background: #F4F6F8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-decoration: none;
    color: #040F28;
    border: 2px solid transparent;
    transition: all .3s;
    position: relative;
}
.bg-gallery-item:hover {
    border-color: #FD5D14;
    transform: translateY(-4px);
    color: #040F28;
}
.bg-gallery-item img,
.bg-gallery-item svg {
    max-width: 70%;
    max-height: 60%;
    object-fit: contain;
}
.bg-gallery-item .gl-label {
    margin-top: .75rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.bg-gallery-item .gl-name {
    font-size: .7rem;
    color: #666;
    text-align: center;
    line-height: 1.3;
    margin-top: .25rem;
}
.bg-gallery-item .gl-badge {
    position: absolute;
    top: .5rem; right: .5rem;
    font-size: .65rem;
    padding: .15rem .5rem;
    background: #040F28;
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
}

/* ===== STICKY CONCEPT NAV ===== */
.bg-concept-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #040F28;
    padding: 1rem 2rem;
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #FD5D14 #040F28;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.bg-concept-nav::-webkit-scrollbar { height: 4px; }
.bg-concept-nav::-webkit-scrollbar-thumb { background: #FD5D14; }
.bg-concept-nav a {
    flex: 0 0 auto;
    padding: .5rem 1rem;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
    border: 1px solid rgba(255,255,255,.1);
    transition: all .2s;
    white-space: nowrap;
}
.bg-concept-nav a:hover,
.bg-concept-nav a.active {
    background: #FD5D14;
    color: #fff;
    border-color: #FD5D14;
}

/* ===== CONCEPT SECTION ===== */
.bg-concept {
    padding: 5rem 2rem;
    border-bottom: 8px solid #040F28;
    scroll-margin-top: 70px;
}
.bg-concept-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: end;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #eaeaea;
}
.bg-concept-num {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    line-height: .9;
    color: #FD5D14;
}
.bg-concept-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0;
    color: #040F28;
    font-weight: 700;
}
.bg-concept-title .subtitle {
    color: #777;
    font-size: 1.05rem;
    margin-top: .5rem;
}
.bg-concept-status {
    text-align: right;
    font-size: .8rem;
    color: #999;
    font-weight: 600;
    padding: .5rem 1rem;
    background: #F4F6F8;
    border-radius: 999px;
    white-space: nowrap;
}
.bg-concept-status.complete {
    background: #d4edda;
    color: #155724;
}
.bg-concept-meaning {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    max-width: 900px;
    margin-bottom: 3rem;
}

/* Variants grid */
.bg-variants-title {
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin: 2rem 0 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #FD5D14;
}
.bg-variants-subtitle {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #040F28;
    font-weight: 700;
    margin: 2rem 0 1rem;
}
.bg-variants-subtitle .vsub-icon {
    width: 14px; height: 14px;
    background: #040F28;
    display: inline-block;
    flex-shrink: 0;
}
.bg-variants-subtitle .vsub-icon.vsub-square {
    background: transparent;
    border: 2px solid #040F28;
}
.bg-variants-subtitle .vsub-icon.vsub-horizontal {
    width: 18px; height: 7px;
    background: transparent;
    border: 2px solid #040F28;
}
.bg-variants-subtitle .vsub-count {
    color: #999;
    font-weight: 500;
    letter-spacing: .05em;
}

.bg-variants-grid { display: grid; gap: 1rem; }
.bg-variants-grid--square { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1399px) { .bg-variants-grid--square { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1199px) { .bg-variants-grid--square { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px)  { .bg-variants-grid--square { grid-template-columns: 1fr; } }
.bg-variants-grid--horizontal { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1199px) { .bg-variants-grid--horizontal { grid-template-columns: 1fr; } }

.bg-variant-card {
    background: #fff;
    border: 1px solid #eaeaea;
    overflow: hidden;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.bg-variant-card:hover {
    border-color: #FD5D14;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.bg-variant-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: zoom-in;
    position: relative;
}
.bg-variant-link::after {
    content: "\2922";
    position: absolute;
    top: .5rem; left: .5rem;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: #040F28;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    opacity: 0;
    transition: opacity .2s;
    z-index: 4;
    font-weight: 700;
}
.bg-variant-link:hover::after { opacity: 1; }
.bg-variant-link:hover .bg-variant-preview.bg-light,
.bg-variant-link:hover .bg-variant-preview--circle {
    background: #eef0f3;
}

.bg-variant-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: #F4F6F8;
    position: relative;
    overflow: hidden;
}
.bg-variant-preview.bg-light { background: #F4F6F8; }
.bg-variant-preview.bg-dark { background: #040F28; }
.bg-variant-preview.bg-primary { background: var(--concept-primary, #FD5D14); }
.bg-variant-preview img,
.bg-variant-preview svg {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}
.bg-variant-preview--square { aspect-ratio: 1/1; }
.bg-variant-preview--horizontal { min-height: 140px; padding: 2rem 3rem; }
.bg-variant-preview--horizontal img,
.bg-variant-preview--horizontal svg {
    max-width: 90%;
    max-height: 90%;
}

.bg-variant-preview--circle {
    background: #F4F6F8;
    position: relative;
}
.bg-variant-preview--circle::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 2px dashed rgba(253,93,20,.4);
    pointer-events: none;
    z-index: 1;
}
.bg-variant-preview--circle img,
.bg-variant-preview--circle svg {
    border-radius: 50%;
    width: 70%;
    height: 70%;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    position: relative;
    z-index: 2;
}

.bg-variant-missing-badge {
    position: absolute;
    top: .5rem; right: .5rem;
    font-size: .65rem;
    padding: .2rem .6rem;
    background: rgba(0,0,0,.5);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .05em;
    z-index: 3;
}
.bg-variant-meta {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bg-variant-meta h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #040F28;
    margin: 0 0 .25rem;
}
.bg-variant-meta .v-desc {
    font-size: .8rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    min-height: 2.4em;
    flex: 1;
}
.bg-variant-meta .v-size {
    display: inline-block;
    align-self: flex-start;
    margin-top: .75rem;
    font-size: .7rem;
    color: #999;
    font-family: monospace;
    padding: .15rem .5rem;
    background: #F4F6F8;
    border-radius: 3px;
}
.bg-variant-card--horizontal .bg-variant-meta { padding: 1rem 1.5rem 1.25rem; }

/* Placeholder */
.bg-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-placeholder-box {
    width: 90%;
    max-width: 240px;
    aspect-ratio: 1;
    border: 2px dashed rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,.4);
}
.bg-placeholder-box.dark {
    border-color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.05);
}
.bg-placeholder-box.dark .ph-title,
.bg-placeholder-box.dark .ph-size { color: rgba(255,255,255,.7); }
.bg-placeholder-box.dark .ph-note { color: rgba(255,255,255,.4); }
.bg-placeholder-box .ph-icon { font-size: 2rem; opacity: .3; margin-bottom: .5rem; }
.bg-placeholder-box .ph-title {
    font-size: .85rem;
    font-weight: 700;
    color: #040F28;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.bg-placeholder-box .ph-size {
    font-size: .7rem;
    color: #999;
    font-family: monospace;
    margin-top: .25rem;
}
.bg-placeholder-box .ph-note {
    font-size: .65rem;
    color: #bbb;
    margin-top: .5rem;
    font-style: italic;
}

/* Color palette concept */
.bg-palette-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.bg-swatch { border: 1px solid #eaeaea; overflow: hidden; }
.bg-swatch-color { height: 140px; position: relative; }
.bg-swatch-color .role-tag {
    position: absolute;
    top: .75rem; left: .75rem;
    font-size: .65rem;
    padding: .2rem .5rem;
    background: rgba(255,255,255,.9);
    color: #040F28;
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.bg-swatch-color.dark .role-tag {
    background: rgba(255,255,255,.15);
    color: #fff;
}
.bg-swatch-meta { padding: 1rem; background: #fff; }
.bg-swatch-meta h6 {
    font-size: .9rem;
    font-weight: 700;
    color: #040F28;
    margin: 0 0 .5rem;
}
.bg-swatch-meta .code {
    display: block;
    font-size: .75rem;
    color: #666;
    font-family: monospace;
    line-height: 1.6;
}

/* ===== MOCKUP MASONRY ===== */
.bg-mockups-masonry {
    column-count: 3;
    column-gap: 1rem;
    margin-top: 1.5rem;
}
.bg-mockup-item {
    break-inside: avoid;
    margin: 0 0 1rem;
    display: block;
    background: #F4F6F8;
    overflow: hidden;
    position: relative;
    border: 1px solid #eaeaea;
    transition: all .25s;
}
.bg-mockup-item:hover {
    border-color: #FD5D14;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.bg-mockup-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s;
}
.bg-mockup-item:hover img { transform: scale(1.02); }
.bg-mockup-item .mockup-idx {
    position: absolute;
    top: .5rem; left: .5rem;
    font-size: .65rem;
    padding: .2rem .55rem;
    background: rgba(4,15,40,.78);
    color: #fff;
    font-weight: 700;
    letter-spacing: .08em;
    border-radius: 3px;
}
.bg-mockups-empty {
    padding: 3rem 2rem;
    color: #999;
    text-align: center;
    background: #F4F6F8;
    border: 1px dashed #d4d4d4;
}
.bg-mockups-empty .em-icon { font-size: 2.5rem; opacity: .3; margin-bottom: .75rem; }
.bg-mockups-empty code {
    background: #040F28;
    color: #FDBE33;
    padding: .2rem .5rem;
    border-radius: 3px;
    font-size: .8rem;
}
@media (max-width: 992px) { .bg-mockups-masonry { column-count: 2; } }
@media (max-width: 576px) { .bg-mockups-masonry { column-count: 1; } }

/* ===== COMPETITOR CARDS ===== */
.bg-competitors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (max-width: 992px) { .bg-competitors-grid { grid-template-columns: 1fr; } }

.bg-competitor-card {
    background: #fff;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all .25s;
}
.bg-competitor-card:hover {
    border-color: #FD5D14;
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

.bg-competitor-visual {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    border-bottom: 1px solid #eaeaea;
}
@media (max-width: 576px) { .bg-competitor-visual { grid-template-columns: 1fr; } }

.bg-competitor-logo {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4F6F8;
    padding: 1.25rem;
    overflow: hidden;
    position: relative;
    border-right: 1px solid #eaeaea;
}
@media (max-width: 576px) {
    .bg-competitor-logo {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }
}
.bg-competitor-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
}

.bg-competitor-website {
    height: 240px;
    background: #FAFAF9;
    position: relative;
    overflow: hidden;
    display: block;
}
.bg-competitor-website-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.bg-competitor-website img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 5s linear;
}
.bg-competitor-website-link:hover img {
    transform: translateY(calc(-100% + 240px));
}
.bg-competitor-website-link::after {
    content: "\2922";
    position: absolute;
    top: .5rem; left: .5rem;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #040F28;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    opacity: 0;
    transition: opacity .25s;
    z-index: 3;
    font-weight: 700;
    pointer-events: none;
}
.bg-competitor-website-link:hover::after { opacity: 1; }

.bg-competitor-website .web-badge {
    position: absolute;
    top: .5rem; right: .5rem;
    font-size: .6rem;
    padding: .2rem .5rem;
    background: rgba(4,15,40,.85);
    color: #fff;
    font-weight: 600;
    letter-spacing: .08em;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 2;
    pointer-events: none;
}

.bg-competitor-website-empty {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: .75rem;
    text-align: center;
    padding: 1rem;
    line-height: 1.5;
}
.bg-competitor-website-empty .we-icon {
    font-size: 1.75rem;
    opacity: .4;
    margin-bottom: .4rem;
}

.bg-competitor-logotype {
    width: 100%;
    text-align: center;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    color: #040F28;
    line-height: 1.05;
    letter-spacing: -.01em;
    font-size: clamp(1.4rem, 3vw, 2rem);
    word-break: break-word;
    hyphens: auto;
    padding: 0 .5rem;
}
.bg-competitor-logotype .lt-mark {
    display: block;
    font-size: .55em;
    color: #bbb;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-top: .6rem;
}

.bg-competitor-meta {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex: 1;
}
.bg-competitor-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    flex-wrap: wrap;
}
.bg-competitor-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #040F28;
    margin: 0;
    line-height: 1.3;
}
.bg-competitor-url {
    font-size: .7rem;
    color: #999;
    text-decoration: none;
    font-family: monospace;
    padding: .15rem .45rem;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    transition: all .2s;
    white-space: nowrap;
    align-self: center;
}
.bg-competitor-url:hover {
    color: #FD5D14;
    border-color: #FD5D14;
}
.bg-competitor-fonts {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    margin-top: .1rem;
}
.bg-competitor-font-pill {
    font-size: .65rem;
    font-family: monospace;
    background: #F4F6F8;
    color: #555;
    padding: .2rem .5rem;
    border-radius: 3px;
    border: 1px solid #eaeaea;
}
.bg-competitor-font-pill.heading {
    background: #040F28;
    color: #FDBE33;
    border-color: #040F28;
}
.bg-competitor-font-pill.unset {
    color: #bbb;
    font-style: italic;
    border-style: dashed;
}
.bg-competitor-colors {
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
}
.bg-competitor-colors span {
    width: 20px; height: 20px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,.08);
    display: block;
    flex-shrink: 0;
}
.bg-competitor-note {
    font-size: .85rem;
    color: #666;
    margin: .25rem 0 0;
    line-height: 1.5;
    flex: 1;
}

.bg-competitor-hint {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: #FFF8E7;
    border-left: 4px solid #FDBE33;
    font-size: .95rem;
    color: #333;
    line-height: 1.65;
}
.bg-competitor-hint strong { color: #040F28; }
.bg-competitors-empty {
    padding: 2rem;
    background: #F4F6F8;
    border: 1px dashed #d4d4d4;
    text-align: center;
    color: #999;
    margin-top: 2rem;
}

/* ===== MARKET CONTEXT — 5 insights ===== */
.bg-mc-intro {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.75;
    margin: 0 0 2.5rem;
    max-width: 920px;
    padding: 1.5rem 1.75rem;
    background: #FAFAF9;
    border-left: 4px solid #FD5D14;
}
.bg-mc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}
@media (max-width: 992px) { .bg-mc-grid { grid-template-columns: 1fr; } }

.bg-mc-card {
    background: #fff;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: all .25s;
}
.bg-mc-card:hover {
    border-color: #FD5D14;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.bg-mc-head {
    padding: 1.5rem 1.75rem 1.1rem;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.bg-mc-num {
    font-family: monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: #FD5D14;
    border: 1px solid #FD5D14;
    padding: .3rem .6rem;
    border-radius: 3px;
    flex-shrink: 0;
    letter-spacing: .05em;
    line-height: 1;
    min-width: 2.6rem;
    text-align: center;
}
.bg-mc-name-block h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #040F28;
    margin: 0 0 .35rem;
    line-height: 1.35;
}
.bg-mc-name-block .mc-tagline {
    font-size: .85rem;
    color: #FD5D14;
    margin: 0;
    font-style: italic;
    line-height: 1.5;
    font-weight: 500;
}

.bg-mc-body {
    padding: 1.5rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.bg-mc-section h6 {
    font-size: .65rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 .45rem;
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 3px;
}
.bg-mc-section.mc-situation h6 {
    color: #666;
    background: #F4F6F8;
    border: 1px solid #e5e5e5;
}
.bg-mc-section.mc-implication h6 {
    color: #fff;
    background: #FD5D14;
}
.bg-mc-section p {
    font-size: .92rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
}
.bg-mc-section.mc-implication p {
    color: #040F28;
    font-weight: 500;
}

.bg-mc-subdivider {
    margin: 4rem 0 2rem;
    padding-bottom: .85rem;
    border-bottom: 2px solid #eaeaea;
    position: relative;
}
.bg-mc-subdivider::after {
    content: "";
    position: absolute;
    bottom: -2px; left: 0;
    width: 80px; height: 2px;
    background: #FD5D14;
}
.bg-mc-subdivider .sub-eyebrow {
    display: block;
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    margin-bottom: .4rem;
}
.bg-mc-subdivider h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #040F28;
    margin: 0;
    line-height: 1.3;
}
.bg-mc-subdivider .sub-lead {
    font-size: .95rem;
    color: #666;
    margin: .6rem 0 0;
    line-height: 1.65;
    max-width: 760px;
}

/* ===== INTERNAL AUDIT — SWOT ===== */
.bg-audit-intro {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.75;
    margin: 0 0 2.5rem;
    max-width: 920px;
    padding: 1.5rem 1.75rem;
    background: #FAFAF9;
    border-left: 4px solid #FD5D14;
}
.bg-audit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 1399px) { .bg-audit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .bg-audit-grid { grid-template-columns: 1fr; } }

.bg-audit-card {
    background: #fff;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #ccc;
    transition: all .25s;
}
.bg-audit-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transform: translateY(-3px);
}
.bg-audit-card.audit-strengths     { border-top-color: #3D8A4A; }
.bg-audit-card.audit-weaknesses    { border-top-color: #E8A23E; }
.bg-audit-card.audit-opportunities { border-top-color: #1B5FA8; }
.bg-audit-card.audit-threats       { border-top-color: #C0392B; }

.bg-audit-head {
    padding: 1.4rem 1.5rem 1.1rem;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    gap: .85rem;
    align-items: center;
}
.bg-audit-icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    border-radius: 50%;
    font-weight: 700;
}
.audit-strengths     .bg-audit-icon { background: #E8F1EA; color: #3D8A4A; }
.audit-weaknesses    .bg-audit-icon { background: #FCF1DD; color: #9C6B0A; }
.audit-opportunities .bg-audit-icon { background: #E1ECF7; color: #1B5FA8; }
.audit-threats       .bg-audit-icon { background: #FAE0DC; color: #922A1F; }

.bg-audit-title-block { flex: 1; min-width: 0; }
.bg-audit-eyebrow {
    display: block;
    font-size: .6rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin-bottom: .15rem;
}
.bg-audit-title {
    font-size: .98rem;
    font-weight: 700;
    color: #040F28;
    margin: 0;
    line-height: 1.3;
}

.bg-audit-list {
    list-style: none;
    padding: 1.1rem 1.5rem 1.4rem;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.bg-audit-list li {
    font-size: .85rem;
    color: #444;
    line-height: 1.6;
    padding-left: 1.1rem;
    position: relative;
}
.bg-audit-list li::before {
    content: "";
    position: absolute;
    left: 0; top: .55rem;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ccc;
}
.audit-strengths     .bg-audit-list li::before { background: #3D8A4A; }
.audit-weaknesses    .bg-audit-list li::before { background: #E8A23E; }
.audit-opportunities .bg-audit-list li::before { background: #1B5FA8; }
.audit-threats       .bg-audit-list li::before { background: #C0392B; }

/* ===== FILE FORMATS ===== */
.bg-fileformats-block {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eaeaea;
}
.bg-fileformats-block .ff-eyebrow {
    display: block;
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #FD5D14;
    font-weight: 700;
    margin-bottom: .5rem;
}
.bg-fileformats-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #040F28;
    margin: 0 0 .75rem;
    line-height: 1.3;
}
.bg-fileformats-block .ff-lead {
    font-size: .95rem;
    color: #666;
    margin: 0 0 1.75rem;
    line-height: 1.7;
    max-width: 780px;
}
.bg-fileformats-block .bg-print-table .ff-ext {
    font-family: monospace;
    font-weight: 700;
    color: #FD5D14;
    font-size: .95rem;
    letter-spacing: .05em;
    white-space: nowrap;
    min-width: 120px;
}
.bg-fileformats-block .bg-print-table .ff-use {
    color: #040F28;
    font-weight: 500;
    line-height: 1.6;
}
.bg-fileformats-block .bg-print-table .ff-note {
    color: #666;
    font-size: .88rem;
    line-height: 1.55;
}

/* ===== RESPONSIVE FALLBACK ===== */
@media (max-width: 768px) {
    .brand-hero    { padding: 4rem 1.5rem; }
    .bg-section    { padding: 3.5rem 1.5rem; }
    .bg-stage-divider { padding: 3rem 1.5rem; }
    .bg-concept    { padding: 3.5rem 1.5rem; }
    .bg-concept-header { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
    .bg-concept-num { font-size: 3rem; }
    .bg-typo-weight-row { grid-template-columns: 1fr; gap: .5rem; }
    .bg-mc-intro,
    .bg-audit-intro { padding: 1.2rem 1.3rem; }
}


/* =====================================================================
   v2.0 — STYLES MỚI (Đợt 1)
   ===================================================================== */

/* ===== 1.1 — Bối cảnh thị trường: card stack (v2.2) ===== */
.bg-mc-prose {
    max-width: 920px;
    color: #2a2a2a;
}
.bg-mc-prose-intro {
    background: linear-gradient(135deg, #FFF4EC 0%, #FFFBF4 100%);
    padding: 1.5rem 1.75rem;
    border-radius: 10px;
    border-left: 4px solid var(--bg-primary);
    font-size: 1.02rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 2rem;
}
.bg-mc-insight-card {
    background: #fff;
    border: 1px solid var(--bg-border);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.bg-mc-insight-card:hover {
    border-color: rgba(253,93,20,.35);
    box-shadow: 0 6px 22px rgba(4,15,40,.06);
    transform: translateY(-1px);
}
.bg-mc-insight-card:last-child { margin-bottom: 0; }
.bg-mc-insight-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    margin-bottom: 1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid #f0f0f0;
}
.bg-mc-insight-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 .55rem;
    background: var(--bg-dark);
    color: var(--bg-secondary);
    border-radius: 4px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.bg-mc-insight-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin: 0;
    line-height: 1.35;
}
.bg-mc-insight-tagline {
    font-size: .85rem;
    font-weight: 500;
    color: var(--bg-primary);
    font-style: italic;
}
.bg-mc-insight-body {
    font-size: .98rem;
    line-height: 1.8;
    color: #333;
}
.bg-mc-insight-body p { margin: 0 0 .75rem; }
.bg-mc-insight-body p:last-child { margin-bottom: 0; }
.bg-mc-insight-impl {
    margin-top: 1rem;
    background: linear-gradient(135deg, #FFF8EE 0%, #FFFCF5 100%);
    border-left: 3px solid var(--bg-secondary);
    padding: .9rem 1.1rem;
    border-radius: 0 8px 8px 0;
    font-size: .93rem;
    line-height: 1.7;
    color: #4a3a18;
}
.bg-mc-insight-impl strong {
    color: var(--bg-dark);
    font-weight: 700;
}

/* ===== 1.3 — Competitor: sub-blocks A/B ===== */
.bg-comp-sub {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid #f0f0f0;
}
.bg-comp-sub:first-of-type {
    margin-top: 2rem;
    padding-top: 0;
    border-top: 0;
}
.bg-comp-sub-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .5rem;
}
.bg-comp-sub-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    background: #FD5D14;
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.bg-comp-sub-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #040F28;
    margin: 0;
}
.bg-comp-sub-lead {
    font-size: 1rem;
    color: #555;
    max-width: 800px;
    margin: 0 0 2rem 0;
    line-height: 1.75;
}

/* ===== Sub A: aggregate màu / font đối thủ (v2.2) ===== */
.bg-comp-aggregate {
    background: #fff;
    border: 1px solid var(--bg-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.03);
    margin-top: 1.5rem;
}
.bg-comp-agg-card-head {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #122247 100%);
    color: #fff;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.bg-comp-agg-card-chip {
    background: var(--bg-primary);
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.bg-comp-agg-card-titles h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.bg-comp-agg-card-titles p {
    margin: .2rem 0 0;
    font-size: .82rem;
    color: rgba(255,255,255,.65);
}

.bg-comp-agg-body { padding: 1.75rem; }
.bg-comp-agg-sec + .bg-comp-agg-sec {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px dashed #ececec;
}
.bg-comp-agg-sec-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.bg-comp-agg-sec-label h5 {
    margin: 0;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--bg-dark);
    font-weight: 700;
}
.bg-comp-agg-sec-hint {
    font-size: .72rem;
    color: var(--bg-muted);
    font-style: italic;
}

.bg-comp-agg-row { margin-bottom: 1.25rem; }
.bg-comp-agg-row:last-child { margin-bottom: 0; }
.bg-comp-agg-row-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--bg-muted);
    margin-bottom: .6rem;
    font-weight: 700;
}
.bg-comp-agg-row-label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bg-primary);
    flex-shrink: 0;
}
.bg-comp-agg-row.is-thin .bg-comp-agg-row-label::before { background: #ccc; }

.bg-comp-agg-colors {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.bg-comp-agg-color {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease;
}
.bg-comp-agg-color:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.bg-comp-agg-color.is-active {
    box-shadow: 0 0 0 3px var(--bg-primary), 0 8px 20px rgba(253,93,20,.25);
    transform: translateY(-3px);
}
.bg-comp-agg-color-bg {
    position: absolute;
    inset: 0;
}
.bg-comp-agg-color-foot {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: .35rem .55rem;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: .68rem;
    letter-spacing: .03em;
}
.bg-comp-agg-color.lite .bg-comp-agg-color-foot {
    background: rgba(255,255,255,.85);
    color: var(--bg-dark);
}
.bg-comp-agg-count-badge {
    position: absolute;
    top: .4rem;
    right: .4rem;
    background: var(--bg-primary);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .15rem .45rem;
    border-radius: 999px;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.bg-comp-agg-count-badge.is-thin { background: #999; }

.bg-comp-agg-fonts {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.bg-comp-agg-font {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--bg-light);
    border: 1px solid var(--bg-border);
    padding: .5rem .85rem;
    border-radius: 999px;
    transition: all .15s ease;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}
.bg-comp-agg-font:hover {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}
.bg-comp-agg-font:hover .bg-comp-agg-font-count {
    background: var(--bg-secondary);
    color: var(--bg-dark);
}
.bg-comp-agg-font.is-active {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}
.bg-comp-agg-font.is-active .bg-comp-agg-font-count {
    background: var(--bg-secondary);
    color: var(--bg-dark);
}
.bg-comp-agg-font-name {
    font-size: .85rem;
    font-weight: 500;
}
.bg-comp-agg-font-count {
    background: var(--bg-primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: .12rem .45rem;
    border-radius: 999px;
    line-height: 1.2;
    transition: all .15s ease;
}

/* Usage popover — list đối thủ dùng màu/font */
.bg-comp-agg-usage {
    margin-top: .85rem;
    background: var(--bg-light);
    border-left: 3px solid var(--bg-primary);
    border-radius: 0 6px 6px 0;
    padding: .85rem 1.1rem;
    font-size: .85rem;
    display: none;
}
.bg-comp-agg-usage.is-open { display: block; }
.bg-comp-agg-usage-title {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--bg-primary);
    font-weight: 700;
    margin: 0 0 .5rem;
}
.bg-comp-agg-usage-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.bg-comp-agg-usage-list li {
    background: #fff;
    border: 1px solid var(--bg-border);
    padding: .25rem .65rem;
    border-radius: 4px;
    font-size: .82rem;
    color: var(--bg-dark);
    font-weight: 500;
}

.bg-comp-agg-foot {
    background: linear-gradient(135deg, #FFF8EE 0%, #FFFCF5 100%);
    margin: 1.5rem -1.75rem -1.75rem;
    padding: 1rem 1.75rem;
    font-size: .88rem;
    line-height: 1.65;
    color: #5a4a20;
    border-top: 1px solid #F0E0B0;
}
.bg-comp-agg-foot strong { color: var(--bg-dark); }

.bg-comp-agg-empty {
    color: #999;
    font-style: italic;
    font-size: .9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .bg-comp-agg-body { padding: 1.25rem; }
    .bg-comp-agg-color { width: 80px; height: 80px; }
    .bg-comp-agg-foot { margin: 1.25rem -1.25rem -1.25rem; padding: .85rem 1.25rem; }
}

/* Competitor card — 2 field mới */
.bg-competitor-extra {
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px dashed #e5e5e5;
}
.bg-competitor-extra-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #FD5D14;
    font-weight: 700;
    margin: 0 0 .35rem 0;
}
.bg-competitor-extra-body {
    margin: 0;
    font-size: .88rem;
    line-height: 1.65;
    color: #333;
}
.bg-competitor-slogan {
    font-style: italic;
    color: #040F28;
    font-weight: 500;
}

/* ===== FORM BỔ SUNG (v2.2 — underline + collapse trigger) ===== */

/* Wrapper: trigger + panel collapse */
.bg-add-wrap { margin-top: 1.25rem; }
.bg-add-wrap + .bg-add-wrap { margin-top: .85rem; }

.bg-add-trigger {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    color: var(--bg-primary);
    border: 1px solid var(--bg-primary);
    padding: .6rem 1.2rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .18s, color .18s, box-shadow .18s, transform .12s;
}
.bg-add-trigger:hover {
    background: var(--bg-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(253,93,20,.22);
    transform: translateY(-1px);
}
.bg-add-trigger svg {
    transition: transform .2s ease;
    flex-shrink: 0;
}
.bg-add-trigger.is-open {
    background: var(--bg-primary);
    color: #fff;
}
.bg-add-trigger.is-open svg { transform: rotate(45deg); }

.bg-add-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, margin-top .25s ease;
}
.bg-add-panel.is-open {
    max-height: 1200px;
    opacity: 1;
    margin-top: 1rem;
}

/* Form body — underline style (A1) */
.bg-extra-form {
    background: #fff;
    border: 1px solid var(--bg-border);
    border-left: 3px solid var(--bg-primary);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 1.75rem;
}
.bg-extra-form-title {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--bg-primary);
    font-weight: 700;
    margin: 0 0 1.25rem;
}
.bg-extra-form-field {
    margin-bottom: 1.1rem;
}
.bg-extra-form-field:last-child { margin-bottom: 0; }
.bg-extra-form-field label {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--bg-muted);
    font-weight: 600;
    margin-bottom: .35rem;
}
.bg-extra-form input[type="text"],
.bg-extra-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #d8d8d8;
    background: transparent;
    font-family: inherit;
    font-size: .95rem;
    padding: .45rem 0;
    color: var(--bg-text);
    transition: border-color .2s, border-width .2s;
    border-radius: 0;
}
.bg-extra-form input[type="text"]:focus,
.bg-extra-form textarea:focus {
    outline: none;
    border-bottom-color: var(--bg-primary);
    border-bottom-width: 2px;
    padding-bottom: calc(.45rem - 1px);
}
.bg-extra-form textarea {
    resize: vertical;
    min-height: 60px;
    line-height: 1.6;
}
.bg-extra-form-actions {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: 1.5rem;
}
.bg-extra-form-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--bg-primary);
    color: #fff;
    border: 0;
    padding: .65rem 1.4rem;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, color .15s, box-shadow .15s, transform .1s;
}
.bg-extra-form-btn:hover {
    background: var(--bg-dark);
    color: var(--bg-secondary);
    box-shadow: 0 4px 14px rgba(4,15,40,.2);
}
.bg-extra-form-btn:active { transform: translateY(1px); }
.bg-extra-form-btn:disabled { opacity: .5; cursor: wait; }
.bg-extra-form-cancel {
    background: transparent;
    border: 0;
    color: var(--bg-muted);
    font-size: .82rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: .3rem .4rem;
}
.bg-extra-form-cancel:hover { color: #C62828; }

.bg-extra-form-hint {
    font-size: .75rem;
    color: #888;
    font-style: italic;
    margin: .85rem 0 0;
}

/* SWOT — inline mini form (giữ luôn mở, chỉ đổi style underline) */
.bg-extra-form--inline {
    margin-top: 1rem;
    padding: .65rem .75rem;
    background: #fff;
    border: 1px solid var(--bg-border);
    border-left: 3px solid var(--bg-primary);
    border-radius: 0 6px 6px 0;
    display: flex;
    align-items: stretch;
    gap: .5rem;
}
.bg-extra-form--inline input[type="text"] {
    flex: 1;
    border-bottom: 1px solid transparent;
    padding: .35rem .25rem;
    font-size: .88rem;
}
.bg-extra-form--inline input[type="text"]:focus {
    border-bottom-color: var(--bg-primary);
    border-bottom-width: 2px;
}
.bg-extra-form--inline .bg-extra-form-btn {
    padding: .4rem .9rem;
    font-size: .78rem;
}

/* Trụ cột thông điệp — form đa dòng */
.bg-pillar-form-rows {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin: .85rem 0 1.25rem;
}
.bg-pillar-form-row {
    display: grid;
    grid-template-columns: auto 1fr 2fr;
    gap: .65rem;
    align-items: center;
}
@media (max-width: 768px) {
    .bg-pillar-form-row { grid-template-columns: 1fr; }
}
.bg-pillar-form-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--bg-secondary);
    color: var(--bg-dark);
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 700;
}
.bg-pillar-form-row input[type="text"] {
    margin: 0;
}

/* ===== USER-ADDED ITEMS (markers) ===== */
.is-user-item {
    position: relative;
}
.bg-aud-card.is-user-item,
.bg-bopt-card.is-user-item {
    border-color: #FDBE33;
    background: #FFFEF8;
    box-shadow: 0 1px 0 rgba(253,190,51,.25);
}
.bg-bopt-card.is-user-item .bg-bopt-head {
    position: relative;
}
.bopt-num-user {
    background: #FDBE33 !important;
    color: #040F28 !important;
}
.bg-audit-list li.is-user-item {
    background: #FFFEF8;
    padding-right: 1.8rem !important;
}
.bg-print-table tbody tr.is-user-item td {
    background: #FFFEF8;
}

.bg-user-item-del {
    position: absolute;
    top: .35rem;
    right: .35rem;
    width: 22px;
    height: 22px;
    background: rgba(0,0,0,.06);
    color: #666;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
    z-index: 2;
}
.bg-user-item-del:hover {
    background: #D32F2F;
    color: #fff;
}
.bg-user-item-del--card {
    position: absolute;
    top: .65rem;
    right: .65rem;
    width: 26px;
    height: 26px;
}
.bg-audit-list li.is-user-item .bg-user-item-del {
    top: 50%;
    transform: translateY(-50%);
    right: .5rem;
}

/* ===== Toast notification (cho AJAX feedback) ===== */
.bg-toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: #040F28;
    color: #fff;
    padding: .85rem 1.25rem;
    border-radius: 6px;
    font-size: .9rem;
    box-shadow: 0 6px 24px rgba(0,0,0,.18);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .2s, transform .2s;
    max-width: 320px;
}
.bg-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.bg-toast.is-error {
    background: #B71C1C;
}
.bg-toast.is-success {
    background: #2E7D32;
}
.bg-toast.is-success::before { content: "✓ "; }
.bg-toast.is-error::before   { content: "⚠ "; }

/* ===== AUDIENCE — group user additions ===== */
.bg-aud-group--user .bg-aud-roman {
    background: #FDBE33;
    color: #040F28;
}
.bg-aud-budget-add {
    margin-top: 1.25rem;
}


/* =====================================================================
   v2.0 — STYLES MỚI (Đợt 2 — Phần 3: chốt phương án)
   ===================================================================== */

/* ===== Banner "Đã chốt" ở đầu mỗi section ===== */
.bg-choice-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin: 0 0 2rem 0;
    background: linear-gradient(135deg, #FFF8EE 0%, #FFFEF8 100%);
    border: 1px solid #FDBE33;
    border-left: 4px solid #FD5D14;
    border-radius: 8px;
    color: #040F28;
    font-size: .95rem;
}
.bg-choice-banner-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #FD5D14;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.bg-choice-banner code {
    background: #040F28;
    color: #FDBE33;
    padding: .12rem .45rem;
    border-radius: 3px;
    font-size: .85rem;
    font-weight: 700;
}
.bg-choice-banner-hint {
    color: #666;
    font-size: .85rem;
    font-style: italic;
    margin-left: .3rem;
}

/* ===== Action area chứa nút chốt ===== */
.bg-choice-action {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px dashed #ececec;
}
.bg-choice-action--concept {
    border-top: 0;
    padding-top: 0;
    margin: 0 0 1.5rem 0;
}

.bg-choice-btn {
    background: #FD5D14;
    color: #fff;
    border: 0;
    padding: .6rem 1.1rem;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .15s, transform .1s, box-shadow .15s;
    white-space: nowrap;
}
.bg-choice-btn:hover {
    background: #040F28;
    color: #FDBE33;
    box-shadow: 0 3px 10px rgba(4,15,40,.18);
}
.bg-choice-btn:active { transform: translateY(1px); }
.bg-choice-btn:disabled { opacity: .55; cursor: wait; }

.bg-choice-btn--clear {
    background: #fff;
    color: #B71C1C;
    border: 1px solid #E0B4B4;
}
.bg-choice-btn--clear:hover {
    background: #B71C1C;
    color: #fff;
    border-color: #B71C1C;
    box-shadow: 0 3px 10px rgba(183,28,28,.18);
}

.bg-choice-status {
    font-size: .85rem;
    color: #040F28;
    font-weight: 500;
}

/* ===== Card đã chốt: highlight + corner badge ===== */
.bg-preview-card.is-chosen,
.bg-colorsys-card.is-chosen,
.bg-typo-option-card.is-chosen {
    border: 2px solid #FD5D14;
    box-shadow: 0 6px 22px rgba(253,93,20,.16);
    position: relative;
}
.bg-concept.is-chosen {
    background: linear-gradient(180deg, #FFFEF8 0%, #fff 80%);
    border-top: 4px solid #FD5D14;
}
.bg-gallery-item.is-chosen {
    border: 2px solid #FD5D14;
    box-shadow: 0 4px 14px rgba(253,93,20,.2);
}

.bg-chosen-badge {
    background: #FD5D14;
    color: #fff;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.bg-chosen-badge--corner {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: .85rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    z-index: 5;
}
.bg-chosen-badge--inline {
    margin-left: .65rem;
    vertical-align: middle;
    font-size: .65rem;
    padding: .2rem .55rem;
}

/* ===== 3.1 Preview Website — kế thừa style competitor, tinh chỉnh ===== */
.bg-preview-card {
    /* Card lớn hơn competitor card 1 chút vì screenshot quan trọng hơn */
    transition: border-color .15s, box-shadow .2s, transform .1s;
}
.bg-preview-visual .bg-competitor-website {
    /* Preview chiếm full width vì không có cột logo */
    grid-column: 1 / -1;
}
.bg-preview-visual {
    grid-template-columns: 1fr !important;
}
.bg-preview-tagline {
    margin: .35rem 0 .75rem 0;
    font-size: .9rem;
    color: #FD5D14;
    font-style: italic;
    line-height: 1.5;
}
.bg-preview-key {
    display: inline-block;
    background: #040F28;
    color: #FDBE33;
    padding: .15rem .5rem;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-right: .5rem;
    vertical-align: middle;
}
.bg-preview-empty-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.bg-preview-empty-link:hover .bg-competitor-website-empty {
    background: #FFF8EE;
    border-color: #FD5D14;
}


/* ============================================================
 * v2.5 — Phần 1.2 A · Competitor Palettes (4 card grid)
 * Style đồng bộ với 3.3 Color Systems (.bg-colorsys-card)
 * ============================================================ */
.bg-cpalette-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (max-width: 992px) { .bg-cpalette-grid { grid-template-columns: 1fr; } }

.bg-cpalette-card {
    background: #fff;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: all .25s;
}
.bg-cpalette-card:hover {
    border-color: var(--bg-primary);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* ====== Header ====== */
.bg-cpalette-head {
    padding: 1.5rem 1.75rem 1rem;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}
.bg-cpalette-num {
    font-family: monospace;
    font-size: .7rem;
    letter-spacing: .2em;
    color: var(--bg-primary);
    border: 1px solid var(--bg-primary);
    padding: .2rem .55rem;
    border-radius: 3px;
    font-weight: 700;
    flex-shrink: 0;
}
.bg-cpalette-name-block h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin: 0 0 .2rem;
    line-height: 1.3;
}
.bg-cpalette-name-block .cp-tagline {
    font-size: .85rem;
    color: #777;
    margin: 0;
    line-height: 1.45;
}

/* ====== Swatches (hiện TÊN MÀU thay vì HEX) ====== */
.bg-cpalette-swatches {
    display: flex;
    height: 120px;
    border-bottom: 1px solid #eaeaea;
}
.bg-cpalette-swatches > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: .75rem;
    color: #fff;
    position: relative;
}
.bg-cpalette-swatches > div.lite { color: var(--bg-dark); }
.bg-cpalette-swatches .cp-color-name {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.3;
    opacity: .95;
}

/* ====== Body ====== */
.bg-cpalette-body {
    padding: 1.25rem 1.75rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bg-cpalette-section h6 {
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin: 0 0 .4rem;
}
.bg-cpalette-section p {
    font-size: .85rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}
.bg-cpalette-section.note p {
    color: var(--bg-dark);
    font-weight: 500;
}

/* "Đối thủ đang dùng" — inline list với dấu chấm phân cách */
.bg-cpalette-usedby {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem .5rem;
    font-size: .85rem;
    line-height: 1.6;
}
.bg-cpalette-usedby .cp-usedby-name {
    color: var(--bg-dark);
    font-weight: 600;
}
.bg-cpalette-usedby .cp-usedby-sep {
    color: rgba(4,15,40,.3);
    font-weight: 400;
}

/* Empty state */
.bg-cpalette-empty {
    background: #F4F6F8;
    border: 1px dashed #d4d4d4;
    padding: 2.5rem 2rem;
    color: #999;
    text-align: center;
    font-size: .9rem;
    line-height: 1.6;
    margin-top: 1.5rem;
}
.bg-cpalette-empty code {
    background: var(--bg-dark);
    color: var(--bg-secondary);
    padding: .15rem .4rem;
    border-radius: 3px;
    font-size: .8rem;
}

@media (max-width: 992px) {
    .bg-cpalette-swatches { height: 96px; }
}
@media (max-width: 480px) {
    .bg-cpalette-head { padding: 1.25rem 1.25rem .85rem; }
    .bg-cpalette-body { padding: 1rem 1.25rem 1.25rem; }
    .bg-cpalette-swatches { height: 84px; }
    .bg-cpalette-swatches .cp-color-name { font-size: .7rem; }
}


/* ============================================================
 * v2.4 — Note Block (textarea ghi chú bổ sung — Phần 2)
 * ============================================================ */
.bg-note-block {
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    background: #FFF8EE;
    border: 1px solid rgba(253, 93, 20, .15);
    border-left: 3px solid var(--bg-primary);
    border-radius: 4px;
}
.bg-note-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}
.bg-note-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bg-dark);
    margin: 0;
}
.bg-note-status {
    font-size: .72rem;
    font-weight: 500;
    color: rgba(4,15,40,.5);
    font-feature-settings: 'tnum' 1;
    letter-spacing: .02em;
    white-space: nowrap;
}
.bg-note-status.is-saved { color: #16a34a; }
.bg-note-status.is-saving { color: #ca8a04; }
.bg-note-status.is-error { color: #dc2626; }
.bg-note-status.is-dirty { color: var(--bg-primary); }
.bg-note-textarea {
    display: block;
    width: 100%;
    min-height: 110px;
    padding: .85rem 1rem;
    font-family: inherit;
    font-size: .92rem;
    line-height: 1.65;
    color: var(--bg-dark);
    background: #fff;
    border: 1px solid rgba(4,15,40,.12);
    border-radius: 3px;
    resize: vertical;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.bg-note-textarea:focus {
    outline: none;
    border-color: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(253, 93, 20, .12);
}
.bg-note-textarea::placeholder {
    color: rgba(4,15,40,.4);
    font-style: italic;
}
.bg-note-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .75rem;
}
.bg-note-hint {
    font-size: .72rem;
    color: rgba(4,15,40,.5);
    letter-spacing: .02em;
}
.bg-note-save {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: .45rem 1rem;
    background: var(--bg-dark);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background .15s, transform .15s;
    font-family: inherit;
}
.bg-note-save:hover {
    background: var(--bg-primary);
}
.bg-note-save:active {
    transform: translateY(1px);
}
.bg-note-save:disabled {
    opacity: .5;
    cursor: not-allowed;
}
@media (max-width: 600px) {
    .bg-note-block { padding: 1.25rem; }
    .bg-note-foot { flex-direction: column; align-items: stretch; }
    .bg-note-save { width: 100%; }
}


/* ============================================================
 * v2.4 — 2.6 Roadmap Timeline (chevron + addons)
 * ============================================================ */
.bg-roadmap {
    margin-top: 2.5rem;
}

/* --- Chevron Stages --- */
.bg-roadmap-stages {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    align-items: stretch;
    margin-bottom: 3rem;
}
.bg-roadmap-stage {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0 .5rem;
}
.bg-roadmap-stage-head {
    display: flex;
    justify-content: center;
    padding: 0 0 1.25rem;
}
.bg-roadmap-stage-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FD5D14 0%, #FDBE33 100%);
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(253, 93, 20, .25);
}
.bg-roadmap-stage-body {
    flex: 1;
    padding: 0 .25rem 1.5rem;
}
.bg-roadmap-stage-desc {
    font-size: .85rem;
    line-height: 1.6;
    color: rgba(4,15,40,.75);
    margin: 0;
    text-align: center;
}

/* Chevron — using clip-path to create arrow shape */
.bg-roadmap-stage-chev {
    position: relative;
    padding: 1rem 1.75rem 1rem 1.25rem;
    background: linear-gradient(135deg, #FD5D14 0%, #FDBE33 100%);
    color: #fff;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
    margin-left: -14px;
}
.bg-roadmap-stage:first-child .bg-roadmap-stage-chev {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    margin-left: 0;
}
.bg-roadmap-stage-num {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    opacity: .9;
    margin-bottom: .15rem;
}
.bg-roadmap-stage-title {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin: 0;
    line-height: 1.4;
    color: #fff;
}

/* --- Addons --- */
.bg-roadmap-addons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}
.bg-roadmap-addon {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(4,15,40,.08);
    border-left: 3px solid var(--bg-primary);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(4,15,40,.04);
}
.bg-roadmap-addon-title {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--bg-dark);
    margin: 0 0 .5rem;
}
.bg-roadmap-addon-desc {
    font-size: .85rem;
    line-height: 1.6;
    color: rgba(4,15,40,.7);
    margin: 0;
}

@media (max-width: 992px) {
    .bg-roadmap-stages { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
    .bg-roadmap-stage:nth-child(3n) .bg-roadmap-stage-chev { /* no-op, but keep selector available */ }
    .bg-roadmap-addons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .bg-roadmap-stages {
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }
    .bg-roadmap-stage {
        padding: .85rem;
        background: #FFF8EE;
        border: 1px solid rgba(253, 93, 20, .12);
        border-left: 3px solid var(--bg-primary);
        border-radius: 3px;
    }
    .bg-roadmap-stage-head {
        padding: 0 0 .65rem;
        justify-content: flex-start;
    }
    .bg-roadmap-stage-icon {
        width: 42px;
        height: 42px;
        border-radius: 3px;
    }
    .bg-roadmap-stage-icon svg { width: 18px; height: 18px; }
    .bg-roadmap-stage-chev {
        clip-path: none !important;
        margin-left: 0;
        padding: .55rem .85rem;
        text-align: left;
        border-radius: 3px;
        order: -1;
        margin: -.85rem -.85rem .65rem;
        border-radius: 3px 3px 0 0;
    }
    .bg-roadmap-stage-num { font-size: .65rem; }
    .bg-roadmap-stage-title { font-size: .82rem; }
    .bg-roadmap-stage-body { padding: 0; }
    .bg-roadmap-stage-desc { text-align: left; font-size: .85rem; }
    .bg-roadmap-addons { grid-template-columns: 1fr; }
}
