/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD600;
    --secondary-black: #000000;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --bg-gray: #E8E8E8;
    --bg-darker: #C0C0C0;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

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

.nav-brand {
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary-black);
    letter-spacing: -0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: var(--secondary-black);
    font-weight: 700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary-black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Exfile Hero Section */
.exfile-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #E8EEF2 100%);
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.exfile-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 214, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-50px, 50px);
    }
}

.exfile-hero .container {
    position: relative;
    z-index: 1;
}

.exfile-hero h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -2px;
    color: var(--text-dark);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 16px;
    line-height: 2;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.4s;
}

.hero-image-container {
    width: 100%;
    max-width: 900px;
    height: 400px;
    border-radius: 20px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -1.5px;
    color: var(--text-dark);
    margin-bottom: 80px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-yellow);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.feature-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:nth-child(1) { transition-delay: 0s; }
.feature-item:nth-child(2) { transition-delay: 0.1s; }
.feature-item:nth-child(3) { transition-delay: 0.2s; }

.feature-image {
    width: 100%;
    height: 220px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 214, 0, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

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

.feature-image:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-image:hover img {
    transform: scale(1.1);
}

.feature-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.feature-item:hover .feature-content h3 {
    color: var(--secondary-black);
}

.feature-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
    letter-spacing: -0.3px;
}

/* Job Types Section */
.job-types-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.job-type-block {
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.job-type-block.animated {
    opacity: 1;
    transform: translateY(0);
}

.job-type-block:nth-child(1) { transition-delay: 0s; }
.job-type-block:nth-child(2) { transition-delay: 0.2s; }
.job-type-block:nth-child(3) { transition-delay: 0.4s; }
.job-type-block:nth-child(4) { transition-delay: 0.6s; }

.job-type-block:last-child {
    margin-bottom: 0;
}

.job-header h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.job-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-yellow);
}

.job-header p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 30px;
    letter-spacing: -0.3px;
}

.job-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.job-keywords span {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-yellow);
    letter-spacing: -0.3px;
    transition: all 0.3s ease;
    cursor: default;
}

.job-keywords span:hover {
    color: var(--secondary-black);
    transform: translateY(-2px);
}

.job-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.job-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    filter: brightness(0.95);
    image-rendering: auto;
    will-change: transform;
    content-visibility: auto;
}

.job-images img:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    filter: brightness(1);
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .exfile-hero h1 {
        font-size: 38px;
    }

    .section-title {
        font-size: 32px;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .job-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 0;
    }

    .nav-menu li {
        padding: 15px 40px;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .exfile-hero {
        padding: 140px 0 80px;
    }

    .exfile-hero h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .job-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .exfile-hero h1 {
        font-size: 26px;
    }

    .hero-image-container {
        height: 250px;
    }

    .feature-content h3 {
        font-size: 22px;
    }

    .job-header h2 {
        font-size: 26px;
    }

    .job-images img {
        height: 200px;
    }
}

/* Footer */
.footer {
    background: var(--secondary-black, #000000);
    color: var(--white, #ffffff);
    padding: 80px 0 40px;
}

.footer .container {
    max-width: 1200px;
}

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

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-company-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-yellow, #FFD600);
}

.footer-info p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-yellow, #FFD600);
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white, #ffffff);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-yellow, #FFD600);
    color: var(--secondary-black, #000000);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-info p {
        font-size: 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-social {
        justify-content: flex-start;
    }
}
