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

:root {
    --brand-dark: #0A192F;
    --brand-navy: #0F2C59;
    --brand-blue: #0052CC;
    --brand-blue-hover: #003E99;
    --accent-cyan: #00B4D8;
    
    --bg-body: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-subtle: #F1F5F9;
    --bg-dark-section: #0B192C;
    
    --text-heading: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    
    --border-light: #E2E8F0;
    --border-dark: #1E293B;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
    
    --transition: all 0.25s ease-in-out;
}

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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-body);
    line-height: 1.6;
    word-break: keep-all;
}

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

ul {
    list-style: none;
}

/* ==========================================================================
   Top Utility Bar & Header
   ========================================================================== */
.top-bar {
    background: #061121;
    color: #94A3B8;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.top-bar-info {
    display: flex;
    gap: 24px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-links {
    display: flex;
    gap: 18px;
}

.top-bar-links a {
    color: #CBD5E1;
    transition: var(--transition);
}

.top-bar-links a:hover {
    color: #38BDF8;
}

/* Site Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

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

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

.logo-mark {
    width: 46px;
    height: 46px;
    background: var(--brand-navy);
    border-radius: var(--radius-sm);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
    box-shadow: 0 4px 10px rgba(15, 44, 89, 0.25);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--brand-navy);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

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

.main-gnb {
    display: flex;
    align-items: center;
    gap: 40px;
}

.gnb-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.gnb-link:hover, .gnb-link.active {
    color: var(--brand-blue);
}

.gnb-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brand-blue);
    transition: var(--transition);
}

.gnb-link:hover::after, .gnb-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-quote {
    background: var(--brand-blue);
    color: #FFF;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
}

.btn-header-quote:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-1px);
}

/* ==========================================================================
   Hero Banner Section (B2B Corporate Style)
   ========================================================================== */
.hero-corporate {
    position: relative;
    background: linear-gradient(rgba(10, 25, 47, 0.82), rgba(15, 44, 89, 0.88)),
                url('/static/images/factory_site.png') center/cover no-repeat;
    color: #FFFFFF;
    padding: 130px 24px 140px;
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #38BDF8;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-headline {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-headline span {
    color: #38BDF8;
}

.hero-subhead {
    font-size: 19px;
    font-weight: 300;
    color: #CBD5E1;
    max-width: 820px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-hero-main {
    background: var(--brand-blue);
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
    transition: var(--transition);
}

.btn-hero-main:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFF;
}

/* Key Metrics Counter Bar */
.metrics-bar-wrap {
    max-width: 1280px;
    margin: -50px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.metrics-grid {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 36px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.metric-item {
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.metric-item:last-child {
    border-right: none;
}

.metric-num {
    font-size: 38px;
    font-weight: 900;
    color: var(--brand-navy);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-num span {
    font-size: 22px;
    color: var(--brand-blue);
    font-weight: 700;
}

.metric-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.metric-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section-wrap {
    padding: 100px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 64px;
}

.section-sub {
    font-size: 13px;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-heading);
    letter-spacing: -1px;
}

/* Total OSC Solution Tabs / Steps */
.osc-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.osc-step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    position: relative;
    transition: var(--transition);
}

.osc-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.osc-step-num {
    font-size: 14px;
    font-weight: 900;
    color: var(--brand-blue);
    background: rgba(0, 82, 204, 0.08);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.osc-step-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.osc-step-desc {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

/* Product & Case Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.b2b-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.b2b-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.b2b-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.b2b-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.b2b-card-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.b2b-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.b2b-card-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.b2b-card-meta {
    font-size: 13px;
    color: var(--text-body);
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Banner Download Section */
.cta-banner {
    background: linear-gradient(135deg, #0A192F 0%, #0F2C59 100%);
    color: #FFF;
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 16px;
    color: #94A3B8;
}

/* ==========================================================================
   Quick Floating Dock (Widget)
   ========================================================================== */
.quick-dock {
    position: fixed;
    right: 24px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-dock-item {
    width: 54px;
    height: 54px;
    background: var(--brand-navy);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(15, 44, 89, 0.35);
    transition: var(--transition);
    position: relative;
}

.quick-dock-item:hover {
    background: var(--brand-blue);
    transform: scale(1.1);
}

.quick-dock-item .tooltip {
    position: absolute;
    right: 64px;
    background: var(--text-heading);
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.quick-dock-item:hover .tooltip {
    opacity: 1;
}

/* ==========================================================================
   Forms & Table
   ========================================================================== */
.b2b-form-wrap {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-heading);
    background: #FFF;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.b2b-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.b2b-table th {
    background: var(--bg-subtle);
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-heading);
    border-bottom: 1px solid var(--border-light);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #061121;
    color: #94A3B8;
    padding: 80px 24px 40px;
    border-top: 1px solid #1E293B;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand-title {
    font-size: 24px;
    font-weight: 900;
    color: #FFF;
    margin-bottom: 16px;
}

.footer-details {
    font-size: 14px;
    line-height: 1.8;
    color: #94A3B8;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 20px;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #94A3B8;
    font-size: 14px;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: #38BDF8;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #1E293B;
    text-align: center;
    font-size: 13px;
    color: #64748B;
}

@media (max-width: 1024px) {
    .metrics-grid, .osc-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .main-gnb { display: none; }
    .hero-headline { font-size: 34px; }
    .metrics-grid, .osc-steps-grid, .card-grid { grid-template-columns: 1fr; }
    .metric-item { border-right: none; border-bottom: 1px solid var(--border-light); padding-bottom: 16px; }
    .footer-container { grid-template-columns: 1fr; }
}
