/* ═══════════════════════════════════════════════════════════════════
   ULTRA CALCULATOR - Cinematic Stepped Calculator
   ═══════════════════════════════════════════════════════════════════ */

/* ── Background layers ── */
.calc-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.calc-grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

/* ── Section wrapper ── */
.ucalc {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 4vh, 4rem) clamp(1.5rem, 5vw, 4rem);
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}

/* ═══════════════════════════════════════
   PROGRESS BAR
   ═══════════════════════════════════════ */
.ucalc-progress {
    margin-bottom: clamp(2rem, 4vh, 3.5rem);
}
.ucalc-progress-track {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.ucalc-progress-fill {
    height: 100%;
    width: 25%;
    background: #ff2d78;
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(255, 45, 120, 0.6), 0 0 30px rgba(255, 45, 120, 0.2);
}
.ucalc-steps-indicator {
    display: flex;
    gap: 2rem;
}
.ucalc-step-dot {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: color 0.4s;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.ucalc-step-dot span {
    font-weight: 700;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.15);
    transition: color 0.4s;
}
.ucalc-step-dot.active {
    color: #fff;
}
.ucalc-step-dot.active span {
    color: #ff2d78;
}
.ucalc-step-dot.done {
    color: rgba(255,255,255,0.5);
}
.ucalc-step-dot.done span {
    color: rgba(255, 45, 120, 0.5);
}

/* ── Dynamic status text ── */
.ucalc-status {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255,255,255,0.3);
    margin-top: 0.75rem;
    min-height: 1.2em;
    transition: opacity 0.4s, transform 0.4s;
}
.ucalc-status.changing {
    opacity: 0;
    transform: translateY(-6px);
}

/* ═══════════════════════════════════════
   STEP VIEWPORT & ANIMATION
   ═══════════════════════════════════════ */
.ucalc-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.ucalc-track {
    display: flex;
    width: 400%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ucalc-step {
    width: 25%;
    flex-shrink: 0;
    position: relative;
    padding: 0 clamp(0rem, 2vw, 2rem);
    opacity: 0.3;
    transform: scale(0.96);
    filter: blur(2px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ucalc-step.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Watermark */
.ucalc-step-watermark {
    position: absolute;
    top: -2rem;
    right: 0;
    font-family: var(--font-sans);
    font-size: clamp(8rem, 18vw, 16rem);
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Step header */
.ucalc-step-header {
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}
.ucalc-step-title {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}
.ucalc-step-sub {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: rgba(255,255,255,0.4);
    font-weight: 400;
}

/* ═══════════════════════════════════════
   3D OPTION CARDS
   ═══════════════════════════════════════ */
.ucalc-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.ucalc-cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ucalc-card {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    perspective: 800px;
}
.ucalc-card:hover {
    transform: translateY(-4px);
}

/* ── Badge «Популярное» ── */
.ucalc-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    padding: 4px 10px;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, #ff2d78 0%, #ff6ba3 100%);
    border-radius: 20px;
    box-shadow: 0 0 12px rgba(255, 45, 120, 0.4), 0 2px 8px rgba(0,0,0,0.3);
    animation: badgePulse 3s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes badgePulse {
    0% { box-shadow: 0 0 12px rgba(255, 45, 120, 0.4), 0 2px 8px rgba(0,0,0,0.3); }
    100% { box-shadow: 0 0 20px rgba(255, 45, 120, 0.6), 0 2px 8px rgba(0,0,0,0.3); }
}

/* Cursor glow */
.ucalc-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 45, 120, 0.12), transparent 40%);
}
.ucalc-card:hover .ucalc-card-glow {
    opacity: 1;
}

/* Animated border */
.ucalc-card-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    pointer-events: none;
    z-index: 1;
    background: rgba(255,255,255,0.06);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.4s;
}
.ucalc-card:hover .ucalc-card-border {
    background: rgba(255, 255, 255, 0.12);
}
.ucalc-card.active .ucalc-card-border {
    background: conic-gradient(from var(--border-angle, 0deg),
        #ff2d78, rgba(255,45,120,0.2), #ff2d78, rgba(255,45,120,0.2), #ff2d78);
    animation: rotateBorder 4s linear infinite;
}
@keyframes rotateBorder {
    to { --border-angle: 360deg; }
}
/* Fallback for browsers without @property */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.ucalc-card-inner {
    position: relative;
    z-index: 3;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: clamp(1.2rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 200px;
    transition: background 0.4s;
}
.ucalc-card:hover .ucalc-card-inner {
    background: rgba(255,255,255,0.05);
}
.ucalc-card.active .ucalc-card-inner {
    background: rgba(255, 45, 120, 0.04);
}

/* Card icon */
.ucalc-card-icon {
    width: 48px;
    height: 48px;
    color: rgba(255,255,255,0.25);
    transition: color 0.4s, filter 0.4s;
    margin-bottom: 0.5rem;
}
.ucalc-card-icon svg {
    width: 100%;
    height: 100%;
    stroke-dasharray: 300;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s;
}
.ucalc-card:hover .ucalc-card-icon {
    color: rgba(255,255,255,0.6);
}
.ucalc-card.active .ucalc-card-icon {
    color: #ff2d78;
    filter: drop-shadow(0 0 8px rgba(255, 45, 120, 0.5));
}

/* Card text */
.ucalc-card-title {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: -0.01em;
    transition: color 0.4s;
}
.ucalc-card:hover .ucalc-card-title,
.ucalc-card.active .ucalc-card-title {
    color: #fff;
}
.ucalc-card-desc {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.5;
    transition: color 0.4s;
}
.ucalc-card:hover .ucalc-card-desc {
    color: rgba(255,255,255,0.5);
}
.ucalc-card-price {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
    margin-top: auto;
    padding-top: 0.5rem;
    transition: color 0.4s, text-shadow 0.4s;
}
.ucalc-card.active .ucalc-card-price {
    color: #ff2d78;
    text-shadow: 0 0 10px rgba(255, 45, 120, 0.4);
}

/* Active state glow on card */
.ucalc-card.active {
    box-shadow: 0 0 30px rgba(255, 45, 120, 0.08), 0 0 60px rgba(255, 45, 120, 0.04);
}

/* ═══════════════════════════════════════
   RIPPLE EFFECT
   ═══════════════════════════════════════ */
.ucalc-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 45, 120, 0.25);
    pointer-events: none;
    z-index: 20;
    transform: scale(0);
    animation: rippleExpand 0.6s ease-out forwards;
}
@keyframes rippleExpand {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

/* ═══════════════════════════════════════
   STEP NAVIGATION
   ═══════════════════════════════════════ */
.ucalc-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: clamp(2rem, 4vh, 3rem);
}
.ucalc-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.ucalc-nav-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}
.ucalc-nav-btn.next {
    background: rgba(255, 45, 120, 0.1);
    border-color: rgba(255, 45, 120, 0.3);
}
.ucalc-nav-btn.next:hover {
    background: #ff2d78;
    border-color: #ff2d78;
    box-shadow: 0 0 20px rgba(255, 45, 120, 0.4), 0 0 40px rgba(255, 45, 120, 0.15);
}
.ucalc-nav-btn.next:hover svg {
    transform: translateX(4px);
}
.ucalc-nav-btn.prev:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}
.ucalc-nav-btn.prev:hover svg {
    transform: translateX(-4px);
}
.ucalc-nav-btn--summary {
    background: linear-gradient(135deg, #ff2d78, #e8439388) !important;
    border-color: #ff2d78 !important;
    font-weight: 700;
}
.ucalc-nav-btn--summary:hover {
    box-shadow: 0 0 30px rgba(255, 45, 120, 0.5), 0 0 60px rgba(255, 45, 120, 0.2) !important;
}

/* ═══════════════════════════════════════
   TOGGLE SWITCHES (Step 3)
   ═══════════════════════════════════════ */
.ucalc-toggles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.ucalc-toggle {
    cursor: pointer;
    display: block;
}
.ucalc-toggle input {
    display: none;
}
.ucalc-toggle-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.ucalc-toggle:hover .ucalc-toggle-card {
    transform: translateY(-2px);
}
.ucalc-toggle-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 45, 120, 0.1), transparent 40%);
}
.ucalc-toggle:hover .ucalc-toggle-glow {
    opacity: 1;
}
.ucalc-toggle-inner {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: background 0.4s, border-color 0.4s;
}
.ucalc-toggle:hover .ucalc-toggle-inner {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}
.ucalc-toggle input:checked ~ .ucalc-toggle-card .ucalc-toggle-inner {
    border-color: rgba(255, 45, 120, 0.25);
    background: rgba(255, 45, 120, 0.04);
}
.ucalc-toggle input:checked ~ .ucalc-toggle-card {
    box-shadow: 0 0 25px rgba(255, 45, 120, 0.08);
}
.ucalc-toggle-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.ucalc-toggle-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.25);
    transition: color 0.4s, filter 0.4s;
}
.ucalc-toggle-icon svg {
    width: 100%;
    height: 100%;
}
.ucalc-toggle input:checked ~ .ucalc-toggle-card .ucalc-toggle-icon {
    color: #ff2d78;
    filter: drop-shadow(0 0 6px rgba(255, 45, 120, 0.5));
}
.ucalc-toggle-name {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    transition: color 0.4s;
}
.ucalc-toggle input:checked ~ .ucalc-toggle-card .ucalc-toggle-name {
    color: #fff;
}
.ucalc-toggle-desc {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    margin-top: 0.15rem;
    line-height: 1.4;
}
.ucalc-toggle-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ucalc-toggle-price {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
    transition: color 0.4s, text-shadow 0.4s;
}
.ucalc-toggle input:checked ~ .ucalc-toggle-card .ucalc-toggle-price {
    color: #ff2d78;
    text-shadow: 0 0 8px rgba(255, 45, 120, 0.4);
}

/* iOS-style switch */
.ucalc-switch {
    pointer-events: none;
}
.ucalc-switch-track {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    position: relative;
    transition: background 0.4s, box-shadow 0.4s;
}
.ucalc-toggle input:checked ~ .ucalc-toggle-card .ucalc-switch-track {
    background: #ff2d78;
    box-shadow: 0 0 12px rgba(255, 45, 120, 0.5), 0 0 24px rgba(255, 45, 120, 0.2);
}
.ucalc-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.ucalc-toggle input:checked ~ .ucalc-toggle-card .ucalc-switch-thumb {
    transform: translateX(20px);
    box-shadow: 0 0 8px rgba(255, 45, 120, 0.6);
}

/* ═══════════════════════════════════════
   STEP 4: TIMELINE CARDS
   ═══════════════════════════════════════ */
.ucalc-timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.ucalc-timeline-card {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
}
.ucalc-timeline-card:hover {
    transform: translateY(-6px);
}
.ucalc-timeline-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(350px circle at 50% 50%, rgba(255, 45, 120, 0.1), transparent 50%);
}
.ucalc-timeline-card:hover .ucalc-timeline-glow {
    opacity: 1;
}
.ucalc-timeline-inner {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.4s, border-color 0.4s;
}
.ucalc-timeline-card:hover .ucalc-timeline-inner {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}
.ucalc-timeline-card.active .ucalc-timeline-inner {
    border-color: rgba(255, 45, 120, 0.3);
    background: rgba(255, 45, 120, 0.04);
}
.ucalc-timeline-card.active {
    box-shadow: 0 0 30px rgba(255, 45, 120, 0.1), 0 0 60px rgba(255, 45, 120, 0.05);
}

.ucalc-timeline-icon {
    width: 56px;
    height: 56px;
    color: rgba(255,255,255,0.25);
    transition: color 0.4s, filter 0.4s;
    margin-bottom: 0.3rem;
}
.ucalc-timeline-icon svg {
    width: 100%;
    height: 100%;
}
.ucalc-timeline-card:hover .ucalc-timeline-icon {
    color: rgba(255,255,255,0.5);
}
.ucalc-timeline-card.active .ucalc-timeline-icon {
    color: #ff2d78;
    filter: drop-shadow(0 0 8px rgba(255, 45, 120, 0.5));
}

.ucalc-timeline-title {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 800;
    color: rgba(255,255,255,0.7);
    transition: color 0.4s;
}
.ucalc-timeline-card.active .ucalc-timeline-title {
    color: #fff;
}

.ucalc-timeline-period {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.2);
    transition: color 0.4s, text-shadow 0.4s;
}
.ucalc-timeline-card.active .ucalc-timeline-period {
    color: #ff2d78;
    text-shadow: 0 0 10px rgba(255, 45, 120, 0.4);
}

.ucalc-timeline-desc {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.4;
}

.ucalc-timeline-mult {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    margin-top: 0.3rem;
    padding: 0.25rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    transition: color 0.4s, border-color 0.4s;
}
.ucalc-timeline-card.active .ucalc-timeline-mult {
    color: #ff2d78;
    border-color: rgba(255, 45, 120, 0.2);
}

/* ═══════════════════════════════════════
   FLOATING RESULT PANEL
   ═══════════════════════════════════════ */
.ucalc-result {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    width: 280px;
}

/* Dynamic aura behind panel */
.ucalc-result-aura {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(255, 45, 120, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    transition: opacity 0.8s, transform 0.8s;
    pointer-events: none;
    z-index: 0;
    animation: auraPulse 4s ease-in-out infinite alternate;
}
@keyframes auraPulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.15); opacity: 1; }
}

.ucalc-result-glass {
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* Circular progress ring */
.ucalc-result-ring {
    position: relative;
    width: 140px;
    height: 140px;
}
.ucalc-result-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.ucalc-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 4;
}
.ucalc-ring-fill {
    fill: none;
    stroke: #ff2d78;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 293;
    transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 6px rgba(255, 45, 120, 0.6));
}
.ucalc-result-ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ucalc-result-from {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.ucalc-result-digits {
    --digit-h: 2.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    height: 2.4rem;
}
.ucalc-digit-col {
    display: inline-block;
    height: 2.4rem;
    overflow: hidden;
    position: relative;
}
.ucalc-digit-strip {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ucalc-digit-char {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    height: 2.4rem;
    line-height: 2.4rem;
    text-align: center;
    min-width: 0.95rem;
}
.ucalc-digit-char.space {
    min-width: 0.4rem;
}
.ucalc-result-currency {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    font-weight: 600;
}

/* Note and CTA */
.ucalc-result-note {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
    line-height: 1.4;
}
.ucalc-result-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: #ff2d78;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.ucalc-result-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}
.ucalc-result-cta:hover::before {
    opacity: 1;
}
.ucalc-result-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 45, 120, 0.4), 0 0 40px rgba(255, 45, 120, 0.15);
}
.ucalc-result-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}
.ucalc-result-cta:hover svg {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════
   TOOLTIP
   ═══════════════════════════════════════ */
.ucalc-tooltip {
    position: fixed;
    z-index: 9999;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 45, 120, 0.2);
    color: rgba(255,255,255,0.85);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    max-width: 260px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 12px rgba(255, 45, 120, 0.1);
}
.ucalc-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   SUMMARY MODAL
   ═══════════════════════════════════════ */
.ucalc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.5s, backdrop-filter 0.5s, -webkit-backdrop-filter 0.5s;
}
.ucalc-modal-overlay.open {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    pointer-events: auto;
}
.ucalc-modal {
    position: relative;
    width: min(480px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 45, 120, 0.15);
    border-radius: 24px;
    box-shadow: 0 0 60px rgba(255, 45, 120, 0.1), 0 24px 80px rgba(0,0,0,0.5);
    transform: scale(0.9) translateY(30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
}
.ucalc-modal-overlay.open .ucalc-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.ucalc-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}
.ucalc-modal-close svg {
    width: 16px;
    height: 16px;
}
.ucalc-modal-close:hover {
    border-color: #ff2d78;
    color: #ff2d78;
    background: rgba(255, 45, 120, 0.08);
}
.ucalc-modal-content {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    overflow: hidden;
}
.ucalc-modal-watermark {
    position: absolute;
    top: -1rem;
    right: -0.5rem;
    font-family: var(--font-sans);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 45, 120, 0.04);
    pointer-events: none;
    line-height: 1;
}
.ucalc-modal-title {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
}
.ucalc-modal-rows {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.ucalc-modal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}
.ucalc-modal-row-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}
.ucalc-modal-row-value {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}
.ucalc-modal-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 45, 120, 0.3), transparent);
    margin: 1.2rem 0;
}
.ucalc-modal-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}
.ucalc-modal-total-label {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}
.ucalc-modal-total-value {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: #ff2d78;
    text-shadow: 0 0 16px rgba(255, 45, 120, 0.4);
}
.ucalc-modal-discount {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 45, 120, 0.08);
    border: 1px solid rgba(255, 45, 120, 0.2);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff2d78;
    animation: discountGlow 2s ease-in-out infinite alternate;
}
@keyframes discountGlow {
    0% { box-shadow: 0 0 10px rgba(255, 45, 120, 0.1); }
    100% { box-shadow: 0 0 20px rgba(255, 45, 120, 0.25); }
}
.ucalc-modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 2rem;
    background: #ff2d78;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.ucalc-modal-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}
.ucalc-modal-cta:hover::before {
    opacity: 1;
}
.ucalc-modal-cta:hover {
    box-shadow: 0 0 24px rgba(255, 45, 120, 0.5), 0 4px 20px rgba(255, 45, 120, 0.3);
    transform: translateY(-2px);
}
.ucalc-modal-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}
.ucalc-modal-cta:hover svg {
    transform: translateX(4px);
}
.ucalc-modal-note {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    text-align: center;
    margin-top: 0.8rem;
}

/* ═══════════════════════════════════════
   DISCOUNT TOAST
   ═══════════════════════════════════════ */
.ucalc-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 10001;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 45, 120, 0.25);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
    box-shadow: 0 0 30px rgba(255, 45, 120, 0.15), 0 8px 32px rgba(0,0,0,0.5);
    pointer-events: none;
}
.ucalc-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.ucalc-toast-icon {
    font-size: 1.5rem;
}
.ucalc-toast-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

/* ═══════════════════════════════════════
   FAQ ULTRA ENHANCEMENTS
   ═══════════════════════════════════════ */
.faq--ultra .faq-answer p {
    transition: filter 0.5s ease, opacity 0.5s ease;
}
.faq--ultra .faq-item:not(.active) .faq-answer p {
    filter: blur(4px);
    opacity: 0;
}
.faq--ultra .faq-item.active .faq-answer p {
    filter: blur(0);
    opacity: 1;
}
.faq--ultra .faq-icon {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
    display: inline-block;
    color: #ff2d78;
    text-shadow: 0 0 8px rgba(255, 45, 120, 0.4);
}
.faq--ultra .faq-item.active .faq-icon {
    transform: rotate(45deg) scale(1.1);
    color: #ff2d78 !important;
    text-shadow: 0 0 12px rgba(255, 45, 120, 0.6);
}

/* ═══════════════════════════════════════
   PARTICLE BURST ON TOGGLE
   ═══════════════════════════════════════ */
.ucalc-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff2d78;
    pointer-events: none;
    z-index: 9999;
    animation: particleFly 0.6s ease-out forwards;
    box-shadow: 0 0 6px rgba(255, 45, 120, 0.8);
}
@keyframes particleFly {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--px), var(--py)) scale(0); opacity: 0; }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .ucalc-cards-grid,
    .ucalc-cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .ucalc-toggles-grid {
        grid-template-columns: 1fr;
    }
    .ucalc-timeline-grid {
        grid-template-columns: 1fr;
    }
    .ucalc-result {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
    }
    .ucalc-result-glass {
        border-radius: 20px 20px 0 0;
        flex-direction: row;
        gap: 1.5rem;
        padding: 1.2rem 1.5rem;
    }
    .ucalc-result-ring {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
    .ucalc-result-digits {
        --digit-h: 1.8;
        height: 1.8rem;
    }
    .ucalc-digit-col {
        height: 1.8rem;
    }
    .ucalc-digit-char {
        font-size: 1.2rem;
        height: 1.8rem;
        line-height: 1.8rem;
    }
    .ucalc-result-note {
        display: none;
    }
    .ucalc-result-aura {
        display: none;
    }
    .ucalc {
        padding-bottom: 8rem;
    }

    /* Hide tooltips on mobile */
    .ucalc-tooltip {
        display: none !important;
    }
    /* Bigger calculator title */
    .header-title-img {
        height: clamp(130px, 25vw, 200px);
    }

    /* Mobile bottom sheet */
    .ucalc-result {
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .ucalc-result.collapsed {
        transform: translateY(calc(100% - 56px));
    }
    .ucalc-result-glass {
        flex-direction: column;
        gap: 1rem;
        padding: 0.8rem 1.5rem 1.5rem;
        min-height: 220px;
    }
    .ucalc-result-handle {
        display: block;
    }
}
@media (max-width: 600px) {
    .ucalc-cards-grid,
    .ucalc-cards-3 {
        grid-template-columns: 1fr;
    }
    .ucalc-card-inner {
        min-height: auto;
        padding: 1.2rem;
    }
    .ucalc-step-watermark {
        font-size: 6rem;
    }
}

/* Mobile bottom sheet handle */
.ucalc-result-handle {
    display: none;
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin: 0 auto 0.5rem;
    cursor: grab;
    transition: background 0.3s;
}
.ucalc-result-handle:hover {
    background: rgba(255,255,255,0.4);
}
