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

:root {
    --primary: #0A192F;
    --accent: #64FFDA;
    --text-primary: #CCD6F6;
    --text-secondary: #8892B0;
    --white: #FFFFFF;
    --bg-dark: #020C1B;
    --bg-light: #112240;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

body {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.section {
    padding: 100px 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    height: 70px;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-switcher a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
}

.lang-switcher a:hover {
    color: var(--accent);
}

.lang-switcher a.active {
    color: var(--accent);
    pointer-events: none;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
    transform-origin: left;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('hero_industrial_tech_1775127118492.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 12, 27, 0.9) 30%, rgba(2, 12, 27, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-tag {
    color: var(--accent);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.hero-btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* Overview Grid */
.overview-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.partner-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

/* Synergy Section */
.synergy-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
}

.synergy-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
}

.synergy-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.synergy-img {
    width: 100%;
    border-radius: 8px;
    margin-top: 1.5rem;
    height: 200px;
    object-fit: cover;
}

/* Products Section */
.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.product-card h3 {
    color: var(--accent);
}

/* Tech Cases */
.tech-case {
    background: linear-gradient(135deg, var(--bg-light) 0%, #1a2a47 100%);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.case-badge {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Info Cards */
.info-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.info-item {
    text-align: center;
    padding: 2rem;
}

.info-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Contact Table */
.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-details div {
    display: flex;
    margin-bottom: 1rem;
    gap: 1rem;
}

.contact-label {
    color: var(--accent);
    min-width: 80px;
    font-weight: 600;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

#scrollTopBtn:hover {
    transform: translateY(-5px);
    background: var(--white);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
    }

    .section {
        padding: var(--section-padding) 0;
    }

    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; margin-bottom: 1rem !important; }
    h3 { font-size: 1.2rem !important; margin-bottom: 0.8rem !important; }
    p { font-size: 0.9rem !important; line-height: 1.5 !important; margin-bottom: 0.8rem !important; }

    nav {
        height: 55px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 1.5rem;
        font-size: 0.75rem;
    }

    .menu-toggle {
        display: flex;
        width: 24px;
        height: 16px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 65%;
        height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(2, 12, 27, 0.7);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-tag {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .partner-card {
        padding: 1.2rem;
    }

    .synergy-card {
        padding: 1.5rem;
    }

    .synergy-img {
        height: 150px;
    }

    .product-grid {
        gap: 1rem;
    }

    .product-card {
        padding: 1.2rem;
    }

    .tech-case {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .info-grid {
        gap: 0.5rem;
    }

    .info-item {
        padding: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-details div {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }

    .contact-label {
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .hero-btn {
        width: 100%;
        text-align: center;
    }

    .synergy-card {
        padding: 1.2rem;
    }

    .contact-details div {
        flex-direction: column;
        gap: 0.2rem;
    }
}