/* ONRROW Homepage Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Noto Sans KR', 'Malgun Gothic', dotum, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--color-body-bg);
    color: var(--color-text-primary);
    font-size: 14px;
    letter-spacing: -0.02em;
    min-height: 100vh;
}

/* ── Header ── */
.hm-header {
    position: fixed; top: 0; left: 0; right: 0; height: 60px;
    background: var(--color-header-bg);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 2px solid #3a8afd;
}
.hm-logo {
    display: flex; align-items: center; gap: 10px;
    color: #fff; text-decoration: none;
}
.hm-logo-text {
    font-family: 'Play', 'Montserrat', sans-serif;
    font-size: 18px; font-weight: 700; color: #fff;
    letter-spacing: 0.05em;
}
.hm-nav { display: flex; align-items: center; gap: 6px; }
.hm-nav-link {
    color: #ccc; text-decoration: none; font-size: 13px; font-weight: 500;
    padding: 8px 14px; transition: color 0.2s;
}
.hm-nav-link:hover { color: #fff; }
.hm-nav-link.active { color: #3a8afd; }
.hm-header-actions { display: flex; align-items: center; gap: 10px; }
.hm-lang-btn {
    background: none; border: 1px solid rgba(255,255,255,0.3);
    color: #ccc; padding: 5px 12px; font-size: 12px; cursor: pointer;
    transition: all 0.2s; font-weight: 500;
}
.hm-lang-btn:hover { border-color: #3a8afd; color: #3a8afd; }
.hm-lang-btn.active { border-color: #3a8afd; color: #3a8afd; background: rgba(58,138,253,0.1); }
.hm-theme-btn {
    background: none; border: none; color: #ccc; font-size: 18px;
    cursor: pointer; padding: 5px; transition: transform 0.3s;
}
.hm-theme-btn:hover { transform: scale(1.2); color: #fff; }

/* ── Hero Section ── */
.hm-hero {
    margin-top: 60px;
    background: linear-gradient(135deg, #0c1015 0%, #1a2a3a 50%, #033480 100%);
    padding: 100px 40px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hm-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233a8afd' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hm-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hm-hero h1 {
    font-family: 'Play', 'Montserrat', sans-serif;
    font-size: 48px; font-weight: 700; color: #fff;
    margin-bottom: 20px; letter-spacing: -0.01em;
}
.hm-hero h1 span { color: #3a8afd; }
.hm-hero p {
    font-size: 17px; color: rgba(255,255,255,0.7);
    line-height: 1.8; margin-bottom: 36px;
}
.hm-hero-actions { display: flex; gap: 14px; justify-content: center; }
.hm-btn {
    padding: 12px 32px; font-size: 15px; font-weight: 600;
    border: none; cursor: pointer; transition: all 0.2s;
    text-decoration: none; display: inline-block; text-align: center;
}
.hm-btn-primary { background: #3a8afd; color: #fff; }
.hm-btn-primary:hover { background: #0050cc; }
.hm-btn-outline {
    background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.hm-btn-outline:hover { border-color: #3a8afd; color: #3a8afd; }

/* ── Container ── */
.hm-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── Section ── */
.hm-section { padding: 80px 0; }
.hm-section-alt { background: var(--color-card-alt-bg); }
.hm-section-title {
    font-family: 'Play', 'Montserrat', sans-serif;
    font-size: 32px; font-weight: 700; color: var(--color-text-primary);
    text-align: center; margin-bottom: 12px;
}
.hm-section-desc {
    font-size: 15px; color: var(--color-text-secondary);
    text-align: center; margin-bottom: 50px; line-height: 1.7;
}

/* ── Values Grid ── */
.hm-values-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.hm-value-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border-light);
    padding: 36px 28px; text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}
.hm-value-card:hover {
    border-color: #3a8afd; transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(58,138,253,0.1);
}
.hm-value-icon {
    font-size: 40px; margin-bottom: 18px; display: block;
}
.hm-value-title {
    font-size: 18px; font-weight: 700; color: var(--color-text-primary);
    margin-bottom: 10px;
}
.hm-value-desc {
    font-size: 14px; color: var(--color-text-secondary); line-height: 1.7;
}

/* ── Services Grid ── */
.hm-services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.hm-service-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border-light);
    padding: 32px; display: flex; gap: 24px; align-items: flex-start;
    transition: border-color 0.2s;
}
.hm-service-card:hover { border-color: #3a8afd; }
.hm-service-icon {
    width: 56px; height: 56px; flex-shrink: 0;
    background: rgba(58,138,253,0.1); color: #3a8afd;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
}
.hm-service-title {
    font-size: 17px; font-weight: 600; color: var(--color-text-primary);
    margin-bottom: 8px;
}
.hm-service-desc {
    font-size: 14px; color: var(--color-text-secondary); line-height: 1.7;
}

/* ── Stats ── */
.hm-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-top: 50px;
}
.hm-stat {
    text-align: center; padding: 24px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border-light);
}
.hm-stat-number {
    font-family: 'Play', 'Montserrat', sans-serif;
    font-size: 36px; font-weight: 700; color: #3a8afd;
    margin-bottom: 6px;
}
.hm-stat-label {
    font-size: 13px; color: var(--color-text-secondary);
}

/* ── About Section ── */
.hm-about-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.hm-about-text h3 {
    font-size: 22px; font-weight: 700; color: var(--color-text-primary);
    margin-bottom: 16px;
}
.hm-about-text p {
    font-size: 15px; color: var(--color-text-secondary); line-height: 1.8;
    margin-bottom: 14px;
}
.hm-about-visual {
    background: linear-gradient(135deg, #0c1015, #1a2a3a, #033480);
    padding: 50px; text-align: center; position: relative;
}
.hm-about-visual-icon {
    font-size: 80px; opacity: 0.3;
}
.hm-about-visual-text {
    font-family: 'Play', sans-serif;
    font-size: 28px; font-weight: 700; color: #fff;
    margin-top: 16px;
}
.hm-about-visual-sub {
    font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 8px;
}

/* ── CTA Section ── */
.hm-cta {
    background: linear-gradient(135deg, #033480, #3a8afd);
    padding: 60px 40px; text-align: center;
}
.hm-cta h2 {
    font-family: 'Play', 'Montserrat', sans-serif;
    font-size: 28px; font-weight: 700; color: #fff;
    margin-bottom: 12px;
}
.hm-cta p {
    font-size: 15px; color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
}
.hm-cta-btn {
    padding: 14px 40px; font-size: 15px; font-weight: 600;
    background: #fff; color: #033480; border: none;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
    display: inline-block;
}
.hm-cta-btn:hover { background: #e8e8e8; }

/* ── Footer ── */
.hm-footer {
    background: #0c1015; padding: 40px;
    border-top: 1px solid #222;
}
.hm-footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.hm-footer-text { font-size: 12px; color: #666; }
.hm-footer-links { display: flex; gap: 20px; }
.hm-footer-link {
    font-size: 12px; color: #888; text-decoration: none;
}
.hm-footer-link:hover { color: #3a8afd; }

/* ── Page Header (sub pages) ── */
.hm-page-header {
    margin-top: 60px;
    background: linear-gradient(135deg, #0c1015 0%, #1a2a3a 100%);
    padding: 60px 40px;
    text-align: center;
}
.hm-page-header h1 {
    font-family: 'Play', 'Montserrat', sans-serif;
    font-size: 36px; font-weight: 700; color: #fff;
    margin-bottom: 10px;
}
.hm-page-header p {
    font-size: 15px; color: rgba(255,255,255,0.7);
}

/* ── Content Block ── */
.hm-content-block {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border-light);
    padding: 40px; margin-bottom: 30px;
}
.hm-content-block h2 {
    font-size: 22px; font-weight: 700; color: var(--color-text-primary);
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 2px solid #3a8afd;
}
.hm-content-block h3 {
    font-size: 18px; font-weight: 600; color: var(--color-text-primary);
    margin: 20px 0 10px;
}
.hm-content-block p {
    font-size: 15px; color: var(--color-text-secondary);
    line-height: 1.8; margin-bottom: 12px;
}
.hm-content-block ul {
    margin: 10px 0 16px 20px;
}
.hm-content-block li {
    font-size: 14px; color: var(--color-text-secondary);
    line-height: 1.8; margin-bottom: 4px;
}

/* ── Timeline ── */
.hm-timeline {
    position: relative; padding-left: 40px;
}
.hm-timeline::before {
    content: ''; position: absolute; left: 16px; top: 0; bottom: 0;
    width: 2px; background: var(--color-border-light);
}
.hm-timeline-item {
    position: relative; margin-bottom: 30px;
}
.hm-timeline-item::before {
    content: ''; position: absolute; left: -32px; top: 4px;
    width: 12px; height: 12px; background: #3a8afd;
    border-radius: 50%;
}
.hm-timeline-year {
    font-family: 'Play', sans-serif;
    font-size: 16px; font-weight: 700; color: #3a8afd;
    margin-bottom: 4px;
}
.hm-timeline-desc {
    font-size: 14px; color: var(--color-text-secondary); line-height: 1.6;
}

/* ── Dark theme ── */
[data-theme="dark"] .hm-hero {
    background: linear-gradient(135deg, #080b0e 0%, #0c1015 50%, #121830 100%);
}
[data-theme="dark"] .hm-page-header {
    background: linear-gradient(135deg, #080b0e 0%, #0c1015 100%);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hm-values-grid { grid-template-columns: repeat(2, 1fr); }
    .hm-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hm-header { padding: 0 20px; }
    .hm-nav { display: none; }
    .hm-hero { padding: 60px 20px 50px; }
    .hm-hero h1 { font-size: 32px; }
    .hm-container { padding: 0 20px; }
    .hm-values-grid, .hm-services-grid { grid-template-columns: 1fr; }
    .hm-about-content { grid-template-columns: 1fr; }
    .hm-hero-actions { flex-direction: column; align-items: center; }
    .hm-section { padding: 50px 0; }
    .hm-page-header { padding: 40px 20px; }
    .hm-page-header h1 { font-size: 28px; }
}
@media (max-width: 480px) {
    .hm-stats { grid-template-columns: 1fr; }
    .hm-header-actions .hm-lang-btn { padding: 4px 8px; font-size: 11px; }
}
