/* الصفحة الرئيسية — تطبيق النقل بسائق */
:root {
    --primary: #0f172a;
    --accent: #0ea5e9;
    --accent-hover: #0284c7;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --font: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    --tap-min: 48px;
}

* { box-sizing: border-box; }

.home-body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    overflow-x: hidden;
}

.home-header {
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.home-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
}

.home-logo i { font-size: 1.5rem; opacity: 0.95; }

.home-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    text-align: center;
}

.home-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.75rem;
}

.home-hero-title i { color: var(--accent); }

.home-hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
    line-height: 1.6;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.home-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.home-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    min-height: var(--tap-min);
    min-width: 200px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-cta:hover { transform: translateY(-2px); color: inherit; }
.home-cta:active { transform: translateY(0); }

.home-cta-admin {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.home-cta-admin:hover { background: #1e293b; color: #fff; box-shadow: 0 8px 24px rgba(15,23,42,0.25); }

.home-cta-client {
    background: var(--card-bg);
    color: var(--accent);
    border: 2px solid var(--accent);
}

.home-cta-client:hover { background: var(--accent-soft); color: var(--accent-hover); box-shadow: 0 8px 24px rgba(14,165,233,0.2); }

.home-cta-driver {
    background: #ecfdf5;
    color: #059669;
    border: 2px solid #059669;
}
.home-cta-driver:hover { background: #d1fae5; color: #047857; box-shadow: 0 8px 24px rgba(5,150,105,0.2); }

.home-cta i { font-size: 2.25rem; opacity: 0.95; }

.home-features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

.home-features-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 1.25rem;
    text-align: center;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.home-feature {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.home-feature i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.home-feature span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.home-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.home-footer p { margin: 0; }

/* تابلت: 576px - 767px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .home-hero { padding: 2.5rem 1.25rem 3.5rem; }
    .home-hero-title { font-size: 1.75rem; }
    .home-cta { min-width: 180px; }
}

/* جوال */
@media (max-width: 575.98px) {
    .home-header { padding: 0.85rem 1rem; }
    .home-header-inner { max-width: 100%; }
    .home-logo { font-size: 1rem; }
    .home-hero { padding: 2rem 1rem 3rem; }
    .home-hero-title { font-size: 1.5rem; }
    .home-hero-desc { font-size: 1rem; }
    .home-ctas { gap: 0.75rem; margin-bottom: 2rem; }
    .home-cta { min-width: 100%; padding: 1.25rem; font-size: 0.95rem; }
    .home-features-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .home-feature { padding: 0.85rem; }
    .home-feature span { font-size: 0.85rem; }
    .home-footer { padding: 1rem; font-size: 0.8rem; }
}
