/* Business Sections */
.business-sections {
    position: relative;
}

.business-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    scroll-snap-align: start;
}

.business-section:nth-child(odd) {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.business-section:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="%23247dff" stroke-width="0.5" opacity="0.1"/></svg>') center/200px;
}

.section-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.section-overlay-text {
    font-size: 1.8rem;
    font-weight: 400;
    color: #374151;
    margin-bottom: 40px;
    line-height: 1.5;
    position: relative;
    padding: 32px 70px 32px 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    font-family: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    text-align: left;
    max-width: 900px;
    margin: 0 auto 40px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 80px;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-overlay-text.completed {
    transform: translateY(-30px);
    margin-bottom: 20px;
}

.section-overlay-text::before {
    content: "🤖 AI 프롬프트";
    position: absolute;
    top: -12px;
    left: 20px;
    background: #247dff;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
}

.voice-indicator {
    position: absolute;
    top: 32px;
    right: 24px;
    transform: translateY(0);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
    opacity: 1;
    height: 1.8rem;
}

.voice-wave {
    width: 4px;
    background: #247dff;
    border-radius: 2px;
    animation: waveAnimation 1.2s ease-in-out infinite;
}

.voice-wave:nth-child(1) {
    height: 12px;
    animation-delay: 0s;
}

.voice-wave:nth-child(2) {
    height: 20px;
    animation-delay: 0.2s;
}

.voice-wave:nth-child(3) {
    height: 28px;
    animation-delay: 0.4s;
}

.voice-wave:nth-child(4) {
    height: 20px;
    animation-delay: 0.6s;
}

.voice-wave:nth-child(5) {
    height: 12px;
    animation-delay: 0.8s;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: scaleY(0.2);
        opacity: 0.4;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes voiceActivation {
    0%, 15% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    20%, 70% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    75%, 100% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
}

/* 텍스트 커서 스타일 */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #247dff;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
    font-family: inherit !important;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.section-info {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(30px);
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(36, 125, 255, 0.15);
    border: 1px solid rgba(36, 125, 255, 0.1);
    text-align: center;
    min-width: 400px;
}


.section-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.tag-item {
    display: inline-block;
    background: #247dff;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #1a5fcc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 125, 255, 0.3);
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

.detail-btn {
    background: linear-gradient(45deg, #247dff, #4a9eff);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(36, 125, 255, 0.3);
}

/* 호버 전용 transition - GSAP 애니메이션과 분리 */
.detail-btn:not(.gsap-animating) {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.detail-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(36, 125, 255, 0.4);
}

/* Business Section Responsive */
@media (max-width: 1200px) {
    .section-content {
        max-width: 1000px;
        padding: 0 30px;
    }
    
    .section-overlay-text {
        font-size: 1.6rem;
        padding: 28px 60px 28px 20px;
        max-width: 800px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .business-section {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .section-content {
        padding: 0 20px;
        min-height: 70vh;
    }
    
    .section-overlay-text {
        font-size: 1.4rem;
        padding: 24px 50px 24px 16px;
        max-width: 100%;
        margin-bottom: 30px;
        min-height: 70px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .section-info {
        min-width: 300px;
        padding: 30px 25px;
    }
    
    .detail-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .voice-indicator {
        right: 16px;
        top: 24px;
        gap: 3px;
    }
    
    .voice-wave {
        width: 3px;
    }
}

@media (max-width: 480px) {
    .business-section {
        padding: 15px 0;
    }
    
    .section-content {
        padding: 0 15px;
        min-height: 60vh;
    }
    
    .section-overlay-text {
        font-size: 1.2rem;
        padding: 20px 40px 20px 12px;
        margin-bottom: 25px;
        min-height: 60px;
    }
    
    .section-overlay-text::before {
        font-size: 0.7rem;
        padding: 3px 10px;
        top: -10px;
        left: 12px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .section-info {
        min-width: 280px;
        padding: 25px 20px;
    }
    
    .detail-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .tag-item {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .voice-indicator {
        right: 12px;
        top: 20px;
        gap: 2px;
    }
    
    .voice-wave {
        width: 2px;
    }
    
    .voice-wave:nth-child(1) { height: 8px; }
    .voice-wave:nth-child(2) { height: 14px; }
    .voice-wave:nth-child(3) { height: 20px; }
    .voice-wave:nth-child(4) { height: 14px; }
    .voice-wave:nth-child(5) { height: 8px; }
}

