.main-content {
    padding-top: calc(1.2rem + 70px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-section {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 900px;
    margin: calc(var(--spacing-xl) * 2) auto var(--spacing-xl) auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-section h1 {
    font-size: 4.8em;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--color-text-dark-mode);
}

body.light-mode .hero-section h1 {
    color: var(--color-text-light-mode);
}

.hero-section .subtitle {
    font-family: var(--font-secondary);
    font-size: 1.6em;
    color: var(--color-text-dark-medium);
    margin-bottom: var(--spacing-xl);
    max-width: 900px;
}

body.light-mode .hero-section .subtitle {
    color: var(--color-text-light-medium);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.features-section, .how-it-works-section {
    width: 95%;
    max-width: 1200px;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.features-section h2, .how-it-works-section h2 {
    font-size: 3.2em;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.features-grid, .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: stretch;
}

.feature-card, .step-card {
    padding: var(--spacing-md);
    min-height: 250px;
    background: var(--color-bg-dark-alt);
    border-radius: var(--radius-md);
    box-shadow: var(--box-shadow-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.light-mode .feature-card, body.light-mode .step-card {
    background: var(--color-bg-light-alt);
    box-shadow: var(--box-shadow-light);
}

.feature-card::before, .step-card::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.25;
    z-index: -1;
    animation: floatGlow 15s infinite alternate ease-in-out;
}

body.light-mode .feature-card::before, body.light-mode .step-card::before {
    background: var(--gradient-secondary);
    opacity: 0.2;
}

@keyframes floatGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.25; }
    25% { transform: scale(1.05) translate(10px, -5px); opacity: 0.3; }
    50% { transform: scale(1) translate(0, 0); opacity: 0.25; }
    75% { transform: scale(1.05) translate(-10px, 5px); opacity: 0.3; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.25; }
}

.feature-card i {
    font-size: 3.5em;
    margin-bottom: var(--spacing-sm);
    color: var(--color-vibrant-3);
}

body.light-mode .feature-card i {
    color: var(--color-vibrant-4);
}

.feature-card h3, .step-card h3 {
    font-size: 1.8em;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.feature-card p, .step-card p {
    font-size: 1.05em;
    flex-grow: 1;
}

.how-it-works-section .subtitle {
    font-size: 1.2em;
    margin-bottom: var(--spacing-xl);
}

.step-card {
    position: relative;
    padding-top: var(--spacing-lg);
}

.step-number {
    position: absolute;
    top: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-primary);
    font-size: 2.8em;
    line-height: 1;
    z-index: 1;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

body.light-mode .step-card .step-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

@media (max-width: 992px) {
    .hero-section {
        padding: var(--spacing-lg) 0;
        margin-top: var(--spacing-xl);
    }

    .hero-section h1 {
        font-size: 3.5em;
    }

    .hero-section .subtitle {
        font-size: 1.3em;
    }

    .features-section, .how-it-works-section {
        padding: var(--spacing-md) 0;
    }

    .features-grid, .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-md);
    }

    .feature-card, .step-card {
        padding: var(--spacing-md);
        min-height: 220px;
    }

    .feature-card h3, .step-card h3 {
        font-size: 1.6em;
    }

    .feature-card p, .step-card p {
        font-size: 1em;
    }

    .step-number {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--spacing-md) 0;
    }

    .hero-section h1 {
        font-size: 3em;
    }

    .hero-section .subtitle {
        font-size: 1.1em;
        margin-bottom: var(--spacing-lg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .hero-buttons .btn {
        width: 80%;
        max-width: 300px;
    }

    .features-section h2, .how-it-works-section h2 {
        font-size: 2.2em;
        margin-bottom: var(--spacing-md);
    }

    .how-it-works-section .subtitle {
        font-size: 1em;
        margin-bottom: var(--spacing-lg);
    }

    .features-grid, .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .feature-card, .step-card {
        padding: var(--spacing-sm);
        min-height: auto;
    }

    .feature-card h3, .step-card h3 {
        font-size: 1.4em;
    }

    .feature-card p, .step-card p {
        font-size: 0.95em;
    }
    .feature-card i {
        font-size: 3em;
    }
    .step-number {
        font-size: 2.2em;
    }
}

@media (max-width: 600px) {
    .hero-section h1 {
        font-size: 2.5em;
        letter-spacing: -1px;
    }
    .hero-section .subtitle {
        font-size: 1em;
    }
    .features-section h2, .how-it-works-section h2 {
        font-size: 1.8em;
    }
    .feature-card i {
        font-size: 2.5em;
    }
}
