/* Variables & Reset */
:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --dark-bg: #0a0e17;
    --darker-bg: #05070a;
    --text-light: #f0f4f8;
    --text-muted: #a0aec0;
    --glass-bg: rgba(10, 14, 23, 0.7);
    --glass-border: rgba(0, 210, 255, 0.2);
    --font-main: 'Noto Sans KR', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 5px 0;
}

header.scrolled {
    padding: 2px 0;
    background: rgba(5, 7, 10, 0.9);
}

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

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

.logo img {
    height: 40px;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

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

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

/* Hero Carousel */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 5s linear;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(5, 7, 10, 0.9) 0%, rgba(5, 7, 10, 0.4) 50%, rgba(5, 7, 10, 0.1) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 600px;
    opacity: 0;
    transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(-50%) translateX(20px);
}

.slide-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-desc {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: 300;
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-dark { background-color: var(--dark-bg); }
.bg-darker { background-color: var(--darker-bg); }
.bg-gradient {
    background: linear-gradient(135deg, var(--darker-bg), #0f172a);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: #fff;
}

.section-title.left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 60px;
}

/* Strategy Grid */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.strategy-card {
    background: var(--glass-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}

.strategy-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.strategy-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.strategy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.strategy-card p {
    color: var(--text-muted);
}

/* Core Technology */
.tech-highlight {
    display: flex;
    align-items: center;
    gap: 60px;
}

.tech-content {
    flex: 1;
}

.tech-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tech-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

.tech-image-placeholder {
    flex: 1;
    height: 400px;
    border-radius: 20px;
    background: url('assets/carousel3.jpg') center/cover;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.tech-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(0, 210, 255, 0.2), transparent);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

/* Lineup Grid */
.lineup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.lineup-card {
    background: #111827;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.lineup-card:hover {
    transform: scale(1.03);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--primary-color);
}

/* Instead of specific images, we'll use gradients for now or reuse carousel imgs */
.high-end { background: linear-gradient(to bottom right, #1a2a6c, #b21f1f, #fdbb2d); }
.mid-range { background: linear-gradient(to bottom right, #000428, #004e92); }
.logistics { background: linear-gradient(to bottom right, #4b6cb7, #182848); }

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.spec {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.card-content p:last-child {
    color: var(--text-muted);
}

/* Contact Banner */
.contact-banner {
    background: linear-gradient(to right, rgba(0, 210, 255, 0.1), rgba(58, 123, 213, 0.1));
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.contact-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-banner p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-large {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: var(--primary-color);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-3px);
    background: #00b8e6;
}

/* Footer */
footer {
    background: var(--darker-bg);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-logo img {
    height: 40px;
    margin-bottom: 10px;
    filter: grayscale(100%);
    opacity: 0.7;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-info h4, .footer-links h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-info a:hover {
    color: var(--primary-color);
}

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

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .tech-highlight {
        flex-direction: column;
    }
    .tech-image-placeholder {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .slide-title {
        font-size: 2.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo img {
        margin: 0 auto 10px;
    }
}
