/* 섹션 공통 스타일 */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

section {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

/* 공통 애니메이션 */
.hidden-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* 공통 컨테이너 스타일 */
.main-container {
    width: 100%;
    overflow: hidden;
}

/* 히어로 섹션 */
.hero-section {
    background: linear-gradient(135deg, #2563eb, #1e293b);
    color: white;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.welcome-text {
    text-align: center;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-top: 16px;
    color: #e2e8f0;
}

/* 특징 섹션 */
.features-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    position: relative;
}

.features-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1e293b;
    position: relative;
}

.features-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

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

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    border-color: #2563eb20;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: #f0f9ff;
    border-radius: 50%;
    color: #2563eb;
}

.feature-card h3 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.5;
    font-size: 1rem;
}

/* CTA 섹션 */
.cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(to right, #2563eb, #3b82f6);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.2);
    background: linear-gradient(to right, #1d4ed8, #2563eb);
}

/* 배경 애니메이션 */
.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    top: -100px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    bottom: -50px;
    left: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #93c5fd, #60a5fa);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s infinite ease-in-out;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .features-section h2 {
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }
}

/* 애니메이션 키프레임 */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, -10px);
    }
}

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