/* 기본 설정 및 변수 */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --brand-mark-color: #49434c;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* EN typography: Open Sans + Raleway */
html[lang="en"] body {
    font-family: "Open Sans", sans-serif;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5,
html[lang="en"] h6,
html[lang="en"] .font-primary {
    font-family: "Raleway", sans-serif;
}

html[lang="en"] h1.brand-wordmark,
html[lang="en"] h3.footer-brand {
    font-family: "Audiowide", "Inter", "Open Sans", "Raleway", sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* 헤더 및 네비게이션 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
    max-width: 320px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    flex: 0 0 auto;
}

.nav-logo h1.brand-wordmark {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--brand-mark-color);
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0.04em;
    font-family: "Audiowide", "Inter", "Open Sans", "Raleway", sans-serif;
    font-synthesis: weight;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-subtitle {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 2rem;
}

.lang-toggle a {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    transition: color 0.3s ease, background 0.3s ease;
}

.lang-toggle a:hover {
    color: var(--primary-color);
}

.lang-toggle a.active {
    color: var(--text-primary);
    background: rgba(37, 99, 235, 0.12);
}

.lang-toggle .divider {
    color: var(--text-secondary);
    opacity: 0.7;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* 히어로 섹션 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Hero background switch (currently disabled).
       To enable later: set --hero-bg-opacity (e.g. 0.25~0.6) and/or change --hero-bg-image. */
    --hero-bg-image: url("../images/hero-bg.jpg");
    --hero-bg-opacity: 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-bg-image) top center / cover no-repeat;
    opacity: var(--hero-bg-opacity);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-compact {
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
}

.about-actions {
    margin-top: 1.25rem;
}

/* Company/Profile pages */
.page-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    padding: 3.5rem 0;
}

.page-hero-content {
    max-width: 860px;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.page-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.page-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.profile-section {
    padding: 5.5rem 0;
    background: var(--bg-primary);
}

.profile-section-alt {
    background: var(--bg-secondary);
}

.profile-prose {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.profile-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.profile-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.profile-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.profile-card-text {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.profile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary);
}

.profile-list li {
    position: relative;
    padding-left: 1.25rem;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.profile-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: var(--primary-color);
}

.profile-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    box-shadow: var(--shadow);
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th,
.profile-table td {
    text-align: left;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-table th {
    background: rgba(37, 99, 235, 0.08);
    font-weight: 800;
}

.profile-table tr:last-child td {
    border-bottom: none;
}

.profile-cta {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    padding: 2.25rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    box-shadow: var(--shadow);
}

.profile-cta h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.profile-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

/* 히어로 디스플레이 */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-display {
    position: relative;
    width: 100%;
    max-width: 720px;
}

.display-screen {
    position: relative;
    background:
        linear-gradient(135deg,
            rgba(148, 163, 184, 0.10) 0%,
            rgba(15, 23, 42, 0.92) 18%,
            rgba(2, 6, 23, 0.98) 100%
        );
    border-radius: 1rem;
    padding: 0.85rem;
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.display-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 12px 18px rgba(255, 255, 255, 0.03);
}

.screen-content {
    text-align: center;
    color: white;
}

/* Hero image slider (real product photos/screenshots) */
.hero-media-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0.7rem;
    overflow: hidden;
    border: 0;
    outline: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.62),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 30px rgba(0, 0, 0, 0.30);
    background:
        radial-gradient(120% 140% at 18% 0%, rgba(59, 130, 246, 0.22) 0%, rgba(2, 6, 23, 0.25) 45%, rgba(2, 6, 23, 0.75) 100%),
        rgba(2, 6, 23, 0.55);
}

/* Narrow bezel highlight line (LCD-like) */
.hero-media-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    box-shadow:
        inset 0 0 0 1px rgba(226, 232, 240, 0.06),
        inset 0 14px 22px rgba(226, 232, 240, 0.03),
        inset 0 -10px 18px rgba(0, 0, 0, 0.22);
}

.hero-media-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: translateX(14px);
    animation: heroMediaCycle 20s infinite;
}

/* JS slideshow mode (faster + scales to any number of slides) */
.hero-media-slider[data-slideshow="js"] {
    --slideshow-fade: 220ms;
}

.hero-media-slider[data-slideshow="js"] .hero-media-slide {
    animation: none;
    transform: none;
    transition: opacity var(--slideshow-fade) ease;
}

.hero-media-slider[data-slideshow="js"] .hero-media-slide.is-active {
    opacity: 1;
}

.hero-media-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    position: relative;
    z-index: 1;
}

.hero-media-image--contain {
    object-fit: contain;
    object-position: center;
}

.hero-media-slide--1 { animation-delay: 0s; }
.hero-media-slide--2 { animation-delay: 5s; }
.hero-media-slide--3 { animation-delay: 10s; }
.hero-media-slide--4 { animation-delay: 15s; }

@keyframes heroMediaCycle {
    0% { opacity: 0; transform: translateX(14px); }
    8% { opacity: 1; transform: translateX(0); }
    40% { opacity: 1; transform: translateX(0); }
    48% { opacity: 0; transform: translateX(-14px); }
    100% { opacity: 0; transform: translateX(-14px); }
}

@keyframes heroMediaCycleFade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    40% { opacity: 1; }
    48% { opacity: 0; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media-slide {
        transform: none;
        animation-name: heroMediaCycleFade;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* 섹션 공통 스타일 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 회사 소개 섹션 */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* 제품 소개 섹션 */
.products {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-icon {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    margin: 0.75rem auto 1rem auto;
    border: 4px solid var(--bg-secondary);
}

.product-icon.product-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin: 0;
}

.product-icon.product-icon-inline {
    /* Backward compatible alias: inline is now the default */
}

.product-image {
    position: relative;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    height: 200px;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Screenshots: avoid cropping; if constrained, keep the top visible */
.product-card-image--contain-top {
    object-fit: contain;
    object-position: top center;
    background: rgba(15, 23, 42, 0.9);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 기술력 섹션 */
.technology {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.tech-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tech-item p {
    color: var(--text-secondary);
}

/* 연락처 섹션 */
.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

/* Contact (legacy bootstrap layout) */
.contact.contact-legacy {
    padding: 60px 0;
    background: var(--bg-primary);
}

.contact-legacy .legacy-section-title {
    text-align: center;
    padding-bottom: 30px;
}

.contact-legacy .legacy-section-title h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-legacy .contact-info {
    margin-bottom: 20px;
    text-align: center;
}

.contact-legacy .contact-info i {
    font-size: 48px;
    display: inline-block;
    margin-bottom: 10px;
    color: #4f92af;
}

.contact-legacy .contact-info address,
.contact-legacy .contact-info p {
    margin-bottom: 0;
    color: #444;
}

.contact-legacy .contact-info address {
    font-style: normal;
}

.contact-legacy .contact-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 300;
    color: #999;
}

.contact-legacy .contact-info a {
    color: #000;
    text-decoration: none;
}

.contact-legacy .contact-info a:hover {
    color: #4f92af;
    text-decoration: none;
}

.contact-legacy .contact-address,
.contact-legacy .contact-phone,
.contact-legacy .contact-email {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .contact-legacy .contact-phone {
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }

    .contact-legacy .contact-address,
    .contact-legacy .contact-phone,
    .contact-legacy .contact-email {
        padding: 20px 0;
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-text p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 푸터 */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: "Audiowide", sans-serif;
    font-synthesis: weight;
    color: var(--brand-mark-color);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: #94a3b8;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-logo-text {
        max-width: 240px;
    }

    .nav-logo h1 {
        font-size: 1.18rem;
    }

    .logo-subtitle {
        font-size: 0.68rem;
    }

    .nav-menu {
        display: none;
    }

    .page-title {
        font-size: 2.25rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .lang-toggle {
        margin-left: auto;
    }

    /* 모바일에서 햄버거 클릭 시 메뉴 표시 */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 2rem;
        gap: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--border-color);
        border-radius: 0.75rem;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        z-index: 1001;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .nav-logo-text {
        max-width: 170px;
    }

    .logo-subtitle {
        display: none;
    }

    .page-hero {
        padding: 2.75rem 0;
        min-height: 50vh;
    }

    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-card,
    .tech-item {
        padding: 1.5rem;
    }
}

/* 제품 페이지 전용 스타일 */
.product-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.product-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.product-hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.product-features-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-features-summary .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.product-features-summary .feature-item i {
    color: var(--primary-color);
}

/* 제품 데모 스타일 */
.lcd-display-demo, .nvr-system-demo, .embedded-system-demo {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.lcd-screen {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
    color: white;
}

.monitor-screen {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
    color: white;
}

.circuit-board {
    position: relative;
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent-color);
    color: white;
    min-height: 300px;
}

.embedded-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    opacity: 0.3;
    z-index: 1;
}

.board-components {
    position: relative;
    z-index: 2;
}    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    opacity: 0.3;
    z-index: 1;
}

.board-components {
    position: relative;
    z-index: 2;
}

.route-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.departure, .arrival {
    text-align: center;
}

.station {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.time {
    font-size: 0.875rem;
    opacity: 0.8;
}

.journey-line {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 1rem;
}

.line {
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    position: relative;
}

.train-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-color);
    font-size: 1.5rem;
}

.current-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.info-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.info-item .label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.info-item .value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.video-channel {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.video-channel.active {
    border-color: var(--accent-color);
}

.channel-label {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.video-feed {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.25rem;
    padding: 2rem 1rem;
    color: var(--accent-color);
    font-size: 2rem;
}

.recording-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator.recording i {
    color: #ef4444;
    animation: pulse 2s infinite;
}

.storage-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.board-components {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.component {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.component:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.component-label {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.component-icon {
    font-size: 2rem;
    opacity: 0.9;
}

.status-lights {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: blink 2s infinite;
}

.light.green { background: #10b981; }
.light.yellow { background: #f59e0b; }
.light.red { background: #ef4444; }

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 제품 특징 섹션 */
.product-features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.product-categories {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-features {
    list-style: none;
    text-align: left;
}

.category-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.category-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 기술 사양 섹션 */
.tech-specs {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.specs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.spec-category {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.spec-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.spec-category h3 i {
    color: var(--primary-color);
}

.spec-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.spec-value {
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
    margin-left: 1rem;
}

/* 적용 분야 섹션 */
.applications {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.application-card {
    position: relative;
    background: var(--bg-secondary);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.application-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.application-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    opacity: 0.2;
}

.application-icon,
.application-card h3,
.application-card p {
    position: relative;
    z-index: 2;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.application-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.application-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.application-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 문의하기 섹션 */
.product-inquiry {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: white;
}

.inquiry-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.inquiry-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.inquiry-text p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.inquiry-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.inquiry-buttons .btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.inquiry-buttons .btn:hover {
    background: transparent;
    color: white;
}

.inquiry-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.inquiry-buttons .btn-secondary:hover {
    border-color: white;
}

/* 제품 페이지 반응형 */
@media (max-width: 768px) {
    .product-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .product-hero-title {
        font-size: 2rem;
    }
    
    .categories-grid,
    .specs-container,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .inquiry-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .inquiry-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .board-components {
        grid-template-columns: 1fr;
    }
}

/* 실제 이미지 스타일 */
.real-lcd-image, .real-nvr-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.real-image-container {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.lcd-simulation {
    margin-top: 2rem;
}

.simulation-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* LCD 디스플레이 데모 스타일 업데이트 */
.lcd-display-demo {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* 응용 프로그램 이미지 스타일 */
.application-image {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.app-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.application-image:hover .app-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.application-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 2rem;
    color: white;
}