/* =========================================================
   🚀 ARK COMPANIES V7 ENTERPRISE
========================================================= */

:root{

    --bg:#070B14;

    --panel:#0B1220;

    --panel-2:#101827;

    --border:rgba(148,163,184,.15);

    --text:#E5E7EB;

    --muted:#94A3B8;

    --primary:#2563EB;

    --primary-hover:#3B82F6;

}

/* =========================================================
   WRAP
========================================================= */

.company-v7-wrap{

    max-width:1400px;

    margin:0 auto;

    padding:40px 24px 80px;

}

/* =========================================================
   HERO
========================================================= */

.company-hero{

    text-align:center;

    padding:90px 20px 70px;

    margin-bottom:40px;

    border-bottom:
    1px solid rgba(148,163,184,.08);

}

.company-hero-title{

    font-size:56px;

    font-weight:800;

    line-height:1.1;

    letter-spacing:-1px;

    color:#FFFFFF;

    margin-bottom:16px;

}

.company-hero-desc{

    max-width:760px;

    margin:0 auto;

    font-size:18px;

    line-height:1.8;

    color:var(--muted);

}
.company-search-wrap{

    max-width:700px;

    margin:0 auto 40px;

}
#company-search{

    width:100%;

    height:56px;

    padding:0 20px;

    background:#0B1220;

    border:1px solid rgba(148,163,184,.15);

    border-radius:14px;

    color:#fff;

    font-size:15px;

    outline:none;

    transition:.2s;

}
#company-search:focus{

    border-color:#2563EB;

    box-shadow:
    0 0 0 4px rgba(37,99,235,.15);

}

.company-category-filters{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:40px;

    padding:16px;

    background:
    linear-gradient(
        180deg,
        #0B1220,
        #09111F
    );

    border:1px solid rgba(148,163,184,.12);

    border-radius:16px;

}

.filter-item{

    position:relative;

    padding:10px 16px;

    background:
    linear-gradient(
        180deg,
        #111827,
        #0B1220
    );

    border:1px solid rgba(148,163,184,.15);

    border-radius:8px;

    color:#94A3B8;

    font-size:13px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;

    user-select:none;

}
.filter-item:hover{

    color:#E5E7EB;

    border-color:#2563EB;

    transform:translateY(-1px);

}
.filter-item.active{

    background:
    linear-gradient(
        180deg,
        #2563EB,
        #1D4ED8
    );

    color:#FFFFFF;

    border-color:#3B82F6;

}
.filter-item.active::before{

    content:"";

    width:6px;

    height:6px;

    border-radius:50%;

    background:#22C55E;

    display:inline-block;

    margin-right:8px;

    box-shadow:
    0 0 8px rgba(34,197,94,.8);

}
/* =========================================================
   FEATURED
========================================================= */

.featured-section{

    margin-bottom:60px;

}
.section-header{

    margin-bottom:24px;

}
.section-header h2{

    font-size:28px;

    font-weight:800;

    color:#fff;

    margin-bottom:8px;

}
.section-header p{

    color:#94A3B8;

}
.featured-grid{

    display:grid;

    grid-template-columns:
    repeat(4,minmax(0,1fr));

    gap:24px;

}
.company-card.featured{

    border-color:#FBBF24;

}
.company-card.featured:hover{

    border-color:#FCD34D;

}
.company-badge{

    position:absolute;

    top:12px;

    right:12px;

    background:#FBBF24;

    color:#111827;

    padding:6px 10px;

    border-radius:6px;

    font-size:11px;

    font-weight:800;

}
/* =========================================================
   STATS
========================================================= */

.company-stats{

    display:grid;

    grid-template-columns:
    repeat(4,minmax(0,1fr));

    gap:20px;

    margin-bottom:50px;

}

.stat-box{

    background:
    linear-gradient(
        180deg,
        #0B1220 0%,
        #09111F 100%
    );

    border:1px solid var(--border);

    border-radius:16px;

    padding:26px;

    text-align:center;

    transition:.25s;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.03);

}

.stat-box:hover{

    transform:translateY(-3px);

    border-color:var(--primary);

}

.stat-box span{

    display:block;

    font-size:34px;

    font-weight:800;

    color:#FFFFFF;

    margin-bottom:8px;

}

.stat-box label{

    display:block;

    font-size:13px;

    color:var(--muted);

    text-transform:uppercase;

    letter-spacing:.8px;

}

/* =========================================================
   GRID
========================================================= */

.company-grid{

    display:grid;

    grid-template-columns:
    repeat(4,minmax(0,1fr));

    gap:24px;

}

/* =========================================================
   CARD
========================================================= */

.company-card{

    display:flex;

    flex-direction:column;

    min-height:420px;

    padding:22px;

    background:
    linear-gradient(
        180deg,
        #0B1220 0%,
        #09111F 100%
    );

    border:1px solid var(--border);

    border-radius:18px;

    transition:.25s;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.03),
        0 4px 20px rgba(0,0,0,.15);

}

.company-card:hover{

    transform:translateY(-6px);

    border-color:var(--primary);

    box-shadow:
        0 15px 35px rgba(37,99,235,.15);

}

/* =========================================================
   LOGO
========================================================= */

.company-logo{

    width:100px;

    height:100px;

    margin:0 auto 18px;

    border-radius:18px;

    background:#F8FAFC;

    border:1px solid rgba(148,163,184,.12);

    display:flex;

    justify-content:center;

    align-items:center;

}

.company-logo img{

    width:70px;

    height:70px;

    object-fit:contain;

}

/* =========================================================
   TITLE
========================================================= */

.company-title{

    text-align:center;

    font-size:22px;

    font-weight:700;

    color:#FFFFFF;

    margin-bottom:12px;

}

/* =========================================================
   DESCRIPTION
========================================================= */

.company-desc{

    text-align:center;
    font-size:14px;
    line-height:1.7;
    color:var(--muted);
    min-height:72px;
    margin-bottom:18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* 👈 控制显示几行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}

/* =========================================================
   META
========================================================= */

.company-meta{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:10px;

    margin-bottom:18px;

    font-size:13px;

    color:var(--muted);

}

.company-country{

    white-space:nowrap;

}

.company-founded{

    white-space:nowrap;

}

/* =========================================================
   TAGS
========================================================= */

.company-tags{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:6px;

    margin-bottom:20px;

}

.company-tag{

    display:inline-flex;

    align-items:center;

    padding:6px 12px;

    background:#0B2D5A;

    border:1px solid rgba(59,130,246,.18);

    color:#60A5FA;

    border-radius:999px;

    font-size:12px;

    font-weight:600;

}

/* =========================================================
   BUTTON
========================================================= */

.company-button{

    margin-top:auto;

    height:46px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:10px;

    background:
    linear-gradient(
        90deg,
        #2563EB,
        #3B82F6
    );

    color:#FFFFFF;

    font-weight:700;

    text-decoration:none;

    transition:.25s;

}

.company-button:hover{

    background:
    linear-gradient(
        90deg,
        #3B82F6,
        #60A5FA
    );

    color:#FFFFFF;

}

/* =========================================================
   EMPTY
========================================================= */

.company-empty{

    grid-column:1/-1;

    text-align:center;

    padding:60px;

    color:var(--muted);

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1200px){

    .company-grid{

        grid-template-columns:
        repeat(3,minmax(0,1fr));

    }

}

@media(max-width:900px){

    .company-grid{

        grid-template-columns:
        repeat(2,minmax(0,1fr));

    }

    .company-stats{

        grid-template-columns:
        repeat(2,minmax(0,1fr));

    }

    .company-hero-title{

        font-size:46px;

    }

}

@media(max-width:640px){

    .company-grid{

        grid-template-columns:1fr;

    }

    .company-stats{

        grid-template-columns:1fr;

    }

    .company-hero{

        padding:60px 15px 40px;

    }

    .company-hero-title{

        font-size:36px;

    }

    .company-hero-desc{

        font-size:16px;

    }

}

.company-skeleton{
    height:340px;

    border-radius:18px;

    background:
    linear-gradient(
        90deg,
        #0B1220 25%,
        #111827 50%,
        #0B1220 75%
    );

    background-size:400% 100%;

    animation:
    companyLoading 1.2s infinite;
}

@keyframes companyLoading{

    0%{
        background-position:100% 0;
    }

    100%{
        background-position:-100% 0;
    }

}
.company-loading{
    display:grid;
    grid-template-columns:
    repeat(4,minmax(0,1fr));
    gap:24px;
}

.company-skeleton{
    height:340px;

    border-radius:18px;

    background:
    linear-gradient(
        90deg,
        #0B1220 25%,
        #111827 50%,
        #0B1220 75%
    );

    background-size:400% 100%;

    animation:
    skeleton-loading 1.4s infinite;
}
@keyframes skeleton-loading{

    0%{
        background-position:
        100% 0;
    }

    100%{
        background-position:
        -100% 0;
    }

}
.company-empty{

    text-align:center;

    padding:80px 20px;

}
.company-empty-icon{

    font-size:60px;

    margin-bottom:15px;

}
.company-empty h3{

    color:#fff;

    margin-bottom:10px;

}
.company-empty p{

    color:#94A3B8;

}