/* ============================================
   FEATURES PAGE STYLES
   ============================================ */

:root {
    --primary-color: #0aa026;
    --primary-dark: #088a1f;
    --primary-light: #0dcaf0;
    --secondary-color: #064663;
    --bg-dark: #0f1419;
    --bg-darker: #041c32;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(10, 160, 38, 0.2);
}

/* ============================================
   HERO SECTION
   ============================================ */

.features-hero {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--secondary-color) 100%);
    padding: 100px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 60px;
    margin-top: 40px;
}

.features-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(10, 160, 38, 0.2);
}

.features-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .features-hero {
        padding: 60px 15px;
        margin-bottom: 40px;
        margin-top: 30px;
    }

    .features-hero h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .features-hero p {
        font-size: 1rem;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 60px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Feature Card */
.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(10, 160, 38, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(10, 160, 38, 0.1) 100%);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 160, 38, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(10, 160, 38, 0.25);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .features-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 25px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
    padding: 80px 20px;
    background: rgba(10, 160, 38, 0.05);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.step {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.step-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(10, 160, 38, 0.3);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.step-icon i {
    font-size: 45px;
    color: #fff;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 50px 15px;
    }

    .steps-container {
        gap: 20px;
    }

    .step {
        min-width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */

.features-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--secondary-color) 100%);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.features-cta h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.features-cta p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 500;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(10, 160, 38, 0.3);
}

@media (max-width: 768px) {
    .features-cta {
        padding: 50px 15px;
    }

    .features-cta h2 {
        font-size: 1.8rem;
    }

    .features-cta p {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 480px) {
    .features-hero {
        padding: 40px 15px;
    }

    .features-hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .step-icon {
        width: 80px;
        height: 80px;
    }

    .step-icon i {
        font-size: 35px;
    }

    .step h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }
