@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    /* Clast Brand Colors */
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;
    --bg-accent: #eff6ff;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;

    --primary-blue: #0066FF;
    --primary-hover: #0052cc;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);

    --border-light: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    word-break: keep-all;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-soft {
    background-color: var(--bg-soft);
}

.text-blue {
    color: var(--primary-blue);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    height: 72px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.nav-links li a:hover {
    color: var(--primary-blue);
}

.nav-cta {
    background: var(--primary-blue);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
}

/* Hero */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    background: radial-gradient(circle at 50% 10%, #eff6ff 0%, #fff 60%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
}

.btn-outline {
    border: 1px solid var(--border-light);
    background: white;
}

/* Instructors (Student Cards) */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-secondary);
}

.student-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.instructor-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 800;
}

.instructor-role {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 24px;
    display: inline-block;
    border-bottom: 2px solid var(--bg-accent);
}

.career-item {
    margin-bottom: 12px;
}

.career-title {
    font-weight: 600;
    display: block;
    color: var(--text-primary);
}

.career-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tech-stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tech-badge {
    font-size: 0.75rem;
    background: var(--bg-soft);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
    font-weight: 500;
    border: 1px solid #f1f5f9;
}

/* Slider */
.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 5px;
    scrollbar-width: none;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slide-item {
    min-width: 320px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.project-badges {
    margin-bottom: 12px;
    display: flex;
    gap: 6px;
}

.p-badge {
    font-size: 0.7rem;
    background: var(--bg-soft);
    padding: 2px 8px;
    border-radius: 4px;
}

.p-badge.highlight {
    background: var(--bg-accent);
    color: var(--primary-blue);
}

.project-link-btn {
    display: block;
    text-align: center;
    background: var(--bg-soft);
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 20px;
}

.disabled-link {
    color: var(--text-light);
    cursor: default;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--bg-soft);
    color: var(--primary-blue);
}

.btn-left {
    left: -20px;
}

.btn-right {
    right: -20px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    display: block;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-img {
    width: 100%;
    height: 180px;
    background-color: var(--bg-soft);
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

/* Activity Cards */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.activity-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.activity-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: var(--bg-soft);
}

.activity-content {
    padding: 20px;
}

.activity-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}

.activity-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    margin-top: 60px;
    background: white;
}

/* Contact Section Refinement */
.contact-card-wrapper {
    background: white;
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.poster-display {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.poster-img {
    width: 100%;
    display: block;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.info-item {
    background: var(--bg-soft);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-icon {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Curriculum Box - Premium Redesign */
.curriculum-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 30px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

/* Gradient Top Bar */
.curriculum-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FFAB19 0%, #F7DF1E 50%, var(--primary-blue) 100%);
}

.curr-title {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.curr-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
    padding: 20px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.curr-item:last-child {
    margin-bottom: 0;
}

.curr-item:hover {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.08);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.curr-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.scratch-color {
    background: linear-gradient(135deg, #FFAB19 0%, #FF8C00 100%);
    color: white;
}

.js-color {
    background: linear-gradient(135deg, #F7DF1E 0%, #FFD700 100%);
    color: #333;
}

.curr-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 700;
}

.curr-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Mobile Responsive for Grid */
@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.contact-action .nav-cta {
    font-size: 1.2rem;
    padding: 18px 48px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-action .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 102, 255, 0.4);
}

.contact-sub-text {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

.btn-pulse {
    animation: pulse-blue 2s infinite;
}

@media(max-width:768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .btn-left {
        left: -10px;
    }

    .btn-right {
        right: -10px;
    }
}