/* Features Scroll Container - Normal scrolling */
.features-scroll-container {
    /* Removed: scroll-snap-type, scroll-behavior, overflow-y */
}

/* Individual Feature Section */
.feature-section {
    min-height: 100vh;
    /* Removed: scroll-snap-align, scroll-snap-stop */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
}

/* Feature Wrapper */
.feature-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Feature Content Layout */
.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Alternating Layout */
.feature-content.layout-right {
    direction: rtl;
}

.feature-content.layout-right > * {
    direction: ltr;
}

/* Feature Visual Side */
.feature-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.feature-number {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    position: absolute;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    user-select: none;
}

.feature-image-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    z-index: 1;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-section.fade-in-visible .feature-image {
    animation: floatIn 1s ease-out;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* Feature Text Side */
.feature-text {
    display: flex;
    align-items: center;
    padding: 2rem;
}

.feature-text-content {
    max-width: 600px;
}

.feature-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
}

.feature-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.feature-section.fade-in-visible .feature-title {
    animation: slideInRight 0.8s ease-out 0.2s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin: 0;
}

.feature-section.fade-in-visible .feature-description {
    animation: slideInRight 0.8s ease-out 0.4s both;
}

/* Scroll Indicator */
.feature-section .scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-icon {
    color: inherit;
}

/* Progress Indicator */
.features-progress-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-dots {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.progress-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #333;
    transform: scale(1.3);
}

.progress-dot.active::before {
    background: white;
}

.progress-dot:hover {
    background: #666;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feature-content {
        gap: 4rem;
    }

    .feature-title {
        font-size: 2.5rem;
    }

    .feature-description {
        font-size: 1.125rem;
    }

    .feature-number {
        font-size: 6rem;
        top: -3rem;
    }
}

@media (max-width: 768px) {
    .feature-section {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .feature-content,
    .feature-content.layout-right {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }

    .feature-content.layout-right > * {
        direction: ltr;
    }

    .feature-visual {
        order: 1;
    }

    .feature-text {
        order: 2;
        padding: 0;
    }

    .feature-title {
        font-size: 2rem;
    }

    .feature-description {
        font-size: 1rem;
    }

    .feature-number {
        font-size: 4rem;
        top: -2rem;
    }

    .feature-section .scroll-indicator {
        bottom: 2rem;
    }

    .features-progress-indicator {
        right: 1rem;
    }

    .progress-dot {
        width: 10px;
        height: 10px;
    }

    .progress-dots {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .feature-section {
        padding: 2rem 1rem;
    }

    .feature-title {
        font-size: 1.75rem;
    }

    .feature-label {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
    .features-scroll-container {
        -webkit-overflow-scrolling: touch;
    }
}

/* Smooth scrolling enhancement */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.feature-section:focus-within {
    outline: 2px solid #0066cc;
    outline-offset: 4px;
}
