/* Feature Blocks (Zig-Zag) */
.feature-section {
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    position: relative;
}

.feature-visual img,
.feature-visual .mockup {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    transition: transform var(--transition-normal);
}

.feature-visual:hover .mockup {
    transform: scale(1.02);
}

/* Abstract shapes for decoration */
.blob {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
}

/* App Showcase Section - Light Premium Redesign */
.app-showcase {
    background: var(--color-bg-alt);
    /* Light background to match "Why Edoodh" section */
    color: var(--color-text);
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

/* Background Texture - Very subtle light blobs for depth */
.app-showcase::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 208, 156, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.app-showcase::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.app-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 340px 1fr;
    /* Fixed width for phone container to prevent squishing */
    align-items: center;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

/* Feature Cards - Clean Light Cards */
.app-feature-item {
    background: white;
    border: 1px solid var(--color-border);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all var(--transition-normal);
    cursor: default;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* Left Column Alignment for Symmetry (Desktop Only) */


.app-feature-item:hover {
    background: white;
    border-color: var(--color-border);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    /* Stronger shadow on hover for lift */
}

.app-feature-item:last-child {
    margin-bottom: 0;
}

.app-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.app-feature-item.active {
    background: white;
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.app-feature-item.active .app-feature-icon {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.app-feature-item:hover .app-feature-icon {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.app-feature-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.app-feature-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

.phone-mockup-container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

/* Responsive adjustments for features */
@media (max-width: 1024px) {
    .app-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xxl);
    }

    .phone-mockup-container {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }

    .feature-block,
    .feature-block:nth-child(even) {
        flex-direction: column;
    }
}