/* ── ANIMATED FEATURES SECTION ── */
.animated-features-bg {
    background: var(--bg-section);
    padding: 80px 24px;
}

.animated-features-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    position: relative;
}

.features-scroll-col {
    flex: 1;
    padding: 100px 0 40px 0;
}

.mobile-slide-img-wrap {
    display: none;
}

.feature-scroll-step {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.25;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-30px);
    padding: 30px;
    border-left: 4px solid transparent;
    cursor: pointer;
}

.feature-scroll-step:hover {
    opacity: 0.7;
    background: rgba(0,0,0,0.02);
    border-radius: 0 16px 16px 0;
}

.feature-scroll-step.active {
    opacity: 1;
    transform: translateX(0);
    border-left-color: var(--primary);
    background: linear-gradient(90deg, var(--primary-lt) 0%, transparent 100%);
    border-radius: 0 16px 16px 0;
}

.feature-scroll-step h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.feature-scroll-step p {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ── STICKY PHONE COLUMN ── */
.sticky-phone-col {
    flex: 0 0 320px;
    position: sticky;
    top: 140px;
    height: 650px;
    display: flex;
    justify-content: center;
}

@keyframes floatPhone {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.phone-frame {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.22);
    background: #000;
    position: relative;
    overflow: hidden;
    border: 8px solid #222;
    animation: floatPhone 6s ease-in-out infinite;
}

.phone-frame img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-frame img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

/* Mobile layout wrapper — hidden on desktop, shown via animated-features-mobile.css */
.af-mobile-wrap { display: none; }
