/*
 * Styles for the final, comprehensive homepage design.
 */

/* --- 0. Basic Setup & Fonts --- */
:root {
    --primary-color: #007BFF;
    --primary-dark: #0056b3;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-color: #e9ecef;
}

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

body {
    font-family: 'Vazirmatn', sans-serif; /* Assuming font is loaded elsewhere */
    line-height: 1.7;
    background-color: #fff;
    color: var(--dark-color);
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 8px; }
.section-header p { font-size: 1.1rem; color: var(--gray-color); margin: 0; max-width: 600px; margin-left: auto; margin-right: auto;}

/* --- 1. Dual-Path Hero Section --- */
.hero-split-section { display: flex; height: 85vh; min-height: 600px; position: relative; background-color: var(--dark-color); }
.hero-split-title { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; color: #fff; font-size: 4rem; font-weight: 800; text-align: center; text-shadow: 0 5px 20px rgba(0,0,0,0.5); pointer-events: none; }
.hero-split-path { flex: 1; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; text-decoration: none; color: #fff; transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.hero-split-path:hover { flex: 1.2; }
.hero-split-path__bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.hero-split-path:hover .hero-split-path__bg { transform: scale(1.05); }
.hero-split-path__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%); opacity: 0.8; transition: opacity 0.4s ease; }
.hero-split-section:hover .hero-split-path:not(:hover) .hero-split-path__overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%); }
.hero-split-path__content { position: relative; z-index: 2; }
.hero-split-path__content h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-split-path__content span { font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 8px; opacity: 0.8; }

/* --- 2. About/How-it-works Section --- */
.how-it-works-section { background-color: var(--light-color); }
.how-it-works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how-it-works-card { text-align: center; padding: 24px; }
.how-it-works-card__icon { font-size: 3.5rem; line-height: 1; color: var(--primary-color); margin-bottom: 16px; }
.how-it-works-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.how-it-works-card p { color: var(--gray-color); font-size: 0.95rem; }

/* --- 3. For Business Owners CTA Section --- */
.for-business-cta { padding: 60px 0; background-color: #fff; }
.cta-box {
    background-color: var(--dark-color);
    color: #fff;
    border-radius: 16px;
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}
.cta-box__content h2 { font-size: 2rem; font-weight: 700; margin: 0 0 8px 0; }
.cta-box__content p { color: #adb5bd; margin: 0; }
.cta-box__action .cta-btn {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}
.cta-box__action .cta-btn:hover { background-color: var(--primary-dark); }


/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .hero-split-section { flex-direction: column; height: 100vh; min-height: 800px; }
    .hero-split-title { font-size: 3rem; }
    .how-it-works-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-split-title { font-size: 2.5rem; }
    .hero-split-path__content h2 { font-size: 1.8rem; }
    .cta-box { flex-direction: column; text-align: center; }
}