/* ============================================
   OpenHash 실용 서비스 - 정부 표준 스타일
   Material Design + 한국 정부 디자인 가이드라인
   ============================================ */

:root {
    --gov-primary: #1a3a6e;
    --gov-secondary: #2c5494;
    --gov-accent: #3d6cb9;
    --gov-light: #4a7fc7;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Hero Section */
.practical-hero {
    background: linear-gradient(135deg, var(--gov-primary) 0%, var(--gov-secondary) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.practical-hero h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.practical-hero p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.practical-main {
    padding: 2.5rem 0 4rem;
    background: var(--gray-50);
    min-height: 70vh;
}

/* Section */
.category-section {
    margin-bottom: 2.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gov-primary);
}

.section-icon {
    width: 28px;
    height: 28px;
    background: var(--gov-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.875rem;
}

.section-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.section-desc {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-left: auto;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

/* Category Card */
.category-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.category-card:hover {
    border-color: var(--gov-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gov-primary);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.card-content {
    flex: 1;
    min-width: 0;
}

.card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.card-content p {
    font-size: 0.813rem;
    color: var(--gray-600);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.card-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* Assistant Section */
.assistant-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.assistant-section .section-header {
    border-bottom: 1px solid var(--gray-200);
}

.assistant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.assistant-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}

.assistant-card:hover {
    background: var(--white);
    border-color: var(--gov-accent);
    box-shadow: var(--shadow-sm);
}

.assistant-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--gov-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.assistant-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.assistant-info {
    flex: 1;
    min-width: 0;
}

.assistant-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    display: block;
}

.assistant-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Stats Section */
.stats-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gov-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.813rem;
    color: var(--gray-600);
}

/* Responsive */
@media (max-width: 768px) {
    .practical-hero { padding: 2rem 0; }
    .practical-hero h1 { font-size: 1.5rem; }
    .section-header { flex-wrap: wrap; }
    .section-desc { width: 100%; margin-left: 2.75rem; margin-top: 0.25rem; }
    .category-grid { grid-template-columns: 1fr; }
    .assistant-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
