:root {
    /* Colors */
    --primary: #0066CC;
    /* Tech Blue */
    --primary-dark: #004C99;
    --secondary: #1A1A1A;
    /* Dark Grey */
    --accent: #00C2FF;
    /* Cyan Highlight */
    --background: #F8F9FA;
    --surface: #FFFFFF;
    --text: #333333;
    --text-light: #666666;
    --border: #E0E0E0;
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    margin-top: -70px;
    /* Offset header height */
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    color: white;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About Section Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

.about-section {
    margin-bottom: var(--spacing-lg);
}

.about-section h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.about-section ul {
    list-style-type: none;
    padding-left: 0;
}

.about-section li {
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: 20px;
}

.about-section li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.history-list li {
    margin-bottom: 10px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.product-card {
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-content {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.product-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.link-text {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background-color: var(--secondary);
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.contact-info h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin-top: var(--spacing-lg);
}

.contact-details li {
    margin-bottom: var(--spacing-sm);
}

.contact-form {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.footer {
    background-color: #111;
    color: #888;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-logo {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-list.active {
        display: flex;
    }
}

/* Product Page Styles */
.product-hero {
    background-color: var(--secondary);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.product-layout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.feature-img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background-color: #fff;
}

.features-list {
    margin: var(--spacing-lg) 0;
}

.features-list ul {
    list-style: disc;
    padding-left: var(--spacing-lg);
    margin-top: var(--spacing-sm);
}

.features-list li {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

/* Sample Photos Grid */
.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.sample-item {
    text-align: center;
}

.sample-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.sample-item img:hover {
    transform: scale(1.02);
}

.caption {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 500;
}

/* Tech Intro Specifics */
.tech-intro .product-image-large {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.specs {
    margin-bottom: var(--spacing-lg);
}

.specs table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-sm);
}

.specs td {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border);
}

.specs td:first-child {
    font-weight: 600;
    color: var(--secondary);
    width: 40%;
}

@media (max-width: 768px) {
    .product-layout {
        /* Already column */
    }
}

/* Language Visibility */
[data-lang="en"] .lang-ko {
    display: none !important;
}

[data-lang="ko"] .lang-en {
    display: none !important;
}

.lang-toggle-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: var(--spacing-md);
    transition: all 0.3s ease;
}

.lang-toggle-btn:hover {
    background: var(--primary);
    color: white;
}

/* New Language Switcher Styles */
.lang-switcher {
    display: flex;
    gap: 5px;
    margin-left: var(--spacing-md);
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Subtle border for header */
    color: var(--secondary);
    /* Default text color */
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header .lang-btn {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary);
    color: white;
}

/* Model Lineup Table */
.model-lineup table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.model-lineup th,
.model-lineup td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.model-lineup th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--text-dark);
}

.model-lineup tr:hover {
    background-color: #f8f9fa;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.app-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.app-card h4 {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    color: var(--text-dark);
}

.app-card p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}