/**
 * GEO/AEO 시리즈 전용 스타일
 * - Tailwind CSS와 함께 사용
 * - 차트, 다이어그램, 카드 등 시리즈 공통 스타일
 */

/* ========================================
   GEO Series Container
======================================== */
#series-container {
    background-color: #f8fafc;
    min-height: calc(100vh - 80px);
}

/* ========================================
   Chart Container
======================================== */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    max-height: 400px;
}

@media (min-width: 768px) {
    .chart-container {
        height: 350px;
    }
}

/* ========================================
   Strategy Card
======================================== */
.strategy-card {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* ========================================
   Venn Diagram (AEO vs SEO)
======================================== */
.v-diagram-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.875rem;
    color: white;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease-in-out;
}

.v-diagram-circle:hover {
    transform: scale(1.05);
}

.v-diagram-overlap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    text-align: center;
    font-size: 1rem;
    line-height: 1.2;
    padding: 8px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* ========================================
   Flow Arrow (AEO -> GEO)
======================================== */
.flow-arrow {
    font-size: 2rem;
    color: #72D2FF;
    margin: 0 1rem;
}

/* ========================================
   GEO Sidebar Navigation
======================================== */
.geo-sidebar {
    background: white;
    border-right: 1px solid #e2e8f0;
}

.geo-sidebar .nav-part-title {
    font-size: 12px;
    font-weight: 600;
    color: #0369a1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 16px;
    margin-bottom: 8px;
}

.geo-sidebar .nav-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.geo-sidebar .nav-item:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.geo-sidebar .nav-item.active {
    background-color: #e0f2fe;
    color: #0369a1;
}

/* ========================================
   Mobile Sidebar
======================================== */
#mobile-sidebar {
    transition: all 0.3s ease;
}

#mobile-sidebar.hidden {
    display: none;
}

#sidebar-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

/* ========================================
   Section Styles
======================================== */
.geo-section {
    scroll-margin-top: 80px;
}

/* ========================================
   Dark Section (Future AEO/GEO)
======================================== */
.geo-dark-section {
    background-color: #121C26;
}

.geo-dark-section h2 {
    color: #72D2FF;
}

.geo-dark-section p {
    color: #9ca3af;
}

/* ========================================
   Recommendation List
======================================== */
.recommendation-item {
    transition: box-shadow 0.2s;
}

.recommendation-item:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.recommendation-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #0284c7;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

/* ========================================
   Playbook Grid
======================================== */
.playbook-card {
    transition: all 0.2s;
}

.playbook-card:hover {
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-4px);
}

/* ========================================
   Stat Card Animation
======================================== */
#stat-card {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

#animated-stat {
    font-variant-numeric: tabular-nums;
}

/* ========================================
   Responsive Adjustments
======================================== */
@media (max-width: 767px) {
    .v-diagram-circle {
        width: 140px;
        height: 140px;
        font-size: 1.5rem;
    }

    .v-diagram-overlap {
        width: 80px;
        height: 80px;
        font-size: 0.875rem;
    }

    .flow-arrow {
        font-size: 1.5rem;
        margin: 0.5rem;
    }
}
