/*
 * Wasl Landing Page — CSS
 * Design tokens, navbar, hero, sections, pricing, footer
 */

/* ─── Design Tokens ───────────────────────────────────────────────────────── */
:root {
    --wl-navy:        #0f3460;
    --wl-navy-dark:   #0a2040;
    --wl-navy-deep:   #1a1a2e;
    --wl-accent:      #e94560;
    --wl-gold:        #f0a500;
    --wl-sky:         #4fc3f7;
    --wl-green:       #22c55e;
    --wl-text:        #1a1a2e;
    --wl-muted:       #6b7280;
    --wl-light-bg:    #f8f9fe;
    --wl-border:      #e5e7eb;
    --wl-card-radius: 16px;
    --wl-transition:  0.22s ease;
}

/* ─── Base ────────────────────────────────────────────────────────────────── */
.wasl-landing {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--wl-text);
    -webkit-font-smoothing: antialiased;
    /* Match hero top colour so transparent navbar never shows white body */
    background: var(--wl-navy-deep);
}

/* ─── Navbar ──────────────────────────────────────────────────────────────── */
.wl-navbar {
    background: transparent;
    padding: 1rem 0;
    transition: background var(--wl-transition), box-shadow var(--wl-transition), padding var(--wl-transition);
}

.wl-navbar.wl-navbar-scrolled {
    background: rgba(10, 32, 64, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.18);
    padding: 0.6rem 0;
}

/* On non-hero pages (contact, etc.) always show solid navbar */
.wl-navbar-solid {
    background: rgba(10, 32, 64, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

.wl-brand {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}

.wl-brand-arabic {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--wl-gold);
    line-height: 1;
    letter-spacing: -0.5px;
}

.wl-brand-latin {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.wl-nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem !important;
    border-radius: 8px;
    transition: color var(--wl-transition), background var(--wl-transition);
}

.wl-nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
}

.btn-ghost-white {
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    background: transparent;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all var(--wl-transition);
}

.btn-ghost-white:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.wl-hero {
    background: linear-gradient(135deg, var(--wl-navy-deep) 0%, #16213e 50%, var(--wl-navy) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.wl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(79,195,247,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(233,69,96,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.wl-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(240,165,0,0.15);
    color: var(--wl-gold);
    border: 1px solid rgba(240,165,0,0.3);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

.wl-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
}

.wl-hero-title .highlight {
    color: var(--wl-sky);
}

.wl-hero-sub {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 2rem;
}

.wl-hero-cta-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.wl-btn-primary {
    background: linear-gradient(135deg, var(--wl-accent) 0%, #c73652 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2.2rem;
    border-radius: 10px;
    transition: transform var(--wl-transition), box-shadow var(--wl-transition);
    box-shadow: 0 4px 18px rgba(233,69,96,0.35);
}

.wl-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(233,69,96,0.45);
}

.wl-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2.2rem;
    border-radius: 10px;
    transition: all var(--wl-transition);
}

.wl-btn-outline:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.55);
}

.wl-hero-trust {
    color: rgba(255,255,255,0.42);
    font-size: 0.82rem;
}

.wl-hero-trust i {
    color: var(--wl-green);
    margin-right: 0.15rem;
}

.wl-hero-mockup {
    position: relative;
    z-index: 1;
}

.wl-mockup-frame {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.25rem;
    backdrop-filter: blur(8px);
}

.wl-mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.wl-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.wl-mockup-screen {
    background: #0f1c33;
    border-radius: 12px;
    padding: 1.25rem;
    min-height: 260px;
}

.wl-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.wl-kpi-mini {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
}

.wl-kpi-mini .val {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.wl-kpi-mini .lbl {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.2rem;
}

.wl-lead-rows {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.wl-lead-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.wl-lead-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.wl-lead-info {
    flex: 1;
    min-width: 0;
}

.wl-lead-name {
    font-size: 0.72rem;
    color: #fff;
    font-weight: 600;
    line-height: 1;
}

.wl-lead-meta {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.38);
    margin-top: 1px;
}

.wl-lead-score {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
}

/* ─── Trust Strip ─────────────────────────────────────────────────────────── */
.wl-trust {
    background: #fff;
    border-bottom: 1px solid var(--wl-border);
    padding: 1.75rem 0;
}

.wl-trust-label {
    font-size: 0.8rem;
    color: var(--wl-muted);
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.wl-trust-logos {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.wl-trust-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: color var(--wl-transition);
}

.wl-trust-logo i {
    font-size: 1.1rem;
}

.wl-trust-logo:hover {
    color: var(--wl-navy);
}

/* ─── Section Shared ──────────────────────────────────────────────────────── */
.wl-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--wl-accent);
    margin-bottom: 0.6rem;
}

.wl-section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--wl-navy-deep);
    letter-spacing: -0.8px;
    line-height: 1.15;
}

.wl-section-sub {
    font-size: 1.05rem;
    color: var(--wl-muted);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto;
}

/* ─── Features ────────────────────────────────────────────────────────────── */
.wl-features {
    background: var(--wl-light-bg);
    padding: 5rem 0;
}

.wl-feature-card {
    background: #fff;
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-card-radius);
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform var(--wl-transition), box-shadow var(--wl-transition), border-color var(--wl-transition);
}

.wl-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15,52,96,0.1);
    border-color: rgba(15,52,96,0.15);
}

.wl-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}

.wl-feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--wl-navy-deep);
    margin-bottom: 0.5rem;
}

.wl-feature-desc {
    font-size: 0.88rem;
    color: var(--wl-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

.wl-feature-tag {
    display: inline-block;
    background: rgba(15,52,96,0.07);
    color: var(--wl-navy);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    margin-top: 0.75rem;
}

/* ─── How It Works ────────────────────────────────────────────────────────── */
.wl-how {
    background: #fff;
    padding: 5rem 0;
}

.wl-step {
    text-align: center;
    padding: 1rem;
}

.wl-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wl-navy) 0%, var(--wl-accent) 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.wl-step-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--wl-navy-deep);
    margin-bottom: 0.4rem;
}

.wl-step-desc {
    font-size: 0.85rem;
    color: var(--wl-muted);
    line-height: 1.6;
}

.wl-step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--wl-navy) 0%, var(--wl-accent) 100%);
    margin: 0 auto;
    margin-top: -2.5rem;
    position: relative;
    z-index: 0;
}

/* ─── Integrations ────────────────────────────────────────────────────────── */
.wl-integrations {
    background: var(--wl-light-bg);
    padding: 5rem 0;
}

.wl-integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.wl-integration-card {
    background: #fff;
    border: 1px solid var(--wl-border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform var(--wl-transition), box-shadow var(--wl-transition);
}

.wl-integration-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.wl-integration-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    line-height: 1;
}

.wl-integration-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--wl-navy-deep);
    margin-bottom: 0.2rem;
}

.wl-integration-cat {
    font-size: 0.72rem;
    color: var(--wl-muted);
}

/* ─── Pricing ─────────────────────────────────────────────────────────────── */
.wl-pricing {
    background: #fff;
    padding: 5rem 0;
}

.wl-pricing-card {
    background: #fff;
    border: 1.5px solid var(--wl-border);
    border-radius: var(--wl-card-radius);
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--wl-transition), box-shadow var(--wl-transition);
}

.wl-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15,52,96,0.1);
}

.wl-pricing-card--featured {
    background: linear-gradient(160deg, var(--wl-navy) 0%, #16213e 100%);
    border-color: var(--wl-navy);
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 24px 64px rgba(15,52,96,0.3);
}

.wl-pricing-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.wl-pricing-badge {
    display: inline-block;
    background: var(--wl-gold);
    color: var(--wl-navy-deep);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.wl-pricing-plan {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--wl-muted);
    margin-bottom: 0.4rem;
}

.wl-pricing-card--featured .wl-pricing-plan {
    color: rgba(255,255,255,0.55);
}

.wl-pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--wl-navy-deep);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 0.2rem;
}

.wl-pricing-card--featured .wl-pricing-price {
    color: #fff;
}

.wl-pricing-period {
    font-size: 0.82rem;
    color: var(--wl-muted);
    margin-bottom: 1.25rem;
}

.wl-pricing-card--featured .wl-pricing-period {
    color: rgba(255,255,255,0.5);
}

.wl-pricing-divider {
    border-top: 1px solid var(--wl-border);
    margin-bottom: 1.25rem;
}

.wl-pricing-card--featured .wl-pricing-divider {
    border-color: rgba(255,255,255,0.15);
}

.wl-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.wl-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--wl-muted);
    margin-bottom: 0.65rem;
    line-height: 1.4;
}

.wl-pricing-features li .bi {
    color: var(--wl-green);
    font-size: 0.9rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.wl-pricing-card--featured .wl-pricing-features li {
    color: rgba(255,255,255,0.72);
}

.wl-pricing-features li.disabled {
    opacity: 0.35;
}

.wl-pricing-features li.disabled .bi {
    color: var(--wl-muted);
}

.wl-btn-pricing {
    display: block;
    width: 100%;
    padding: 0.8rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: all var(--wl-transition);
    border: 1.5px solid var(--wl-border);
    color: var(--wl-navy);
    background: #fff;
}

.wl-btn-pricing:hover {
    background: var(--wl-navy);
    color: #fff;
    border-color: var(--wl-navy);
}

.wl-btn-pricing--featured {
    background: var(--wl-accent);
    border-color: var(--wl-accent);
    color: #fff;
    box-shadow: 0 4px 18px rgba(233,69,96,0.4);
}

.wl-btn-pricing--featured:hover {
    background: #c73652;
    border-color: #c73652;
    color: #fff;
    box-shadow: 0 8px 28px rgba(233,69,96,0.5);
}

.wl-pricing-note {
    font-size: 0.78rem;
    color: var(--wl-muted);
    text-align: center;
    margin-top: 2rem;
}

/* ─── Final CTA ───────────────────────────────────────────────────────────── */
.wl-cta {
    background: linear-gradient(135deg, var(--wl-navy-deep) 0%, var(--wl-navy) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.wl-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(79,195,247,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.wl-cta-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.wl-cta-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 2rem;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.wl-footer {
    background: var(--wl-navy-deep);
    padding-top: 4rem;
}

.wl-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.wl-footer-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
}

.wl-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    text-decoration: none;
    transition: background var(--wl-transition), color var(--wl-transition);
}

.wl-social-link:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.wl-footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}

.wl-footer-links {
    margin: 0;
}

.wl-footer-links li {
    margin-bottom: 0.55rem;
}

.wl-footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color var(--wl-transition);
}

.wl-footer-links a:hover {
    color: #fff;
}

.wl-footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 0;
}

.wl-footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

.wl-footer-copy a {
    color: rgba(255,255,255,0.55);
    transition: color var(--wl-transition);
}

.wl-footer-copy a:hover {
    color: #fff;
}

.wl-badge-uae {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.wl-badge-rera {
    display: inline-flex;
    align-items: center;
    background: rgba(240,165,0,0.12);
    color: var(--wl-gold);
    border: 1px solid rgba(240,165,0,0.25);
    border-radius: 100px;
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
}

/* ─── Contact Page ────────────────────────────────────────────────────────── */
.wl-contact-hero {
    background: linear-gradient(135deg, var(--wl-navy-deep) 0%, var(--wl-navy) 100%);
    padding: 7rem 0 4rem;
}

.wl-contact-card {
    background: #fff;
    border-radius: var(--wl-card-radius);
    box-shadow: 0 24px 64px rgba(15,52,96,0.12);
    padding: 2.5rem 2rem;
}

.wl-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wl-contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(15,52,96,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--wl-navy);
    flex-shrink: 0;
}

.wl-contact-info-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--wl-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.wl-contact-info-val {
    font-size: 0.92rem;
    color: var(--wl-navy-deep);
    font-weight: 500;
}

/* ─── Misc ────────────────────────────────────────────────────────────────── */
.text-accent { color: var(--wl-accent) !important; }
.text-gold   { color: var(--wl-gold)   !important; }
.text-sky    { color: var(--wl-sky)    !important; }

.bg-navy     { background: var(--wl-navy) !important; }
.bg-navy-deep { background: var(--wl-navy-deep) !important; }

/* Responsive */
@media (max-width: 767.98px) {
    .wl-hero { padding: 7rem 0 4rem; min-height: auto; }
    .wl-pricing-card--featured { transform: none; }
    .wl-pricing-card--featured:hover { transform: translateY(-4px); }
    .wl-kpi-row { grid-template-columns: repeat(3, 1fr); }
}
