@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');


* {
    box-sizing: border-box;
}


:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --accent: #00d4a8;

    --dark: #111118;

    --text: #181820;

    --muted: #777783;

    --bg: #f6f6fa;

    --white: #ffffff;

    --border: #e9e9ef;

    --shadow:
        0 20px 60px rgba(20,20,40,.10);

}


html,
body {

    margin: 0;

    padding: 0;

    min-height: 100%;

}


body {

    font-family:
        "Cairo",
        "Inter",
        sans-serif;

    color: var(--text);

}


/* ========================================
   PUBLIC PROFILE
======================================== */


.profile-page {

    min-height: 100vh;

    position: relative;

    display: flex;

    justify-content: center;

    padding: 40px 20px;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(37,99,235,.20),
            transparent 35%
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(0,212,168,.15),
            transparent 35%
        ),

        #f6f6fa;

}


.profile-card {

    position: relative;

    width: 100%;

    max-width: 520px;

    background:
        rgba(255,255,255,.82);

    backdrop-filter:
        blur(25px);

    border:
        1px solid rgba(255,255,255,.8);

    border-radius: 32px;

    padding: 45px 28px 25px;

    box-shadow:
        0 30px 80px
        rgba(15,23,42,.12);

}


.profile-header {

    text-align: center;

}


.avatar {

    width: 110px;

    height: 110px;

    border-radius: 50%;

    object-fit: cover;

    border: 5px solid white;

    box-shadow:
        0 15px 35px
        rgba(0,0,0,.12);

    margin-bottom: 18px;

}


.profile-header h1 {

    margin: 0;

    font-size: 28px;

    font-weight: 800;

}


.profile-title {

    margin-top: 4px;

    color: var(--primary);

    font-weight: 600;

}


.profile-bio {

    color: var(--muted);

    line-height: 1.8;

    margin:
        12px auto 25px;

    max-width: 420px;

}


.contact-buttons {

    display: flex;

    gap: 10px;

    justify-content: center;

    flex-wrap: wrap;

    margin-bottom: 20px;

}


.contact-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        10px 17px;

    border-radius: 100px;

    background: #f1f1f6;

    color: var(--text);

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: .2s;

}


.contact-button:hover {

    transform:
        translateY(-2px);

    background:
        var(--primary);

    color: white;

}


.links-container {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.profile-link {

    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 66px;

    padding:
        10px 14px;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 18px;

    text-decoration: none;

    color: var(--text);

    box-shadow:
        0 7px 20px
        rgba(0,0,0,.04);

    transition:
        transform .2s,
        box-shadow .2s;

}


.profile-link:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 14px 30px
        rgba(0,0,0,.09);

}


.link-icon {

    width: 42px;

    height: 42px;

    border-radius: 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        #eff6ff;

    color:
        var(--primary);

    font-weight: 800;

}


.link-title {

    flex: 1;

    font-weight: 600;

}


.link-arrow {

    color: #aaa;

    font-size: 20px;

}


footer {

    text-align: center;

    margin-top: 30px;

    color: #aaa;

    font-size: 12px;

}


footer strong {

    color: var(--primary);

}


/* ========================================
   LOADING
======================================== */


.loading {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 15px;

    background:
        #f6f6fa;

    color: var(--muted);

}


.loader {

    width: 40px;

    height: 40px;

    border:
        4px solid #ddd;

    border-top-color:
        var(--primary);

    border-radius: 50%;

    animation:
        spin .8s linear infinite;

}


@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}


.error-screen {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 30px;

}


.error-icon {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ffecec;

    color: #e44;

    font-size: 25px;

    font-weight: 800;

}


/* ========================================
   ADMIN
======================================== */


.admin-body {

    background:
        var(--bg);

}


.admin-topbar {

    height: 78px;

    padding:
        0 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        rgba(255,255,255,.85);

    backdrop-filter:
        blur(20px);

    border-bottom:
        1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 20;

}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.brand-mark {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        var(--primary);

    color: white;

    border-radius: 13px;

    font-weight: 800;

}


.brand strong {

    display: block;

}


.brand small {

    color: var(--muted);

}


.dashboard {

    max-width: 1300px;

    margin: auto;

    padding:
        60px 5%;

}


.eyebrow {

    font-size: 12px;

    font-weight: 800;

    color: var(--primary);

    letter-spacing: 2px;

}


.dashboard-heading h1 {

    font-size: 42px;

    margin:
        5px 0;

}


.dashboard-heading p {

    color: var(--muted);

}


.primary-button {

    border: none;

    background:
        var(--primary);

    color: white;

    padding:
        12px 20px;

    border-radius: 13px;

    cursor: pointer;

    font-family: inherit;

    font-weight: 700;

    transition: .2s;

}


.primary-button:hover {

    background:
        var(--primary-dark);

    transform:
        translateY(-2px);

}


.primary-button.full {

    width: 100%;

    margin-top: 20px;

}


.stats {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin:
        40px 0;

}


.stat-card {

    background:
        white;

    border:
        1px solid var(--border);

    border-radius: 22px;

    padding: 25px;

}


.stat-card span {

    color: var(--muted);

    font-size: 14px;

}


.stat-card strong {

    display: block;

    font-size: 34px;

    margin-top: 5px;

}


.section-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 18px;

}


.section-heading h2 {

    margin: 0;

}


.refresh-button {

    background: white;

    border:
        1px solid var(--border);

    padding:
        8px 14px;

    border-radius: 10px;

    cursor: pointer;

}


.profiles-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(330px, 1fr));

    gap: 16px;

}


.profile-admin-card {

    display: flex;

    align-items: center;

    gap: 15px;

    background:
        white;

    border:
        1px solid var(--border);

    border-radius: 20px;

    padding: 18px;

    transition: .2s;

}


.profile-admin-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow);

}


.admin-card-avatar {

    width: 60px;

    height: 60px;

    border-radius: 18px;

    overflow: hidden;

    background:
        #eff6ff;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--primary);

    font-size: 22px;

    font-weight: 800;

    flex-shrink: 0;

}


.admin-card-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.admin-card-info {

    flex: 1;

    min-width: 0;

}


.admin-card-info h3 {

    margin: 0;

}


.admin-card-info p {

    margin: 2px 0 5px;

    color: var(--muted);

    font-size: 13px;

}


.admin-card-info code {

    color: var(--primary);

    font-size: 11px;

}


.admin-card-actions {

    display: flex;

    gap: 5px;

}


.icon-button {

    width: 36px;

    height: 36px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background: white;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    color: var(--text);

    cursor: pointer;

}


.empty-state {

    text-align: center;

    padding: 80px 20px;

    background: white;

    border:
        1px dashed #ddd;

    border-radius: 25px;

}


.empty-icon {

    font-weight: 800;

    color: var(--primary);

    font-size: 30px;

}


.dashboard-loading,
.dashboard-error {

    padding: 60px;

    text-align: center;

    color: var(--muted);

}


/* ========================================
   MODAL
======================================== */


.modal {

    position: fixed;

    inset: 0;

    background:
        rgba(15,15,25,.45);

    backdrop-filter:
        blur(8px);

    align-items: center;

    justify-content: center;

    padding: 20px;

    z-index: 100;

}


.modal-box {

    width: 100%;

    max-width: 550px;

    background: white;

    border-radius: 25px;

    padding: 30px;

    max-height: 90vh;

    overflow-y: auto;

}


.modal-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

}


.modal-header h2 {

    margin: 0;

}


.modal-header button {

    border: none;

    background: #f1f1f5;

    width: 35px;

    height: 35px;

    border-radius: 10px;

    cursor: pointer;

    font-size: 20px;

}


.modal-box label {

    display: block;

    margin:
        14px 0 6px;

    font-size: 13px;

    font-weight: 700;

}


.modal-box input,
.modal-box textarea {

    width: 100%;

    border:
        1px solid var(--border);

    border-radius: 12px;

    padding:
        12px 14px;

    font-family: inherit;

    outline: none;

}


.modal-box input:focus,
.modal-box textarea:focus {

    border-color:
        var(--primary);

}


/* ========================================
   MOBILE
======================================== */


@media (max-width: 700px) {

    .profile-card {

        padding:
            35px 18px 20px;

        border-radius: 25px;

    }


    .dashboard-heading h1 {

        font-size: 32px;

    }


    .stats {

        grid-template-columns: 1fr;

    }


    .profiles-grid {

        grid-template-columns: 1fr;

    }


    .admin-topbar {

        padding:
            0 18px;

    }


    .admin-actions .primary-button {

        font-size: 12px;

        padding:
            10px 13px;

    }

}

/* ========================================
   PUBLIC WEBSITE
======================================== */


.site-header {

    position: sticky;

    top: 0;

    z-index: 50;

    background:
        rgba(255,255,255,.85);

    backdrop-filter:
        blur(20px);

    border-bottom:
        1px solid var(--border);

}


.site-nav {

    max-width: 1300px;

    margin: auto;

    min-height: 78px;

    padding:
        0 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.site-logo {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--text);

    text-decoration: none;

}


.brand-text strong {

    display: block;

    font-size: 15px;

}


.brand-text small {

    display: block;

    font-size: 10px;

    color: var(--muted);

}


.nav-button {

    padding:
        10px 18px;

    border-radius: 12px;

    background:
        var(--dark);

    color: white;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

}


/* ========================================
   HERO
======================================== */


.hero {

    max-width: 1300px;

    min-height: 720px;

    margin: auto;

    padding:
        80px 5%;

    display: grid;

    grid-template-columns:
        1.15fr .85fr;

    align-items: center;

    gap: 60px;

}


.hero-content {

    max-width: 650px;

}


.hero-badge {

    display: inline-flex;

    padding:
        8px 14px;

    border-radius: 100px;

    background:
        #eff6ff;

    color:
        var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 20px;

}


.hero h1 {

    font-size:
        clamp(48px, 6vw, 78px);

    line-height: 1.1;

    letter-spacing: -2px;

    margin: 0;

    font-weight: 800;

}


.hero h1 span {

    color:
        var(--primary);

}


.hero p {

    max-width: 590px;

    margin:
        25px 0;

    color:
        var(--muted);

    font-size: 17px;

    line-height: 2;

}


.hero-actions {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}


.secondary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        13px 20px;

    border-radius: 13px;

    border:
        1px solid var(--border);

    color: var(--text);

    background: white;

    text-decoration: none;

    font-weight: 700;

}


.hero .primary-button {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    text-decoration: none;

}


.hero-preview {

    position: relative;

    min-height: 550px;

    display: flex;

    justify-content: center;

    align-items: center;

}


.preview-glow {

    position: absolute;

    width: 400px;

    height: 400px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37,99,235,.30),
            transparent 65%
        );

    filter:
        blur(10px);

}


.phone {

    position: relative;

    width: 285px;

    height: 555px;

    padding: 9px;

    border-radius: 40px;

    background:
        #15151c;

    box-shadow:
        0 40px 80px
        rgba(15,23,42,.25);

    transform:
        rotate(3deg);

}


.phone-top {

    position: absolute;

    z-index: 2;

    top: 17px;

    left: 50%;

    transform:
        translateX(-50%);

    width: 90px;

    height: 22px;

    border-radius: 20px;

    background: #08080b;

}


.phone-screen {

    width: 100%;

    height: 100%;

    padding:
        65px 18px 20px;

    border-radius: 32px;

    background:
        linear-gradient(
            145deg,
            #eff6ff,
            #ffffff
        );

    text-align: center;

    overflow: hidden;

}


.preview-avatar {

    width: 70px;

    height: 70px;

    margin:
        0 auto 10px;

    border-radius: 50%;

    background:
        var(--primary);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

    font-weight: 800;

}


.phone-screen h3 {

    margin:
        0;

    font-size: 17px;

}


.phone-screen > p {

    margin:
        3px 0;

    font-size: 10px;

    color: var(--muted);

}


.preview-socials {

    display: flex;

    justify-content: center;

    gap: 8px;

    margin:
        12px 0 20px;

}


.preview-socials span {

    width: 27px;

    height: 27px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #eeeeF7;

    font-size: 10px;

    font-weight: 800;

}


.preview-link {

    display: flex;

    align-items: center;

    gap: 7px;

    padding:
        11px;

    margin-bottom: 9px;

    border-radius: 12px;

    background: white;

    box-shadow:
        0 5px 15px
        rgba(0,0,0,.06);

    font-size: 10px;

    font-weight: 700;

    text-align: right;

}


.preview-link span {

    width: 27px;

    height: 27px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background:
        #eff6ff;

    color:
        var(--primary);

}


.preview-link b {

    margin-right: auto;

    color: #aaa;

}


/* ========================================
   SECTIONS
======================================== */


.features-section,
.steps-section {

    padding:
        100px 5%;

}


.features-section {

    background: white;

}


.section-container {

    max-width: 1300px;

    margin: auto;

}


.section-intro {

    max-width: 600px;

    margin-bottom: 50px;

}


.section-intro.center {

    margin-left: auto;

    margin-right: auto;

    text-align: center;

}


.section-intro h2 {

    font-size:
        clamp(35px, 5vw, 55px);

    line-height: 1.15;

    margin:
        8px 0 15px;

}


.section-intro p {

    color: var(--muted);

    line-height: 1.9;

}


.features-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}


.feature-card {

    padding: 30px;

    min-height: 250px;

    border:
        1px solid var(--border);

    border-radius: 24px;

    transition: .25s;

}


.feature-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow);

}


.feature-icon {

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background:
        #eff6ff;

    color:
        var(--primary);

    font-weight: 800;

    margin-bottom: 25px;

}


.feature-card h3 {

    margin: 0 0 8px;

}


.feature-card p {

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;

}


/* ========================================
   STEPS
======================================== */


.steps-section {

    background:
        #f7f7fa;

}


.steps-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.step {

    background: white;

    padding: 35px;

    border-radius: 25px;

    border:
        1px solid var(--border);

}


.step-number {

    font-size: 12px;

    font-weight: 800;

    color:
        var(--primary);

    margin-bottom: 30px;

}


.step h3 {

    margin: 0 0 8px;

}


.step p {

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;

}


/* ========================================
   REQUEST
======================================== */


.request-section {

    padding:
        110px 5%;

    background:
        var(--dark);

    color: white;

}


.request-container {

    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 70px;

    align-items: center;

}


.request-info h2 {

    font-size:
        clamp(38px, 5vw, 58px);

    line-height: 1.15;

    margin:
        8px 0 20px;

}


.request-info p {

    color:
        #a5a5b0;

    line-height: 1.8;

}


.request-points {

    display: flex;

    flex-direction: column;

    gap: 14px;

    margin-top: 30px;

}


.request-points div {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #ddd;

}


.request-points span {

    width: 24px;

    height: 24px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        var(--primary);

    font-size: 11px;

}


.request-form-card {

    background: white;

    color: var(--text);

    padding: 35px;

    border-radius: 28px;

}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;

}


.form-group {

    margin-bottom: 17px;

}


.form-group label {

    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 700;

}


.form-group input,
.form-group textarea,
.form-group select {

    width: 100%;

    padding:
        13px 14px;

    border:
        1px solid var(--border);

    border-radius: 12px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    background: white;

}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    border-color:
        var(--primary);

}


.request-result {

    margin-top: 15px;

    font-size: 13px;

    min-height: 20px;

}


.request-result.success {

    padding: 14px;

    border-radius: 12px;

    background: #e8faf5;

    color: #08765c;

}


.request-result.success strong,
.request-result.success span {

    display: block;

}


.request-result.error {

    padding: 14px;

    border-radius: 12px;

    background: #fff0f0;

    color: #c33;

}


/* ========================================
   FOOTER
======================================== */


.site-footer {

    padding:
        30px 5%;

    background:
        var(--dark);

    border-top:
        1px solid #292932;

    color:
        #888;

}


.site-footer > div {

    max-width: 1300px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 12px;

}


.site-footer strong {

    color: white;

}


/* ========================================
   PUBLIC MOBILE
======================================== */


@media (max-width: 900px) {

    .hero {

        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 60px;

    }


    .hero-content {

        margin: auto;

    }


    .hero p {

        margin-left: auto;

        margin-right: auto;

    }


    .hero-actions {

        justify-content: center;

    }


    .hero-preview {

        min-height: 580px;

    }


    .features-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .request-container {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 600px) {

    .site-nav {

        min-height: 68px;

    }


    .brand-text {

        display: none;

    }


    .nav-button {

        font-size: 11px;

        padding:
            9px 12px;

    }


    .hero {

        padding:
            50px 20px;

    }


    .hero h1 {

        font-size: 45px;

    }


    .hero p {

        font-size: 14px;

    }


    .features-section,
    .steps-section {

        padding:
            70px 20px;

    }


    .features-grid,
    .steps-grid {

        grid-template-columns: 1fr;

    }


    .request-section {

        padding:
            70px 20px;

    }


    .request-form-card {

        padding: 22px;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .site-footer > div {

        flex-direction: column;

        gap: 10px;

        text-align: center;

    }

}