/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* 헤더 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

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

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

/* 히어로 섹션 */
.hero {
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 630px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: 2.8rem 2.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    font-size: 0.6125rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.cta-primary {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 히어로 통계 */
.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 0;
    margin-top: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stat-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* 섹션 공통 */
.section {
    padding: 6rem 0;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}



/* 회사 소개 */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.partners {
    margin-top: 3rem;
}

.partners h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.partner-item {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.partner-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.partner-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* 서비스 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* 전문성 */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.expertise-item {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.expertise-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.expertise-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.expertise-item h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.expertise-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* 진행 절차 */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-item {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    text-align: center;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.process-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.process-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.process-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

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

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

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: -30px auto 1.5rem;
    position: relative;
    z-index: 1;
}

.process-content {
    padding: 0 2rem 2rem;
}

.process-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* 문의 섹션 */
.contact-section {
    background: var(--bg-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-item strong {
    color: var(--text-dark);
}

/* 폼 */
.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--bg-white);
}

.form-group textarea::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 푸터 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

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

/* 반응형 */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* 헤더 모바일 최적화 */
    .header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo img {
        height: 2rem;
    }
    
    .nav {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .nav a {
        font-size: 0.875rem;
    }
    
    /* 히어로 섹션 모바일 최적화 */
    .hero {
        padding: 5rem 0 2rem;
        min-height: calc(100vh - 150px);
    }
    
    .hero-content {
        padding: 2rem 1.25rem;
        margin: 0 0.5rem;
        max-width: 90%;
    }
    
    .hero-badge {
        font-size: 0.525rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.7rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* 히어로 통계 모바일 최적화 */
    .hero-stats {
        padding: 2rem 0;
        margin-top: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* 섹션 공통 모바일 최적화 */
    .section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    

    
    /* 서비스 섹션 모바일 최적화 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        margin: 0 0.5rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-content p {
        font-size: 0.95rem;
    }
    
    /* 기업정보 섹션 모바일 최적화 */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-image img {
        height: 250px;
    }
    
    .partners h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .partner-item {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* 전문성 섹션 모바일 최적화 */
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .expertise-item {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .expertise-item h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .expertise-item p {
        font-size: 0.9rem;
    }
    
    /* 문의 섹션 모바일 최적화 */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .contact-item {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* 푸터 모바일 최적화 */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-logo img {
        height: 1.5rem;
    }
    
    .footer-info p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* 헤더 초소형 화면 최적화 */
    .header-content {
        padding: 0.5rem 0;
    }
    
    .logo img {
        height: 1.75rem;
    }
    
    .nav {
        gap: 0.75rem;
    }
    
    .nav a {
        font-size: 0.8rem;
    }
    
    /* 히어로 초소형 화면 최적화 */
    .hero {
        padding: 4rem 0 1.5rem;
        min-height: calc(100vh - 120px);
    }
    
    .hero-content {
        padding: 1.75rem 1rem;
        margin: 0 0.25rem;
        max-width: 85%;
    }
    
    .hero-badge {
        font-size: 0.49rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.25rem;
    }
    
    .hero h1 {
        font-size: 1.225rem;
        line-height: 1.1;
        margin-bottom: 1.25rem;
    }
    
    .hero-description {
        font-size: 0.63rem;
        line-height: 1.5;
        margin-bottom: 1.75rem;
    }
    
    .cta-primary, .cta-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        max-width: 240px;
    }
    
    /* 히어로 통계 초소형 화면 최적화 */
    .hero-stats {
        padding: 1.5rem 0;
        margin-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* 섹션 공통 초소형 화면 최적화 */
    .section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section h2 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    

    
    /* 서비스 초소형 화면 최적화 */
    .service-card {
        margin: 0 0.25rem;
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .service-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
    
    /* 기업정보 초소형 화면 최적화 */
    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .about-image img {
        height: 200px;
    }
    
    .partners h3 {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }
    
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .partner-item {
        padding: 0.875rem;
        font-size: 0.85rem;
    }
    
    /* 전문성 초소형 화면 최적화 */
    .expertise-item {
        padding: 1.25rem;
        margin: 0 0.25rem;
    }
    
    .expertise-item h4 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .expertise-item p {
        font-size: 0.85rem;
    }
    
    /* 문의 초소형 화면 최적화 */
    .contact-info h3 {
        font-size: 1.25rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 0.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* 푸터 초소형 화면 최적화 */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-logo img {
        height: 1.25rem;
    }
    
    .footer-info p {
        font-size: 0.8rem;
    }
}
