:root {
    --primary: #0057FF;
    --dark-navy: #071B3A;
    --bg-light: #F0F4FF;
    --soft-blue: #B7CFFF;
    --white: #FFFFFF;
    --text-dark: #111827;
    --text-muted: #64748B;
    --border: #E5E7EB;
    --radius-lg: 12px;
    --radius-sm: 6px;
    --shadow-premium: 0 10px 30px rgba(7, 27, 58, 0.05);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 0;
}

.narrow-container { max-width: 800px; }
.margin-center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary); }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.full-width { width: 100%; }

h1 { font-size: 2.75rem; color: var(--dark-navy); margin-bottom: 1.25rem; line-height: 1.25; font-weight: 700; }
h2 { font-size: 2.15rem; color: var(--dark-navy); margin-bottom: 1rem; font-weight: 700; }
h3 { font-size: 1.4rem; color: var(--dark-navy); margin-bottom: 0.75rem; font-weight: 600; }
h4 { font-size: 1.15rem; color: var(--dark-navy); margin-bottom: 0.5rem; font-weight: 600; }
p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 0.98rem; }
.lead { font-size: 1.15rem; color: var(--text-dark); }
.section-subtitle { display: inline-block; color: var(--primary); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; background-color: var(--bg-light); padding: 0.25rem 0.75rem; border-radius: 20px; }
.tagline { display: inline-block; color: var(--primary); font-weight: 700; font-size: 1rem; margin-bottom: 0.75rem; }

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: #0044cc; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 87, 255, 0.2); }
.btn-secondary { background-color: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background-color: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-light { background-color: var(--white); color: var(--primary); }
.btn-light:hover { background-color: var(--bg-light); transform: translateY(-2px); }
.btn-outline-light { background-color: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background-color: var(--white); color: var(--primary); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

.main-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(7, 27, 58, 0.03);
}

.header-flex { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0; }
.logo-text { font-size: 1.85rem; font-weight: 700; color: var(--dark-navy); text-decoration: none; letter-spacing: -0.5px; }
.logo-text span { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 2.25rem; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; transition: var(--transition); font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

.hero-section { padding: 3.5rem 0 5rem 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.booking-widget {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(7, 27, 58, 0.06);
    margin-top: 2.25rem;
}

.widget-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; }
.input-group { display: flex; flex-direction: column; gap: 0.5rem; text-align: right; }
.input-group label { font-size: 0.85rem; font-weight: 700; color: var(--dark-navy); }
.input-group select { padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: 'Cairo', sans-serif; font-size: 0.9rem; color: var(--text-dark); background-color: #F9FAFB; outline: none; transition: var(--transition); }
.input-group select:focus { border-color: var(--primary); background-color: var(--white); }
.widget-btn { width: 100%; padding: 0.9rem; font-size: 1rem; border-radius: var(--radius-sm); }
.responsive-svg { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-premium); }

.trust-strip { padding: 2rem 0; }
.strip-flex { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: 1.25rem; flex: 1; min-width: 260px; text-align: right; }
.strip-icon { font-size: 2.5rem; background: rgba(255, 255, 255, 0.15); width: 65px; height: 65px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.strip-item h4 { color: var(--white); margin-bottom: 0.25rem; font-size: 1.1rem; }
.strip-item p { color: rgba(255, 255, 255, 0.8); margin: 0; font-size: 0.85rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); gap: 2.5rem; margin-top: 2.5rem; }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 3rem 2.25rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-premium);
}

.card:hover { transform: translateY(-6px); border-color: var(--soft-blue); box-shadow: 0 15px 35px rgba(0, 87, 255, 0.08); }
.featured-card { border: 2px solid var(--primary); position: relative; }
.featured-card::before { content: "الأكثر طلباً للملاك"; position: absolute; top: -14px; left: 24px; background: var(--primary); color: var(--white); padding: 0.2rem 1rem; font-size: 0.75rem; font-weight: 700; border-radius: 20px; }
.card-header-icon { font-size: 2.25rem; color: var(--primary); margin-bottom: 1.25rem; }

.perk-card { background: #F9FAFB; border: 1px solid var(--border); padding: 2rem; border-radius: var(--radius-lg); text-align: right; transition: var(--transition); }
.perk-card:hover { background: var(--white); border-color: var(--primary); box-shadow: var(--shadow-premium); }
.perk-card h4 { color: var(--dark-navy); margin-bottom: 0.75rem; font-size: 1.2rem; }

.steps-flow { display: flex; justify-content: space-between; gap: 2.5rem; margin-top: 3.5rem; }
.step { flex: 1; position: relative; text-align: center; }
.step-num { display: inline-flex; width: 55px; height: 55px; background-color: var(--primary); color: var(--white); border-radius: 50%; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.25rem; box-shadow: 0 4px 10px rgba(0, 87, 255, 0.25); }
.step h4 { color: var(--dark-navy); margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; padding: 0 0.5rem; }

.car-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-premium); transition: var(--transition); }
.car-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(7, 27, 58, 0.08); }
.car-img-placeholder { background-color: var(--bg-light); height: 240px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--border); }
.car-info { padding: 2rem; }
.car-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.badge-status { background-color: #E6F4EA; color: #137333; padding: 0.35rem 0.85rem; border-radius: 4px; font-size: 0.8rem; font-weight: 700; }
.car-specs-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0; padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spec-inline { font-size: 0.85rem; color: var(--text-dark); font-weight: 600; display: flex; align-items: center; gap: 0.4rem; }

.hero-page { padding: 5.5rem 0 4rem 0; }
.card-simple { background: var(--white); border: 1px solid var(--border); padding: 2rem; border-radius: var(--radius-lg); text-align: right; box-shadow: var(--shadow-premium); }
.process-list, .styled-list { margin-top: 2rem; text-align: right; }
.process-item, .benefit-row { padding: 1.15rem; border-bottom: 1px solid var(--border); font-size: 1.05rem; color: var(--text-dark); }
.styled-list li { list-style: none; padding: 0.8rem 0; position: relative; padding-right: 1.75rem; font-weight: 600; color: var(--text-dark); }
.styled-list li::before { content: "✓"; color: var(--primary); font-weight: 700; position: absolute; right: 0; top: 0.75rem; }
.important-note { background-color: #FFF9E6; border: 1px solid #FFEBAA; padding: 1.5rem; border-radius: var(--radius-sm); margin-top: 3rem; text-align: right; }
.important-note p { color: #B78103; margin: 0; font-weight: 700; font-size: 0.95rem; }

.final-cta { padding: 5rem 0; }
.cta-buttons { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2.25rem; }

.main-footer { background-color: var(--dark-navy); color: var(--white); padding: 4.5rem 0 1.5rem 0; border-top: 4px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4.5rem; }
.footer-about h3 { color: var(--white); font-size: 1.9rem; margin-bottom: 1.25rem; font-weight: 700; }
.footer-about h3 span { color: var(--primary); }
.footer-about p { color: #A0AEC0; font-size: 0.95rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.85rem; }
.footer-links ul li a { color: #A0AEC0; text-decoration: none; transition: var(--transition); font-size: 0.95rem; }
.footer-links ul li a:hover { color: var(--primary); padding-right: 6px; }
.footer-contact p { color: #A0AEC0; margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer-phone { font-size: 1.65rem; color: var(--white); text-decoration: none; font-weight: 700; display: inline-block; margin-top: 0.5rem; transition: var(--transition); }
.footer-phone:hover { color: var(--primary); }
.footer-bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-bottom p { color: #718096; font-size: 0.85rem; }

.floating-whatsapp { position: fixed; bottom: 30px; left: 30px; background-color: #25D366; color: var(--white); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; text-decoration: none; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); z-index: 9999; transition: var(--transition); }
.floating-whatsapp:hover { transform: scale(1.08); }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.65s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .input-group { text-align: right; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .steps-flow { flex-direction: column; gap: 3rem; }
    .hero-image { order: -1; }
    h1 { font-size: 2.25rem; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
    .main-nav { display: none; position: absolute; top: 100%; right: 0; width: 100%; background-color: var(--white); border-bottom: 1px solid var(--border); padding: 1.5rem 0; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
    .nav-links { flex-direction: column; align-items: center; gap: 1.25rem; }
    .menu-toggle { display: block; }
    .main-nav.open { display: block; }
    .cta-buttons { flex-direction: column; gap: 1rem; }
    .hero-actions { flex-direction: column; }
    .strip-flex { flex-direction: column; gap: 1.5rem; }
}