﻿/* ============================================================
   FinVillaHub Calculator Premium Education
   Isolated component — does not alter V3 calculator layout
   ============================================================ */

.fvh-cal-premium {
    position: relative;
    margin: 28px 0 0;
    padding: 1px;
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(45, 212, 191, .55),
            rgba(212, 175, 55, .38),
            rgba(45, 212, 191, .12)
        );
    overflow: hidden;
}

.fvh-cal-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(45, 212, 191, .12),
            transparent 42%
        ),
        radial-gradient(
            circle at 90% 100%,
            rgba(212, 175, 55, .09),
            transparent 40%
        );
}

.fvh-cal-premium__hero,
.fvh-cal-premium__grid,
.fvh-cal-premium__disclaimer {
    position: relative;
    z-index: 1;
}

.fvh-cal-premium__hero {
    padding: 30px 30px 24px;
    background: rgba(8, 15, 28, .96);
}

.fvh-cal-premium__eyebrow {
    margin-bottom: 8px;
    color: #6ee7d8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.fvh-cal-premium__hero h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.fvh-cal-premium__hero p {
    max-width: 720px;
    margin: 11px 0 0;
    color: #aebccc;
    font-size: 14px;
    line-height: 1.65;
}

.fvh-cal-premium__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.fvh-cal-premium__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 17px;
    border-radius: 11px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    transition: transform .18s ease, opacity .18s ease;
}

.fvh-cal-premium__actions a:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.fvh-cal-premium__primary {
    color: #071318;
    background: linear-gradient(135deg, #6ee7d8, #d4af37);
}

.fvh-cal-premium__secondary {
    color: #dbe7f0;
    border: 1px solid rgba(148, 163, 184, .24);
    background: rgba(255, 255, 255, .035);
}

.fvh-cal-premium__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(148, 163, 184, .12);
}

.fvh-cal-premium__card {
    min-height: 165px;
    padding: 21px;
    background: rgba(10, 20, 34, .97);
}

.fvh-cal-premium__card--featured {
    background:
        linear-gradient(
            145deg,
            rgba(18, 48, 54, .98),
            rgba(20, 29, 42, .98)
        );
}

.fvh-cal-premium__number {
    margin-bottom: 12px;
    color: #6ee7d8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.fvh-cal-premium__card h3 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 16px;
}

.fvh-cal-premium__card p {
    margin: 0;
    color: #98a8b9;
    font-size: 12px;
    line-height: 1.6;
}

.fvh-cal-premium__badge {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 4px 7px;
    border-radius: 999px;
    color: #e7d18b;
    border: 1px solid rgba(212, 175, 55, .28);
    background: rgba(212, 175, 55, .08);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .1em;
}

.fvh-cal-premium__card--featured .fvh-cal-premium__number {
    margin-bottom: 5px;
}

.fvh-cal-premium__disclaimer {
    padding: 15px 20px;
    color: #8797a8;
    background: rgba(5, 12, 22, .98);
    border-top: 1px solid rgba(148, 163, 184, .1);
    font-size: 10px;
    line-height: 1.6;
}

.fvh-cal-premium__disclaimer strong {
    color: #b9c6d2;
}

@media (max-width: 900px) {
    .fvh-cal-premium__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .fvh-cal-premium__hero {
        padding: 24px 20px 20px;
    }

    .fvh-cal-premium__grid {
        grid-template-columns: 1fr;
    }

    .fvh-cal-premium__card {
        min-height: auto;
    }

    .fvh-cal-premium__actions {
        flex-direction: column;
    }

    .fvh-cal-premium__actions a {
        width: 100%;
    }
}
