﻿/* ===================================================
   MASARI PLATFORM - Premium Design System v2.0
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ===== COLOR PALETTE ===== */
:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --secondary: #f59e0b;
    --accent: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark2: #1e293b;
    --dark3: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --light2: #f1f5f9;
    --light3: #e2e8f0;
    --white: #ffffff;
    --gradient-main: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #10b981 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --shadow-xs: 0 1px 3px rgba(15,23,42,0.08);
    --shadow-sm: 0 4px 16px rgba(30,58,138,0.10);
    --shadow-md: 0 8px 32px rgba(30,58,138,0.14);
    --shadow-lg: 0 16px 48px rgba(30,58,138,0.18);
    --shadow-xl: 0 24px 64px rgba(30,58,138,0.22);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--light2);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: var(--radius-full);
}

/* ===== LOADER ===== */
.masari-loader {
    position: fixed;
    inset: 0;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

.loader-logo {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: -2px;
    animation: logoPulse 1.5s ease-in-out infinite;
    display: block;
    margin-bottom: 1.5rem;
}

.loader-bar {
    width: 200px;
    height: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    width: 0;
    background: white;
    border-radius: var(--radius-full);
    animation: fillBar 0.9s ease forwards 0.2s;
}

@keyframes logoPulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.96);
    }
}

@keyframes fillBar {
    to {
        width: 100%;
    }
}

/* ===== NAVBAR ===== */
.masari-navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(30,58,138,0.07);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 24px rgba(0,0,0,0.06);
    transition: var(--transition-normal);
}

    .masari-navbar.scrolled {
        padding: 0.6rem 0;
        box-shadow: 0 4px 32px rgba(0,0,0,0.1);
    }

    .masari-navbar .navbar-brand {
        font-size: 1.65rem;
        font-weight: 900;
        background: var(--gradient-main);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -1px;
    }

    .masari-navbar .nav-link {
        color: var(--dark2) !important;
        font-weight: 600;
        font-size: 0.88rem;
        padding: 0.45rem 0.85rem !important;
        border-radius: var(--radius-sm);
        transition: var(--transition-fast);
        position: relative;
    }

        .masari-navbar .nav-link::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            right: 50%;
            height: 2px;
            background: var(--gradient-main);
            border-radius: var(--radius-full);
            transition: var(--transition-normal);
        }

        .masari-navbar .nav-link:hover::after {
            left: 0.85rem;
            right: 0.85rem;
        }

        .masari-navbar .nav-link:hover {
            color: var(--primary-light) !important;
            background: rgba(59,130,246,0.07);
        }

/* Lang Button */
.lang-btn {
    background: var(--light2);
    border: 1.5px solid var(--light3) !important;
    border-radius: var(--radius-full) !important;
    padding: 0.38rem 1rem !important;
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition-fast);
}

    .lang-btn:hover {
        background: var(--primary-light);
        color: white;
        border-color: var(--primary-light) !important;
    }

/* Nav Buttons */
.btn-nav-outline {
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    padding: 0.38rem 1.2rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
    display: inline-block;
}

    .btn-nav-outline:hover {
        background: var(--primary-light);
        color: white;
        transform: translateY(-1px);
    }

.btn-nav-solid {
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.42rem 1.2rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 16px rgba(59,130,246,0.35);
    white-space: nowrap;
    font-family: 'Cairo', sans-serif;
    display: inline-block;
}

    .btn-nav-solid:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(59,130,246,0.45);
        color: white;
    }

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 0 5rem;
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(16,185,129,0.15) 0%, transparent 40%), radial-gradient(circle at 60% 80%, rgba(59,130,246,0.1) 0%, transparent 40%);
    }

.hero-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    animation: orbFloat 10s ease-in-out infinite;
    pointer-events: none;
}

.hero-orb-1 {
    width: 520px;
    height: 520px;
    top: -160px;
    right: -120px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 320px;
    height: 320px;
    bottom: -100px;
    left: -80px;
    animation-delay: 4s;
}

.hero-orb-3 {
    width: 180px;
    height: 180px;
    top: 35%;
    left: 28%;
    animation-delay: 7s;
    opacity: 0.4;
}

@keyframes orbFloat {
    0%,100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    33% {
        transform: translateY(-25px) rotate(3deg) scale(1.02);
    }

    66% {
        transform: translateY(15px) rotate(-2deg) scale(0.98);
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    color: white;
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

    .hero-badge .badge-tag {
        background: var(--secondary);
        color: white;
        padding: 0.12rem 0.6rem;
        border-radius: var(--radius-full);
        font-size: 0.73rem;
        font-weight: 800;
    }

/* Hero Title */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

    .hero-title .highlight {
        color: var(--secondary);
        position: relative;
    }

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 2.5rem;
    line-height: 1.85;
    max-width: 520px;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: white;
    color: var(--primary);
    padding: 1rem 2.2rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.98rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-normal);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

    .btn-hero-primary:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.3);
        color: var(--primary);
    }

.btn-hero-secondary {
    background: rgba(255,255,255,0.12);
    color: white;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
}

    .btn-hero-secondary:hover {
        background: rgba(255,255,255,0.22);
        color: white;
        transform: translateY(-4px);
        border-color: rgba(255,255,255,0.6);
    }

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
}

    .hero-stat h3 {
        font-size: 2.4rem;
        font-weight: 900;
        color: white;
        margin: 0;
        line-height: 1;
    }

    .hero-stat p {
        color: rgba(255,255,255,0.65);
        font-size: 0.82rem;
        margin: 0.35rem 0 0;
    }

/* Hero Visual Card */
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-card-main {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 32px 80px rgba(0,0,0,0.28);
}

.hero-card-float {
    background: white;
    border-radius: var(--radius-md);
    padding: 0.9rem 1.2rem;
    box-shadow: var(--shadow-xl);
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
}

    .hero-card-float.f1 {
        top: -22px;
        left: -22px;
        animation: floatCard 4.5s ease-in-out infinite;
    }

    .hero-card-float.f2 {
        bottom: -18px;
        right: -18px;
        animation: floatCard 5.5s ease-in-out infinite reverse;
    }

@keyframes floatCard {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* ===== STATS SECTION - Glassmorphism ===== */
.stats-section {
    background: var(--dark);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

    .stats-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(16,185,129,0.06) 0%, transparent 50%);
    }

.stat-glass-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

    .stat-glass-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gradient-main);
    }

    .stat-glass-card:hover {
        background: rgba(255,255,255,0.08);
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.3);
        border-color: rgba(255,255,255,0.2);
    }

.stat-num {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-lbl {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    font-weight: 600;
}

/* ===== SECTION HELPERS ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(59,130,246,0.1);
    color: var(--primary-light);
    padding: 0.38rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(59,130,246,0.2);
}

.section-title {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-sub {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 7rem 0;
    background: white;
}

.feat-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--light3);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-xs);
}

    .feat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-main);
        transform: scaleX(0);
        transform-origin: right;
        transition: var(--transition-normal);
    }

    .feat-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(59,130,246,0.03) 0%, transparent 60%);
        opacity: 0;
        transition: var(--transition-normal);
    }

    .feat-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(59,130,246,0.2);
    }

        .feat-card:hover::before {
            transform: scaleX(1);
            transform-origin: left;
        }

        .feat-card:hover::after {
            opacity: 1;
        }

.feat-icon {
    width: 66px;
    height: 66px;
    border-radius: var(--radius-md);
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 8px 24px rgba(59,130,246,0.35);
    position: relative;
    z-index: 1;
}

.feat-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 1;
}

.feat-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

/* ===== JOBS SECTION ===== */
.jobs-section {
    padding: 7rem 0;
    background: var(--light);
}

.job-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    border: 1.5px solid var(--light3);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    height: 100%;
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

    .job-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(59,130,246,0.02) 0%, transparent 100%);
        opacity: 0;
        transition: var(--transition-normal);
    }

    .job-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
        border-color: rgba(59,130,246,0.3);
    }

        .job-card:hover::before {
            opacity: 1;
        }

/* Company Logo */
.company-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

/* Job Badges */
.job-badge {
    padding: 0.28rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.badge-train {
    background: rgba(16,185,129,0.12);
    color: #059669;
    border: 1px solid rgba(16,185,129,0.2);
}

.badge-full {
    background: rgba(59,130,246,0.12);
    color: #2563eb;
    border: 1px solid rgba(59,130,246,0.2);
}

.badge-part {
    background: rgba(245,158,11,0.12);
    color: #d97706;
    border: 1px solid rgba(245,158,11,0.2);
}

.badge-remote {
    background: rgba(139,92,246,0.12);
    color: #7c3aed;
    border: 1px solid rgba(139,92,246,0.2);
}

/* Job Card Text */
.job-title-text {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
}

.job-company {
    color: var(--gray);
    font-size: 0.87rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

.job-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gray-light);
    font-size: 0.8rem;
    font-weight: 600;
}

    .job-meta-item i {
        font-size: 0.78rem;
    }

.skill-tag {
    background: var(--light2);
    color: var(--gray);
    padding: 0.22rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
    border: 1px solid var(--light3);
    transition: var(--transition-fast);
}

    .skill-tag:hover {
        background: rgba(59,130,246,0.1);
        color: var(--primary-light);
        border-color: rgba(59,130,246,0.2);
    }

/* Apply Button */
.btn-apply {
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.7rem 1.6rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    transition: var(--transition-normal);
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
    position: relative;
    overflow: hidden;
}

    .btn-apply::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
        opacity: 0;
        transition: var(--transition-fast);
    }

    .btn-apply:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(59,130,246,0.45);
        color: white;
    }

        .btn-apply:hover::before {
            opacity: 1;
        }

/* ===== HOW IT WORKS - Timeline ===== */
.how-section {
    padding: 7rem 0;
    background: white;
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 3rem;
}

    .steps-timeline::before {
        content: '';
        position: absolute;
        top: 38px;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-light), var(--accent));
        z-index: 0;
    }

.step-item {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: white;
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    box-shadow: 0 8px 28px rgba(59,130,246,0.4);
    border: 4px solid white;
    transition: var(--transition-normal);
    position: relative;
}

.step-item:hover .step-num {
    transform: scale(1.12);
    box-shadow: 0 12px 36px rgba(59,130,246,0.5);
}

.step-icon {
    font-size: 1.5rem;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.step-desc {
    color: var(--gray);
    font-size: 0.86rem;
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testi-section {
    padding: 7rem 0;
    background: var(--light);
}

.testi-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    border: 1.5px solid var(--light3);
    transition: var(--transition-normal);
    height: 100%;
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

    .testi-card::before {
        content: '"';
        position: absolute;
        top: -10px;
        right: 1.5rem;
        font-size: 8rem;
        font-weight: 900;
        line-height: 1;
        color: rgba(59,130,246,0.07);
        font-family: Georgia, serif;
        pointer-events: none;
    }

    .testi-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
        border-color: rgba(59,130,246,0.2);
    }

.testi-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.2rem;
}

    .testi-stars i {
        color: var(--secondary);
        font-size: 0.95rem;
    }

.testi-text {
    color: var(--dark3);
    line-height: 1.85;
    font-size: 0.92rem;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}

.testi-name {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--dark);
}

.testi-role {
    color: var(--gray-light);
    font-size: 0.78rem;
    margin-top: 0.1rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 7rem 0;
    background: var(--gradient-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(16,185,129,0.12) 0%, transparent 50%);
    }

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.cta-sub {
    color: rgba(255,255,255,0.82);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.masari-footer {
    background: var(--dark);
    padding: 5.5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

    .masari-footer::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 0%, rgba(59,130,246,0.06) 0%, transparent 60%);
    }

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.footer-desc {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    line-height: 1.85;
    max-width: 320px;
}

.footer-title {
    color: white;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 0.7rem;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 30px;
        height: 2px;
        background: var(--gradient-main);
        border-radius: var(--radius-full);
    }

.footer-links {
    list-style: none !important;
}

    .footer-links li {
        margin-bottom: 0.65rem;
    }

    .footer-links a {
        color: rgba(255,255,255,0.45);
        text-decoration: none;
        font-size: 0.87rem;
        font-weight: 500;
        transition: var(--transition-fast);
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

        .footer-links a:hover {
            color: white;
            padding-right: 6px;
        }

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 2.5rem 0;
}

.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.8rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-normal);
}

    .social-link:hover {
        background: var(--primary-light);
        border-color: var(--primary-light);
        color: white;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(59,130,246,0.4);
    }

/* ===== DASHBOARD SIDEBAR ===== */
.dash-sidebar {
    background: var(--dark2);
    width: 258px;
    min-height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -4px 0 24px rgba(0,0,0,0.2);
    transition: var(--transition-normal);
}

.dash-brand {
    padding: 1.6rem 1.5rem 1.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

    .dash-brand a {
        font-size: 1.45rem;
        font-weight: 900;
        background: var(--gradient-main);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-decoration: none;
        display: inline-block;
    }

.dash-user {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: rgba(255,255,255,0.02);
}

.dash-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59,130,246,0.4);
    border: 2px solid rgba(255,255,255,0.15);
}

.dash-nav {
    padding: 1rem 0;
    flex: 1;
}

.dash-nav-section {
    padding: 0.5rem 1.5rem 0.3rem;
    color: rgba(255,255,255,0.28);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255,255,255,0.52);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-fast);
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    border-right: 3px solid transparent;
    position: relative;
}

    .dash-nav-item i {
        width: 18px;
        text-align: center;
        font-size: 0.9rem;
    }

    .dash-nav-item:hover {
        background: rgba(59,130,246,0.1);
        color: rgba(255,255,255,0.85);
        border-right-color: rgba(59,130,246,0.5);
    }

    .dash-nav-item.active {
        background: rgba(59,130,246,0.15);
        color: white;
        border-right-color: var(--primary-light);
    }

        .dash-nav-item.active i {
            color: var(--primary-light);
        }

.dash-main {
    margin-right: 258px;
    padding: 2rem 2.5rem;
    background: var(--light);
    min-height: 100vh;
}

.dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light3);
}

.dash-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light3);
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light3);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

    .stat-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gradient-main);
        transform: scaleX(0);
        transition: var(--transition-normal);
    }

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: rgba(59,130,246,0.15);
    }

        .stat-card:hover::after {
            transform: scaleX(1);
        }

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.si-blue {
    background: rgba(59,130,246,0.1);
}

.si-green {
    background: rgba(16,185,129,0.1);
}

.si-yellow {
    background: rgba(245,158,11,0.1);
}

.si-purple {
    background: rgba(139,92,246,0.1);
}

.si-red {
    background: rgba(239,68,68,0.1);
}

/* ===== FORMS ===== */
.form-page {
    min-height: 100vh;
    background: var(--light);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem 2.8rem;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--light3);
}

.masari-input {
    border: 1.5px solid var(--light3) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.82rem 1.1rem !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 0.93rem !important;
    transition: var(--transition-fast) !important;
    background: var(--light) !important;
    color: var(--dark) !important;
}

    .masari-input:focus {
        border-color: var(--primary-light) !important;
        box-shadow: 0 0 0 4px rgba(59,130,246,0.12) !important;
        background: white !important;
        outline: none !important;
    }

.masari-label {
    font-weight: 700;
    color: var(--dark2);
    font-size: 0.85rem;
    margin-bottom: 0.45rem;
    display: block;
}

.btn-primary-full {
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.95rem 2rem;
    font-weight: 800;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 6px 20px rgba(59,130,246,0.35);
}

    .btn-primary-full:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(59,130,246,0.45);
    }

.role-card {
    border: 2px solid var(--light3);
    border-radius: var(--radius-md);
    padding: 1.3rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    background: var(--light);
}

    .role-card:hover {
        border-color: var(--primary-light);
        background: rgba(59,130,246,0.04);
        transform: translateY(-3px);
    }

    .role-card.selected {
        border-color: var(--primary-light);
        background: rgba(59,130,246,0.06);
        box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
    }

/* ===== TABLES ===== */
.masari-table {
    font-size: 0.875rem;
    width: 100%;
}

    .masari-table th {
        color: var(--gray);
        font-weight: 700;
        border-bottom: 2px solid var(--light2) !important;
        padding: 0.85rem 0.75rem !important;
        white-space: nowrap;
    }

    .masari-table td {
        border-bottom: 1px solid var(--light2) !important;
        padding: 1rem 0.75rem !important;
        vertical-align: middle !important;
    }

    .masari-table tbody tr {
        transition: var(--transition-fast);
    }

        .masari-table tbody tr:hover {
            background: var(--light);
        }

/* Status Badges */
.status-badge {
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.sb-pending {
    background: rgba(245,158,11,0.12);
    color: #b45309;
    border: 1px solid rgba(245,158,11,0.25);
}

.sb-accepted {
    background: rgba(16,185,129,0.12);
    color: #047857;
    border: 1px solid rgba(16,185,129,0.25);
}

.sb-rejected {
    background: rgba(239,68,68,0.12);
    color: #b91c1c;
    border: 1px solid rgba(239,68,68,0.25);
}

.sb-interview {
    background: rgba(59,130,246,0.12);
    color: #1d4ed8;
    border: 1px solid rgba(59,130,246,0.25);
}

/* ===== ALERTS ===== */
.alert-success {
    background: rgba(16,185,129,0.1) !important;
    color: #047857 !important;
    border: 1px solid rgba(16,185,129,0.2) !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
}

.alert-danger {
    background: rgba(239,68,68,0.1) !important;
    color: #b91c1c !important;
    border: 1px solid rgba(239,68,68,0.2) !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
}

/* ===== VERIFIED BADGE ===== */
.verified-badge {
    color: var(--primary-light);
    font-size: 0.85rem;
}

/* ===== EMPTY STATES ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger delays */
    .fade-up:nth-child(2) {
        transition-delay: 0.1s;
    }

    .fade-up:nth-child(3) {
        transition-delay: 0.2s;
    }

    .fade-up:nth-child(4) {
        transition-delay: 0.3s;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .dash-sidebar {
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

        .dash-sidebar.open {
            transform: translateX(0);
        }

    .dash-main {
        margin-right: 0;
        padding: 1.5rem;
    }

    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

        .steps-timeline::before {
            display: none;
        }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 1.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .form-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .dash-main {
        padding: 1rem;
    }

    .steps-timeline {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===== PRINT ===== */
@media print {
    .dash-sidebar, .masari-navbar, .masari-footer {
        display: none;
    }

    .dash-main {
        margin: 0;
        padding: 0;
    }
}
