/* Color Palette (NO BLACK, NO GOLD)
   Primary: Soft Blue/Lavender (#7B8CDE)
   Secondary: Light Lavender (#EBEFFF)
   Text Dark: Deep Gray-Blue (#2A2E43)
   Text Light: Medium Gray (#6C7293)
   Background: Off-White (#F8F9FE)
   White: #FFFFFF
*/

:root {
    --primary-color: #6C5B7B; /* Elegant warm purplish gray */
    --primary-light: #C06C84; /* Soft warm tone */
    --secondary-color: #355C7D; /* Deep calm blue */
    --bg-color: #F8F9FA;
    --text-main: #333945;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --kakao-yellow: #FEE500;
    --kakao-text: #3b1e1e; /* Dark brown for kakao, avoiding black */
    --shadow: 0 10px 30px rgba(53, 92, 125, 0.08);
}

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

body {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo span {
    font-weight: 300;
    color: var(--primary-light);
}

nav a {
    margin-left: 2rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 120px 0;
    background: linear-gradient(135deg, #F6F8FD 0%, #E8EAF6 100%);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.hero h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero h2 b {
    font-weight: 700;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kakao-btn {
    background-color: var(--kakao-yellow);
    color: var(--kakao-text) !important;
    box-shadow: 0 4px 15px rgba(254, 229, 0, 0.3);
}

.kakao-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(254, 229, 0, 0.4);
}

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

.call-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 80px 0;
}

.info-card {
    background-color: var(--white);
    padding: 4rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.info-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background-color: #FDFDFD;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

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

.course-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid #F0F2F5;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-card.popular {
    border: 2px solid var(--primary-light);
    transform: scale(1.05);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F7 100%);
}

.course-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--primary-light);
    color: var(--white);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.9rem;
}

.course-header {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.course-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.course-price span {
    font-size: 1.2rem;
    font-weight: 400;
}

.course-details {
    list-style: none;
    text-align: left;
}

.course-details li {
    padding: 10px 0;
    border-bottom: 1px dashed #E5E7EB;
    color: var(--text-main);
}

.course-details li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid #EBEFFF;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    background: var(--white);
    border-color: var(--primary-light);
}

.faq-question {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: #F8F9FA;
}

.reviewSwiper {
    padding-bottom: 20px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.review-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #E5E7EB;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    align-items: center;
}

.review-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.review-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-stars {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-main);
    line-height: 1.6;
    font-size: 1.05rem;
    flex-grow: 1;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-light) !important;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-box {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 30px;
    padding: 5rem 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(53, 92, 125, 0.2);
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-box p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.phone-number {
    font-size: 3rem !important;
    font-weight: 700;
    margin-bottom: 3rem !important;
}

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

.btn.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: #F8F9FA;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #E5E7EB;
    color: var(--text-muted);
}

.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .course-card.popular {
        transform: scale(1);
    }
    .course-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        justify-content: center;
    }
    nav {
        display: none; /* simple mobile header */
    }
    .hero h2 {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .course-grid {
        grid-template-columns: 1fr;
    }
    .action-buttons {
        flex-direction: column;
    }
    .phone-number {
        font-size: 2rem !important;
    }
}
