@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

:root {
    --bg-dark: #0B132B;
    --bg-card: #1C2541;
    --bg-surface: #1C2B4A;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --accent-blue: #00B4D8;
    --accent-blue-hover: #0096C7;
    --accent-green: #10B981;
    --accent-amber: #F59E0B;
    --accent-red: #EF4444;
    --border-color: #2A3B5C;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.site-header {
    background: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.4);
}

.logo-title {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 11px;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue);
}

/* Dashboard Container & Grid */
.dashboard-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.dashboard-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.dashboard-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

.status-badge.live {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.preview {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--accent-blue);
}

.stat-card.green::before {
    background: var(--accent-green);
}

.stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.stat-sub {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Section Cards */
.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.section-card-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Table */
.b2b-table {
    width: 100%;
    border-collapse: collapse;
}

.b2b-table th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
}

.b2b-table td {
    padding: 16px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.b2b-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.4);
    transform: translateY(-1px);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}
