/* assets/css/home.css */

/* --- Hero Section --- */
.hero-section {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(circle, #f0f5ff, var(--white-color));
}

.hero-section h1 {
    font-family: var(--heading-font);
    font-size: 3.5em;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.2;
    margin-top: 0;
}

.hero-section h1 span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section .subtitle {
    font-size: 1.25em;
    color: var(--light-text-color);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1em;
    margin: 5px;
}

.hero-buttons .btn-demo {
    background: var(--white-color);
    color: var(--primary-text-color);
    border: 1px solid var(--border-color);
}

.hero-buttons .btn-demo:hover {
    border-color: var(--primary-text-color);
}

/* --- Social Proof --- */
.social-proof {
    margin-top: 60px;
}

.social-proof p {
    font-size: 1em;
    color: var(--light-text-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px 40px;
    align-items: center;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-item img {
    width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    opacity: 1;
}

/* --- How It Works Section --- */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
}

.section-title p {
    font-size: 1.1em;
    color: var(--light-text-color);
    max-width: 600px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--white-color);
}

.step-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--light-text-color);
}

/* --- Features Section --- */
.features-section {
    padding: 80px 0;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-item:nth-child(even) .feature-image {
    order: -1;
}

.feature-text h3 {
    font-size: 2em;
    font-weight: 700;
    margin-top: 0;
}

.feature-text p {
    font-size: 1.1em;
    color: var(--light-text-color);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.feature-list svg {
    width: 20px;
    height: 20px;
    fill: var(--success-color);
    flex-shrink: 0;
}

.feature-image {
    background: var(--light-gray-bg);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
}

.feature-image img, .feature-image svg {
    max-width: 100%;
    height: auto;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 1.1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-quote::before {
    content: '“';
    font-size: 3em;
    color: var(--primary-color);
    opacity: 0.2;
    font-weight: 800;
    line-height: 0;
    display: block;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 1.2em;
}

.author-info p {
    margin: 0;
    line-height: 1.3;
}

.author-info .name {
    font-weight: 600;
}

.author-info .title {
    font-size: 0.9em;
    color: var(--light-text-color);
}

/* --- Pricing Teaser --- */
.pricing-section {
    padding: 80px 0;
}

.pricing-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.pricing-card h2 {
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

.pricing-card p {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.pricing-card .btn {
    background: var(--white-color);
    color: var(--primary-text-color);
    font-size: 1.1em;
    padding: 15px 30px;
}

.pricing-card .btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Responsive Design (Home specific) --- */
@media (max-width: 992px) {
    .feature-item {
        grid-template-columns: 1fr;
    }
    .feature-item:nth-child(even) .feature-image {
        order: 1;
    }
    .feature-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5em;
    }
    .hero-section .subtitle {
        font-size: 1.1em;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .section-title h2 {
        font-size: 2em;
    }
    .logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}