/* ========================================
   Y5 솔루션 테마 - Index 페이지 스타일
   Design System: theme.design.md 기반
   ======================================== */


/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-inverse);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
    color: var(--text-inverse);
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-12);
    font-weight: var(--font-normal);
    color: var(--text-inverse);
    opacity: 0.95;
    line-height: var(--leading-normal);
}

.hero-features {
    margin: var(--space-12) 0;
}

.feature-item {
    padding: var(--space-8) var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.feature-item h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    font-weight: var(--font-semibold);
    color: var(--text-inverse);
}

.feature-item p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-inverse);
    opacity: 0.9;
    margin: 0;
}

.hero-cta {
    margin-top: var(--space-12);
}

.cta-text {
    font-size: var(--text-xl);
    margin-bottom: var(--space-8);
    color: var(--text-inverse);
    opacity: 0.95;
    font-weight: var(--font-medium);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* 버튼 스타일 (디자인 시스템 기반) */
.btn {
    padding: var(--space-3) var(--space-8);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-lg);
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--text-inverse);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

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

.btn-outline-primary {
    background: transparent;
    color: var(--text-inverse);
    border: 2px solid var(--text-inverse);
}

.btn-outline-primary:hover {
    background: var(--text-inverse);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-4) var(--space-10);
    font-size: var(--text-lg);
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits-section {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
    position: relative;
}

.section-header {
    margin-bottom: var(--space-16);
    position: relative;
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    letter-spacing: -0.025em;
    line-height: var(--leading-tight);
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    font-weight: var(--font-normal);
    max-width: 700px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

.benefits-grid {
    position: relative;
}

.benefit-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.35);
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--text-inverse);
}

.benefit-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-align: center;
}

.benefit-description {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

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

/* 태블릿 */
@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-20) 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-xl);
        margin-bottom: var(--space-10);
    }
    
    .hero-features {
        margin: var(--space-10) 0;
    }
    
    .feature-item {
        margin-bottom: var(--space-4);
        padding: var(--space-6) var(--space-5);
    }
    
    .hero-cta {
        margin-top: var(--space-10);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .benefits-section {
        padding: var(--space-20) 0;
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .section-subtitle {
        font-size: var(--text-lg);
    }
    
    .benefit-card {
        padding: var(--space-6);
        margin-bottom: var(--space-6);
    }
}

/* 모바일 */
@media (max-width: 576px) {
    .hero-section {
        padding: var(--space-16) 0;
    }
    
    .hero-title {
        font-size: var(--text-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
        margin-bottom: var(--space-8);
    }
    
    .hero-features {
        margin: var(--space-8) 0;
    }
    
    .feature-item {
        padding: var(--space-5) var(--space-4);
    }
    
    .feature-item h3 {
        font-size: var(--text-lg);
    }
    
    .feature-item p {
        font-size: var(--text-sm);
    }
    
    .hero-cta {
        margin-top: var(--space-8);
    }
    
    .cta-text {
        font-size: var(--text-lg);
        margin-bottom: var(--space-6);
    }
    
    .btn-lg {
        padding: var(--space-3) var(--space-8);
        font-size: var(--text-base);
    }
    
    .benefits-section {
        padding: var(--space-16) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-12);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .section-subtitle {
        font-size: var(--text-base);
    }
    
    .benefit-card {
        padding: var(--space-5);
    }
    
    .benefit-icon {
        width: 64px;
        height: 64px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-title {
        font-size: var(--text-lg);
    }
    
    .benefit-description {
        font-size: var(--text-sm);
    }
}

/* ========================================
   Contact Section
   ======================================== */
.contact-info-wrapper {
    padding: 40px 0;
}

.contact-info-wrapper .info-box {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.contact-info-wrapper .info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef6603 0%, #fc8129 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-wrapper .info-box:hover::before {
    transform: scaleX(1);
}

.contact-info-wrapper .info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(239, 102, 3, 0.2);
    border-color: #ef6603;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
}

.contact-info-wrapper .info-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffecde 0%, #ffe4d0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 102, 3, 0.15);
}

.contact-info-wrapper .info-box:hover .info-icon {
    background: linear-gradient(135deg, #ef6603 0%, #fc8129 100%);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(239, 102, 3, 0.3);
}

.contact-info-wrapper .info-icon i {
    font-size: 42px;
    color: #ef6603;
    transition: all 0.3s ease;
}

.contact-info-wrapper .info-box:hover .info-icon i {
    color: #fff;
    transform: scale(1.1);
}

.contact-info-wrapper .info-box h4 {
    font-size: 24px;
    font-weight: 700;
    color: #2a2c39;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.contact-info-wrapper .info-box p {
    margin: 0;
    font-size: 22px;
    color: #2a2c39;
    font-weight: 500;
}

.contact-info-wrapper .info-box p a {
    color: #2a2c39;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(239, 102, 3, 0.05);
}

.contact-info-wrapper .info-box p a:hover {
    color: #ef6603;
    background: rgba(239, 102, 3, 0.1);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .contact-info-wrapper {
        padding: 30px 0;
    }
    
    .contact-info-wrapper .info-box {
        padding: 40px 30px;
        margin-bottom: 20px;
    }
    
    .contact-info-wrapper .info-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 25px;
    }
    
    .contact-info-wrapper .info-icon i {
        font-size: 36px;
    }
    
    .contact-info-wrapper .info-box h4 {
        font-size: 22px;
        margin-bottom: 18px;
    }
    
    .contact-info-wrapper .info-box p {
        font-size: 20px;
    }
}

/* ========================================
   다크 모드 지원 (선택사항)
   ======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1f2937;
        --bg-secondary: #111827;
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --gray-200: #374151;
    }
    
    .benefit-card {
        background: var(--gray-800);
    }
    
    .hero-section {
        background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    }
} 