/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
:root {
    --primary-color: #e91e63;
    --primary-dark: #c2185b;
    --secondary-color: #263238;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #fff3f3 0%, #ffe0e0 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-kakao {
    background-color: #FEE500;
    color: #000000;
    border: 2px solid #FEE500;
}

.btn-kakao:hover {
    background-color: #e6cf00;
    border-color: #e6cf00;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(233, 30, 99, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-light);
}

/* ==========================================================================
   Pricing Section (Courses)
   ========================================================================== */
.pricing {
    background-color: var(--bg-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.price-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.price-card.popular::before {
    content: 'BEST 추천';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: 600;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.course-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.course-price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 30px;
}

.course-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.course-features {
    text-align: left;
    margin-bottom: 40px;
}

.course-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.course-features li i {
    color: var(--primary-color);
    margin-right: 15px;
}

/* ==========================================================================
   Recommendation Section
   ========================================================================== */
.recommend {
    background-color: var(--bg-color);
}

.recommend-list {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.recommend-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.recommend-item:last-child {
    margin-bottom: 0;
}

.recommend-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 3px;
}

.recommend-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ==========================================================================
   Guide Section
   ========================================================================== */
.guide {
    background-color: var(--white);
}

.guide-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.guide-step {
    flex: 1;
    min-width: 250px;
    background: var(--bg-color);
    padding: 40px 30px 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 3px solid var(--white);
}

.guide-step h3 {
    margin-top: 5px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    background-color: var(--bg-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.faq-q {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.faq-q i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.faq-a {
    color: var(--text-light);
    line-height: 1.7;
    padding-left: 34px;
}

/* ==========================================================================
   Areas Section (SEO Links)
   ========================================================================== */
.areas {
    background-color: var(--white);
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.area-tag {
    padding: 12px 25px;
    background-color: var(--bg-color);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.area-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* ==========================================================================
   Floating Action Button
   ========================================================================== */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.fab:hover {
    transform: scale(1.1);
}

.fab-kakao {
    background-color: #FEE500;
    color: #000;
}

.fab-phone {
    background-color: var(--primary-color);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.popular {
        transform: scale(1);
    }

    .price-card.popular:hover {
        transform: translateY(-10px);
    }
}