:root {
    --phenom-magenta: #D63B82;
    --phenom-dark: #080d13;
    --phenom-panel: #f6f7f9;
    --phenom-text: #111820;
    --phenom-muted: #66707a;
    --phenom-border: rgba(17, 24, 32, 0.10);
}

.phenom-vic,
.phenom-vic * {
    box-sizing: border-box;
}

.phenom-vic {
    display: grid;
    grid-template-columns: 0.85fr 1.65fr;
    width: 100%;
    max-width: 100%;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    background: var(--phenom-dark);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 28px 70px rgba(0,0,0,0.35);
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.phenom-vic__intro {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 22px;
    padding: 44px 42px;
    color: #ffffff;
    align-items: start;
    background:
        radial-gradient(circle at top right, rgba(214, 59, 130, 0.14), transparent 42%),
        linear-gradient(135deg, #070b10 0%, #0c1219 100%);
}

.phenom-vic__icon svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: var(--phenom-magenta);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.phenom-vic__eyebrow {
    margin: 0 0 12px 0;
    color: var(--phenom-magenta);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: clamp(20px, 1.5vw + 1rem, 24px);
    font-weight: 800;
}

.phenom-vic__title {
    margin: 0 0 18px 0;
    color: #ffffff;
    font-size: clamp(1.75rem, 2.5vw, 2.65rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.phenom-vic__body {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 420px;
}

.phenom-vic__panel {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    background: var(--phenom-panel);
    color: var(--phenom-text);
}

.phenom-vic__controls {
    padding: 42px;
}

.phenom-vic__row {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(180px, 220px) minmax(130px, 170px);
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.phenom-vic__row label {
    font-size: 0.98rem;
    font-weight: 700;
    color: #2a3037;
}

.phenom-vic__row select,
.phenom-vic__row input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--phenom-border);
    border-radius: 5px;
    background: #ffffff;
    color: var(--phenom-text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0 14px;
    outline: none;
}

.phenom-vic__row select:focus,
.phenom-vic__row input:focus {
    border-color: rgba(214, 59, 130, 0.55);
    box-shadow: 0 0 0 3px rgba(214, 59, 130, 0.12);
}

.phenom-vic__row output {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 5px;
    background: #ffffff;
    color: #303740;
    font-weight: 700;
    border: 1px solid rgba(17, 24, 32, 0.06);
}

.phenom-vic__stepper {
    display: grid;
    grid-template-columns: 52px minmax(70px, 1fr) 52px;
    grid-column: span 2;
    border: 1px solid var(--phenom-border);
    border-radius: 5px;
    overflow: hidden;
    background: #ffffff;
}

.phenom-vic__stepper button,
.phenom-vic__stepper input {
    border: 0;
    border-radius: 0;
    background: #ffffff;
    min-height: 46px;
    font-family: inherit;
    font-weight: 800;
}

.phenom-vic__stepper button {
    cursor: pointer;
    color: var(--phenom-magenta);
    font-size: 1.2rem;
    transition: background 0.2s ease;
}

.phenom-vic__stepper button:hover {
    background: rgba(214, 59, 130, 0.08);
}

.phenom-vic__stepper input {
    text-align: center;
    border-left: 1px solid var(--phenom-border);
    border-right: 1px solid var(--phenom-border);
}

.phenom-vic__note {
    margin: 28px 0 0 0;
    color: var(--phenom-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.phenom-vic__result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 42px 34px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,237,246,0.96));
    border-left: 1px solid rgba(214, 59, 130, 0.14);
}

.phenom-vic__result-label {
    margin: 0 0 12px 0;
    color: #2b3037;
    font-weight: 800;
    font-size: 1.05rem;
}

.phenom-vic__result-value {
    margin: 0 0 14px 0;
    color: var(--phenom-magenta);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.phenom-vic__result-copy {
    margin: 0 0 18px 0;
    color: #343b44;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 310px;
}


.phenom-vic__breakdown {
    width: 100%;
    margin: 0 0 24px 0;
    border: 1px solid rgba(214, 59, 130, 0.16);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.72);
}

.phenom-vic__breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(17, 24, 32, 0.08);
    font-size: 0.82rem;
    line-height: 1.3;
    color: #343b44;
}

.phenom-vic__breakdown-row:last-child {
    border-bottom: 0;
}

.phenom-vic__breakdown-row span {
    text-align: left;
    font-weight: 700;
}

.phenom-vic__breakdown-row strong {
    white-space: nowrap;
    color: var(--phenom-magenta);
    font-weight: 900;
}

.phenom-vic__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    padding: 0 24px;
    border-radius: 5px;
    background: var(--phenom-magenta);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 0.92rem;
    box-shadow: 0 10px 26px rgba(214, 59, 130, 0.24);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.phenom-vic__cta:hover {
    background: #b92f70;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(214, 59, 130, 0.30);
}

@media (max-width: 1080px) {
    .phenom-vic {
        grid-template-columns: 1fr;
    }

    .phenom-vic__intro {
        grid-template-columns: 48px 1fr;
        padding: 34px;
    }
}

@media (max-width: 820px) {
    .phenom-vic__panel {
        grid-template-columns: 1fr;
    }

    .phenom-vic__result {
        border-left: 0;
        border-top: 1px solid rgba(214, 59, 130, 0.14);
    }

    .phenom-vic__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .phenom-vic__stepper {
        grid-column: auto;
    }

    .phenom-vic__row output {
        justify-content: flex-start;
        padding: 0 14px;
    }
}

@media (max-width: 560px) {
    .phenom-vic {
        margin: 28px auto;
        border-radius: 8px;
    }

    .phenom-vic__intro,
    .phenom-vic__controls,
    .phenom-vic__result {
        padding: 26px 22px;
    }

    .phenom-vic__intro {
        grid-template-columns: 1fr;
    }

    .phenom-vic__title {
        font-size: 1.85rem;
    }
}


.phenom-vic__detail-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 18px;
    padding: 0 18px;
    border: 1px solid rgba(214, 59, 130, 0.38);
    border-radius: 5px;
    background: #ffffff;
    color: var(--phenom-magenta);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.phenom-vic__detail-toggle:hover {
    background: rgba(214, 59, 130, 0.07);
    border-color: rgba(214, 59, 130, 0.65);
    transform: translateY(-1px);
}

.phenom-vic__detail {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid rgba(17, 24, 32, 0.10);
    border-radius: 8px;
    background: rgba(255,255,255,0.70);
    color: #303740;
}

.phenom-vic__detail[hidden] {
    display: none !important;
}

.phenom-vic__detail h3 {
    margin: 0 0 8px 0;
    color: #171d24;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 900;
}

.phenom-vic__detail p {
    margin: 0 0 14px 0;
    color: #4a535d;
    font-size: 0.82rem;
    line-height: 1.55;
}

.phenom-vic__formula {
    margin: 14px 0;
    padding: 12px 14px;
    border-left: 3px solid var(--phenom-magenta);
    background: rgba(214, 59, 130, 0.07);
    color: #222a32;
    font-size: 0.8rem;
    line-height: 1.45;
    font-weight: 700;
}

.phenom-vic__assumptions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin: 16px 0;
}

.phenom-vic__assumptions div {
    padding: 10px 12px;
    border: 1px solid rgba(17, 24, 32, 0.08);
    border-radius: 6px;
    background: #ffffff;
}

.phenom-vic__assumptions dt {
    margin: 0 0 4px 0;
    color: #66707a;
    font-size: 0.72rem;
    line-height: 1.25;
    font-weight: 700;
}

.phenom-vic__assumptions dd {
    margin: 0;
    color: #171d24;
    font-size: 0.85rem;
    line-height: 1.25;
    font-weight: 900;
}

.phenom-vic__rates {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 0 0;
    overflow: hidden;
    border-radius: 6px;
    font-size: 0.76rem;
    line-height: 1.35;
}

.phenom-vic__rates th,
.phenom-vic__rates td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(17, 24, 32, 0.08);
    text-align: left;
    vertical-align: top;
}

.phenom-vic__rates th {
    color: #171d24;
    background: rgba(17, 24, 32, 0.06);
    font-weight: 900;
}

.phenom-vic__rates td {
    background: #ffffff;
    color: #343b44;
    font-weight: 700;
}

.phenom-vic__rates td:nth-child(2),
.phenom-vic__rates td:nth-child(3) {
    white-space: nowrap;
    text-align: right;
}

.phenom-vic__rates td:nth-child(3) {
    color: var(--phenom-magenta);
    font-weight: 900;
}

.phenom-vic__detail-note {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    color: #66707a !important;
    font-size: 0.76rem !important;
}

@media (max-width: 820px) {
    .phenom-vic__assumptions {
        grid-template-columns: 1fr;
    }

    .phenom-vic__rates {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


.phenom-vic__symptoms {
    width: 100%;
    margin: 0 0 24px 0;
    padding: 16px 18px;
    border: 1px solid rgba(17, 24, 32, 0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.66);
    text-align: left;
}

.phenom-vic__symptoms h3 {
    margin: 0 0 10px 0;
    color: #171d24;
    font-size: 0.88rem;
    line-height: 1.3;
    font-weight: 900;
}

.phenom-vic__symptoms ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.phenom-vic__symptoms li {
    position: relative;
    margin: 0 0 8px 0;
    padding-left: 18px;
    color: #3b444e;
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 700;
}

.phenom-vic__symptoms li:last-child {
    margin-bottom: 0;
}

.phenom-vic__symptoms li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--phenom-magenta);
    font-weight: 900;
}


.phenom-vic__ownership{
    width:100%;
    margin:0 0 24px 0;
    padding:16px 18px;
    border:1px solid rgba(17,24,32,.08);
    border-radius:8px;
    background:rgba(255,255,255,.66);
    text-align:left;
}
.phenom-vic__ownership h3{
    margin:0 0 10px 0;
    font-size:.88rem;
    font-weight:900;
}
.phenom-vic__ownership ul{
    margin:0;
    padding:0;
    list-style:none;
}
.phenom-vic__ownership li{
    position:relative;
    padding-left:18px;
    margin:0 0 8px 0;
    font-size:.78rem;
    font-weight:700;
}
.phenom-vic__ownership li::before{
    content:"✓";
    position:absolute;
    left:0;
    color:var(--phenom-magenta);
}


/* v2.0 recoverable value summary */
.phenom-vic__recovery {
    width: 100%;
    margin: 0 0 18px 0;
    padding: 16px 18px;
    border: 1px solid rgba(214, 59, 130, 0.18);
    border-radius: 8px;
    background: rgba(255,255,255,0.78);
    text-align: center;
}

.phenom-vic__recovery span {
    display: block;
    margin: 0 0 6px 0;
    color: #343b44;
    font-size: 0.82rem;
    font-weight: 900;
}

.phenom-vic__recovery strong {
    display: block;
    margin: 0 0 4px 0;
    color: var(--phenom-magenta);
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.phenom-vic__recovery em,
.phenom-vic__recovery small {
    display: block;
    color: #4a535d;
    font-style: normal;
    font-size: 0.74rem;
    line-height: 1.35;
    font-weight: 700;
}

.phenom-vic__recovery small {
    margin-top: 5px;
    color: #66707a;
    font-weight: 600;
}

.phenom-vic__rates th:nth-child(2),
.phenom-vic__rates th:nth-child(3),
.phenom-vic__rates th:nth-child(4),
.phenom-vic__rates td:nth-child(2),
.phenom-vic__rates td:nth-child(3),
.phenom-vic__rates td:nth-child(4) {
    white-space: nowrap;
    text-align: right;
}

.phenom-vic__rates td:nth-child(4) {
    color: var(--phenom-magenta);
    font-weight: 900;
}

.phenom-vic__ownership h3 {
    color: #171d24;
}

@media (max-width: 768px) {
    .phenom-vic__detail-toggle,
    .phenom-vic__detail,
    .phenom-vic__symptoms,
    .phenom-vic__ownership {
        display: none !important;
    }
}
