.hover-scale {
    transition: transform 0.2s ease;
}
.hover-scale:hover {
    transform: scale(1.02);
}
.transition-base {
    transition: all 0.3s ease-in-out;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.animate-shake {
    animation: shake 0.4s ease-in-out;
}
@keyframes blink {
    0%, 100% { color: rgba(255, 255, 255, 0.3); }
    50% { color: #38bdf8; }
}
.animate-blink {
    animation: blink 1.5s infinite;
}

/* Step switcher styles */
.step-tab {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.step-tab.active {
    background-color: rgba(0, 122, 255, 0.08) !important;
    border-color: var(--x-primary, #007aff) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}
.step-tab:hover:not(.active) {
    background-color: rgba(120, 120, 120, 0.05);
}
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.mobile-step-tab {
    transition: all 0.2s ease;
}
.mobile-step-tab.active {
    background-color: var(--x-primary, #007aff) !important;
    color: #ffffff !important;
    border-color: var(--x-primary, #007aff) !important;
}

/* Вынесенные инлайн-стили */
.sim-container {
    max-width: 320px;
}

#phone-simulator {
    aspect-ratio: 9/19;
    border-radius: 40px !important;
    height: 600px;
    background-color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.sim-status-bar {
    color: rgba(255, 255, 255, 0.5);
}

#phone-locked-screen {
    background-color: #000000;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.3s ease-in-out;
}

.sim-app-icon {
    width: 3rem;
    height: 3rem;
}

.sim-app-desc {
    font-size: 0.75rem;
}

.sim-math-block {
    font-size: 2rem;
    line-height: 1.1;
}

#phone-math-display {
    min-height: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.sim-numpad-grid {
    grid-template-columns: repeat(3, 3rem);
    gap: 1rem;
}

.btn-numpad {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #1c1c1e;
    font-size: 1.1rem;
    transition: background-color 0.1s;
}

#phone-unlocked-screen {
    background-color: #000000;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    transition: all 0.3s ease-in-out;
}

.sim-unlocked-title {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

.sim-unlocked-desc {
    font-size: 0.88rem;
    line-height: 1.45;
    font-weight: 400;
}

.sim-unlocked-note {
    font-size: 0.78rem;
    line-height: 1.4;
    font-weight: 400;
}

.sim-btn-wrapper {
    margin-top: 2.25rem !important;
}

#phone-stop-wasting-btn {
    background-color: #007aff;
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: -0.1px;
    border-radius: 14px;
}

/* Скролл-лента табов на мобильных */
.mobile-tabs-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Обертки мобильных скриншотов */
.mobile-screenshot-wrap {
    max-width: 230px;
}

/* Десктопные иконки шагов и заголовки */
.step-number-icon {
    width: 2rem;
    height: 2rem;
}

.step-title-text {
    font-size: 1.05rem;
}

.desktop-screenshots-wrap {
    max-width: 290px;
}

/* Десктопные скриншоты */
.desktop-screenshot-active {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease-in-out;
}

.desktop-screenshot-inactive {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease-in-out;
}

/* Аватарка в отзыве */
.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
}
