@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
    --wl-ink: #162033;
    --wl-muted: #667085;
    --wl-soft: #f4f7fb;
    --wl-line: #dde5ef;
    --wl-white: #ffffff;
    --wl-teal: #047a78;
    --wl-teal-dark: #075e5c;
    --wl-indigo: #31446f;
    --wl-amber: #f0a61f;
    --wl-green: #3a8b5f;
    --wl-shadow: 0 18px 50px rgba(22, 32, 51, 0.12);
}

html,
body,
.wrapper,
.content-wrapper,
.main-sidebar,
.main-header,
.content,
.container,
.container-fluid,
.row,
.col-md-12 {
    background: transparent !important;
    background-color: transparent !important;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

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

.container-fluid,
.row,
.right-col {
    width: 100% !important;
}

.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.box,
.box-primary,
.card,
.panel,
.widget {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(4, 122, 120, 0.12), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(240, 166, 31, 0.16), transparent 24%),
        linear-gradient(180deg, #f8fbfd 0%, #eef4f7 100%) !important;
    color: var(--wl-ink);
    font-family: 'Cairo', Tahoma, Arial, sans-serif !important;
}

.content-wrapper,
.right-col {
    padding: 0 !important;
    margin: 0 !important;
}

#welcome-landing {
    direction: rtl;
    width: min(1180px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 28px 0 36px;
}

.wl-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.wl-brand,
.wl-nav-actions,
.wl-actions,
.wl-dashboard-top,
.wl-metric-row,
.wl-footer {
    display: flex;
    align-items: center;
}

.wl-brand {
    min-width: 0;
    gap: 12px;
    color: var(--wl-ink);
    text-decoration: none;
}

.wl-brand:hover,
.wl-link:hover,
.wl-text-link:hover,
.wl-btn:hover {
    text-decoration: none;
}

.wl-brand-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--wl-teal);
    color: var(--wl-white);
    font-size: 24px;
    font-weight: 900;
}

.wl-brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
}

.wl-brand small {
    color: var(--wl-muted);
    font-size: 12px;
}

.wl-nav-actions {
    gap: 12px;
}

.wl-link,
.wl-text-link {
    color: var(--wl-teal-dark);
    font-weight: 800;
}

.wl-hero {
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 42px;
    align-items: center;
    padding: 56px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(22, 32, 51, 0.92), rgba(4, 122, 120, 0.88)),
        url('../img/home-bg.jpg') center/cover;
    color: var(--wl-white);
    box-shadow: var(--wl-shadow);
}

.wl-kicker {
    margin: 0 0 12px;
    color: var(--wl-amber);
    font-weight: 900;
    font-size: 14px;
}

.wl-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: 0;
}

.wl-lead {
    max-width: 680px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.9;
}

.wl-actions {
    gap: 12px;
    flex-wrap: wrap;
}

.wl-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wl-btn:hover {
    transform: translateY(-1px);
}

.wl-btn-primary {
    background: var(--wl-amber);
    color: #17202f;
    box-shadow: 0 12px 28px rgba(240, 166, 31, 0.25);
}

.wl-btn-primary:hover {
    color: #17202f;
    background: #ffc04d;
}

.wl-btn-secondary {
    background: rgba(255, 255, 255, 0.13);
    color: var(--wl-white);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.wl-dashboard {
    min-width: 0;
    background: rgba(255, 255, 255, 0.94);
    color: var(--wl-ink);
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.wl-dashboard-top {
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--wl-line);
}

.wl-dashboard-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wl-line);
}

.wl-dashboard-top span:first-child {
    background: var(--wl-green);
}

.wl-dashboard-top strong {
    margin-right: auto;
    font-size: 14px;
}

.wl-metric-row {
    gap: 10px;
    margin: 18px 0;
}

.wl-metric-row div {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    background: var(--wl-soft);
}

.wl-metric-row small {
    display: block;
    color: var(--wl-muted);
    font-size: 12px;
}

.wl-metric-row strong {
    display: block;
    margin-top: 6px;
    font-size: 21px;
    color: var(--wl-teal-dark);
}

.wl-chart {
    height: 190px;
    display: flex;
    align-items: end;
    gap: 12px;
    padding: 18px;
    border-radius: 8px;
    background: linear-gradient(180deg, #f7fafc, #edf3f7);
}

.wl-chart span {
    flex: 1;
    min-width: 22px;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, var(--wl-teal), var(--wl-indigo));
}

.wl-activity {
    margin-top: 16px;
}

.wl-activity p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 9px 0 0;
    color: var(--wl-muted);
    font-size: 13px;
}

.wl-activity b {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wl-amber);
}

.wl-section {
    margin-top: 56px;
}

.wl-section h2,
.wl-split h2 {
    margin: 0 0 16px;
    color: var(--wl-ink);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: 0;
}

.wl-section-head {
    max-width: 760px;
    margin-bottom: 26px;
}

.wl-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 28px;
    align-items: stretch;
}

.wl-split > div,
.wl-card,
.wl-process,
.wl-form-container {
    border: 1px solid rgba(221, 229, 239, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 34px rgba(22, 32, 51, 0.06);
}

.wl-split > div {
    padding: 32px;
}

.wl-split p,
.wl-company-panel p,
.wl-card p,
.wl-steps p {
    color: var(--wl-muted);
    line-height: 1.85;
}

.wl-company-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f5faf8 100%) !important;
}

.wl-company-panel span {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #e6f4ef;
    color: var(--wl-green);
    font-size: 12px;
    font-weight: 900;
}

.wl-company-panel h3,
.wl-card h3,
.wl-steps h3 {
    margin: 0 0 10px;
    color: var(--wl-ink);
    font-weight: 900;
}

.wl-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.wl-card {
    padding: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(22, 32, 51, 0.1);
}

.wl-card i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #edf8f7;
    color: var(--wl-teal);
    font-size: 19px;
}

.wl-process {
    padding: 34px;
}

.wl-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.wl-steps div {
    padding: 24px;
    border-radius: 8px;
    background: var(--wl-soft);
}

.wl-steps span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--wl-amber);
    font-size: 22px;
    font-weight: 900;
}

.wl-form-container {
    max-width: 720px;
    padding: 28px;
}

.wl-label {
    display: block;
    margin: 14px 0 8px;
    color: var(--wl-ink);
    font-weight: 800;
}

.wl-label span {
    color: var(--wl-muted);
    font-weight: 500;
}

.wl-field {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--wl-line);
    border-radius: 8px;
    background: var(--wl-white);
    color: var(--wl-ink);
    font: inherit;
}

.wl-field:focus {
    border-color: var(--wl-teal);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(4, 122, 120, 0.12);
}

.wl-submit {
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    background: var(--wl-teal);
    color: var(--wl-white);
    font: inherit;
    font-weight: 900;
}

.wl-submit:hover {
    background: var(--wl-teal-dark);
}

.wl-result {
    margin-top: 18px;
}

.wl-state {
    padding: 16px;
    border-radius: 8px;
    background: var(--wl-soft);
    color: var(--wl-muted);
    text-align: center;
}

.wl-state-success {
    background: #eaf7ef;
    color: #17613d;
}

.wl-state-error {
    background: #fff1f0;
    color: #9f1f19;
}

.wl-footer {
    justify-content: space-between;
    gap: 16px;
    margin-top: 56px;
    padding: 24px 0 0;
    color: var(--wl-muted);
    border-top: 1px solid var(--wl-line);
}

.wl-footer strong {
    color: var(--wl-ink);
}

@media (max-width: 991px) {
    .wl-hero,
    .wl-split,
    .wl-features,
    .wl-steps {
        grid-template-columns: 1fr;
    }

    .wl-hero {
        padding: 36px;
    }
}

@media (max-width: 640px) {
    #welcome-landing {
        width: 100%;
        padding: 12px 12px 28px;
    }

    .wl-nav,
    .wl-footer,
    .wl-metric-row {
        align-items: stretch;
        flex-direction: column;
    }

    .wl-nav {
        gap: 14px;
        margin-bottom: 14px;
    }

    .wl-brand {
        width: 100%;
    }

    .wl-brand-mark {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        font-size: 21px;
    }

    .wl-nav-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: stretch;
    }

    .wl-nav-actions .wl-link,
    .wl-nav-actions .wl-btn {
        min-width: 0;
        width: 100%;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding-left: 10px;
        padding-right: 10px;
        text-align: center;
    }

    .wl-hero {
        min-height: auto;
        gap: 22px;
        padding: 24px 16px;
        border-radius: 8px;
        text-align: right;
    }

    .wl-hero h1 {
        font-size: 40px;
        line-height: 1.08;
        margin-bottom: 12px;
    }

    .wl-lead {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.8;
    }

    .wl-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .wl-actions .wl-btn {
        width: 100%;
        min-height: 46px;
    }

    .wl-dashboard {
        width: 100%;
        padding: 12px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    }

    .wl-dashboard-top {
        padding-bottom: 12px;
    }

    .wl-metric-row {
        gap: 8px;
        margin: 12px 0;
    }

    .wl-metric-row div {
        padding: 11px 12px;
    }

    .wl-metric-row strong {
        font-size: 18px;
    }

    .wl-chart {
        height: 132px;
        gap: 6px;
        padding: 10px;
    }

    .wl-chart span {
        min-width: 0;
    }

    .wl-split > div,
    .wl-card,
    .wl-process,
    .wl-form-container {
        padding: 20px;
    }

    .wl-section {
        margin-top: 28px;
    }

    .wl-section h2,
    .wl-split h2 {
        font-size: 25px;
        line-height: 1.35;
    }

    .wl-section-head {
        margin-bottom: 16px;
    }

    .wl-split,
    .wl-features,
    .wl-steps {
        gap: 12px;
    }

    .wl-card {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 12px;
        align-items: start;
    }

    .wl-card i {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .wl-card h3 {
        margin-top: 0;
        font-size: 18px;
    }

    .wl-card p {
        grid-column: 2;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.7;
    }

    .wl-process {
        padding: 18px;
    }

    .wl-steps div {
        padding: 18px;
    }

    .wl-footer {
        margin-top: 34px;
        text-align: center;
    }
}

@media (max-width: 380px) {
    #welcome-landing {
        padding-left: 10px;
        padding-right: 10px;
    }

    .wl-nav-actions {
        grid-template-columns: 1fr;
    }

    .wl-hero {
        padding: 20px 14px;
    }

    .wl-hero h1 {
        font-size: 34px;
    }

    .wl-card {
        display: block;
    }

    .wl-card i {
        margin-bottom: 12px;
    }

    .wl-card p {
        margin-bottom: 0;
    }
}
