﻿:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

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

body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.25rem;
}

.logo-badge {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.version-tag {
    background: #eef2ff;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #c7d2fe;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    padding: 36px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.dashboard-header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.subtitle {
    color: #cbd5e1;
    font-size: 1rem;
}

.version-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 16px 24px;
    text-align: center;
}

.version-label {
    font-size: 0.75rem;
    color: #93c5fd;
    letter-spacing: 1px;
}

.version-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.version-meta {
    font-size: 0.75rem;
    color: #cbd5e1;
    margin-top: 4px;
}

/* Grid & Cards */
.grid {
    display: grid;
    gap: 24px;
    margin-bottom: 30px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.info-list li:last-child {
    border-bottom: none;
}

.security-checks li {
    justify-content: flex-start;
    gap: 10px;
    color: #334155;
}

.check-icon {
    color: var(--success);
    font-weight: bold;
}

.text-success { color: var(--success); font-weight: 600; }
.text-warning { color: var(--warning); font-weight: 600; }

/* Deploy Guide */
.deploy-guide-card {
    background: #0f172a;
    color: white;
    border: none;
}

.deploy-guide-card h3 {
    color: white;
}

.deploy-guide-card p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.code-blocks {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.code-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.code-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.code-item code {
    background: #1e293b;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.95rem;
    color: #38bdf8;
    border: 1px solid #334155;
    display: inline-block;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}
