/* =========================================================
   ANDALALI LANDING PAGE
   File: andalali-landing.css
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    --ink: #0f3334;
    --ink-2: #153e3f;
    --lime: #c7f150;
    --cream: #f5f2ea;
    --mint: #ecf8f5;
    --text: #163536;
    --muted: #73908c;
    --line: #dfe9e5;
    --white: #ffffff;

    --shadow: 0 14px 35px rgba(18, 54, 52, 0.09);
}


/* =========================================================
   2. RESET / GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: #ffffff;
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 44px));
    margin: auto;
}

.dark {
    background: var(--ink);
    color: #f6fffb;
}


/* =========================================================
   3. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 20px;

    border: 0;
    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.btn-sm {
    padding: 9px 14px;
    font-size: 12px;
}

.btn-lime {
    background: var(--lime);
    color: #173632;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #ffffff;
}

.btn-light {
    border: 1px solid #eef4f1;
    background: #f7faf9;
    color: var(--ink);
}

.btn-outline {
    border: 1px solid #bdd8d1;
    background: #ffffff;
    color: var(--ink);
}


/* =========================================================
   4. HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;

    background: #112f34;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 72px;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    font-size: 12px;
}

.nav-links {
    display: flex;
    gap: 28px;

    font-size: 13px;
    opacity: 0.82;
}

.nav-actions {
    display: flex;
    align-items: center;

    gap: 18px;

    font-size: 13px;
}


/* =========================================================
   5. HERO SECTION
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 550px;
    padding: 142px 0 34px;
}

.hero::after {
    content: "";

    position: absolute;
    right: -180px;
    bottom: -260px;

    width: 620px;
    height: 620px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(98, 168, 153, 0.16),
        transparent 65%
    );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;

    gap: 60px;
}

.eyebrow,
.pill {
    color: var(--lime);

    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pill {
    display: inline-flex;

    padding: 6px 9px;

    border: 1px solid rgba(199, 241, 80, 0.36);
    border-radius: 999px;
}

.hero h1 {
    max-width: 580px;

    margin: 18px 0;

    font-size: 57px;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero h1 span {
    color: var(--lime);
}

.hero-copy > p {
    max-width: 570px;

    color: #c8d8d4;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 10px;

    margin-top: 30px;
}


/* =========================================================
   6. HERO SOCIAL PROOF
   ========================================================= */

.hero-proof {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 30px;
}

.avatars {
    display: flex;
}

.avatars span {
    width: 27px;
    height: 27px;

    margin-left: -7px;

    border: 2px solid var(--ink);
    border-radius: 50%;

    background: linear-gradient(145deg, #f0a942, #5f7c78);
}

.avatars span:first-child {
    margin-left: 0;
}

.hero-proof strong {
    display: block;
    font-size: 12px;
}

.hero-proof small {
    display: block;

    color: #8eaaa4;
    font-size: 10px;
}


/* =========================================================
   7. HERO VISUAL / ORBIT
   ========================================================= */

.hero-visual {
    position: relative;
    height: 360px;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border: 1px dashed rgba(142, 195, 181, 0.2);
    border-radius: 50%;
}

.orbit-a {
    width: 315px;
    height: 315px;
}

.orbit-b {
    width: 210px;
    height: 210px;
}

.center-node {
    position: absolute;
    top: 50%;
    left: 50%;

    display: grid;
    place-items: center;

    width: 62px;
    height: 62px;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(199, 241, 80, 0.45);
    border-radius: 50%;

    background: #133f3f;
    color: var(--lime);

    font-weight: 800;

    box-shadow: 0 0 0 12px rgba(199, 241, 80, 0.03);
}


/* =========================================================
   8. HERO MINI CARDS
   ========================================================= */

.mini-card {
    position: absolute;

    display: flex;
    align-items: center;

    gap: 10px;
    padding: 10px 12px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;

    background: #214849;
    color: #ffffff;

    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.mini-card strong {
    display: block;
    font-size: 11px;
}

.mini-card small {
    display: block;

    color: #9bb2ad;
    font-size: 9px;
}

.person-card {
    top: 10px;
    left: 10px;

    min-width: 245px;
}

.metric-card {
    top: 90px;
    right: 0;

    justify-content: space-between;

    width: 145px;
}

.role-card {
    right: 8px;
    bottom: 25px;

    min-width: 255px;
}

.avatar {
    width: 32px;
    height: 32px;

    border-radius: 7px;
}

.orange {
    background: linear-gradient(135deg, #ef9a1c, #f6cb72);
}

.teal {
    background: linear-gradient(135deg, #83c9ba, #275d5b);
}

.score {
    margin-left: auto;
    padding: 6px;

    border: 1px solid rgba(199, 241, 80, 0.35);
    border-radius: 50%;

    color: var(--lime);
    font-size: 9px;
}


/* =========================================================
   9. HERO DECORATIVE DOTS
   ========================================================= */

.dot {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--lime);

    box-shadow: 0 0 14px rgba(199, 241, 80, 0.6);
}

.d1 {
    top: 178px;
    left: 100px;
}

.d2 {
    top: 34px;
    right: 125px;
}

.d3 {
    right: 70px;
    bottom: 80px;
}


/* =========================================================
   10. HERO FEATURES
   ========================================================= */

.hero-features {
    display: flex;
    justify-content: space-between;

    margin-top: 55px;
    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: #9eb8b2;
    font-size: 10px;
}


/* =========================================================
   11. COMMON SECTIONS
   ========================================================= */

.section {
    padding: 78px 0;
}

.section-head {
    margin-bottom: 30px;
}

.split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}

.centered {
    text-align: center;
}

.centered p {
    margin-right: auto;
    margin-left: auto;
}

.kicker {
    color: #3b8e80;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.section h2 {
    margin: 8px 0;

    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section p {
    max-width: 640px;

    color: var(--muted);

    font-size: 14px;
}

.text-link {
    color: #318d7c;

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   12. SEARCH BAR
   ========================================================= */

.searchbar {
    display: grid;
    grid-template-columns: 28px 1fr 140px 140px auto;
    align-items: center;

    height: 50px;
    gap: 8px;
    padding: 0 8px 0 16px;

    border: 1px solid var(--line);
    border-radius: 10px;

    box-shadow: var(--shadow);
}

.searchbar input,
.searchbar select,
.compact-search input {
    border: 0;
    outline: 0;

    background: transparent;
    color: var(--text);

    font: inherit;
}

.searchbar select {
    padding-left: 14px;

    border-left: 1px solid var(--line);
}


/* =========================================================
   13. FILTER CHIPS
   ========================================================= */

.chips {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin: 17px 0;
}

.chip {
    padding: 6px 10px;

    border: 1px solid var(--line);
    border-radius: 999px;

    background: #ffffff;
    color: #6b8580;

    font-size: 10px;
}

.chip.active {
    border-color: var(--ink);

    background: var(--ink);
    color: #ffffff;
}


/* =========================================================
   14. TALENT GRID
   ========================================================= */

.talent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.talent-card {
    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 10px;

    background: #ffffff;

    box-shadow: 0 8px 24px rgba(18, 54, 52, 0.04);
}


/* =========================================================
   15. TALENT PHOTOS
   ========================================================= */

.photo {
    position: relative;

    height: 182px;

    background-position: center;
    background-size: cover;
}

.photo-one {
    background: linear-gradient(
        120deg,
        #e99e13 0 42%,
        #f8cf73 42%
    );
}

.photo-two {
    background: linear-gradient(
        120deg,
        #96b9ae,
        #d9e8e4
    );
}

.photo-three {
    background: linear-gradient(
        120deg,
        #9fb5b3,
        #516d6a
    );
}

.photo::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 50%;

    width: 70px;
    height: 120px;

    transform: translateX(-50%);

    border-radius: 38px 38px 16px 16px;

    background: rgba(255, 255, 255, 0.72);

    box-shadow: 0 -18px 0 -5px rgba(20, 53, 52, 0.5);
}

.photo-two::after {
    background: #f1f4f2;
}

.photo-three::after {
    background: #dce7e4;
}

.fav {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 12px;

    display: grid;
    place-items: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;

    background: #ffffff;
}

.tag {
    position: absolute;
    z-index: 2;
    bottom: 10px;
    left: 12px;

    padding: 4px 7px;

    border-radius: 999px;

    background: #ffffff;
    color: #34947f;

    font-size: 8px;
    font-weight: 800;
}


/* =========================================================
   16. TALENT CARD CONTENT
   ========================================================= */

.card-body {
    padding: 16px;
}

.title-row {
    display: flex;
    justify-content: space-between;

    gap: 12px;
}

.card-body h3 {
    margin: 0;
    font-size: 14px;
}

.match {
    color: #2d927d;

    font-size: 10px;
    font-weight: 800;
}

.card-body > p {
    margin: 2px 0 10px;

    font-size: 10px;
}

.card-body ul {
    margin: 0 0 10px;
    padding: 0;

    list-style: none;

    color: #75928c;

    font-size: 9px;
}

.card-body li {
    margin: 5px 0;
}

.card-body li::before {
    content: "•";

    margin-right: 6px;

    color: #55b7a0;
}

.skill-line {
    display: flex;
    gap: 6px;
}

.skill-line span {
    padding: 4px 6px;

    border-radius: 999px;

    background: #f0f7f5;

    font-size: 8px;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: 12px;
}


/* =========================================================
   17. MATCHING SECTION
   ========================================================= */

.matching {
    padding: 88px 0;
}

.matching-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 90px;
}

.matching h2 {
    color: #ffffff;
    font-size: 41px;
}

.matching p {
    color: #9db5b0;
}


/* =========================================================
   18. NETWORK DIAGRAM
   ========================================================= */

.network-diagram {
    position: relative;
    height: 330px;
}

.center-badge {
    position: absolute;
    top: 50%;
    left: 50%;

    display: grid;
    place-items: center;

    width: 90px;
    height: 90px;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(199, 241, 80, 0.35);
    border-radius: 50%;

    color: var(--lime);

    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.center-badge::after {
    content: "";

    position: absolute;
    inset: -28px;

    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.network-card {
    position: absolute;

    min-width: 125px;
    padding: 10px 16px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;

    background: #1c4748;

    font-size: 10px;
}

.network-card::after {
    content: "";

    position: absolute;

    width: 80px;
    height: 1px;

    background: repeating-linear-gradient(
        90deg,
        rgba(199, 241, 80, 0.25) 0 4px,
        transparent 4px 7px
    );
}

.n1 {
    top: 12px;
    left: 0;
}

.n2 {
    top: 10px;
    right: 0;
}

.n3 {
    top: 135px;
    left: 0;
}

.n4 {
    top: 135px;
    right: 0;
}

.n5 {
    bottom: 12px;
    left: 0;
}

.n6 {
    right: 0;
    bottom: 12px;
}

.n1::after,
.n3::after,
.n5::after {
    top: 50%;
    left: 100%;
}

.n2::after,
.n4::after,
.n6::after {
    top: 50%;
    right: 100%;
}


/* =========================================================
   19. CHECKLIST
   ========================================================= */

.checklist {
    padding: 0;

    list-style: none;

    color: #c5d7d2;

    font-size: 12px;
}

.checklist li {
    margin: 9px 0;
}

.checklist li::before {
    content: "✓";

    margin-right: 9px;

    color: var(--lime);
}


/* =========================================================
   20. INDUSTRY SECTION
   ========================================================= */

.warm {
    background: var(--cream);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 32px;
}

.industry-grid a {
    display: flex;
    justify-content: space-between;

    padding: 17px 18px;

    border: 1px solid #e9ece6;
    border-radius: 6px;

    background: #ffffff;

    font-size: 12px;

    box-shadow: 0 6px 12px rgba(30, 55, 50, 0.02);
}


/* =========================================================
   21. JOB SECTION
   ========================================================= */

.job-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.35fr;
    align-items: center;

    gap: 68px;
}

.compact-search {
    display: grid;
    gap: 8px;

    margin-top: 20px;
}

.compact-search input {
    height: 42px;
    padding: 0 12px;

    border: 1px solid var(--line);
    border-radius: 6px;
}

.jobs-list {
    display: grid;
    gap: 10px;
}

.jobs-list article {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;

    gap: 14px;
    padding: 13px 14px;

    border: 1px solid var(--line);
    border-radius: 8px;
}

.job-icon {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border-radius: 7px;

    background: #e7f8f4;
    color: #2a8e7b;

    font-weight: 800;
}

.jobs-list h3 {
    margin: 0;

    font-size: 13px;
}

.jobs-list p {
    margin: 2px 0 0;

    font-size: 10px;
}


/* =========================================================
   22. FEATURES SECTION
   ========================================================= */

.soft {
    background: #fbfcfb;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 34px;
}

.feature {
    min-height: 150px;
    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: #ffffff;
}

.feature.featured {
    background: var(--ink);
    color: #ffffff;
}

.feature-icon {
    display: inline-grid;
    place-items: center;

    width: 30px;
    height: 30px;

    border-radius: 6px;

    background: #e6f7f2;
    color: #2b967f;
}

.featured .feature-icon {
    background: #d7f4eb;
}

.feature h3 {
    margin: 14px 0 4px;

    font-size: 13px;
}

.feature p {
    margin: 0 0 14px;

    font-size: 10px;
}

.feature a {
    color: #34947e;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   23. COMMUNITY SECTION
   ========================================================= */

.community {
    background: var(--mint);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;

    gap: 80px;
}

.post-card {
    padding: 18px;

    border-radius: 10px;

    background: #ffffff;

    box-shadow: var(--shadow);
}

.post-user {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;

    gap: 10px;
}

.post-user strong,
.post-user small {
    display: block;
}

.post-user strong {
    font-size: 11px;
}

.post-user small {
    color: #8aa09b;

    font-size: 9px;
}

.post-content {
    margin: 15px 0 10px;
    padding: 22px;

    border-radius: 7px;

    background: var(--ink);
    color: #ffffff;

    font-size: 20px;
    line-height: 1.15;
}

.post-meta {
    color: #8ca29d;

    font-size: 9px;
}


/* =========================================================
   24. GLOBAL / GLOBE SECTION
   ========================================================= */

.global {
    overflow: hidden;
}

.global-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 60px;
}

.globe {
    position: relative;

    width: 370px;
    height: 370px;

    margin-left: auto;

    border: 1px solid #d7dfd7;
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 60% 40%,
            rgba(255, 255, 255, 0.7),
            transparent 40%
        ),
        repeating-radial-gradient(
            circle,
            #d7dfd7 0 1px,
            transparent 1px 58px
        );
}

.globe::before,
.globe::after {
    content: "";

    position: absolute;
    inset: 45px;

    border: 1px solid #d7dfd7;
    border-radius: 50%;
}

.globe::before {
    transform: rotate(32deg);
}

.globe::after {
    transform: rotate(-40deg) scaleX(0.55);
}

.gdot {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--lime);
}

.gdot.a {
    top: 150px;
    left: 82px;
}

.gdot.b {
    top: 95px;
    right: 95px;

    background: #ed9d4e;
}

.gdot.c {
    right: 45px;
    bottom: 90px;
}


/* =========================================================
   25. CTA SECTION
   ========================================================= */

.cta {
    padding: 86px 0;
}

.cta h2 {
    color: #ffffff;

    font-size: 40px;
}

.cta p {
    color: #9eb5b0;
}

.centered-actions {
    justify-content: center;
}


/* =========================================================
   26. FOOTER
   ========================================================= */

.footer {
    padding: 54px 0 24px;

    background: #0b292a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr repeat(4, 1fr);
    gap: 34px;
}

.footer h4 {
    margin: 0 0 13px;
    font-size: 11px;
}

.footer a {
    display: block;
    margin: 8px 0;
    color: #9eb5b0;
    font-size: 9px;
}

.footer p {
    color: #8aa4a0;
    font-size: 10px;
}

.socials {
    display: flex;
    gap: 6px;
}

.socials span {
    display: grid;
    place-items: center;

    width: 24px;
    height: 24px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    font-size: 8px;
}

.copyright {
    margin-top: 38px;
    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: #6f8e89;

    font-size: 9px;
}


/* =========================================================
   27. LANDING PAGE OVERRIDES / HOVER STATES
   ========================================================= */

.andalali-landing .btn {
    border: 0;
}

.andalali-landing .btn-lime:hover {
    background: var(--lime);
    color: #173632;
}

.andalali-landing .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.andalali-landing .btn-light:hover {
    background: #eef4f1;
    color: var(--ink);
}

.andalali-landing .btn-outline:hover {
    background: #f4faf8;
    color: var(--ink);
}

.andalali-landing .chip {
    cursor: pointer;
}


/* =========================================================
   28. TABLET RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero-grid,
    .matching-grid,
    .job-grid,
    .community-grid,
    .global-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-visual {
        margin-top: 10px;
    }

    .talent-grid,
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .matching-grid {
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
    }

    .footer-grid > div:nth-child(n + 4) {
        display: none;
    }

    .globe {
        margin: auto;
    }

    .industry-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   29. MOBILE RESPONSIVE
   ========================================================= */

@media (max-width: 640px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav-actions .link {
        display: none;
    }

    /* Hero */

    .hero {
        padding-top: 118px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-copy > p {
        font-size: 14px;
    }

    .hero-visual {
        height: 300px;

        margin-top: 0;

        transform: scale(0.9);
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-features {
        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    /* Common */

    .split {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 58px 0;
    }

    .section h2 {
        font-size: 30px;
    }

    /* Search */

    .searchbar {
        grid-template-columns: 1fr;

        height: auto;
        padding: 12px;
    }

    .searchbar > span {
        display: none;
    }

    .searchbar select {
        padding: 8px 0;

        border-top: 1px solid var(--line);
        border-left: 0;
    }

    /* Grids */

    .talent-grid,
    .feature-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    /* Matching */

    .network-diagram {
        margin: -20px;

        transform: scale(0.82);
    }

    .matching h2,
    .cta h2 {
        font-size: 32px;
    }

    /* Community */

    .community-grid {
        gap: 30px;
    }

    .post-content {
        font-size: 17px;
    }

    /* Globe */

    .globe {
        width: 280px;
        height: 280px;
    }

    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}