/* ============== IB BRAND PANEL — gold-tinted ============== */
.ib-brand {
    background: linear-gradient(135deg, #0a0a14 0%, #1a1530 55%, #2c2350 100%) !important;
}

.ib-brand::before {
    background: radial-gradient(720px 480px at 90% 10%, rgba(245, 183, 60, .24), transparent 60%),
    radial-gradient(620px 440px at 10% 95%, rgba(74, 144, 255, .18), transparent 60%) !important;
}

.ib-brand h2 .grad {
    background: linear-gradient(90deg, #f5d77a, #f5b73c, #f5d77a);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shineText 4s linear infinite;
}

.ib-brand .auth-eyebrow {
    background: rgba(245, 183, 60, .10);
    border-color: rgba(245, 183, 60, .30);
    color: #f5d77a;
}

.ib-brand .auth-benefits li .b-ic {
    background: rgba(245, 183, 60, .14);
    border-color: rgba(245, 183, 60, .24);
    color: #f5d77a;
}

.ib-brand .auth-testimonial .av {
    background: linear-gradient(135deg, #f5b73c, #d4901c);
    color: #fff;
}

/* Floating cards on the left brand panel */
.af-1 {
    top: 70px;
    right: 50px;
    animation-delay: 0s;
}

.af-1 .af-ic {
    background: linear-gradient(135deg, #f5d77a, #d4901c);
    color: #4a3300 !important;
}

.af-2 {
    bottom: 100px;
    right: 40px;
    animation-delay: -2s;
}

.af-2 .af-ic {
    background: linear-gradient(135deg, #1abc88, #0d8a5f);
}

.af-3 {
    top: 50%;
    left: 32px;
    animation-delay: -4s;
}

.af-3 .af-ic {
    background: linear-gradient(135deg, #4f8cff, #2950bd);
}

/* Dashboard preview card */
.dash-preview {
    position: relative;
    z-index: 1;
    margin-top: auto;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    padding: 18px 18px 22px;
    backdrop-filter: blur(8px);
}

.dash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.dash-head .dh-lbl {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dash-head .dh-period {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(245, 183, 60, .16);
    color: #f5d77a;
    border: 1px solid rgba(245, 183, 60, .24);
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dash-stat {
    padding: 12px 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
}

.dash-stat .ds-lbl {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.dash-stat .ds-val {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.dash-stat .ds-val.gold {
    color: #f5d77a;
}

.dash-stat .ds-val.green {
    color: #6cf2bf;
}

.dash-stat .ds-trend {
    font-size: 10.5px;
    font-weight: 700;
    color: #6cf2bf;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Mini chart svg */
.dash-chart {
    margin-top: 10px;
    height: 56px;
    position: relative;
}

.dash-chart svg {
    width: 100%;
    height: 100%;
    display: block;
}

.dash-chart .grid {
    stroke: rgba(255, 255, 255, .08);
    stroke-width: 1;
}

.dash-chart .line {
    fill: none;
    stroke: #f5b73c;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dash-chart .area {
    fill: url(#dashAreaGrad);
    opacity: .6;
}

@media (max-width: 980px) {
    .dash-preview {
        display: none;
    }
}

/* Background animated chart */
.brand-chart-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    pointer-events: none;
    opacity: .22;
    z-index: 0;
}

.brand-chart-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.brand-chart-bg .line {
    fill: none;
    stroke: #f5b73c;
    stroke-width: 2;
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    animation: drawLine 4s ease-out forwards;
}

.brand-chart-bg .area {
    fill: url(#ibAreaGrad);
    opacity: 0;
    animation: fadeArea 2s 1.5s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeArea {
    to {
        opacity: 1;
    }
}

.auth-brand-head, .auth-benefits, .dash-preview {
    position: relative;
    z-index: 1;
}
