/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif; /* 폰트 변경 */
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* 그라데이션 배경 */
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 헤더 및 네비게이션 */
header {
    background-color: rgba(255, 255, 255, 0.9); /* 반투명 배경 */
    padding: 20px 50px;
    position: fixed; /* 상단 고정 */
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px); /* 블러 효과 */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none;
    color: #2563eb; /* 더 진한 파란색 */
    display: flex;
    align-items: center;
    gap: 10px; /* 이미지와 텍스트 사이 간격 */
}

.logo-img {
    height: 40px; /* 로고 이미지 높이 조절 */
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* 간격 방식 변경 */
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #2563eb;
}

.login-link {
    border: 1px solid #2563eb;
    padding: 8px 20px;
    border-radius: 20px;
    color: #2563eb !important;
    transition: all 0.3s;
}

.login-link:hover {
    background-color: #2563eb;
    color: white !important;
}

/* 메인 영웅 섹션 (Hero Section) */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* 전체 화면 채우기 */
    text-align: center;
    padding: 0 20px;
    padding-top: 80px; /* 헤더 높이만큼 여백 */
    flex-grow: 1;
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 0.8s ease-out; /* 등장 애니메이션 */
}

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

h1 {
    font-size: 3.5rem; /* 제목 크기 확대 */
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: -1px;
}

h1 span {
    color: #2563eb; /* 강조 색상 */
}

.hero-content p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 핵심 CTA 버튼 강조 */
.cta-button {
    background: linear-gradient(to right, #2563eb, #1d4ed8); /* 그라데이션 버튼 */
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
    background: linear-gradient(to right, #1d4ed8, #1e40af);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* 비활성화된 버튼 스타일 */
.cta-button:disabled,
.cta-button[disabled] {
    background: #cccccc; /* 회색 배경 */
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.small-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 20px;
    display: block;
}

/* 푸터 스타일 */
footer {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 60px 20px 20px;
}

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

.footer-logo-img {
    height: 30px; /* 푸터 로고 크기 */
    width: auto;
    margin-bottom: 15px;
    display: block;
}

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h4 {
    color: #9ca3af;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* 서브 페이지 공통 스타일 */
.page-content {
    padding-top: 120px; /* 헤더 공간 확보 */
    padding-bottom: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    flex-grow: 1;
}

.features-hero, .pricing-hero, .support-hero, .about-hero {
    text-align: center;
    margin-bottom: 60px;
}

.features-hero h2, .pricing-hero h2, .support-hero h2, .about-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1f2937;
}

/* 기능 페이지 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2563eb;
}

/* 가격 페이지 */
.pricing-table {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #2563eb;
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 15px;
    color: #4b5563;
}

.cta-button.small {
    padding: 12px 25px;
    font-size: 1rem;
    background: #e5e7eb;
    color: #374151;
    box-shadow: none;
}

.cta-button.small:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

/* 지원 페이지 */
.contact-form-section {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #2563eb;
}

/* 체크박스 그룹 스타일 */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
}

.checkbox-group label a {
    color: #2563eb;
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

/* 로그인 페이지 */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 10px; /* 간격 줄임 */
    font-size: 1.8rem;
}

.invite-only-text {
    text-align: center;
    color: #ef4444; /* 빨간색 강조 */
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.cta-button.full-width {
    width: 100%;
    margin-top: 10px;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.signup-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

/* 회사 소개 페이지 스타일 */
.mission-section {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    text-align: center;
}

.mission-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 20px;
}

.founder-section {
    margin-bottom: 60px;
}

.founder-section h3, .company-values h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1f2937;
}

.founder-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.founder-img-placeholder {
    flex: 1;
    background-color: #e5e7eb;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9ca3af;
    font-weight: bold;
}

.founder-img {
    flex: 0 0 200px; /* 너비 고정 */
    width: 200px;
    height: auto; /* 비율 유지 */
    object-fit: contain; /* 잘림 없이 전체 표시 */
    align-self: center; /* 세로 중앙 정렬 */
}

.founder-info {
    flex: 2;
    padding: 40px;
}

.founder-info h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1f2937;
}

.founder-info .position {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
    margin-left: 10px;
}

.founder-info .bio {
    margin-bottom: 20px;
    color: #4b5563;
}

.career-list {
    list-style: disc;
    margin-left: 20px;
    color: #4b5563;
}

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

.value-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.value-item h4 {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 15px;
}

/* 메인 페이지 섹션 추가 스타일 */
.stats-section {
    background-color: white;
    padding: 60px 20px;
    margin-bottom: 0;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 5px;
}

.stat-item p {
    color: #6b7280;
    font-weight: 500;
}

/* 기능 미리보기 섹션 */
.features-preview-section {
    padding: 80px 20px;
    background-color: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card-preview {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

.feature-card-preview:hover {
    transform: translateY(-5px);
}

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

.feature-card-preview h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.feature-card-preview p {
    color: #4b5563;
}

/* 작동 방식 섹션 */
.how-it-works-section {
    padding: 80px 20px;
    background-color: white;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1f2937;
}

.step-item p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* 하단 CTA 섹션 */
.bottom-cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.bottom-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.bottom-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button.white-btn {
    background: white;
    color: #2563eb;
}

.cta-button.white-btn:hover {
    background: #f3f4f6;
    transform: translateY(-3px);
}

/* 반응형 디자인 (모바일) */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .page-content {
        padding-top: 180px; /* 모바일 헤더 높이 고려 */
    }

    /* 회사 소개 페이지 모바일 대응 */
    .founder-card {
        flex-direction: column;
    }

    .founder-img-placeholder {
        min-height: 200px;
    }

    .founder-img {
        width: 100%;
        flex: auto;
        max-height: 300px; /* 모바일 높이 제한 강화 */
    }

    /* 추가 모바일 대응 */
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .section-header h2, .bottom-cta-section h2 {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}
