:root {
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #0ea5e9;
    /* Sky Blue */
    --accent-color: #38bdf8;
    /* Light Blue */
    --text-color: #334155;
    /* Slate 700 */
    --light-text: #94a3b8;
    /* Slate 400 */
    --white: #ffffff;
    --light-bg: #f8fafc;
    /* Slate 50 */
    --dark-bg: #1e293b;
    /* Slate 800 */
    --success: #10b981;
    --font-main: 'Inter', 'Noto Sans KR', sans-serif;

    /* 레이아웃에 영향 적은 속성만 트랜지션 */
    --transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;

    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

.bg-dark .section-header p,
.text-white .section-header p {
    color: #cbd5e1;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.text-white {
    color: var(--white);
}

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

.text-muted {
    color: var(--light-text);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
    background-color: #0284c7;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 16px;
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar--scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo img {
    height: 50px;
    width: auto;
    mix-blend-mode: multiply;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

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

.nav-links .btn-primary {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--accent-color);
    background: linear-gradient(120deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-weight: 300;
}

/* About Section */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-content .lead {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.core-competencies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    text-align: center;
    will-change: transform, box-shadow, border-color;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

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

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-item {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    will-change: transform, box-shadow;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solution-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

/* Products Section */
.products-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    will-change: transform, box-shadow, border-color;
}

.product-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

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

.product-card.highlight-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: none;
}

.product-card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 16px;
}

.product-card ul li {
    margin-bottom: 8px;
}

/* Migration Section */
.migration-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.migration-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.migration-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.migration-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.step h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.migration-note {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Cases Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary-color);
    transition: var(--transition);
    will-change: transform, box-shadow;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.case-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 10px;
}

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

.result-value {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Contact Section */
.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Scroll Animation 공통 클래스 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
    border-top: 1px solid #1e293b;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

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

.footer-copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .solutions-grid,
    .products-list,
    .cases-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .navbar .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px 0;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        align-items: center;
        gap: 20px;
    }

    .navbar .nav-links.active li {
        width: 100%;
        text-align: center;
    }

    .navbar .nav-links.active .btn-primary {
        display: inline-block;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* Footer Contact Icons */
.footer-contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.footer-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    vertical-align: middle;
}