/* Pretendard Font Import */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Force browser refresh */
}

body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 1.5;
    color: #FFFFFF;
    background-color: #000000;
    overflow-x: hidden;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    /* Mobile optimizations */
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* Prevent any element from causing horizontal overflow on very small screens */
@media (max-width: 360px) {
    .example-card {
        width: 240px;
    }
    
    .testimonial-card {
        width: 250px;
    }
    
    .examples-track,
    .testimonial-slider {
        padding-left: 8px;
    }
    
    .hero-main-title,
    .hero-sub-title,
    .hero-line {
        padding: 0 8px;
    }
    
    .hero-description {
        padding: 0 8px;
    }
    
    .education-keywords {
        padding: 0 8px;
    }
}

/* Medium screens - hide navigation and adjust hero */
@media (max-width: 950px) {
    .header-nav {
        display: none;
    }
    
}

/* Larger mobile devices */
@media (max-width: 950px) and (min-width: 769px) {
    .header-content {
        justify-content: space-between;
    }
    
    .logo-image {
        height: 36px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

/* Toss Design System Color Variables */
:root {
    /* Primary Colors */
    --primary-blue: #2E6FF2;
    --primary-dark: #1A4DB8;
    --primary-light: #E8F1FF;
    
    /* Secondary Gradients */
    --purple-gradient-start: #E8D5FF;
    --purple-gradient-end: #F3E8FF;
    --blue-gradient-start: #D5E8FF;
    --blue-gradient-end: #E8F4FF;
    
    /* Neutral Colors */
    --black: #000000;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    
    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
}

/* Typography */
.h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
}

.h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--white);
}

.h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
}

.h4 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.6;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    font-weight: 700;
}


/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0d1117;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #21262d;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* CTA Button Styles - Toss Design System */
.cta-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(46, 111, 242, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* Mobile touch improvements */
@media (hover: none) and (pointer: coarse) {
    .cta-button {
        min-height: 44px;
        min-width: 44px;
        padding: 16px 24px;
    }
    
    .nav-link {
        padding: 8px 4px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Examples Section - Scrolling Cards */
.examples-section {
    margin-top: 3rem;
    padding: 3rem 0;
    overflow: visible;
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    /* Performance optimization for mobile */
    will-change: transform;
}

.examples-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.examples-track {
    display: flex;
    gap: 24px;
    animation: scroll-right-to-left 30s linear infinite;
    width: max-content;
    padding-left: 24px;
}

.example-card {
    flex-shrink: 0;
    width: 360px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.example-card-1 { animation: float-1 4s ease-in-out infinite; }
.example-card-2 { animation: float-2 4.5s ease-in-out infinite; }
.example-card-3 { animation: float-3 5s ease-in-out infinite; }
.example-card-4 { animation: float-4 4.2s ease-in-out infinite; }
.example-card-5 { animation: float-5 4.8s ease-in-out infinite; }
.example-card-6 { animation: float-6 5.3s ease-in-out infinite; }
.example-card-7 { animation: float-7 4.6s ease-in-out infinite; }

.example-image {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.example-card-1 .example-image {
    background-image: url('img/page-1.png');
}

.example-card-2 .example-image {
    background-image: url('img/page-2.png');
}

.example-card-3 .example-image {
    background-image: url('img/page-3.png');
}

.example-card-4 .example-image {
    background-image: url('img/page-4.png');
}

.example-card-5 .example-image {
    background-image: url('img/page-5.png');
}

.example-card-6 .example-image {
    background-image: url('img/page-6.png');
}

.example-card-7 .example-image {
    background-image: url('img/page-7.png');
}

.example-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%);
}

.example-title {
    text-align: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Scroll Animation */
@keyframes scroll-right-to-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Float Animations with different patterns */
@keyframes float-1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(-4px); }
    50% { transform: translateY(6px); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(2px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-4 {
    0%, 100% { transform: translateY(-6px); }
    50% { transform: translateY(4px); }
}

@keyframes float-5 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-6 {
    0%, 100% { transform: translateY(-8px); }
    50% { transform: translateY(8px); }
}

@keyframes float-7 {
    0%, 100% { transform: translateY(3px); }
    50% { transform: translateY(-7px); }
}

/* Responsive Design for Examples */
@media (max-width: 768px) {
    .examples-section {
        padding: 2rem 0;
        margin-top: 1.5rem;
    }
    
    .examples-container {
        padding: 15px 0;
    }
    
    .example-card {
        width: 320px;
    }
    
    .examples-track {
        gap: 16px;
        padding-left: 16px;
        animation: scroll-right-to-left 35s linear infinite;
    }
    
    .example-title {
        font-size: 13px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .examples-section {
        padding: 1.5rem 0;
        overflow: hidden;
        margin-top: 1rem;
    }
    
    .examples-container {
        padding: 10px 0;
        overflow: hidden;
    }
    
    .example-card {
        width: 260px;
    }
    
    .examples-track {
        animation: scroll-right-to-left 30s linear infinite;
        padding-left: 12px;
    }
    
    .example-title {
        font-size: 12px;
        margin-top: 8px;
    }
}

/* Typing Animation */
.typing-animation-container {
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    min-height: 2.5rem;
    background: #1a2332;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid #2d3e56;
    line-height: 1.6;
}

.typing-prefix, .typing-suffix {
    color: var(--gray-300);
}

.typing-text {
    color: var(--primary-blue);
    font-weight: 700;
    min-width: 1px;
}

.typing-cursor {
    color: var(--primary-blue);
    animation: blink 1s step-end infinite;
    font-weight: 400;
}

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

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Director Skills Cards */
.director-skills {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 700px;
    margin: 3rem auto;
}

.director-skill-card {
    background: #1a2332;
    border: 1px solid #2d3e56;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    opacity: 0.3;
    line-height: 1;
}

.skill-content {
    text-align: center;
}

.skill-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.skill-content p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.5;
    margin: 0;
}


/* Navigation Styles */
.navigation {
    position: sticky;
    top: 70px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 900;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-400);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    padding-bottom: 3rem; /* Space between content and footer */
    overflow-x: hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    padding: 6rem 0;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    width: 100%;
    margin: 0 auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(46, 111, 242, 0.1) 0%, transparent 70%);
    pointer-events: none;
}


/* Hero Logo */
.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.hero-logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Hero Titles */
.hero-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-sub-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Hero Description */
.hero-description {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-line {
    font-size: 1.3rem;
    color: var(--gray-300);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
}

.hero-line.animated {
    animation: slideInUp 0.8s ease-out forwards;
}

.benefit-highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Education Keywords */
.education-keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.education-keywords.animated {
    animation: slideInUp 0.8s ease-out forwards;
}

.keyword {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: #1a2332;
    border: 1px solid var(--primary-blue);
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
}


/* Hero CTA */
.hero-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 20px 40px;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-cta:hover::before {
    left: 100%;
}

.pulse-effect {
    animation: pulse 2s infinite;
}

.urgency-text {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    animation: blink 2s infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}


@keyframes glow {
    0% { text-shadow: 0 0 20px rgba(46, 111, 242, 0.5); }
    100% { text-shadow: 0 0 30px rgba(46, 111, 242, 0.8), 0 0 40px rgba(46, 111, 242, 0.3); }
}

@keyframes glow-white {
    0% { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.3); }
    100% { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.2); }
}

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


@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 111, 242, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(46, 111, 242, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 111, 242, 0); }
}

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

/* Content Sections - Dark Theme */
.content-section {
    padding: 5rem 0;
    background: var(--black);
}

/* Highlight Text Style */
.highlight-text {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.content-section.alt-bg {
    background: #1B202A;
    position: relative;
}

.content-section.special-section {
    background: linear-gradient(to bottom, #000000 0%, #1B202A 100%);
    position: relative;
}

.content-section.alt-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, rgba(46, 111, 242, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-content {
    text-align: center;
}

.section-content > p {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Feature Grid - 2x2 Layout with Images */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
    border-radius: 24px;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.feature-card h3 {
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.feature-card p {
    color: var(--gray-800);
    line-height: 1.6;
    flex: 1;
    text-align: left;
}

/* Developer Course Open Section */
.developer-open-section {
    background: #1B202A;
    padding: 5rem 0;
}

.developer-open-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.developer-open-badge {
    display: inline-block;
    background: #1a2332;
    color: var(--white);
    padding: 0.5rem 1rem;
    border: 1px solid #8B5CF6;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    margin-bottom: 1.5rem;
}

.developer-open-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.developer-open-subtitle {
    font-size: 1.5rem;
    color: #A78BFA;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.developer-open-info {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.developer-curriculum-section {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.curriculum-heading {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.curriculum-brief-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curriculum-brief-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.curriculum-brief-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #A78BFA;
    font-weight: bold;
}

.curriculum-brief-list li:last-child {
    margin-bottom: 0;
}

.developer-recommend-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.recommend-heading {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.recommend-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommend-item {
    background: rgba(139, 92, 246, 0.08);
    color: rgba(255, 255, 255, 0.85);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.15);
    text-align: center;
}

.developer-open-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8B5CF6;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.developer-open-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(139, 92, 246, 0.4);
}

/* Timeline - Toss Card Style */
/* Curriculum Tabs */
.curriculum-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto 0;
    max-width: 500px;
}

.curriculum-tab {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: rgba(26, 35, 50, 0.5);
    border: 2px solid rgba(45, 62, 86, 0.5);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.curriculum-tab:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.curriculum-tab.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Developer Curriculum Theme - Purple/Violet */
.curriculum-tab[data-curriculum="developer"]:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.curriculum-tab[data-curriculum="developer"].active {
    background: rgba(139, 92, 246, 0.15);
    border-color: #8B5CF6;
    color: #A78BFA;
}

/* Accordion Styles for Curriculum */
.curriculum-accordion {
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: left;
    display: none;
}

.curriculum-accordion.active {
    display: block;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(26, 35, 50, 0.5);
    border: 1px solid rgba(45, 62, 86, 0.5);
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(59, 130, 246, 0.1);
}

.accordion-header.active {
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.accordion-day {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
    min-width: 60px;
}

.accordion-title {
    flex: 1;
    font-weight: 600;
    font-size: 1.05rem;
}

.accordion-icon {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.accordion-icon svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(13, 17, 23, 0.5);
}

.accordion-content.active {
    max-height: 600px;
}

.curriculum-list {
    list-style: none;
    padding: 1.5rem 2rem;
    margin: 0;
}

.curriculum-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
}

.curriculum-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.curriculum-list li:last-child {
    margin-bottom: 0;
}

/* Developer Curriculum Accordion Theme - Purple */
.curriculum-developer .accordion-header:hover {
    background: rgba(139, 92, 246, 0.1);
}

.curriculum-developer .accordion-header.active {
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.curriculum-developer .accordion-day {
    color: #A78BFA;
}

.curriculum-developer .accordion-icon {
    color: #A78BFA;
}

.curriculum-developer .curriculum-list li:before {
    color: #A78BFA;
}

/* Instructor Grid - 2x2 Layout */
.instructor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.instructor-card {
    background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
    padding: 32px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.instructor-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.instructor-name {
    color: var(--gray-800);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.instructor-position {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.instructor-description {
    color: var(--gray-600);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* Full Width Container for Testimonials */
.testimonial-section {
    padding: 5rem 0;
    background: #1B202A;
    overflow: hidden;
}

.full-width-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.testimonial-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 24px;
}

/* Testimonials Slider - Rotating Animation */
.testimonial-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonial-slider {
    display: flex;
    gap: 24px;
    animation: slide-right-to-left 40s linear infinite;
    width: max-content;
    padding-left: 24px;
    /* Performance optimization for mobile */
    will-change: transform;
    transform: translateZ(0);
}

/* Only pause on hover for devices with mouse/trackpad */
@media (hover: hover) and (pointer: fine) {
    .testimonial-slider:hover {
        animation-play-state: paused !important;
    }
}

/* Mobile testimonial slider speed adjustment */
@media (max-width: 768px) {
    .testimonial-slider {
        animation: slide-right-to-left 50s linear infinite;
    }
}

.testimonial-card {
    background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
    padding: 42px 36px 80px 36px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    flex-shrink: 0;
    width: 380px;
    height: 380px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-quote {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    opacity: 0.8;
    object-fit: contain;
}

.testimonial-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    margin-top: 1.8rem;
    line-height: 1.4;
    text-align: center;
}

.testimonial-card p {
    font-style: normal;
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.65;
    flex: 1;
    margin: 0;
    text-align: left;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
}

.testimonial-author {
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.95rem;
    position: absolute;
    bottom: 24px;
    left: 36px;
    right: 36px;
}

/* Sliding Animation */
@keyframes slide-right-to-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Projects - Toss Card Style */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.project-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 24px 24px 0 0;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #e5e7eb;
}

.project-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--gray-800);
    font-size: 1.25rem;
    font-weight: 700;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Project Card Link Styles */
.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.project-arrow {
    color: var(--primary-blue);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.project-card-link:hover .project-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Schedule - Toss Card Style */
.schedule-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.schedule-item {
    background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


.schedule-item h3 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.schedule-item p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.5;
}

/* Benefits - Toss Card Style */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.benefit-card {
    background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}


.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--gray-800);
    font-size: 1.25rem;
    font-weight: 700;
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.5;
}

/* FAQ - Toss Card Style */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    display: grid;
    gap: 24px;
}

.faq-item {
    background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


.faq-item h3 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.faq-item p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Requirements */
.requirement-list {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.requirement-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 16px;
}

.requirement-list li {
    padding: 24px;
    background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    color: var(--gray-800);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}


.requirement-list li::before {
    content: '';
    display: none;
}

/* Contact - Toss Card Style */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.contact-item {
    background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}


.contact-item h3 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Footer */
.footer {
    background: #0a0e13;
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
    border-top: 1px solid #21262d;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.footer-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-image {
    height: 32px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-company-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icon {
    width: 22px;
    height: 22px;
    filter: brightness(0) saturate(100%) invert(70%);
    transition: filter 0.2s ease;
}

.social-link:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(90%);
}

/* Bottom CTA - Dark Theme */
/* Recruitment Banner */
.recruitment-banner {
    width: 100%;
    background: #8B5CF6;
    color: rgba(255, 255, 255, 0.9);
    height: 30px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.banner-text {
    text-align: center;
    white-space: nowrap;
}

.bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #0d1117;
    backdrop-filter: blur(10px);
    color: white;
    padding: 0;
    z-index: 999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.bottom-cta.hidden {
    transform: translateY(100%);
}


.bottom-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 24px;
    min-height: 55px;
}

.countdown-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.countdown-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    flex-wrap: nowrap;
}

.countdown-timer span {
    color: var(--primary-blue);
    background: #1a2332;
    border: 1px solid #2d3e56;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    min-width: 2.2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    font-size: 1rem;
}

/* Discord Chat Animation */
.discord-chat-container {
    max-width: 800px;
    margin: 3rem auto 2rem;
    background: #1a2332;
    border-radius: 8px;
    border: 1px solid #2d3e56;
    padding: 0;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.discord-header {
    background: #161b22;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #2d3e56;
    border-radius: 8px 8px 0 0;
}

.discord-server-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.server-name {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

.online-status {
    color: var(--gray-400);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #3BA55C;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 165, 92, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(59, 165, 92, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 165, 92, 0);
    }
}

.discord-chat-window {
    height: calc(100% - 60px);
    overflow-y: auto;
    padding: 1.5rem;
    padding-right: 0.5rem;
}

/* Custom Scrollbar */
.discord-chat-window::-webkit-scrollbar {
    width: 8px;
}

.discord-chat-window::-webkit-scrollbar-track {
    background: #0d1117;
    border-radius: 4px;
}

.discord-chat-window::-webkit-scrollbar-thumb {
    background: #2d3e56;
    border-radius: 4px;
    transition: background 0.2s;
}

.discord-chat-window::-webkit-scrollbar-thumb:hover {
    background: #3d4e66;
}


/* Firefox Scrollbar */
.discord-chat-window {
    scrollbar-width: thin;
    scrollbar-color: #2d3e56 #0d1117;
}

.discord-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: messageSlideIn 0.5s ease-out forwards;
}

.discord-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.discord-message-content {
    flex: 1;
}

.discord-username {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.discord-text {
    color: var(--gray-300);
    font-size: 0.9rem;
    line-height: 1.5;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */

@media (max-width: 768px) {
    .h1 { font-size: 2.5rem; }
    .h2 { font-size: 2rem; }
    .h3 { font-size: 1.75rem; }
    
    .main-content {
        margin-top: 80px;
        padding-bottom: 2.5rem; /* Space between content and footer */
    }
    
    .navigation {
        top: 80px;
    }
    
    .hero-section {
        padding: 4rem 0 3rem 0;
        width: 100%;
        margin: 0;
        left: 0;
        right: 0;
    }
    
    .hero-section .container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .hero-logo {
        margin-bottom: 1.5rem;
    }
    
    .hero-logo-image {
        height: 60px;
    }
    
    .hero-main-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        text-align: center;
        padding: 0 16px;
    }
    
    .hero-sub-title {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
        text-align: center;
        padding: 0 16px;
    }
    
    .hero-line {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        text-align: center;
        padding: 0 16px;
    }
    
    .hero-description {
        text-align: center;
        padding: 0 16px;
    }
    
    .education-keywords {
        gap: 0.6rem;
        margin-top: 2rem;
        padding: 0 16px;
        justify-content: center;
    }
    
    .keyword {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .highlight-text {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 1.75rem;
        padding: 0 20px;
    }
    
    .section-content > p {
        font-size: 1rem;
        padding: 0 20px;
        margin-bottom: 2rem;
    }
    
    .nav-menu {
        gap: 0.8rem;
        font-size: 0.85rem;
    }
    
    .recruitment-banner {
        display: flex;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .bottom-cta {
        padding: 0;
    }
    
    .bottom-cta-content {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
        align-items: center;
        padding: 1rem 16px;
    }
    
    .countdown-section {
        align-items: center;
        flex: none;
    }
    
    .countdown-text {
        font-size: 0.85rem;
        white-space: normal;
        text-align: center;
    }
    
    .countdown-timer {
        gap: 0.3rem;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .countdown-timer span {
        min-width: 1.8rem;
        padding: 0.15rem 0.3rem;
        font-size: 0.85rem;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .bottom-cta .cta-button {
        display: none;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .testimonial-card {
        width: 300px;
        min-height: 320px;
        height: auto;
        padding: 24px 24px 65px 24px;
    }
    
    .testimonial-quote {
        width: 35px;
        height: 35px;
        top: 12px;
    }
    
    .testimonial-author {
        bottom: 16px;
        left: 24px;
        right: 24px;
        font-size: 0.9rem;
    }
    
    .testimonial-header {
        font-size: 16px;
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }
    
    .testimonial-card p {
        font-size: 14px;
        line-height: 1.6;
        -webkit-line-clamp: none;
        display: block;
        overflow: visible;
    }
    
    .instructor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 700px;
    }
    
    .project-grid {
        max-width: 600px;
        gap: 20px;
    }
    
    .project-card h3 {
        font-size: 18px;
    }
    
    .project-card p {
        font-size: 14px;
    }
    
    /* Developer open section mobile styles */
    .developer-open-section {
        padding: 3rem 0;
    }

    .developer-open-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .developer-open-title {
        font-size: 1.75rem;
        padding: 0 20px;
    }

    .developer-open-subtitle {
        font-size: 1.25rem;
    }

    .developer-open-info {
        font-size: 1rem;
        padding: 0 20px;
        margin-bottom: 2rem;
    }

    .developer-curriculum-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .curriculum-heading {
        font-size: 1.125rem;
    }

    .curriculum-brief-list li {
        font-size: 0.95rem;
    }

    .recommend-heading {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .recommend-item {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }

    .developer-open-cta {
        padding: 16px 24px;
        font-size: 16px;
        min-height: 44px;
    }

    /* Curriculum tabs mobile styles */
    .curriculum-tabs {
        gap: 0.75rem;
        margin: 1.5rem auto 0;
        max-width: 100%;
    }

    .curriculum-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Accordion mobile styles */
    .curriculum-accordion {
        margin: 2rem auto 0;
    }

    .accordion-header {
        padding: 1.25rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .accordion-day {
        font-size: 1rem;
        min-width: 50px;
    }
    
    .accordion-title {
        font-size: 0.95rem;
    }
    
    .curriculum-list {
        padding: 1.25rem 1.5rem;
    }
    
    .curriculum-list li {
        font-size: 0.9rem;
        margin-bottom: 0.65rem;
    }
    
    /* Footer mobile styles */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-container {
        padding: 0 16px;
    }
    
    .footer-logo-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .footer-logo-image {
        height: 28px;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    .footer-company-info {
        font-size: 0.8rem;
    }
    
    .footer-social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
    
    .instructor-card {
        padding: 20px;
    }
    
    .instructor-name {
        font-size: 1.2rem;
    }
    
    .instructor-position {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .instructor-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 20px;
    }
    
    .feature-content {
        padding: 24px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    /* Typing animation container */
    .typing-animation-container {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }
    
    /* Director skills cards */
    .director-skill-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .skill-number {
        font-size: 2rem;
    }
    
    .skill-content h4 {
        font-size: 1.1rem;
    }
    
    .skill-content p {
        font-size: 0.9rem;
    }
    
    .director-skill-card {
        padding: 1.5rem;
    }
    
    /* Discord Chat Mobile */
    .discord-chat-container {
        height: 380px;
    }
    
    .discord-header {
        padding: 0.8rem 1rem;
    }
    
    .server-name {
        font-size: 0.9rem;
    }
    
    .online-status {
        font-size: 0.8rem;
    }
    
    .discord-chat-window {
        padding: 1rem;
    }
    
    .discord-message {
        margin-bottom: 1.2rem;
    }
    
    .discord-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .discord-username {
        font-size: 0.9rem;
    }
    
    .discord-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        margin-top: 85px;
        padding-bottom: 2rem; /* Space between content and footer */
    }
    
    .navigation {
        top: 85px;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2.5rem 0 2rem 0;
        width: 100%;
        margin: 0;
        left: 0;
        right: 0;
    }
    
    .hero-section .container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .hero-logo {
        margin-bottom: 1rem;
    }
    
    .hero-logo-image {
        height: 45px;
    }
    
    .hero-main-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        text-align: center;
        padding: 0 12px;
    }
    
    .hero-sub-title {
        font-size: 1.7rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: center;
        padding: 0 12px;
    }
    
    .hero-line {
        font-size: 0.95rem;
        margin: 0.6rem 0;
        line-height: 1.4;
        text-align: center;
        padding: 0 12px;
    }
    
    .hero-description {
        max-width: 100%;
        padding: 0 12px;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .education-keywords {
        gap: 0.4rem;
        margin-top: 1.5rem;
        padding: 0 12px;
        justify-content: center;
    }
    
    .keyword {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }
    
    .highlight-text {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0 20px;
        line-height: 1.3;
    }
    
    .section-content > p {
        font-size: 0.95rem;
        padding: 0 20px;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .feature-grid {
        gap: 16px;
        margin-top: 2rem;
    }
    
    .feature-content {
        padding: 20px;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .testimonial-grid,
    .project-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Developer open section mobile styles for small screens */
    .developer-open-section {
        padding: 2.5rem 0;
    }

    .developer-open-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }

    .developer-open-title {
        font-size: 1.5rem;
        padding: 0 20px;
        line-height: 1.3;
    }

    .developer-open-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .developer-open-info {
        font-size: 0.95rem;
        padding: 0 20px;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .developer-curriculum-section {
        padding: 1.5rem;
        margin: 0 auto 1.5rem;
    }

    .curriculum-heading {
        font-size: 1rem;
    }

    .curriculum-brief-list li {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .recommend-heading {
        font-size: 1rem;
    }

    .developer-recommend-section {
        margin: 0 auto 2rem;
    }

    .recommend-item {
        font-size: 0.9rem;
        padding: 1rem 1.25rem;
    }

    .developer-open-cta {
        padding: 14px 24px;
        font-size: 0.9rem;
        min-height: 44px;
    }

    /* Curriculum tabs mobile styles for small screens */
    .curriculum-tabs {
        gap: 0.5rem;
        margin: 1.5rem auto 0;
        padding: 0 12px;
    }

    .curriculum-tab {
        padding: 0.65rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Accordion mobile styles for small screens */
    .accordion-header {
        padding: 1rem 1.25rem;
    }

    .accordion-day {
        font-size: 0.95rem;
        min-width: 45px;
    }
    
    .accordion-title {
        font-size: 0.9rem;
    }
    
    .curriculum-list {
        padding: 1rem 1.25rem;
    }
    
    .curriculum-list li {
        font-size: 0.85rem;
        padding-left: 1.25rem;
    }
    
    /* Footer small mobile styles */
    .footer {
        padding: 1rem 0;
    }
    
    .footer-container {
        padding: 0 12px;
    }
    
    .footer-logo-image {
        height: 24px;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .footer-company-info {
        font-size: 0.75rem;
    }
    
    .footer-social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
    
    .nav-menu {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .testimonial-card {
        width: 270px;
        min-height: 320px;
        height: auto;
        padding: 24px 18px 65px 18px;
    }
    
    .testimonial-quote {
        width: 28px;
        height: 28px;
        top: 8px;
    }
    
    .testimonial-header {
        font-size: 16px;
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .testimonial-card p {
        font-size: 14px;
        line-height: 1.5;
        -webkit-line-clamp: none;
        display: block;
        overflow: visible;
    }
    
    .testimonial-author {
        bottom: 18px;
        left: 18px;
        right: 18px;
        font-size: 0.8rem;
    }
    
    .testimonial-slider {
        animation: slide-right-to-left 35s linear infinite;
        gap: 16px;
        padding-left: 12px;
    }
    
    .instructor-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .instructor-name {
        font-size: 1.1rem;
    }
    
    .instructor-position {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .instructor-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .instructor-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        gap: 16px;
    }
    
    .instructor-card {
        padding: 18px;
    }
    
    /* Typing animation */
    .typing-animation-container {
        padding: 1rem 1rem;
        font-size: 1rem;
        margin: 1.5rem auto;
    }
    
    /* Director skills */
    .director-skill-card {
        padding: 1.2rem;
    }
    
    .skill-number {
        font-size: 1.8rem;
    }
    
    .skill-content h4 {
        font-size: 1rem;
    }
    
    .skill-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Bottom CTA improvements */
    .recruitment-banner {
        height: 26px;
        font-size: 0.75rem;
    }
    
    .bottom-cta {
        padding: 0;
    }
    
    
    .bottom-cta-content {
        gap: 1rem;
        padding: 0.8rem 12px;
    }
    
    .countdown-text {
        font-size: 0.8rem;
    }
    
    .countdown-timer {
        font-size: 0.85rem;
    }
    
    .countdown-timer span {
        min-width: 1.6rem;
        padding: 0.1rem 0.25rem;
        font-size: 0.8rem;
    }
    
    .bottom-cta .cta-button {
        display: none;
    }
    
    /* Logo in header */
    .logo-image {
        height: 28px;
    }
    
    /* Timeline and other grids */
    .curriculum-timeline,
    .schedule-info,
    .contact-info,
    .faq-list {
        gap: 16px;
        margin-top: 2rem;
    }
    
    .timeline-item,
    .schedule-item,
    .benefit-card,
    .contact-item,
    .faq-item {
        padding: 20px;
    }
    
    .timeline-item h3,
    .schedule-item h3,
    .benefit-card h3,
    .contact-item h3,
    .faq-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-item p,
    .schedule-item p,
    .benefit-card p,
    .contact-item p,
    .faq-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

