/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 모바일 터치 최적화 */
html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 헤더 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

/* 히어로 섹션 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    /* 모바일 터치 최적화 */
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

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

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

/* 섹션 공통 스타일 */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* 소개 섹션 */
.about {
    background: #f8fafc;
}

/* 경력 기술서 섹션 */
.experience {
    background: white;
}

.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #2563eb, #10b981);
}

.experience-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #e5e7eb;
}

.experience-item.current::before {
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 4px #e5e7eb;
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.3);
    }
    100% {
        box-shadow: 0 0 0 4px #e5e7eb;
    }
}

.experience-period {
    position: absolute;
    left: -200px;
    top: 0;
    width: 180px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.period-text {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.current-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.experience-content {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.experience-content:hover {
    transform: translateY(-5px);
}

.company-info h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.company-info h4 {
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.experience-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.summary-text {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.experience-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.experience-toggle-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

.experience-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

.experience-details.expanded {
    max-height: 2000px;
    opacity: 1;
    margin-top: 1.5rem;
}

.project-section {
    margin-bottom: 2rem;
}

.project-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
}

.project-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-item h5 {
    color: #1f2937;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-description {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.project-details li {
    color: #374151;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 1.5rem;
}

.project-details li:last-child {
    border-bottom: none;
}

.project-details li::before {
    content: '•';
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: #eff6ff;
    color: #2563eb;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #dbeafe;
}

.growth-section {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #0ea5e9;
}

.growth-section h5 {
    color: #0c4a6e;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.growth-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.growth-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.growth-item:hover {
    transform: translateX(5px);
}

.growth-item i {
    color: #0ea5e9;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.growth-item span {
    color: #0c4a6e;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

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

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.career-path {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.career-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.career-step i {
    font-size: 2rem;
    color: #2563eb;
}

.career-arrow {
    font-size: 1.5rem;
    color: #6b7280;
}

.current-status {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #eff6ff;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.current-status p {
    margin: 0;
    color: #1e40af;
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

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

/* 프로젝트 섹션 */
.projects {
    background: white;
}

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

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* 모바일 터치 최적화 */
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.project-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* 기술 스택 섹션 */
.tech-stack {
    background: white;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tech-category {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.tech-category h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    background: white;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

/* 역량 섹션 */
.skills {
    background: #f8fafc;
}

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

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.skill-card i {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.skill-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* 연락처 섹션 */
.contact {
    background: white;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: #2563eb;
    font-size: 1.5rem;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* 서비스 개요와 동영상을 한 줄에 배치 */
.overview-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 2rem 0;
}

.overview-text {
    flex: 1;
}

/* 동영상 컨테이너 스타일 */
.video-container {
    flex: 0 0 auto;
    width: 300px;
    height: fit-content;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #000;
}

/* 푸터 */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 모바일 스크롤 성능 최적화 */
.hero-content,
.about-content,
.project-grid,
.tech-categories,
.skills-grid {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    /* 헤더 모바일 최적화 */
    .nav {
        padding: 0.8rem 1rem;
    }
    
    .nav-brand {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* 히어로 섹션 모바일 최적화 */
    .hero {
        height: 100vh;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* 섹션 공통 모바일 최적화 */
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* 소개 섹션 모바일 최적화 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* 경력 기술서 모바일 최적화 */
    .experience-timeline::before {
        left: 20px;
    }
    
    .experience-item {
        padding-left: 60px;
    }
    
    .experience-item::before {
        left: 11px;
        width: 18px;
        height: 18px;
    }
    
    .experience-period {
        position: static;
        width: auto;
        text-align: left;
        margin-bottom: 1rem;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .experience-content {
        padding: 1.5rem;
    }
    
    .company-info h3 {
        font-size: 1.3rem;
    }
    
    .company-info h4 {
        font-size: 1rem;
    }
    
    .experience-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .summary-text {
        font-size: 0.9rem;
    }
    
    .experience-toggle-btn {
        align-self: flex-end;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .project-item {
        padding: 1.2rem;
    }
    
    .project-item h5 {
        font-size: 1.1rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    .project-details li {
        font-size: 0.9rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .growth-section {
        padding: 1.2rem;
    }
    
    .growth-section h5 {
        font-size: 1rem;
    }
    
    .growth-items {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .growth-item {
        padding: 0.6rem;
    }
    
    .growth-item span {
        font-size: 0.85rem;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: center;
        line-height: 1.6;
    }
    
    .career-path {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .career-step {
        font-size: 0.9rem;
    }
    
    .career-step i {
        font-size: 1.5rem;
    }
    
    .current-status {
        margin-top: 1rem;
        padding: 0.8rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* 프로젝트 섹션 모바일 최적화 */
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin: 0 0.5rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .project-content h3 {
        font-size: 1.3rem;
    }
    
    .project-content p {
        font-size: 0.95rem;
    }
    
    .project-tags {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* 기술 스택 섹션 모바일 최적화 */
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-category {
        padding: 1.2rem;
    }
    
    .tech-category h3 {
        font-size: 1.1rem;
    }
    
    .tech-items {
        gap: 0.4rem;
    }
    
    .tech-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* 역량 섹션 모바일 최적화 */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .skill-card i {
        font-size: 2.5rem;
    }
    
    .skill-card h3 {
        font-size: 1.3rem;
    }
    
    .skill-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* 연락처 섹션 모바일 최적화 */
    .contact-item {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item i {
        font-size: 1.3rem;
    }
    
    /* 모달 모바일 최적화 */
    .modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    /* 동영상 모바일 최적화 */
    .overview-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .video-container {
        width: 100%;
        max-width: 100%;
        margin: 1rem 0;
        border-radius: 8px;
    }
    
    .video-container video {
        border-radius: 8px;
    }
    
    .project-detail {
        padding: 1.5rem;
    }
    
    .project-detail-header h2 {
        font-size: 1.6rem;
    }
    
    .project-detail-header p {
        font-size: 1rem;
    }
    
    .detail-section {
        padding: 1.2rem;
    }
    
    .detail-section h3 {
        font-size: 1.2rem;
    }
    
    .detail-section p {
        font-size: 0.95rem;
    }
    
    .detail-section li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .analysis-item {
        padding: 0.8rem;
    }
    
    .analysis-item h4 {
        font-size: 1rem;
    }
    
    .analysis-item p {
        font-size: 0.85rem;
    }
    
    .project-tags .tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

/* 작은 모바일 화면 (아이폰 SE 등) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
    }
    
    .project-content h3 {
        font-size: 1.2rem;
    }
    
    .skill-card h3 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* 태블릿 최적화 */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 가로 모드 모바일 최적화 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

/* 프로젝트 상세 내용 스타일 */
.project-detail {
    padding: 2rem;
}

.project-detail-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.project-detail-header h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

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

.project-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.detail-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
}

.detail-section h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.detail-section p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.detail-section ul {
    list-style: none;
    padding-left: 0;
}

.detail-section li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.detail-section li:last-child {
    border-bottom: none;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.analysis-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.analysis-item h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.analysis-item p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* AS-IS/TO-BE 비교 스타일 */
.asis-tobe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.asis, .tobe {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.asis h4, .tobe h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.asis {
    border-left: 4px solid #ef4444; /* 빨간색 - 현재 문제점 */
}

.tobe {
    border-left: 4px solid #10b981; /* 초록색 - 개선 후 */
}

.asis h4::before {
    content: "❌ ";
    color: #ef4444;
}

.tobe h4::before {
    content: "✅ ";
    color: #10b981;
}

/* 페르소나 정보 스타일 */
.persona-info {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    margin-top: 1rem;
}

.persona-info h4 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.persona-info ul {
    margin: 0;
    padding-left: 1.5rem;
}

.persona-info li {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* 와이어프레임 이미지 스타일 */
.wireframe-images {
    margin-top: 1.5rem;
}

.wireframe-images h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.image-gallery {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.wireframe-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wireframe-image:hover {
    transform: translateY(-5px);
}

.wireframe-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 디자인 프로세스 스타일 */
.design-process {
    margin-top: 1.5rem;
}

.design-process h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.process-steps {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #2563eb;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-step h5 {
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* 사용자 여정 지도 스타일 */
.user-journey {
    margin-top: 1.5rem;
}

.user-journey h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.journey-stages {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.journey-stage {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.journey-stage:hover {
    transform: translateY(-5px);
}

.stage-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.stage-content h5 {
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.stage-content p {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.stage-content p:last-child {
    margin-bottom: 0;
}

/* 경쟁사 비교 차트 스타일 */
.comparison-chart {
    margin-top: 1.5rem;
}

.comparison-chart h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.chart-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow-x: auto;
    margin: 1rem 0;
}

.chart-container canvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* KPI 대시보드 스타일 */
.kpi-dashboard {
    margin-top: 1.5rem;
}

.kpi-dashboard h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

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

.kpi-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.kpi-item:hover {
    transform: translateY(-5px);
}

.kpi-title {
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.kpi-values {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kpi-current {
    color: #6b7280;
    font-size: 0.8rem;
}

.kpi-target {
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 600;
}

.kpi-improvement {
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 비즈니스 임팩트 스타일 */
.business-impact {
    margin-top: 1.5rem;
}

.business-impact h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

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

.impact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
}

.impact-item h5 {
    color: #2563eb;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.impact-item p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .asis-tobe {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .asis, .tobe {
        padding: 1.2rem;
    }
    
    .persona-info {
        padding: 1.2rem;
    }
    
    /* 와이어프레임 이미지 모바일 */
    .image-gallery {
        flex-direction: column;
        align-items: center;
    }
    
    .wireframe-image {
        min-width: 100%;
        max-width: 100%;
    }
    
    /* 디자인 프로세스 모바일 */
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        min-width: 100%;
        max-width: 100%;
    }
    
    /* 사용자 여정 지도 모바일 */
    .journey-stages {
        flex-direction: column;
        align-items: center;
    }
    
    .journey-stage {
        min-width: 100%;
        max-width: 100%;
    }
    
    /* KPI 그리드 모바일 */
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    /* 임팩트 아이템 모바일 */
    .impact-items {
        grid-template-columns: 1fr;
    }
    
    /* 차트 컨테이너 모바일 */
    .chart-container {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .chart-container canvas {
        width: 100%;
        height: auto;
    }
}
