:root {
    --background: #ffffff;
    --foreground: #0f172a;
    --primary: #0f172a;
    --muted-foreground: #64748b;
    --accent: #3b82f6;
    --border: #e2e8f0;
    --card: #ffffff;
    --blue-soft: #eff6ff;
    --beige-bg: #fdfbf7;
    --beige-light: #f3f4f6;

    --font-main: 'Noto Sans KR', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--foreground);
    line-height: 1.6;
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    letter-spacing: normal;
}

.section {
    padding: 120px 0 100px;
}

@media (min-width: 768px) {
    .section {
        padding: 160px 0 140px;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

.header-container {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.nav-list {
    display: none;
}

@media (min-width: 768px) {
    .nav-list {
        display: flex;
        gap: 20px;
        font-size: 0.875rem;
    }
}

.nav-list button {
    color: var(--foreground);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: all 0.2s;
}

.nav-list button:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.header-btn {
    display: none;
}

@media (max-width: 767px) {
    .header-btn {
        display: inline-flex;
        padding: 12px 24px;
        font-size: 0.875rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--beige-bg);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* Hero */
.hero {
    padding: 64px 0 80px;
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), var(--background));
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

@media (min-width: 992px) {
    .hero-container {
        flex-wrap: nowrap;
    }
}

.hero-content {
    flex: 1;
    min-width: 320px;
}

.badge-pill {
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 14px;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 24px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.tag {
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.hero-note {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.hero-image-container {
    flex: 1;
    min-width: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.section-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 24px;
    text-align: left;
}

@media (min-width: 768px) {
    .section-desc {
        font-size: 1rem;
    }
}

/* Grid */
.grid-3 {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-2 {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Cards */
.card {
    background-color: var(--card);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
    transition: box-shadow 0.2s;
    border: 1px solid transparent;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 9999px;
    background-color: var(--blue-soft);
    color: var(--primary);
    margin-bottom: 6px;
}

.card-title-sm {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.card-title-md {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .card-title-md {
        font-size: 1.125rem;
    }
}

.card-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* Tags in Programs */
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-sm {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 9999px;
    background-color: var(--beige-light);
}

/* Tracks */
.track-card {
    padding: 20px;
}

.track-a {
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), var(--card));
}

.track-b {
    background: linear-gradient(to bottom right, rgba(243, 244, 246, 0.5), var(--card));
}

.track-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.check-list li {
    display: flex;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 10px;
    line-height: 1.5;
}

.check-list li::before {
    content: '•';
    color: var(--accent);
    font-weight: 700;
}

/* Schedule Table */
.table-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.schedule-table th {
    text-align: left;
    padding: 12px;
    font-weight: 700;
    color: var(--primary);
    background-color: rgba(59, 130, 246, 0.1);
    border-bottom: 2px solid var(--border);
}

.schedule-table td {
    padding: 12px;
    color: var(--muted-foreground);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.schedule-table tr:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

/* AI System */
.ai-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.ai-content {
    flex: 1;
    min-width: 280px;
}

.ai-features {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background-color: var(--blue-soft);
    box-shadow: var(--shadow-md);
    transition: all 0.2s;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background-color: var(--beige-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 1.125rem;
    }
}

.feature-desc {
    font-size: 0.875rem;
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.4;
}

/* Check List Small */
.check-list-sm li {
    display: flex;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 6px;
    line-height: 1.5;
}

.check-list-sm li::before {
    content: '•';
    color: var(--accent);
    margin-top: 2px;
}

/* Contact */
.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.contact-details {
    flex: 1;
    min-width: 320px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-details p {
    margin-bottom: 6px;
}

.link-accent {
    color: var(--accent);
}

.link-accent:hover {
    text-decoration: underline;
}

.contact-note {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 9999px;
    background-color: var(--card);
    border: 1px solid rgba(226, 232, 240, 0.5);
    margin-top: 6px;
}

.map-container {
    flex: 1;
    min-width: 320px;
    min-height: 240px;
    border-radius: 16px;
    overflow: hidden;
}

.map-img {
    height: 100%;
    min-height: 240px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    background-color: var(--beige-light);
    padding: 16px 0;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

/* Utility */
.mt-6 {
    margin-top: 24px;
}

.mt-10 {
    margin-top: 40px;
}

.mt-8 {
    margin-top: 32px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 16px;
}

.text-left {
    text-align: left;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 8px;
    text-align: left;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.bg-beige {
    background-color: var(--beige-bg);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--beige-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.ai-content {
    flex: 1;
    min-width: 280px;
}

.ai-features {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background-color: var(--blue-soft);
    box-shadow: var(--shadow-md);
    transition: all 0.2s;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background-color: var(--beige-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 1.125rem;
    }
}

.feature-desc {
    font-size: 0.875rem;
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.4;
}

/* Check List Small */
.check-list-sm li {
    display: flex;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 6px;
    line-height: 1.5;
}

.check-list-sm li::before {
    content: '•';
    color: var(--accent);
    margin-top: 2px;
}

/* Contact */
.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.contact-details {
    flex: 1;
    min-width: 320px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-details p {
    margin-bottom: 6px;
}

.link-accent {
    color: var(--accent);
}

.link-accent:hover {
    text-decoration: underline;
}

.contact-note {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 9999px;
    background-color: var(--card);
    border: 1px solid rgba(226, 232, 240, 0.5);
    margin-top: 6px;
}

.map-container {
    flex: 1;
    min-width: 320px;
    min-height: 240px;
    border-radius: 16px;
    overflow: hidden;
}

.map-img {
    height: 100%;
    min-height: 240px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    background-color: var(--beige-light);
    padding: 16px 0;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

/* Utility */
.mt-6 {
    margin-top: 24px;
}

.mt-10 {
    margin-top: 40px;
}

.mt-8 {
    margin-top: 32px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 16px;
}

.text-left {
    text-align: left;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 8px;
    text-align: left;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.bg-beige {
    background-color: var(--beige-bg);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--beige-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* Contact Section */
.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .contact-layout {
        flex-direction: row;
        align-items: flex-start;
    }
}

.contact-details {
    flex: 1;
}

.contact-details p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-note {
    display: block;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.map-container {
    flex: 1;
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.map-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
}