/* ===== Main Content Section (AI를 이해하는 새로운 관점) ===== */
.main-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.main-intro-title {
    font-size: 42px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 20px;
}

.main-intro-desc {
    font-size: 18px;
    color: #6B7280;
    line-height: 1.8;
}

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

.feature-box-item {
    text-align: center;
    padding: 40px 24px;
}

.feature-box-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: white;
}

.feature-box-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.feature-box-desc {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
}

/* ===== Service Section ===== */
.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-text {
    max-width: 500px;
}

.service-list {
    list-style: none;
    margin: 32px 0;
    padding: 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #374151;
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 20px;
    padding: 40px;
}

.image-placeholder.large {
    padding: 80px;
}

/* ===== Community Section ===== */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.community-card {
    background: white;
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.community-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

.community-icon {
    margin-bottom: 24px;
}

.community-title {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.community-description {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 32px;
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 32px;
    padding: 24px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #8B5CF6;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #9CA3AF;
}

/* ===== Resources Section ===== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.resource-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

.resource-icon {
    margin-bottom: 24px;
}

.resource-title {
    font-size: 22px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.resource-description {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.resource-count {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
}

.resources-cta {
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    border-radius: 24px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

/* ===== Learning Guide Section - List Style ===== */
.guide-list-container {
    max-width: 900px;
    margin: 0 auto;
}

.guide-section-group {
    margin-bottom: 48px;
}

.guide-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #E5E7EB;
}

.guide-level-badge {
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.guide-level-badge.beginner {
    background: linear-gradient(135deg, #10B981, #059669);
}

.guide-level-badge.intermediate {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.guide-level-badge.advanced {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.guide-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    flex: 1;
}

.popular-tag {
    padding: 4px 12px;
    background: #FEF3C7;
    color: #D97706;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.guide-item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide-list-item {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.guide-list-item:hover {
    border-color: #8B5CF6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.guide-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
}

.guide-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5CF6;
    flex-shrink: 0;
}

.guide-item-content {
    flex: 1;
}

.guide-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
}

.guide-item-desc {
    font-size: 14px;
    color: #6B7280;
}

.guide-item-toggle {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5CF6;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.guide-item-toggle:hover {
    background: #8B5CF6;
    color: white;
}

.guide-item-toggle svg {
    transition: transform 0.3s;
}

.guide-list-item.active .guide-item-toggle svg {
    transform: rotate(180deg);
}

.guide-item-details {
    display: none;
    padding: 0 24px 24px 80px;
    border-top: 1px solid #F3F4F6;
}

.guide-list-item.active .guide-item-details {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-lessons {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.guide-lessons li {
    padding: 12px 0;
    padding-left: 28px;
    color: #374151;
    font-size: 15px;
    position: relative;
}

.guide-lessons li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8B5CF6;
    font-weight: 700;
}

.guide-item-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6B7280;
}

.meta-item svg {
    color: #9CA3AF;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* ===== GPTs Section ===== */
.gpts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.gpt-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    border: 2px solid #E5E7EB;
    transition: all 0.3s;
}

.gpt-card:hover {
    border-color: #8B5CF6;
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

.gpt-icon {
    margin-bottom: 24px;
}

.gpt-title {
    font-size: 22px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.gpt-description {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.gpt-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tag {
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.gpt-link {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.gpt-link:hover {
    color: #6D28D9;
}

/* ===== AI News Section ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

.news-image {
    height: 200px;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content {
    padding: 32px;
}

.news-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-description {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.news-date {
    font-size: 14px;
    color: #9CA3AF;
}

.news-link {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.news-link:hover {
    color: #6D28D9;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .main-intro-title {
        font-size: 32px;
    }

    .feature-boxes {
        grid-template-columns: 1fr;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-image {
        order: -1;
    }

    .community-grid, .resources-grid, .gpts-grid, .news-grid {
        grid-template-columns: 1fr;
    }

    .guide-item-details {
        padding: 0 20px 20px 60px;
    }

    .resources-cta {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 24px;
    }
}
