* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* iOS 두 번 탭 확대 방지 */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

body {
    font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background-color: #f8f8f8;
    font-weight: 400;
    /* iOS 두 번 탭 확대 방지 */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

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

/* 모든 이미지 및 비디오에 대한 보호 */
img, video {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    /* 길게 누르기 방지 */
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Header now uses Tailwind CSS */

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Images */
.hero-images {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.hero-image-left,
.hero-image-right {
    flex: 1;
    position: relative;
}

.hero-image-left img,
.hero-image-left video,
.hero-image-right img,
.hero-image-right video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 이미지 및 비디오 다운로드 방지 */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.hero-image-left {
    background: #ffffff;
}

.hero-image-right {
    background: #ffffff;
}

/* Remove old hero content styles */

/* About Us section now uses Tailwind CSS */

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(26, 26, 26, 0.15);
}

.btn-primary:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(26, 26, 26, 0.25);
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #e5e7eb;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    transform: translateY(-2px);
}

.btn-outline {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    border-color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.8rem;
    color: #6366f1;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

.section-header h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Courses Section */
.courses {
    padding: 8rem 0;
    background: #fff;
}

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

.course-card {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.course-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.course-card p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.course-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.course-link:after {
    content: '→';
    transition: transform 0.2s ease;
    font-size: 1.1rem;
}

.course-link:hover {
    color: #4f46e5;
}

.course-link:hover:after {
    transform: translateX(4px);
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0;
    background: #f8f8f8;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    opacity: 0.2;
    z-index: -1;
}

.step h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.step p {
    color: #6b7280;
    line-height: 1.6;
    font-weight: 400;
    max-width: 300px;
    margin: 0 auto;
}

/* Why Talkee Section */
.why-talkee {
    padding: 8rem 0;
    background: #fff;
}

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

.feature {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.feature-content {
    padding: 2rem;
    text-align: left;
}

.feature-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: #f8f8f8;
}

.testimonial-card {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.instructor-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.instructor-image {
    flex-shrink: 0;
}

.instructor-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instructor-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.testimonial-role {
    color: #666;
    line-height: 1.6;
}

.testimonial-content blockquote {
    font-size: 1.125rem;
    color: #333;
    line-height: 1.6;
    font-style: italic;
    border-left: 4px solid #000;
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
    background: #fff;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.5rem;
    border-radius: 50px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #6b7280;
    position: relative;
}

.toggle-btn.active {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.save-badge {
    background: #10b981;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: #6366f1;
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.plan-description {
    color: #6b7280;
    margin-bottom: 2rem;
    font-weight: 400;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.price span {
    font-size: 1.125rem;
    font-weight: 500;
    color: #6b7280;
}

.features {
    text-align: left;
    margin-bottom: 2.5rem;
}

.features p {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.features ul {
    list-style: none;
    space-y: 0.75rem;
}

.features li {
    color: #6b7280;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 2rem;
    line-height: 1.5;
    font-weight: 400;
}

.features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: 700;
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Teachers Section */
.teachers {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.teacher-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.teacher-role {
    color: #666;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.teacher-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.teacher-card p {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 8rem 0;
    background: #f8f8f8;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    text-align: left;
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.6;
    font-weight: 400;
}

/* Blog Section */
.blog {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.blog-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    text-align: left;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.blog-category {
    background: #f8f9fa;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.blog-date {
    color: #888;
    font-size: 0.875rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

.blog-footer {
    text-align: center;
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.5;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.cta .btn-primary {
    background: #fff;
    color: #1a1a1a;
    font-size: 1.1rem;
    padding: 1.25rem 3rem;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.cta .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 4rem 0 2rem;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-main h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -0.01em;
}

.footer-main p {
    color: #9ca3af;
    line-height: 1.6;
    font-weight: 400;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 400;
}

/* 플로팅 카카오톡 버튼 */
.floating-kakao {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.kakao-btn {
    display: block;
    width: 80px;
    height: 80px;
    background: #FEE500;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.2;
    padding: 12px 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.kakao-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(254, 229, 0, 0.4);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

/* Image Slider */
.image-slider {
    width: 100%;
    overflow: hidden !important;
    position: relative;
    height: 385px; /* 365px + 20px margin */
}

.slider-track {
    display: flex !important;
    flex-direction: row !important;
    width: calc((365px + 20px) * 16) !important; /* 16개 이미지 * (너비 + 마진) */
    animation: slideRTL 90s linear infinite;
    height: 365px;
    align-items: center;
}

.slider-image {
    width: 365px !important;
    height: 365px !important;
    flex-shrink: 0 !important;
    border-radius: 8px;
    margin-right: 20px;
    object-fit: cover;
    display: block !important;
}

@keyframes slideRTL {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile 크기 조정 */
@media (max-width: 768px) {
    .image-slider {
        height: 315px; /* 300px + 15px margin */
    }
    
    .slider-track {
        width: calc((300px + 15px) * 16) !important;
        height: 300px;
    }
    
    .slider-image {
        width: 300px !important;
        height: 300px !important;
        margin-right: 15px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: auto;
        width: 100%;
        margin-top: 70px;
    }
    
    .hero-images {
        height: auto;
        width: 100%;
        flex-direction: column;
    }
    
    .hero-image-left {
        height: 0;
        width: 100%;
        aspect-ratio: 9/16;
        min-height: 400px;
        max-height: 60vh;
        flex: none;
    }
    
    .hero-image-right {
        height: 0;
        width: 100%;
        aspect-ratio: 9/16;
        min-height: 400px;
        max-height: 60vh;
        flex: none;
    }
    
    /* About Us styles removed - now using Tailwind */
    
    .instructor-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .instructor-image img {
        width: 100px;
        height: 100px;
    }
    
    /* Nav styles removed - using Tailwind */
    
    .pricing-card.featured {
        transform: none;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .courses,
    .how-it-works,
    .why-talkee,
    .testimonials,
    .pricing,
    .faq,
    .cta {
        padding: 4rem 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: auto;
        width: 100%;
        margin-top: 70px;
    }
    
    .hero-images {
        height: auto;
        width: 100%;
        flex-direction: column;
    }
    
    .hero-image-left {
        height: 0;
        width: 100%;
        aspect-ratio: 9/16;
        min-height: 350px;
        max-height: 50vh;
        flex: none;
    }
    
    .hero-image-right {
        height: 0;
        width: 100%;
        aspect-ratio: 9/16;
        min-height: 350px;
        max-height: 50vh;
        flex: none;
    }
    
    /* About Us styles removed - now using Tailwind */
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .instructor-profile {
        gap: 1rem;
    }
    
    .instructor-image img {
        width: 80px;
        height: 80px;
    }
    
    .feature-content {
        padding: 1.5rem;
    }
    
    .course-card,
    .testimonial-card,
    .pricing-card,
    .teacher-card,
    .blog-card {
        padding: 1.5rem;
    }
    
    .floating-kakao {
        right: 15px;
        bottom: 15px;
    }
    
    .kakao-btn {
        width: 60px;
        height: 60px;
        font-size: 0.65rem;
        padding: 8px 6px;
    }
}

 