/* ===== SUB PAGE COMMON STYLES ===== */

/* ===== SIMPLE CONTENT COMPONENTS ===== */

/* Content Card - 기본 카드 */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0,0,0,0.08);
}

.content-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-card h3 .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Info Box - 정보 박스 */
.info-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,0.06);
}

.info-box.highlight {
    background: #fff5f9;
    border-color: rgba(213,0,128,0.15);
}

.info-box h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

/* Simple List */
.simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.65;
}

.simple-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.simple-list li.em {
    color: var(--primary);
    font-weight: 500;
}

.simple-list li.warn {
    color: #dc3545;
    font-weight: 600;
}

/* Simple Table */
.simple-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.simple-table thead th {
    background: #f8f9fa;
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 2px solid rgba(0,0,0,0.08);
}

.simple-table tbody td {
    padding: 0.875rem 1rem;
    color: var(--text-body);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    vertical-align: top;
}

.simple-table tbody tr:last-child td {
    border-bottom: none;
}

.simple-table tbody tr:hover td {
    background: #fafafa;
}

/* Step List */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,0.06);
}

.step-item .step-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.step-item .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-item .step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.step-item .step-body {
    padding-left: 0;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* Pill Tabs */
.pill-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.pill-tab {
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-body);
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.pill-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pill-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Award Card */
.award-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.08);
    transition: border-color 0.25s ease;
}

.award-card:hover {
    border-color: var(--primary);
}

.award-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.875rem;
}

.award-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

/* Download Button */
.btn-dl {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--text-dark);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-dl:hover {
    background: var(--primary);
}

.btn-dl svg {
    width: 16px;
    height: 16px;
}

/* Tag / Badge */
.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-body);
}

/* Note Box */
.note-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,0.06);
    margin-top: 1.5rem;
}

.note-box h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.note-box p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .pill-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .pill-tab {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .content-card {
        padding: 1.25rem;
    }
}

/* ===== PAGE INTRO SECTION (GBCC 2026 Badge Style) ===== */
.page-intro-section {
    text-align: center;
    padding: 2rem 0 3rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
    margin: -2rem -3rem 3rem -3rem;
    padding: 3rem 2rem;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    margin-bottom: 1.75rem;
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.page-intro-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-intro-title .highlight {
    color: var(--primary);
}

.page-intro-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    font-weight: 400;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-intro-section {
        margin: -1.5rem -1.5rem 2rem -1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .page-intro-title {
        font-size: 1.85rem;
    }
    
    .page-intro-subtitle {
        font-size: 1rem;
    }
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 8rem 3rem 4rem;
    background: linear-gradient(135deg, #fff 0%, var(--bg-pink) 30%, #ffe8f2 60%, #fff5f9 100%);
    position: relative;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.page-hero-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: pageHeroFloat 15s ease-in-out infinite;
}
.page-hero-gradient-1 {
    width: 400px;
    height: 400px;
    top: -20%;
    right: -5%;
    background: linear-gradient(135deg, rgba(213,0,128,0.35), rgba(255,107,157,0.25));
}
.page-hero-gradient-2 {
    width: 350px;
    height: 350px;
    bottom: -30%;
    left: -8%;
    background: linear-gradient(135deg, rgba(255,179,208,0.45), rgba(213,0,128,0.2));
    animation-delay: -7s;
}
.page-hero-gradient-3 {
    width: 250px;
    height: 250px;
    top: 20%;
    left: 50%;
    background: linear-gradient(135deg, rgba(255,107,157,0.25), rgba(213,0,128,0.15));
    animation-delay: -4s;
}
@keyframes pageHeroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -15px) scale(1.05); }
    50% { transform: translate(-15px, 10px) scale(0.95); }
    75% { transform: translate(-20px, -10px) scale(1.02); }
}
.page-hero-emblem {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 500px;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
    animation: pageEmblemFloat 18s ease-in-out infinite;
}
.page-hero-emblem img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(213,0,128,0.25));
}
@keyframes pageEmblemFloat {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-52%) rotate(2deg); }
}
.page-hero-shape {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(213,0,128,0.15);
    pointer-events: none;
    animation: shapeFloat 12s ease-in-out infinite;
}
.page-hero-shape-1 {
    width: 80px;
    height: 80px;
    top: 25%;
    right: 15%;
    animation-delay: -2s;
}
.page-hero-shape-2 {
    width: 50px;
    height: 50px;
    bottom: 20%;
    right: 25%;
    border-color: rgba(255,107,157,0.2);
    animation-delay: -5s;
}
.page-hero-shape-3 {
    width: 30px;
    height: 30px;
    top: 40%;
    left: 10%;
    border-color: rgba(213,0,128,0.1);
    animation-delay: -8s;
}
@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-15px) rotate(180deg); opacity: 1; }
}
.page-hero-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    animation: dotPulse 4s ease-in-out infinite;
}
.page-hero-dot-1 { top: 30%; right: 20%; }
.page-hero-dot-2 { top: 60%; right: 30%; animation-delay: -1s; width: 4px; height: 4px; }
.page-hero-dot-3 { top: 45%; left: 15%; animation-delay: -2s; width: 5px; height: 5px; }
.page-hero-dot-4 { bottom: 25%; left: 20%; animation-delay: -3s; }
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.6; }
}
.page-hero-content {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    animation: fadeInUp 0.6s var(--ease) both;
}
.page-breadcrumb a {
    color: var(--text-body);
    transition: color 0.25s;
    font-weight: 500;
}
.page-breadcrumb a:hover { color: var(--primary); }
.page-breadcrumb span { color: var(--text-muted); }
.page-breadcrumb .current { color: var(--primary); font-weight: 600; }
.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s var(--ease) 0.1s both;
}
.page-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-desc {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 600px;
    line-height: 1.7;
    animation: fadeInUp 0.6s var(--ease) 0.2s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SUB NAVIGATION ===== */
.sub-nav-wrapper {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 66px;
    z-index: 100;
}
.sub-nav {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 0rem;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav-item {
    position: relative;
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    white-space: nowrap;
    transition: all 0.3s var(--ease);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}
.sub-nav-item::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px 3px 0 0;
    transition: all 0.3s var(--ease);
    transform: translateX(-50%);
}
.sub-nav-item:hover { color: var(--primary); }
.sub-nav-item:hover::before { width: 100%; }
.sub-nav-item.active { color: var(--primary); font-weight: 600; }
.sub-nav-item.active::before { width: 100%; }

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 3rem 6rem;
}

/* ===== CONTENT SECTIONS ===== */
.content-section { margin-bottom: 4rem; }
.content-section:last-child { margin-bottom: 0; }
.section-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: var(--bg-pink);
    border-radius: 100px;
}
.section-label svg { width: 14px; height: 14px; }

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 4rem;
    border-radius: var(--radius-xl);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.newsletter-content { position: relative; z-index: 1; }
.newsletter-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.newsletter-desc {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}
.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 100px;
    font-size: 1rem;
    font-family: var(--font);
    outline: none;
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-form .btn {
    background: var(--secondary);
    color: white;
    padding: 1rem 2rem;
}
.newsletter-form .btn:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE (Sub Page Common) ===== */
@media (max-width: 1024px) {
    .page-hero { padding: 7rem 2rem 3rem; }
    .sub-nav { padding: 0 2rem; }
    .main-content { padding: 3rem 2rem 5rem; }
}
@media (max-width: 768px) {
    .page-hero { padding: 6rem 1.5rem 2.5rem; }
    .page-title { font-size: 1.75rem; }
    .sub-nav { padding: 0 1.5rem; }
    .sub-nav-item { padding: 1rem 1.25rem; font-size: 0.85rem; }
    .main-content { padding: 2rem 1.5rem 4rem; }
    .section-card { padding: 2rem 1.5rem; }
    .newsletter-section { padding: 2.5rem 1.5rem; }
    .newsletter-form { flex-direction: column; }
}
@media (max-width: 480px) {
    .page-title { font-size: 1.5rem; }
}
