/* 
 * ProHub Sourcing Start - Premium Glassmorphism Design System V2
 * Focus: Ultra High-fidelity B2B Dashboard, Multi-layered Transparency, Dynamic Animations
 */

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

:root {
    --p-emerald: #10b981;
    --p-emerald-light: rgba(16, 185, 129, 0.1);
    --p-indigo: #6366f1;
    --p-indigo-light: rgba(99, 102, 241, 0.1);
    --p-dark-bg: #0b0f1a;
    --p-card-bg: rgba(30, 41, 59, 0.6);
    --p-card-border: rgba(255, 255, 255, 0.1);
    --p-text-main: #f1f5f9;
    --p-text-muted: #94a3b8;
    --p-glass-bg: rgba(255, 255, 255, 0.03);
    --p-glass-border: rgba(255, 255, 255, 0.08);
    --p-glow: 0 0 25px rgba(16, 185, 129, 0.3);
    --p-indigo-glow: 0 0 25px rgba(99, 102, 241, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Outfit', 'Pretendard Variable', sans-serif; }

body { 
    background: radial-gradient(circle at 0% 0%, #1e293b 0%, #0f172a 50%, #0b0f1a 100%);
    color: var(--p-text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glassmorphism Common */
.glass {
    background: var(--p-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--p-card-border);
}

.animate-up { animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; }

/* Header & GNB */
.header {
    position: fixed; top: 0; left: 0; width: 100%; height: 85px;
    background: rgba(11, 15, 26, 0.8); backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--p-glass-border); z-index: 2000;
}
.header-inner {
    max-width: 1700px; margin: 0 auto; padding: 0 4rem; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 1.8rem; font-weight: 900; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--p-emerald); background: linear-gradient(135deg, #10b981, #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.gnb { display: flex; gap: 3.5rem; }
.gnb a { 
    text-decoration: none; color: var(--p-text-muted); font-weight: 700; font-size: 1rem; 
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative;
    letter-spacing: 0.5px;
}
.gnb a:hover, .gnb a.active { color: #fff; }
.gnb a::after {
    content: ''; position: absolute; left: 50%; bottom: -12px; width: 0; height: 3px;
    background: var(--p-emerald); transition: 0.4s; border-radius: 50px; transform: translateX(-50%);
}
.gnb a.active::after { width: 30px; }

/* Hero Section */
.hero {
    position: relative; padding: 200px 2rem 140px; text-align: center;
    background: url('sourcing_premium_hero_1775839036487.png') center/cover no-repeat;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(11, 15, 26, 0.4) 0%, rgba(11, 15, 26, 0.95) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto; }
.hero h1 { font-size: 4.8rem; font-weight: 900; letter-spacing: -3px; margin-bottom: 1.5rem; line-height: 1.05; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero h1 span { color: var(--p-emerald); background: linear-gradient(135deg, #10b981, #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.5rem; color: var(--p-text-muted); margin-bottom: 3.5rem; font-weight: 600; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Large Category Matrix */
.cate-matrix { 
    display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.8rem; 
    margin-top: 4rem; position: relative; z-index: 10; max-width: 1600px; margin-left: auto; margin-right: auto; 
}
.cate-box {
    background: var(--p-glass-bg); border: 1px solid var(--p-glass-border);
    border-radius: 18px; padding: 1.4rem 0.8rem; text-align: center; text-decoration: none;
    transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cate-box:hover { 
    background: rgba(16, 185, 129, 0.15); transform: translateY(-5px); 
    border-color: var(--p-emerald); box-shadow: var(--p-glow);
}
.cate-box .icon { font-size: 1.8rem; margin-bottom: 0.6rem; transition: 0.3s; }
.cate-box:hover .icon { transform: scale(1.15); }
.cate-box .label { color: #fff; font-weight: 800; font-size: 0.85rem; white-space: nowrap; }

/* Partner Hub Section */
.partner-hub {
    margin-top: 6rem; position: relative; z-index: 10;
}
.partner-grid {
    display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem;
}
.partner-tag {
    background: rgba(255,255,255,0.02); border: 1px solid var(--p-glass-border);
    padding: 12px 24px; border-radius: 30px; color: var(--p-text-muted);
    font-weight: 800; text-decoration: none; transition: 0.3s;
    font-size: 0.9rem;
}
.partner-tag:hover {
    background: #fff; color: var(--p-dark-bg); transform: scale(1.05);
}

/* Dashboard & Cards */
.dash-grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 3rem; max-width: 1700px; margin: -60px auto 100px; padding: 0 4rem; position: relative; z-index: 20; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: 1.8rem; font-weight: 900; display: flex; align-items: center; gap: 12px; }

/* Advanced Card */
.p-card-premium {
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--p-glass-border);
    border-radius: 28px; overflow: hidden; transition: 0.4s cubic-bezier(0.2, 0, 0.2, 1); 
    display: flex; flex-direction: column; height: 100%;
}
.p-card-premium:hover { 
    border-color: rgba(16, 185, 129, 0.4); transform: translateY(-8px); 
    background: rgba(255, 255, 255, 0.05); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Ticker Section */
.ticker-card { height: 480px; overflow: hidden; position: relative; border-radius: 28px; }
.ticker-item { padding: 1.5rem; border-bottom: 1px solid var(--p-glass-border); transition: 0.3s; }
.ticker-item:hover { background: rgba(255,255,255,0.03); }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--p-emerald), #059669);
    color: #fff; padding: 14px 28px; border-radius: 14px; font-weight: 900;
    text-decoration: none; box-shadow: var(--p-glow); transition: 0.3s;
    border: none; cursor: pointer; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4); }

/* Animations */
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Sidebar Filters (for products page) */
.sidebar-filter {
    background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(20px);
    border: 1px solid var(--p-glass-border); border-radius: 32px; padding: 2.5rem;
}
.filter-group { margin-bottom: 2.5rem; }
.filter-group h3 { font-size: 1.1rem; font-weight: 800; color: var(--p-emerald); margin-bottom: 1.2rem; }
.filter-opt { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; cursor: pointer; color: var(--p-text-muted); font-weight: 600; }
.filter-opt input { width: 18px; height: 18px; accent-color: var(--p-emerald); }
.filter-opt:hover { color: #fff; }

/* Responsive */
@media (max-width: 1400px) {
    .cate-matrix { grid-template-columns: repeat(4, 1fr); }
    .dash-grid { grid-template-columns: 1fr; }
}
