/* الحصيف — صفحة الهبوط: ألوان متوافقة مع واجهة التطبيق (أزرق/slate، Tajawal) */
:root {
    --haseef-bg: #f1f5f9;
    --haseef-surface: #ffffff;
    --haseef-ink: #0f172a;
    --haseef-muted: #64748b;
    --haseef-primary: #0d6efd;
    --haseef-primary-dark: #0b5ed7;
    --haseef-accent: #0ea5e9;
    --haseef-border: rgba(148, 163, 184, 0.35);
    --haseef-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --haseef-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --haseef-radius: 16px;
    --haseef-radius-sm: 12px;
}

body.landing-body {
    font-family: 'Tajawal', sans-serif;
    background: var(--haseef-bg);
    color: var(--haseef-ink);
    padding-top: 72px;
}

.landing-navbar {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid var(--haseef-border);
}

.landing-navbar .navbar-brand {
    font-weight: 800;
    color: var(--haseef-primary) !important;
    letter-spacing: -0.02em;
}

.landing-navbar .nav-link {
    font-weight: 600;
    color: var(--haseef-ink) !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
}

.landing-navbar .nav-link:hover {
    background: rgba(13, 110, 253, 0.08);
    color: var(--haseef-primary) !important;
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: var(--haseef-radius);
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #0d4a6e 100%);
    color: #fff;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--haseef-shadow-lg);
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 100% 0%, rgba(14, 165, 233, 0.25), transparent 50%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 36rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.btn-hero-download {
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero-meta {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

/* مجموعة أسطر المعلومات تحت زر الـ Hero — نفس خط hero-meta مع تباعد بسيط بين السطرين */
.hero-inner .landing-meta-lines {
    margin-top: 1rem;
}

.hero-inner .landing-meta-lines .hero-meta {
    margin-top: 0;
}

.hero-inner .landing-meta-lines .hero-meta + .hero-meta {
    margin-top: 0.35rem;
}

/* Section shells */
.section-shell {
    background: var(--haseef-surface);
    border-radius: var(--haseef-radius);
    border: 1px solid var(--haseef-border);
    box-shadow: var(--haseef-shadow);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
}

.section-title {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--haseef-ink);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-sub {
    color: var(--haseef-muted);
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
}

/* Feature pills grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.feature-pill {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: var(--haseef-radius-sm);
    background: #f8fafc;
    border: 1px solid var(--haseef-border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-pill:hover {
    border-color: rgba(13, 110, 253, 0.35);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.08);
}

.feature-pill i {
    color: var(--haseef-primary);
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.feature-pill strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.feature-pill span {
    font-size: 0.88rem;
    color: var(--haseef-muted);
    line-height: 1.5;
}

/* Compare Free vs Paid */
.compare-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 767.98px) {
    .compare-wrap {
        grid-template-columns: 1fr;
    }
}

.compare-card {
    border-radius: var(--haseef-radius-sm);
    padding: 1.35rem;
    border: 2px solid var(--haseef-border);
    height: 100%;
}

.compare-card.free {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.compare-card.paid {
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.06) 0%, #fff 100%);
    border-color: rgba(13, 110, 253, 0.35);
}

.compare-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compare-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.compare-card li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #334155;
}

.compare-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 0.15rem;
    font-size: 0.75rem;
    color: var(--haseef-primary);
}

.compare-card.paid li::before {
    color: #059669;
}

/* Pricing */
.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #dcfce7, #d1fae5);
    color: #166534;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 991.98px) {
    .price-grid {
        grid-template-columns: 1fr;
    }
}

.price-card-pro {
    position: relative;
    border-radius: var(--haseef-radius-sm);
    padding: 1.5rem 1.25rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 2px solid var(--haseef-border);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.price-card-pro.is-featured {
    border-color: var(--haseef-primary);
    box-shadow: 0 12px 28px rgba(13, 110, 253, 0.15);
}

.price-card-pro:hover {
    transform: translateY(-4px);
    box-shadow: var(--haseef-shadow-lg);
}

.price-card-pro .plan-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.75rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    color: var(--haseef-primary);
    font-size: 1.35rem;
}

.price-card-pro.is-featured .plan-icon {
    background: rgba(13, 110, 253, 0.18);
}

.price-old {
    font-size: 1.05rem;
    color: var(--haseef-muted);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    margin-bottom: 0.25rem;
}

.price-current {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--haseef-ink);
    letter-spacing: -0.02em;
}

.price-current small {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--haseef-muted);
}

.discount-chip {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c2410c;
    background: #ffedd5;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
}

.plan-tagline {
    font-size: 0.82rem;
    color: var(--haseef-muted);
    margin-top: 0.5rem;
}

.section-download {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #fff 100%);
    border: 2px solid rgba(34, 197, 94, 0.25);
}

.download-requirements {
    max-width: 40rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--haseef-radius-sm);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.download-requirements .h6,
.download-requirements h3 {
    letter-spacing: -0.02em;
}

.footer-landing {
    background: #fff;
    border-top: 1px solid var(--haseef-border);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--haseef-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* تنبيه بعد زر التحميل — شرح تنبيهات ويندوز */
#downloadMessageHero .download-hint-alert,
#downloadMessage .download-hint-alert {
    max-width: 42rem;
    margin-inline: auto;
}
.hero-inner #downloadMessageHero .download-hint-alert {
    margin-inline: 0;
}

/* زر التحميل فقط — بدون عناصر إضافية داخل الحاوية */
.download-cta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* سطر معلومات تحت زر التحميل في الأقسام الفاتحة — مطابق لحجم/إيقاع hero-meta مع لون مناسب للخلفية */
.landing-meta-line--section {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--haseef-muted);
}

.landing-meta-line--section i {
    opacity: 0.9;
}
