.brand-identity-page {
    padding: 48px 0 76px;
    background: var(--bg-light, #f7f9fc);
}

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

.brand-identity-heading h1 {
    margin: 15px 0 10px;
    color: var(--text-color, #182230);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -.03em;
}

.brand-identity-heading p,
.brand-identity-section-head p {
    margin: 0;
    color: var(--text-muted, #667085);
    font-size: 16px;
    line-height: 1.65;
}

.brand-identity-sections {
    display: grid;
    gap: 22px;
}

.brand-identity-section {
    padding: 28px;
    border: 1px solid rgba(27, 52, 79, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(27, 52, 79, .05);
}

.brand-identity-section-head {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.brand-identity-section-icon {
    display: inline-flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(0, 137, 255, .1);
    color: #0089ff;
    font-size: 23px;
}

.brand-identity-section h2 {
    margin: 1px 0 6px;
    color: var(--text-color, #182230);
    font-size: 22px;
    font-weight: 700;
}

.brand-identity-section-copy {
    flex: 1 1 240px;
    min-width: 0;
}

.brand-identity-download-all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    margin-left: auto;
    padding: 0 13px;
    border-radius: 8px;
    background: #0089ff;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.brand-identity-download-all:hover {
    background: #006fd1;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.brand-identity-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.brand-identity-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(27, 52, 79, .09);
    border-radius: 14px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.brand-identity-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 137, 255, .28);
    box-shadow: 0 10px 24px rgba(27, 52, 79, .1);
}

.brand-identity-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 104px;
    min-height: 104px;
    padding: 10px;
    background: linear-gradient(135deg, #f8fafc, #eef5fb);
}

.brand-identity-preview img {
    display: block;
    width: 100%;
    height: 82px;
    max-height: 82px;
    object-fit: contain;
}

.brand-identity-video-preview {
    background: #101b2a;
}

.brand-identity-video-preview video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-identity-empty {
    display: grid;
    min-height: 124px;
    place-content: center;
    justify-items: center;
    border: 1px dashed rgba(27, 52, 79, .16);
    border-radius: 14px;
    background: #f9fbfd;
    color: var(--text-muted, #667085);
    text-align: center;
}

.brand-identity-empty i {
    margin-bottom: 7px;
    color: #8dbfea;
    font-size: 27px;
}

.brand-identity-empty p { margin: 0; }

html[data-theme=dark] .brand-identity-page {
    background: var(--background);
}

html[data-theme=dark] .brand-identity-section {
    border-color: var(--border);
    background: var(--bg-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

html[data-theme=dark] .brand-identity-heading p,
html[data-theme=dark] .brand-identity-section-head p {
    color: var(--text-gray);
}

html[data-theme=dark] .brand-identity-card {
    border-color: var(--border);
    background: var(--bg-white-2);
}

html[data-theme=dark] .brand-identity-card:hover {
    border-color: rgba(60, 145, 255, .52);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

html[data-theme=dark] .brand-identity-preview {
    background: linear-gradient(135deg, #111b2a, #15263b);
}

html[data-theme=dark] .brand-identity-download-all {
    background: #147fe0;
}

html[data-theme=dark] .brand-identity-download-all:hover {
    background: #2c95f2;
}

html[data-theme=dark] .brand-identity-empty {
    border-color: var(--border);
    background: var(--bg-white-2);
    color: var(--text-gray);
}

@media (max-width: 991.98px) {
    .brand-identity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .brand-identity-page { padding: 30px 0 46px; }
    .brand-identity-heading { margin-bottom: 22px; }
    .brand-identity-heading p, .brand-identity-section-head p { font-size: 14px; }
    .brand-identity-section { padding: 20px 16px; border-radius: 14px; }
    .brand-identity-section-head { gap: 12px; margin-bottom: 18px; }
    .brand-identity-section-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
    .brand-identity-section h2 { font-size: 19px; }
    .brand-identity-download-all { width: 100%; margin-left: 0; }
    .brand-identity-grid { grid-template-columns: 1fr; }
    .brand-identity-preview { height: 96px; min-height: 96px; }
    .brand-identity-preview img { height: 76px; max-height: 76px; }
}
