/* CSS Variables */
:root {
    --primary-color: #00C896;
    --primary-dark: #00A67A;
    --primary-light: #E6F7F2;
    --background: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #E5E5E5;
    --bg-light: #F8F9FA;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--primary-dark);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--background) 100%);
    background-image: url('../images/hero-image_16vs9.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 600px;
    aspect-ratio: 16 / 9; /* 16:9 비율 */
    display: flex;
    align-items: flex-start; /* 위쪽 정렬 */
    justify-content: center;
    width: 100%; /* 전체 너비 */
    padding-top: 70px; /* 위쪽 여백 추가 */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* 텍스트가 오버레이 위에 보이도록 */
    padding: 0 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #FFFFFF; /* 하얀색 */
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); /* 텍스트 그림자로 가독성 향상 */
}

.hero-subtitle {
    font-size: 20px;
    color: #FFFFFF; /* 하얀색 */
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 텍스트 그림자로 가독성 향상 */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Page Hero */
.page-hero {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-light);
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Section Styles */
.content-section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 48px;
    text-align: center;
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--background);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.service-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

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

.feature-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.feature-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

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

.content-card {
    background: var(--background);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.content-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Info List */
.info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

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

.info-label {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.info-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.team-card {
    background: var(--background);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.team-avatar {
    font-size: 64px;
    margin-bottom: 24px;
}

.team-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.team-role {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 16px;
}

.team-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* History Timeline */
.history-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
    padding-left: 40px;
}

.history-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.history-item:last-child::before {
    display: none;
}

.history-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
}

.history-content {
    flex: 1;
}

.history-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.history-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Location */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.location-info {
    background: var(--background);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.location-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.location-address {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.location-subway {
    font-size: 16px;
    color: var(--text-secondary);
}

.map-placeholder {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 80px 32px;
    text-align: center;
    border: 2px dashed var(--border-color);
}

.map-placeholder p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.map-note {
    font-size: 14px;
    color: var(--text-light);
}

/* Service Detail */
.service-detail-section {
    padding: 100px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-content {
    padding: 32px 0;
}

.service-detail-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.service-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.service-detail-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.service-features {
    list-style: none;
}

.service-features li {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.service-detail-image {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
}

.image-placeholder {
    padding: 120px 32px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.use-case-card {
    background: var(--background);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.use-case-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.use-case-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--background);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

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

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info */
.contact-info {
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    align-items: start;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.contact-hours {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.contact-hours-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-hours-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-family: inherit;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.footer-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-subtitle {
        font-size: 18px;
    }

    .page-title {
        font-size: 36px;
    }

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

    .nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .services-grid,
    .features-list,
    .content-grid,
    .team-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .service-detail,
    .location-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .history-item {
        flex-direction: column;
        padding-left: 0;
    }

    .history-item::before {
        display: none;
    }

    .history-year {
        margin-bottom: 8px;
    }

    .hero {
        min-height: 500px;
        aspect-ratio: 1 / 1;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }

    .content-section,
    .service-detail-section {
        padding: 60px 0;
    }

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

    .service-detail-title {
        font-size: 28px;
    }
}

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

    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero {
        min-height: 400px;
        aspect-ratio: 1 / 1;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }

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

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

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
}

