:root {
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --surface-muted: #f6f8fb;
    --accent-color: #1768d8;
    --accent-color-dark: #0e55b7;
    --accent-soft: #eaf2ff;
    --text-primary: #202938;
    --text-secondary: #657286;
    --border-color: #dce3ec;
    --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.dicom-theme {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
}

.dicom-theme .navbar {
    background-color: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.dicom-theme .navbar-brand,
.dicom-theme .nav-link {
    color: var(--text-primary) !important;
}

.dicom-theme .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 50% 0%, #edf5ff 0%, #ffffff 65%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(23, 104, 216, 0.17) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.45;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
}

.dicom-hero-subtitle {
    max-width: 1200px;
    line-height: 1.5;
    word-break: keep-all;
}

.dicom-hero-subtitle span {
    display: block;
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-title .badge {
    background-color: var(--accent-soft);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 8px 16px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Cards */
.dicom-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
}

.dicom-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(23, 104, 216, 0.13);
}

.dicom-card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.dicom-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.dicom-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Grid */
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon-small {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-right: 20px;
    flex-shrink: 0;
}

/* Demo Section */
.demo-box {
    background: linear-gradient(135deg, #ffffff 0%, #f3f7fc 100%);
    border: 1px solid var(--accent-color);
    border-radius: 16px;
    padding: 60px;
    text-align: center;
}

.btn-dicom {
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-dicom:hover {
    background-color: var(--accent-color-dark);
    transform: scale(1.05);
    color: #fff;
}

.btn-outline-dicom {
    background-color: transparent;
    color: var(--accent-color);
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    border: 2px solid var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-dicom:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Pricing */
.pricing-table {
    border-collapse: separate;
    border-spacing: 0 10px;
    width: 100%;
}

.pricing-table tr {
    background: var(--card-bg);
}

.pricing-table td,
.pricing-table th {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-table td:first-child,
.pricing-table th:first-child {
    border-left: 1px solid var(--border-color);
    border-radius: 12px 0 0 12px;
}

/* 제안 가격표: 서비스 항목 열 고정 너비·한 줄 */
.pricing-table.pricing-offer {
    table-layout: fixed;
}

.pricing-table.pricing-offer td:first-child,
.pricing-table.pricing-offer th:first-child {
    width: 200px;
    max-width: 200px;
    white-space: nowrap;
}

.pricing-table td:last-child,
.pricing-table th:last-child {
    border-right: 1px solid var(--border-color);
    border-radius: 0 12px 12px 0;
}

.price-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-color);
    width: 330px;
}

/* Pricing Highlight */
.pricing-table tr.pricing-highlight {
    background: var(--accent-soft);
    position: relative;
    font-weight: bold;
    z-index: 1;
}

.pricing-table tr.pricing-highlight td {
    border-top: 1px solid var(--accent-color) !important;
    border-bottom: 1px solid var(--accent-color) !important;
    padding-left: 10px !important;
}

.pricing-table tr.pricing-highlight td:first-child {
    border-left: 1px solid var(--accent-color) !important;
}

.pricing-table tr.pricing-highlight td:last-child {
    border-right: 1px solid var(--accent-color) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 80px 0 40px;
    }
}
