/* Home Page Styles */

/* Navigation */
.nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav__link {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link i {
    margin-right: 0.5rem;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, #f0f7ff 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero__content {
    flex: 1;
}

.hero__title {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
}

.hero__image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.feature-card__title {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.feature-card__text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2C5282 0%, #3182CE 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.how-it-works .section-title {
    color: white;
    margin-bottom: 3.5rem;
}

.how-it-works .section-title::after {
    background-color: rgba(255, 255, 255, 0.5);
}

.steps {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .steps::after {
        content: '';
        position: absolute;
        top: 25px;
        left: 12%;
        width: 76%;
        height: 2px;
        background: rgba(255, 255, 255, 0.3);
        z-index: -1;
    }
}

.step {
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step__number {
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step__icon {
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s;
}

.step:hover .step__icon {
    transform: scale(1.1);
}

.step__title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
}

.step__text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 100%);
    color: white;
}

.cta__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta__text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta .btn--primary {
    background-color: white;
    color: var(--color-primary);
}

.cta .btn--primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background-color: #1a202c;
    color: white;
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer__logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer__text {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer__title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__list li {
    margin-bottom: 0.75rem;
}

.footer__link {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer__link:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero__image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .nav__list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }
} 