* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6B5CE0;
    --secondary-purple: #8B7AE8;
    --accent-yellow: #FFD93D;
    --accent-orange: #FF8C42;
    --accent-pink: #FF6B9D;
    --accent-green: #4ECDC4;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --bg-light: #F8F9FA;
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: transform 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

header nav .login-btn {
    display: none !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-purple);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF6B6B, #FF8C42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

/* 햄버거 메뉴 */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 70px;  /* 기존 80px → 70px로 조정 */
    padding: 40px 0;
    background: var(--gradient-purple);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-yellow);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Content Cards */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 60px 0;
}

.content-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-image-icon {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    overflow: hidden;
}

.card-image-icon img,
.card-image-icon picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 190px;
    right: 10px;
    background: var(--accent-yellow);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    background: #000;
    outline: none;
    object-fit: cover;
}

/* Testimonial Section */
.testimonial-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.testimonial-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.testimonial-date {
    font-size: 14px;
    color: #666;
}

.testimonial-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    background: #000;
    margin-bottom: 30px;
    outline: none;
    object-fit: cover;
}

/* Testimonial Slider */
.testimonial-slider {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--bg-light);
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--bg-light);
    border-radius: 15px;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: none;
}

.slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide img,
.slide picture {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-dots {
    text-align: center;
    margin-top: 25px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot:hover {
    background: #bbb;
}

.dot.active {
    background: var(--primary-purple);
    width: 30px;
    border-radius: 6px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    color: var(--primary-purple);
    font-weight: 700;
    line-height: 1;
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* Form Section */
.form-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 36px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 92, 224, 0.1);
}

.phone-group {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 10px;
    align-items: center;
}

.phone-separator {
    font-weight: 700;
    color: #666;
}

.role-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.privacy-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 700;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 30px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.4);
}

/* ISE 학습 구조 섹션 */
.learning-structure-section {
    padding: 40px 0;
    background: white;
}

.diagram-section {
    background: white;
    border-radius: 25px;
    padding: 30px 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.diagram-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.venn-diagram {
    position: relative;
    height: 220px;
    margin-bottom: 20px;
}

.circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.circle:hover {
    transform: scale(1.05);
}

.circle-reception {
    background: #FFD54F;
    color: #000;
    left: 20px;
    top: 40px;
    z-index: 1;
}

.circle-production {
    background: #FF8A65;
    color: white;
    right: 20px;
    top: 40px;
    z-index: 1;
}

.circle-interaction {
    background: #4FC3F7;
    color: white;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 2;
    width: 120px;
    height: 120px;
}

.circle-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 5px;
}

.circle-subtitle {
    font-size: 13px;
    opacity: 0.9;
}

.diagram-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.main-section {
    margin-bottom: 50px;
}

.section-header.reception,
.section-header.production,
.section-header.interaction {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-header.reception {
    background: linear-gradient(135deg, #FFD54F 0%, #FFC107 100%);
}

.section-header.production {
    background: linear-gradient(135deg, #FF8A65 0%, #FF5722 100%);
}

.section-header.interaction {
    background: linear-gradient(135deg, #4FC3F7 0%, #0288D1 100%);
}

.section-header.reception .section-title,
.section-header.production .section-title,
.section-header.interaction .section-title {
    color: white;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
}

.section-header.reception .section-title {
    color: #000;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.category-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.category-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
}

.category-subtitle {
    font-size: 13px;
    color: #888;
}

.item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.item-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
}

.item-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.item-desc {
    font-size: 13px;
    color: #666;
}

.patent-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: linear-gradient(135deg, #FFD93D, #FF8C42);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.level-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.level-badge.level-beginner {
    background: #E8F5E9;
    color: #2E7D32;
}

.level-badge.level-intermediate {
    background: #FFF3E0;
    color: #E65100;
}

.level-badge.level-advanced {
    background: #FCE4EC;
    color: #C2185B;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd 50%, transparent);
    margin: 40px 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--gradient-purple);
    color: white;
}

.menu-header .logo {
    color: white;
}

.menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.menu-link:hover {
    background: var(--bg-light);
    color: var(--primary-purple);
}

.menu-icon {
    font-size: 20px;
    margin-right: 12px;
}

.menu-arrow {
    margin-left: auto;
    font-size: 18px;
    color: #999;
    transition: transform 0.3s ease;
}

.menu-item.active .menu-arrow {
    transform: rotate(90deg);
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.menu-item.active .submenu {
    max-height: 200px;
}

.submenu li a {
    display: block;
    padding: 12px 25px 12px 60px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.submenu li a:hover {
    color: var(--primary-purple);
    background: white;
    padding-left: 65px;
}

.menu-footer {
    padding: 20px 25px;
    border-top: 1px solid #f0f0f0;
}

.menu-login-btn {
    display: block;
    text-align: center;
    padding: 15px;
    background: var(--gradient-purple);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.menu-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 92, 224, 0.3);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 반응형 */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .hero {
        margin-top: 110px;
        padding: 30px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }

    .phone-group {
        grid-template-columns: 1fr;
    }

    .phone-separator {
        display: none;
    }

    .role-group {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }
    
    .video-container {
        padding: 20px;
    }
    
    .slider-container {
        height: 400px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .diagram-title {
        font-size: 24px;
    }

    .venn-diagram {
        height: 200px;
    }

    .circle {
        width: 120px;
        height: 120px;
    }

    .circle-interaction {
        width: 100px;
        height: 100px;
    }

    .circle-title {
        font-size: 16px;
    }

    .circle-subtitle {
        font-size: 11px;
    }

    .section-header.reception .section-title,
    .section-header.production .section-title,
    .section-header.interaction .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 300px;
    }
    
    .video-player,
    .testimonial-video {
        aspect-ratio: 4 / 3;
    }
}