/* ==========================================
   시니어영어스토리텔링 - 깔끔한 디자인
   테마: 노랑 & 보라 (빨강 제거)
   ========================================== */

:root {
    --primary-purple: #9B59B6;
    --dark-purple: #7D3C98;
    --light-purple: #E8DAEF;
    --primary-yellow: #F4D03F;
    --dark-yellow: #F39C12;
    --light-yellow: #FCF3CF;
    --white: #ffffff;
    --light-bg: #FDFEFE;
    --dark-text: #2C3E50;
    --gray-text: #566573;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.btn-nav {
    padding: 10px 25px;
    background: var(--primary-purple);
    color: var(--white) !important;
    border-radius: 25px;
}

.btn-nav:hover {
    background: var(--dark-purple);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-text);
    cursor: pointer;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-yellow) 100%);
    text-align: center;
}

.hero-logo {
    max-width: 300px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero {
    background: var(--primary-yellow);
    color: var(--dark-text);
    box-shadow: 0 5px 20px rgba(244, 208, 63, 0.3);
}

.btn-hero:hover {
    background: var(--dark-yellow);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.4);
}

.btn-hero-secondary {
    background: var(--primary-purple);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.3);
}

.btn-hero-secondary:hover {
    background: var(--dark-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
}

.btn-icon {
    width: 24px;
    height: 24px;
}

/* ==========================================
   Intro Section
   ========================================== */
.intro-section {
    padding: 100px 0;
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.intro-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.2);
}

.intro-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-weight: 700;
}

.card-content p {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

/* ==========================================
   Video Section
   ========================================== */
.video-section {
    padding: 100px 0;
    background: var(--light-bg);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 50px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

.video-fallback {
    margin-top: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--gray-text);
}

.video-fallback a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.video-fallback a:hover {
    color: var(--dark-purple);
    text-decoration: underline;
}

.video-fallback i {
    font-size: 1.2rem;
    color: #FF0000;
}

.video-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-youtube,
.btn-youtube-channel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-youtube {
    background: #FF0000;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
    background: #CC0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.btn-youtube-channel {
    background: var(--white);
    color: #FF0000;
    border: 2px solid #FF0000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.btn-youtube-channel:hover {
    background: #FF0000;
    color: var(--white);
    transform: translateY(-3px);
}

.btn-youtube i,
.btn-youtube-channel i {
    font-size: 1.3rem;
}

/* ==========================================
   Benefits Section
   ========================================== */
.benefits-section {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.benefit-item {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.2);
}

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

.benefit-item h3 {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-item p {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

/* ==========================================
   Open Chat Section
   ========================================== */
.openchat-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--light-purple) 100%);
}

.openchat-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.kakao-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.openchat-left h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.3;
}

.openchat-desc {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 40px;
    line-height: 1.8;
}

.openchat-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-purple);
}

.feature span {
    font-size: 1rem;
    color: var(--dark-text);
    font-weight: 600;
}

.btn-openchat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 50px;
    background: var(--primary-yellow);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(244, 208, 63, 0.3);
    transition: all 0.3s ease;
}

.btn-openchat:hover {
    background: var(--dark-yellow);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-text);
    font-weight: 600;
}

.images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.images-grid img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 900;
}

.cta-section p {
    font-size: 1.3rem;
    color: var(--gray-text);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--primary-yellow);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(244, 208, 63, 0.3);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--dark-yellow);
    transform: translateY(-3px);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: transparent;
    color: var(--primary-purple);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary-purple);
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-3px);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--light-yellow);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.footer-contact i {
    color: var(--primary-yellow);
    width: 20px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   Scroll to Top
   ========================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--dark-purple);
    transform: translateY(-5px);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .intro-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .openchat-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .openchat-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .video-buttons {
        flex-direction: column;
    }
    
    .btn-youtube,
    .btn-youtube-channel {
        width: 100%;
        justify-content: center;
    }
}
