/* ===================================
   FEATURES SECTION - MOBILE FIRST
   =================================== */

/* ===================================
   BASE STYLES (MOBILE)
   =================================== */
.features {
    padding: 40px 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.features-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 9999px;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.features-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================================
   FEATURES LIST (VERTICAL)
   =================================== */
.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--card-gap);
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--card-gap);
    background: white;
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
    transition: all 0.2s ease;
    box-shadow: var(--card-shadow);
}

.feature-item:hover {
    border-color: #d1d5db;
    box-shadow: var(--card-shadow-hover);
}

/* Icon Box */
.feature-icon-box {
    width: var(--icon-box-size);
    height: var(--icon-box-size);
    min-width: var(--icon-box-size);
    border-radius: var(--icon-box-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-svg {
    width: var(--icon-size);
    height: var(--icon-size);
    stroke-width: 2;
}

/* Icon Colors */
.feature-icon-green {
    background: rgba(16, 185, 129, var(--icon-bg-opacity));
    color: #059669;
}

.feature-icon-orange {
    background: rgba(251, 146, 60, var(--icon-bg-opacity));
    color: #ea580c;
}

.feature-icon-purple {
    background: rgba(168, 85, 247, var(--icon-bg-opacity));
    color: #9333ea;
}

.feature-icon-blue {
    background: rgba(59, 130, 246, var(--icon-bg-opacity));
    color: #2563eb;
}

.feature-icon-teal {
    background: rgba(20, 184, 166, var(--icon-bg-opacity));
    color: #0d9488;
}

/* Feature Info */
.feature-info {
    flex: 1;
    min-width: 0;
}

.feature-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Badge */
.feature-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.feature-badge-green {
    background: rgba(16, 185, 129, var(--icon-bg-opacity));
    color: #059669;
}

.feature-badge-orange {
    background: rgba(251, 146, 60, var(--icon-bg-opacity));
    color: #ea580c;
}

.feature-badge-purple {
    background: rgba(168, 85, 247, var(--icon-bg-opacity));
    color: #9333ea;
}

.feature-badge-blue {
    background: rgba(59, 130, 246, var(--icon-bg-opacity));
    color: #2563eb;
}

.feature-badge-teal {
    background: rgba(20, 184, 166, var(--icon-bg-opacity));
    color: #0d9488;
}

/* ===================================
   TABLET BREAKPOINT (640px+)
   =================================== */
@media (min-width: 640px) {
    .features {
        padding: 50px 1.5rem;
    }

    .features-header {
        margin-bottom: 2.5rem;
    }

    .features-title {
        font-size: 2.25rem;
    }

    .features-subtitle {
        font-size: 1.0625rem;
    }

    .features-list {
        gap: var(--card-gap);
    }

    .feature-item {
        padding: 1.5rem var(--card-padding);
    }

    .feature-icon-box {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    .feature-icon-svg {
        width: 24px;
        height: 24px;
    }

    .feature-name {
        font-size: 16px;
    }

    .feature-desc {
        font-size: 14px;
    }

    .feature-badge {
        font-size: 13px;
        padding: 5px 14px;
    }
}

/* ===================================
   DESKTOP BREAKPOINT (1024px+)
   =================================== */
@media (min-width: 1024px) {
    .features {
        padding: 60px 2rem;
    }

    .features-header {
        margin-bottom: 3rem;
    }

    .features-title {
        font-size: 2.75rem;
    }

    .features-subtitle {
        font-size: 1.125rem;
    }

    .features-list {
        gap: var(--card-gap);
    }

    .feature-item {
        padding: 1.5rem;
    }

    .feature-icon-box {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .feature-icon-svg {
        width: 26px;
        height: 26px;
    }

    .feature-name {
        font-size: 17px;
    }

    .feature-desc {
        font-size: 14px;
    }

    .feature-badge {
        font-size: 13px;
        padding: 6px 16px;
    }
}
