:root {
    --bg-dark: #050b14;
    --bg-darker: #02050a;
    --accent-blue: #00e5ff;
    --accent-deep: #0055ff;
    --text-main: #f0f4f8;
    --text-muted: #9aa8b8;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', 'Noto Sans KR', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 2.5rem 0 8rem 0;
    min-height: 100vh;
}

#closing.section-padding {
    min-height: auto;
    padding-bottom: 5rem;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

header.scrolled {
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.logo-link {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.logo-img {
    height: 180px;
    display: block;
    filter: invert(1) hue-rotate(180deg);
    mix-blend-mode: screen;
    transition: height 0.3s ease;
}

nav ul {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover,
nav a.active {
    color: var(--accent-blue);
}

/* Mobile Menu Initial Setup */
.mobile-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger {
    width: 30px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    left: 0;
}

.hamburger::before {
    top: -9px;
}

.hamburger::after {
    bottom: -9px;
}

.hamburger.active {
    background: transparent;
}

.hamburger.active::before {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active::after {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 180px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(5, 11, 20, 0.2) 0%, rgba(5, 11, 20, 1) 80%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--accent-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--accent-blue);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* Typography & Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

.section-title span {
    color: var(--accent-blue);
}

.subtitle-wrap {
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Vision */
.vision .quote {
    font-size: 2.2rem;
    font-weight: 300;
    background: linear-gradient(90deg, #fff, #88aaff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    word-break: keep-all;
    line-height: 1.4;
}

.vision .desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.vision .desc strong {
    color: #fff;
    font-weight: 600;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Glass Cards */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 229, 255, 0.2);
}

.philosophy .icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-blue);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: all 0.3s ease;
}

.glass:hover .icon {
    background: var(--accent-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.philosophy h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.philosophy p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.philosophy p strong {
    color: #fff;
    font-weight: 600;
}

/* Core Competencies */
.feature-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(5, 11, 20, 0.9) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 229, 255, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.feature-card h4 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.feature-kor {
    color: var(--accent-blue);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.feature-text {
    flex-grow: 1;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.feature-text p:last-child {
    margin-bottom: 0;
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}


.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.contact-form .submit-btn {
    margin-top: 1rem;
    width: 100%;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 1.2rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Why Us / Closing */
.relative {
    position: relative;
}

.view-border {
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 4rem;
    background: rgba(15, 23, 42, 0.3);
}

.closing-box {
    margin: 0;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.6;
    background: linear-gradient(90deg, #fff, #88aaff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border: none;
    padding: 0;
}

.closing-box strong {
    font-weight: 800;
    font-size: 2.8rem;
    display: block;
    margin-top: 1rem;
    background: linear-gradient(90deg, #00e5ff, #0055ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.closing-brand {
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
}

.flex-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-contact {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-contact a {
    color: var(--accent-blue);
}

/* Animations */
.observer-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.observer-target.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .check-list {
        grid-template-columns: 1fr;
    }

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

    .mobile-menu {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 11, 20, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 999;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    nav a {
        font-size: 1.8rem;
        font-weight: 600;
        color: #fff;
    }

    .view-border {
        padding: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

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

    .flex-footer {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-contact {
        text-align: center;
    }
}