/* Home Page - Flattened onto Foundation Classes
 * Uses foundation tokens and classes where possible
 */

/* Home page layout override */
.home-page {
    display: block !important;
    width: 100%;
}

/* Hero Section - inherits background from foundation .section */

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px; /* gap-16 equivalent */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 24px; /* mb-6 equivalent */
    line-height: 1.1;
    max-width: 600px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px; /* mb-8 equivalent */
    line-height: 1.6;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px; /* gap-4 equivalent */
}

.hero-image {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img,
.section-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
}

/* Section variant for alternating background */
.section-alt {
    background: var(--bg-elev-2);
}

.section-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 64px; /* gap-16 equivalent */
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Reverse layout for alternating sections */
.section:nth-child(even) .section-content {
    grid-template-columns: 1fr 400px;
}

.section-text h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 24px; /* mb-6 equivalent */
    line-height: 1.2;
}

.section-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 16px; /* mb-4 equivalent */
    line-height: 1.7;
}

.section-text ul {
    margin: 24px 0; /* my-6 equivalent */
    padding-left: 0;
    list-style: none;
}

.section-text li {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 12px; /* mb-3 equivalent */
    line-height: 1.6;
    padding-left: 24px; /* pl-6 equivalent */
    position: relative;
}

.section-text li::before {
    content: "•";
    color: var(--primary-600);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.section-image {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tools Grid - uses foundation .card class */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px; /* gap-6 equivalent */
    margin-top: 32px; /* mt-8 equivalent */
}


.tool-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: 8px; /* mb-2 equivalent */
}

.tool-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* CTA Section - uses foundation .card and .text-center classes */
.cta-section {
    /* Foundation .card and .text-center classes provide base styling */
    margin-top: 48px; /* mt-12 equivalent */
    padding: 32px; /* p-8 equivalent */
}

.cta-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 16px; /* mb-4 equivalent */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .section-content {
        grid-template-columns: 1fr;
        gap: 48px; /* gap-12 equivalent */
    }
    
    .section:nth-child(even) .section-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image,
    .section-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .hero-content,
    .section-content {
        padding: 0 16px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-text h2 {
        font-size: 2rem;
    }
    
    .hero-description,
    .section-text p {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px; /* gap-3 equivalent */
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px; /* gap-4 equivalent */
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-text h2 {
        font-size: 1.75rem;
    }
    
    .hero-image,
    .section-image {
        height: 200px;
        padding: 32px; /* p-8 equivalent */
    }
}