/* ==========================================================================
   LEAD MAGNETS — Calculator & Report
   ========================================================================== */

/* -- Calculator: Input Panel ------------------------------------------------ */

.calc-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
}.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}.calc-input-group label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}.calc-input-group input[type="number"] {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.625rem 1rem;
    color: var(--text-heading);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    outline: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    -moz-appearance: textfield;
}.calc-input-group input[type="number"]::-webkit-inner-spin-button,
.calc-input-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}.calc-input-group input[type="number"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}.calc-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 0.75rem 0;
}/* Range slider */
.calc-range-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}.calc-range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--border-subtle);
    outline: none;
}.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(244, 63, 94, 0.3);
    transition: transform 200ms ease, box-shadow 200ms ease;
}.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 14px rgba(244, 63, 94, 0.5);
}.calc-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
}.calc-range-value {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-heading);
    min-width: 3.5rem;
    text-align: right;
}/* -- Calculator: Results Panel ---------------------------------------------- */

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}.calc-result-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid #d4a853;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}.calc-result-card--small {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}.calc-result-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}.calc-result-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-heading);
}.calc-result-cost {
    color: var(--text-muted);
}/* Margin hero */
.calc-margin-hero {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    transition: box-shadow 400ms ease, border-color 400ms ease;
}.calc-margin-hero.positive {
    border-color: #22C55E;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.12), 0 0 60px rgba(34, 197, 94, 0.06);
}.calc-margin-hero.negative {
    border-color: #EF4444;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.12), 0 0 60px rgba(239, 68, 68, 0.06);
}.calc-margin-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}.calc-margin-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color 300ms ease;
}.calc-margin-hero.positive .calc-margin-value {
    color: #22C55E;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}.calc-margin-hero.negative .calc-margin-value {
    color: #EF4444;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    animation: marginShake 0.4s ease;
}/* -- Comparison Bars -------------------------------------------------------- */

.calc-bar-group {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}.calc-bar-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}.calc-bar-label {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}.calc-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}.calc-bar-row:last-child {
    margin-bottom: 0;
}.calc-bar-tag {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    min-width: 2.5rem;
    text-align: right;
}.calc-bar-tag--amo {
    color: #d4a853;
}.calc-bar-track {
    flex: 1;
    height: 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    overflow: hidden;
}.calc-bar {
    height: 100%;
    border-radius: 6px;
    min-width: 4px;
    transition: width 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}.calc-bar--user {
    background: linear-gradient(90deg, var(--text-muted), rgba(138, 125, 128, 0.5));
}.calc-bar--amo {
    background: linear-gradient(90deg, #d4a853, #f0d68a);
    box-shadow: 0 0 12px rgba(212, 168, 83, 0.2);
}.calc-bar-amount {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-heading);
    min-width: 5.5rem;
    text-align: right;
}/* Difference hero */
.calc-diff-hero {
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
}.calc-diff-value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    display: block;
}.calc-diff-value.positive {
    color: #22C55E;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
}.calc-diff-value.negative {
    color: #EF4444;
}/* -- Calculator CTA Card ---------------------------------------------------- */

.calc-cta-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease;
}.calc-cta-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}/* -- Sidebar CTA Cards — Premium Theatrical --------------------------------- */

.sidebar-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 400ms ease;
}.sidebar-cta-card--calc {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.08) 0%, rgba(13, 7, 9, 0.95) 60%);
    border: 1px solid rgba(244, 63, 94, 0.2);
}.sidebar-cta-card--report {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.08) 0%, rgba(13, 7, 9, 0.95) 60%);
    border: 1px solid rgba(212, 168, 83, 0.2);
}.sidebar-cta-card:hover {
    transform: translateY(-6px);
}.sidebar-cta-card--calc:hover {
    box-shadow: 0 12px 40px rgba(244, 63, 94, 0.15),
                0 0 60px rgba(244, 63, 94, 0.05);
    border-color: rgba(244, 63, 94, 0.4);
}.sidebar-cta-card--report:hover {
    box-shadow: 0 12px 40px rgba(212, 168, 83, 0.15),
                0 0 60px rgba(212, 168, 83, 0.05);
    border-color: rgba(212, 168, 83, 0.4);
}/* Glow orb */
.sidebar-cta-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    transition: opacity 400ms ease, transform 400ms ease;
    pointer-events: none;
}.sidebar-cta-glow--calc {
    top: -40px;
    right: -40px;
    background: var(--accent);
}.sidebar-cta-glow--report {
    top: -40px;
    right: -40px;
    background: #d4a853;
}.sidebar-cta-card:hover .sidebar-cta-glow {
    opacity: 0.3;
    transform: scale(1.2);
}/* Icon */
.sidebar-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(244, 63, 94, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 300ms ease, background 300ms ease;
}.sidebar-cta-icon--gold {
    background: rgba(212, 168, 83, 0.12);
    color: #d4a853;
}.sidebar-cta-card:hover .sidebar-cta-icon {
    transform: scale(1.1) rotate(-3deg);
}.sidebar-cta-card--calc:hover .sidebar-cta-icon {
    background: rgba(244, 63, 94, 0.2);
}.sidebar-cta-card--report:hover .sidebar-cta-icon {
    background: rgba(212, 168, 83, 0.2);
}/* Badge */
.sidebar-cta-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}.sidebar-cta-badge--gold {
    color: #d4a853;
    background: rgba(212, 168, 83, 0.1);
    border-color: rgba(212, 168, 83, 0.2);
}/* Title */
.sidebar-cta-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}/* Text */
.sidebar-cta-text {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}/* Link */
.sidebar-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
    transition: gap 300ms ease, color 200ms ease;
}.sidebar-cta-link--gold {
    color: #d4a853;
}.sidebar-cta-card:hover .sidebar-cta-link {
    gap: 0.625rem;
}