/* 리셋 및 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #25D366;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #25D366;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 히어로 섹션 (풀페이지) */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    position: relative;
    min-height: 100vh;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.campaign-date {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: #FFE066;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.hashtag {
    font-size: 3rem;
    font-weight: 900;
    color: #FFE066;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-container {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFE066;
    text-align: center;
}

.countdown {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.time-unit {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 80px;
}

.time-unit span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FFE066;
}

.time-unit label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.participation-info {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.participants-count strong {
    color: #FFE066;
    font-size: 1.4rem;
}

.campaign-notice {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid #FFE066;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #25D366;
    color: white;
}

.btn-primary:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #25D366;
}

.btn-full {
    width: 100%;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(37, 211, 102, 0.2);
}

/* 4개 그리드 레이아웃을 위한 수정 */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 차트 컨테이너 스타일 */
.chart-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.chart-container h3 {
    text-align: center;
    color: #25D366;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
}

#messengerChart {
    max-height: 400px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: white;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid white;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 일반 섹션 */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* 소개 섹션 */
.about-section {
    background: #f8f9fa;
}

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

.about-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-item:hover {
    transform: translateY(-10px);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.about-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Q&A 섹션 */
.qa-section {
    background: white;
}

.qa-grid {
    max-width: 800px;
    margin: 0 auto;
}

.qa-item {
    margin-bottom: 20px;
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.qa-item:hover {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.2);
    border-color: #25D366;
}

.qa-question {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.qa-question:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.qa-item.active .qa-question {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    color: inherit;
}

.qa-item.active .qa-question:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.qa-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.qa-question:hover h3 {
    color: white;
}

.qa-item.active .qa-question h3 {
    color: #2c3e50;
}

.qa-item.active .qa-question:hover h3 {
    color: white;
}

.qa-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #25D366;
    transition: all 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.qa-question:hover .qa-toggle {
    color: white;
    transform: rotate(45deg);
}

.qa-item.active .qa-question .qa-toggle {
    color: #25D366;
    transform: rotate(45deg);
}

.qa-item.active .qa-question:hover .qa-toggle {
    color: white;
    transform: rotate(45deg);
}

.qa-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.qa-item.active .qa-answer {
    padding: 20px 25px;
    max-height: 400px;
}

.qa-item.active .qa-toggle {
    transform: rotate(45deg);
    color: #25D366;
}

.qa-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 특징 섹션 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 4rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-content p {
    margin-bottom: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
}

.feature-content ul {
    list-style: none;
}

.feature-content li {
    padding: 0.5rem 0;
    color: #3498db;
    position: relative;
    padding-left: 1.5rem;
}

.feature-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* 연락처 섹션 */
.contact-section {
    background: #f8f9fa;
}

.contact-center {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-center h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.link-copy-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.link-copy-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* 푸터 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-container {
        max-width: 90%;
        padding: 70px 15px 0 15px;
        min-height: calc(100vh - 70px);
        margin-top: 70px;
    }

    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .hashtag {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .countdown-title {
        font-size: 1.2rem;
    }

    .countdown-container {
        margin-bottom: 1rem;
    }

    .countdown {
        gap: 1rem;
    }

    .time-unit {
        min-width: 60px;
        padding: 0.8rem;
    }

    .time-unit span {
        font-size: 1.5rem;
    }

    .campaign-date {
        font-size: 1rem;
    }

    .participation-info {
        font-size: 1rem;
    }

    .participants-count strong {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .chart-container {
        padding: 20px 15px;
        margin: 30px 0;
    }

    .chart-container h3 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    #messengerChart {
        max-height: 300px;
    }

    .qa-grid {
        padding: 0 10px;
    }

    .qa-question {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .qa-question h3 {
        font-size: 1rem;
        line-height: 1.4;
        flex: 1;
        margin-right: 10px;
    }

    .qa-toggle {
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .qa-answer {
        padding: 0 20px;
    }

    .qa-item.active .qa-answer {
        padding: 15px 20px;
        max-height: 250px;
    }

    .contact-center {
        padding: 0 20px;
    }

    .contact-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-bottom: 2rem;
    }

    .link-copy-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

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

    .feature-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

    .nav-container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 30px 15px 0 15px;
        margin-top: 15px;
    }

    .hero-title {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hashtag {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .countdown-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .countdown-container {
        margin-bottom: 0.5rem;
    }

    .countdown {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .time-unit {
        min-width: 50px;
        padding: 0.6rem;
    }

    .time-unit span {
        font-size: 1.2rem;
    }

    .time-unit label {
        font-size: 0.8rem;
    }

    .campaign-notice {
        font-size: 0.75rem;
        padding: 0.8rem;
        margin-top: 1rem;
    }

    .participation-info {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .participants-count strong {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

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

    .about-item,
    .contact-form {
        padding: 1.5rem;
    }
}