:root {
    --bg-color: #08090a;
    --accent-color: #00ff88;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #00ff88 0%, #00bcff 100%);
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Background Effects */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

.blob {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(50px);
}

/* Navigation */
nav {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(8, 9, 10, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
    animation: blink 1s infinite;
}

.status-select {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-color);
    padding: 10px 36px 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.2);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300ff88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    outline: none;
    transition: var(--transition-base);
}

.status-select:hover {
    background-color: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-1px);
}

.status-select option {
    background: #1a1a1a;
    color: var(--text-main);
    padding: 10px;
}

/* Header / Hero */
header {
    padding: 80px 0 60px;
}

header .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 24px;
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Buttons */
.btn {
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn.primary {
    background: var(--text-main);
    color: var(--bg-color);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Generic Card & Form Styles for Admin/Poll */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--accent-color);
}

textarea, input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
    outline: none;
}

textarea:focus, input:focus {
    border-color: var(--accent-color);
    background: rgba(0, 255, 136, 0.05);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.hero-small {
    padding: 60px 0;
    text-align: center;
}

.hero-small h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.hero-small p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Device Mockup / Dot Matrix */
.hero-visual {
    position: relative;
    width: 100%;
}

.image-container {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.6);
    border: 1px solid var(--border-color);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.image-container:hover .hero-image {
    transform: scale(1.05);
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 60px;
    text-align: center;
}

.bg-dim {
    background: rgba(255,255,255,0.015);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 48px 32px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-base);
}

.info-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
}

.info-card .icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.info-card h3 {
    margin-bottom: 16px;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.info-card p {
    color: var(--text-dim);
}

.info-card p a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(0, 255, 136, 0.3);
    transition: var(--transition-base);
}

.info-card p a:hover {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
}

/* Curriculum */
.curriculum-list {
    max-width: 900px;
    margin: 0 auto;
}

.curr-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 40px;
    background: rgba(255,255,255,0.02);
    border-radius: 24px;
    border-left: 6px solid var(--accent-color);
    transition: var(--transition-base);
}

.curr-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(10px);
}

.curr-item .num {
    font-family: 'Outfit';
    font-size: 1.5rem;
    font-weight: 800;
    opacity: 0.3;
    flex-shrink: 0;
}

.curr-item h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.curr-item p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Parts */
.parts-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.parts-image {
    flex: 1;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.parts-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

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

.parts-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.part-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}

.part-item:hover {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.2);
}

.part-item::before {
    content: "✓";
    margin-right: 16px;
    color: var(--accent-color);
    font-weight: 800;
}

/* Instructor Card */
.instructor-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 60px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
    position: relative;
}

.instructor-avatar {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.instructor-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instructor-card h3 {
    font-family: 'Outfit';
    font-size: 2.8rem;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.instructor-card .main-title {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.instructor-card .divider {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 0 0 24px 0;
}

.instructor-list {
    list-style: none;
    color: var(--text-dim);
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.instructor-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.instructor-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* Apply Box */
.apply-box {
    background: var(--gradient-primary);
    padding: 80px 40px;
    border-radius: 48px;
    text-align: center;
    color: var(--bg-color);
    box-shadow: 0 30px 60px rgba(0, 255, 136, 0.2);
}

.apply-box h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-family: 'Outfit';
    margin-bottom: 32px;
    letter-spacing: -1.5px;
}

.price-tags {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
}

.price-item {
    text-align: left;
}

.price-item .label {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.9rem;
    opacity: 0.7;
    display: block;
    margin-bottom: 4px;
}

.price-item .price {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit';
}

.price-item .price span {
    font-size: 1.5rem;
    margin-left: 2px;
}

.price-item.highlight {
    background: rgba(255,255,255,0.2);
    padding: 24px 40px;
    border-radius: 24px;
    transform: translateY(-10px);
}

.btn-large {
    background: var(--bg-color) !important;
    color: #fff !important;
    font-size: 1.5rem;
    padding: 24px 80px;
    border-radius: 20px;
}

.btn-large:hover {
    transform: scale(1.05) translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
}

.caution {
    margin-top: 24px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1000px) {
    header .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-desc { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .image-container { max-width: 600px; margin: 0 auto; }
    
    .parts-flex {
        flex-direction: column;
        gap: 40px;
    }
    .parts-image { width: 100%; max-width: 600px; }
    .parts-list { width: 100%; }

    .instructor-card {
        flex-direction: column;
        text-align: center;
        padding: 60px 40px;
    }
    .instructor-avatar { margin: 0 auto; }
    .instructor-card .divider { margin: 0 auto 24px; }
    .instructor-list { align-items: center; }
}

@media (max-width: 768px) {
    .price-tags {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .price-item.highlight {
        transform: none;
        width: 100%;
        max-width: 300px;
    }
    .btn-large {
        width: 100%;
        padding: 20px;
    }
    .curr-item {
        flex-direction: column;
        gap: 16px;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
