/* ==========================================
   독고독채널 소개서 - 스타일시트
   브랜드 컬러: 파란색 (#2d3e78, #3d5a9e)
   ========================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2d3e78;
    --secondary-blue: #3d5a9e;
    --light-blue: #4a6eb5;
    --accent-orange: #ff6b35;
    --accent-green: #4ecdc4;
    --accent-yellow: #f7b731;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 62, 120, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 62, 120, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-delay {
    animation: fadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 0.8s ease 0.6s forwards;
    opacity: 0;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,133.3C672,139,768,181,864,181.3C960,181,1056,139,1152,128C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.channel-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
}

.stat-content .stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-content .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ==========================================
   Channel Introduction
   ========================================== */
.channel-intro {
    padding: 80px 0;
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.intro-text strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.intro-text.highlight {
    background: linear-gradient(135deg, rgba(45, 62, 120, 0.05), rgba(78, 205, 196, 0.05));
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

/* ==========================================
   Content Strategy
   ========================================== */
.content-strategy {
    padding: 80px 0;
    background: var(--bg-light);
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.strategy-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.strategy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px var(--shadow-lg);
}

.strategy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.strategy-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.strategy-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   What's Different Section
   ========================================== */
.what-different {
    padding: 80px 0;
    background: var(--white);
}

.different-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.different-card {
    background: linear-gradient(135deg, rgba(45, 62, 120, 0.03), rgba(78, 205, 196, 0.03));
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(45, 62, 120, 0.1);
    transition: all 0.3s ease;
}

.different-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px var(--shadow-lg);
}

.different-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.different-card h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.different-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.different-card strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ==========================================
   Advertising Packages
   ========================================== */
.ad-packages {
    padding: 80px 0;
    background: var(--bg-light);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.package-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.package-card.shorts {
    border-color: rgba(255, 0, 0, 0.3);
}

.package-card.reels {
    border-color: rgba(225, 48, 108, 0.3);
}

.package-card.tiktok {
    border-color: rgba(0, 0, 0, 0.3);
}

.package-card.bundle {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(247, 183, 49, 0.05));
}

.package-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.package-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.package-card h3 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.package-price {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.package-unit {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
}

.package-features li {
    padding: 10px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.package-features i {
    color: var(--accent-green);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ==========================================
   Ad References
   ========================================== */
.ad-references {
    padding: 80px 0;
    background: var(--white);
}

.reference-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-blue);
    color: var(--white);
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.reference-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px var(--shadow-lg);
}

.reference-card.hidden {
    display: none;
}

.reference-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.reference-card:hover .reference-image img {
    transform: scale(1.05);
}

.reference-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.reference-card p {
    padding: 0 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.reference-views {
    padding: 10px 20px 20px;
    color: var(--primary-blue);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Category Section Titles */
.category-section-title {
    grid-column: 1 / -1;
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 2rem 0 1rem 0;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-blue);
}

/* Video Embed Styling */
.reference-video {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* 9:16 aspect ratio for shorts */
    height: 0;
    overflow: hidden;
    background: var(--bg-light);
}

.reference-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.video-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-link:hover {
    color: var(--accent-green);
}

.video-views {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 0.95rem;
}

.video-views i {
    font-size: 1.1rem;
}

.view-count {
    color: var(--primary-blue);
}

/* ==========================================
   Core Statistics
   ========================================== */
.core-stats {
    padding: 80px 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px var(--shadow-lg);
}

.stat-card .stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.stat-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.stat-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.stat-description strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: 'Courier New', monospace;
}

/* ==========================================
   Demographics & Charts
   ========================================== */
.demographics {
    padding: 80px 0;
    background: var(--white);
}

.demographics-note {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 3rem;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: start;
}

.chart-wrapper {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.chart-wrapper h3 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.chart-wrapper canvas {
    max-height: 400px;
}

/* ==========================================
   Geography Section
   ========================================== */
.geography {
    padding: 80px 0;
    background: var(--bg-light);
}

.geography-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.geography-table {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.geography-table table {
    width: 100%;
    border-collapse: collapse;
}

.geography-table th,
.geography-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.geography-table th {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
}

.geography-table tr:hover {
    background: rgba(45, 62, 120, 0.03);
}

.geography-table strong {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.geography-chart {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.geography-chart canvas {
    max-height: 400px;
}

/* ==========================================
   Highlight Stats
   ========================================== */
.highlight-stats {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.highlight-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0.5;
}

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

.highlight-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.highlight-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.highlight-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* ==========================================
   Final CTA
   ========================================== */
.final-cta {
    padding: 80px 0;
    background: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-lg);
}

.cta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.cta-description {
    text-align: left;
    margin-bottom: 3rem;
}

.cta-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.cta-description strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.business-contact {
    background: linear-gradient(135deg, rgba(45, 62, 120, 0.05), rgba(78, 205, 196, 0.05));
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.business-contact h4 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.business-contact h4 a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.business-contact h4 a:hover {
    color: var(--light-blue);
}

.business-contact p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.update-info {
    color: var(--text-light);
    font-size: 0.95rem;
}

.update-info strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
    transform: translateY(-2px);
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .charts-container,
    .geography-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .channel-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .strategy-grid,
    .different-grid,
    .packages-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .reference-grid {
        grid-template-columns: 1fr;
    }

    .reference-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .highlight-title {
        font-size: 3.5rem;
    }

    .highlight-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-item {
        padding: 15px 20px;
    }

    .stat-content .stat-value {
        font-size: 1.5rem;
    }

    .package-price {
        font-size: 2rem;
    }

    .highlight-title {
        font-size: 2.5rem;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none !important;
}