/**
 * How It Works - Specific CSS
 * Nordersun v6.2
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 30px;
}

.page-title {
    font-size: 48px;
    color: #0071dc;
    margin-bottom: 60px;
    font-weight: 700;
    text-align: center;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.step-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 113, 220, 0.2);
    border-color: #0071dc;
}

.step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0071dc, #005bb5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 113, 220, 0.3);
}

.step-icon {
    margin-bottom: 20px;
}

.step-icon i {
    font-size: 64px;
    color: #0071dc;
    filter: drop-shadow(0 4px 8px rgba(33, 150, 243, 0.4));
}

.step-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.step-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* Footer */
.footer {
    background-color: white;
    border-top: 1px solid #e0e0e0;
    padding: 40px 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0071dc;
}

.footer-text {
    color: #999;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .step-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .container {
        margin: 20px 15px;
        padding: 20px 15px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .step-card {
        padding: 35px 25px;
    }

    .step-icon i {
        font-size: 56px;
    }

    .step-title {
        font-size: 24px;
    }

    .step-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .step-card {
        padding: 30px 20px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
        top: 15px;
        left: 15px;
    }

    .step-icon i {
        font-size: 52px;
    }

    .step-title {
        font-size: 22px;
    }

    .step-description {
        font-size: 13px;
    }
}
