/* CSS Variables & Reset */
:root {
    --primary: #9d4eff;
    /* Neon Purple */
    --primary-dim: #7b3dcc;
    --accent: #00e5ff;
    /* Cyan Accent */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --text-dim: #666666;
    --border: #333333;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(157, 78, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dim);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: black;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    background: url('assets/hero_background.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
    /* Avoid overlap issues if sticky nav behavior varies */
}

/* Fallback if image not yet ready or fails */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(10, 10, 10, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

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

.about-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about-card ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-card ul li:last-child {
    border-bottom: none;
}

/* Tabs */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(157, 78, 255, 0.05) 100%);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dim);
}

.pricing-card .features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card .features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.curriculum-info {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.curriculum-info h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.curriculum-info p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Recording Table */
.recording-table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border);
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.custom-table th,
.custom-table td {
    text-align: left;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.custom-table td {
    color: white;
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-align: right;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-sub {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.info-item p,
.info-item a {
    color: var(--text-muted);
    line-height: 1.5;
}

.info-item a:hover {
    color: var(--primary);
}

.map-placeholder {
    height: 400px;
    background: #222;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.map-mockup {
    text-align: center;
    color: var(--text-dim);
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-darker);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-business-info {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.footer-business-info p {
    margin-bottom: 0.5rem;
}

.footer-business-info strong {
    color: var(--text-muted);
    font-weight: normal;
}

.copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }

    /* Simplified for MVP */
    .mobile-menu-btn {
        display: block;
    }

    .section {
        padding: 60px 0;
    }
}

/* New Image Styles */
.about-grid {
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

.recording-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.recording-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

@media (max-width: 900px) {
    .recording-container {
        grid-template-columns: 1fr;
    }

    .recording-image {
        order: -1;
        max-height: 300px;
        overflow: hidden;
        border-radius: 20px;
    }
}

/* Video Samples Section */
.video-samples {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
}

.video-samples-title {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.video-container:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

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

/* Lesson Philosophy */
.lesson-philosophy {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(30, 30, 30, 0.8));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.philosophy-text {
    line-height: 1.8;
    color: var(--text-muted);
}

.philosophy-text strong {
    color: var(--text-main);
    color: var(--accent);
}

/* Detailed Curriculum List */
.curriculum-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    text-align: left;
    margin-top: 1.5rem;
}

.curriculum-list li {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    border-left: 3px solid var(--primary);
}

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

.work-category {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.work-category:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.work-category h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.work-category p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 3rem;
}


/* Updated About Layout */
.about-grid {
    align-items: start !important;
    /* Force top alignment */
}

.partners-list-wrapper {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
}

.partners-list-wrapper h3 {
    color: var(--accent);
    /* Purple, matches Instructor Profile */
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.partners-list-wrapper ul {
    list-style: none;
    padding-left: 0;
}

.partners-list-wrapper ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.partners-list-wrapper ul li::before {
    content: '\2022';
    /* Bullet point */
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}


/* Map Link Card */
.map-link-card {
    display: block;
    width: 100%;
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero_background.png');
    /* Use hero bg as fallback texture */
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.map-link-card:hover {
    border-color: #2DB400;
    /* Naver Green for context */
    transform: translateY(-5px);
}

.map-content {
    text-align: center;
    color: white;
}

.map-content span:first-child {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2DB400;
    /* Naver Green */
    display: block;
    margin-bottom: 0.5rem;
}

.map-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.map-content .btn-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: var(--transition);
}

.map-link-card:hover .btn-text {
    background: #2DB400;
    color: white;
    border-color: #2DB400;
}


/* Price List Section */
.pricelist-container {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.pricelist-image {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.pricelist-actions {
    margin-top: 1rem;
}