/* =================================
   지혜로운 손길 - 웹사이트 스타일
   ================================= */

/* 기본 리셋 및 변수 - 고급스러운 디자인 */
:root {
    /* 메인 컬러 - 세련된 네이비 & 골드 */
    --primary-color: #1A2332;
    --secondary-color: #D4AF37;
    --accent-color: #8B7355;
    --success-color: #2ECC71;
    --dark-color: #0F1419;
    --light-color: #F8F9FA;
    --white-color: #FFFFFF;
    --text-color: #2C3E50;
    --text-light: #7F8C8D;
    --border-color: #E8E8E8;
    
    /* 그림자 - 더 부드럽고 자연스럽게 */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    
    /* 고급 그라디언트 */
    --gradient-1: linear-gradient(135deg, #1A2332 0%, #2C3E50 100%);
    --gradient-2: linear-gradient(135deg, #D4AF37 0%, #F4E4C1 100%);
    --gradient-3: linear-gradient(135deg, #8B7355 0%, #C9A96E 100%);
    --gradient-dark: linear-gradient(180deg, #0F1419 0%, #1A2332 100%);
    --gradient-light: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* 컨테이너 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 섹션 */
.section {
    padding: 80px 0;
}

/* 섹션 헤더 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 2px;
}

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

/* 버튼 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #E8C049;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--secondary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: var(--white-color);
    border-color: transparent;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* =================================
   헤더 & 네비게이션
   ================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    white-space: nowrap;
}

.nav-logo i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px;
    white-space: nowrap;
}

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

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

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

.nav-link-special {
    background: var(--secondary-color);
    color: var(--dark-color) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    height: 40px;
}

.nav-link-special::after {
    display: none;
}

.nav-link-special:hover {
    background: #E8C049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* 언어 선택기 드롭다운 */
.nav-item-language {
    margin-left: 10px;
    position: relative;
    display: flex;
    align-items: center;
}

.language-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white-color);
    min-width: 110px;
    justify-content: space-between;
    height: 40px;
}

.lang-current:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.lang-current img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.lang-current i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.language-dropdown.active .lang-current i {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white-color);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    gap: 0;
}

.language-dropdown.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    min-width: 80px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.lang-option::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 한국어 - 태극 색상 */
.lang-option[data-lang="ko"]::before {
    background: linear-gradient(180deg, #C60C30 0%, #003478 100%);
}

.lang-option[data-lang="ko"]:hover {
    background: linear-gradient(90deg, rgba(198, 12, 48, 0.05) 0%, rgba(0, 52, 120, 0.05) 100%);
}

/* 영어 - 성조기 색상 */
.lang-option[data-lang="en"]::before {
    background: linear-gradient(180deg, #B22234 0%, #3C3B6E 100%);
}

.lang-option[data-lang="en"]:hover {
    background: linear-gradient(90deg, rgba(178, 34, 52, 0.05) 0%, rgba(60, 59, 110, 0.05) 100%);
}

/* 일본어 - 일장기 색상 */
.lang-option[data-lang="ja"]::before {
    background: linear-gradient(180deg, #BC002D 0%, #FFFFFF 100%);
}

.lang-option[data-lang="ja"]:hover {
    background: linear-gradient(90deg, rgba(188, 0, 45, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* 중국어 - 오성홍기 색상 */
.lang-option[data-lang="zh"]::before {
    background: linear-gradient(180deg, #DE2910 0%, #FFDE00 100%);
}

.lang-option[data-lang="zh"]:hover {
    background: linear-gradient(90deg, rgba(222, 41, 16, 0.05) 0%, rgba(255, 222, 0, 0.05) 100%);
}

.lang-option:hover::before {
    opacity: 1;
}

.lang-option img {
    width: 28px;
    height: 21px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.lang-option:hover img {
    transform: scale(1.1);
}

.lang-option span {
    flex: 1;
}

.lang-code {
    display: none;
}

.lang-option:hover .lang-code {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.lang-option.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    font-weight: 700;
}

.lang-option.active::before {
    opacity: 1;
}

.lang-option.active .lang-code {
    background: var(--secondary-color);
    color: var(--dark-color);
}

/* 언어별 테마 (body에 적용) */
body.lang-ko {
    --theme-accent: #C60C30;
}

body.lang-en {
    --theme-accent: #B22234;
}

body.lang-ja {
    --theme-accent: #BC002D;
}

body.lang-zh {
    --theme-accent: #DE2910;
}

/* 언어별 미묘한 효과 */
body.lang-ko .hero {
    background: linear-gradient(135deg, rgba(198, 12, 48, 0.03) 0%, rgba(0, 52, 120, 0.03) 100%), var(--gradient-dark);
}

body.lang-en .hero {
    background: linear-gradient(135deg, rgba(178, 34, 52, 0.03) 0%, rgba(60, 59, 110, 0.03) 100%), var(--gradient-dark);
}

body.lang-ja .hero {
    background: linear-gradient(135deg, rgba(188, 0, 45, 0.03) 0%, rgba(255, 255, 255, 0.03) 100%), var(--gradient-dark);
}

body.lang-zh .hero {
    background: linear-gradient(135deg, rgba(222, 41, 16, 0.03) 0%, rgba(255, 222, 0, 0.03) 100%), var(--gradient-dark);
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* =================================
   히어로 섹션
   ================================= */

.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.3;
    color: var(--white-color);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-img-wrapper {
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-img-wrapper img {
    position: relative;
    z-index: 1;
    animation: fadeInScale 1s ease-out;
    filter: brightness(0.9) contrast(1.1);
}

.hero-img-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.4) 0%, rgba(212, 175, 55, 0.2) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-icon {
    font-size: 150px;
    color: rgba(255, 255, 255, 0.95);
    z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =================================
   특징 섹션
   ================================= */

.features {
    background: var(--white-color);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--secondary-color), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.3);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: var(--dark-color);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* =================================
   서비스 섹션
   ================================= */

.services {
    background: var(--light-color);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.service-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* =================================
   포트폴리오 섹션
   ================================= */

.portfolio {
    background: linear-gradient(to bottom, var(--white-color) 0%, #f0f4f8 100%);
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.portfolio-tab {
    padding: 14px 32px;
    background: var(--white-color);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-tab:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.portfolio-tab.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
}

.portfolio-content {
    display: none;
}

.portfolio-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--light-color);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.portfolio-placeholder {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.portfolio-info {
    padding: 25px;
}

.portfolio-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.portfolio-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 동영상 포트폴리오 */
.video-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-portfolio-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.video-portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.video-wrapper-portfolio {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.video-wrapper-portfolio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder-portfolio {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(212, 175, 55, 0.3) 100%);
    color: var(--white-color);
    transition: var(--transition);
}

.video-portfolio-card:hover .video-placeholder-portfolio {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(212, 175, 55, 0.5) 100%);
}

.video-placeholder-portfolio i {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: 0.9;
    transition: var(--transition);
}

.video-portfolio-card:hover .video-placeholder-portfolio i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.video-placeholder-portfolio p {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.95;
}

.video-portfolio-info {
    padding: 25px;
}

.video-portfolio-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.video-portfolio-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.video-duration i {
    font-size: 0.9rem;
}

/* =================================
   가격 섹션
   ================================= */

.pricing {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 3px solid transparent;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-badge {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    color: var(--white-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(132, 250, 176, 0.3);
}

.pricing-badge.popular {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 2px 10px rgba(250, 112, 154, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 10px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.price-period {
    color: var(--text-light);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.pricing-features li.disabled {
    color: var(--text-light);
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: var(--text-light);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 15px;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-extra {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.pricing-extra h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.extra-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.extra-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.extra-item span {
    display: block;
    color: var(--text-light);
    margin-bottom: 10px;
}

.extra-item strong {
    display: block;
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 700;
}

/* =================================
   회사 소개 섹션
   ================================= */

.about {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.about-img-wrapper img {
    position: relative;
    z-index: 1;
    animation: fadeInScale 1s ease-out;
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    z-index: 2;
    pointer-events: none;
}

.about-icon {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: var(--white-color);
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(250, 112, 154, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    animation: pulse-badge 2s ease-in-out infinite;
}

.about-badge i {
    font-size: 1.5rem;
}

.about-content .section-subtitle {
    display: block;
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.about-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item strong {
    display: block;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-values h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-values ul {
    list-style: none;
}

.about-values li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    color: var(--text-color);
}

.about-values li i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 3px;
}

.about-values strong {
    color: var(--primary-color);
}

/* =================================
   소개 영상 섹션
   ================================= */

.video-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.video-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.video-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    text-align: center;
    padding: 40px;
}

.video-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
    animation: pulse 2s ease-in-out infinite;
}

.video-placeholder p {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.video-placeholder small {
    font-size: 1rem;
    opacity: 0.8;
}

.video-wrapper iframe {
    border-radius: 20px;
}

.video-info {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.video-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.video-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.video-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.video-info li:last-child {
    border-bottom: none;
}

.video-info li i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.video-cta {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    text-align: center;
    color: var(--white-color);
}

.video-cta p {
    margin: 0;
    font-size: 1.1rem;
}

.video-cta strong {
    font-size: 1.3rem;
    font-weight: 700;
}

/* =================================
   문의 섹션
   ================================= */

.contact {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-color);
    margin-bottom: 5px;
}

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

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* =================================
   푸터
   ================================= */

.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-company-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* =================================
   스크롤 투 탑 버튼
   ================================= */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-top:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* =================================
   반응형 디자인
   ================================= */

@media screen and (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-img-wrapper {
        height: 350px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-tabs {
        flex-direction: column;
        gap: 12px;
    }
    
    .portfolio-tab {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .extra-services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .video-container {
        grid-template-columns: 1fr;
    }
    
    .video-wrapper {
        height: 350px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white-color);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark-color);
    transform: rotate(90deg);
}

.auth-form {
    display: block;
}

.auth-form.hidden {
    display: none;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 95, 124, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-switch a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* 히어로 전체 배경 스타일 */
.hero-fullbg {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1504639725590-34d0984388bd?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(44, 95, 124, 0.8) 100%);
    z-index: 1;
}

.hero-fullbg .hero-container {
    position: relative;
    z-index: 2;
}

.hero-fullbg .hero-content {
    color: var(--white-color);
}

.hero-fullbg .hero-title,
.hero-fullbg .hero-subtitle,
.hero-fullbg .hero-description {
    color: var(--white-color);
}

.hero-fullbg .hero-title .highlight {
    color: var(--secondary-color);
}

.hero-fullbg .stat-number,
.hero-fullbg .stat-label {
    color: var(--white-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--white-color);
        box-shadow: var(--shadow-lg);
        padding: 80px 30px 30px;
        transition: var(--transition);
    }
    
    .nav-menu.show {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-toggle,
    .nav-close {
        display: block;
    }
    
    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .video-portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .about-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .extra-services {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

