/* ============================================
   Global Variables & Reset
   ============================================ */
:root {
    --color-primary: #0F1419;
    --color-secondary: #2C2C2C;
    --color-gold: #BFA574;
    --color-gold-light: #D4BC8A;
    --color-gold-dark: #9A8460;
    --color-text: #E8E8E8;
    --color-text-muted: #9CA3AF;
    --color-border: rgba(191, 165, 116, 0.2);
    
    --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-primary);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    padding-bottom: 100px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
    color: var(--color-text-muted);
}

.gold-text {
    color: var(--color-gold);
}

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-3xl) 0;
}

/* ============================================
   Badges
   ============================================ */
.badge,
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(191, 165, 116, 0.1);
    border: 1px solid var(--color-border);
    color: var(--color-gold);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.badge i,
.section-badge i {
    font-size: 0.75rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-primary);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(15, 20, 25, 0.85) 0%, rgba(15, 20, 25, 0.7) 50%, rgba(15, 20, 25, 0.85) 100%),
        radial-gradient(ellipse at 20% 20%, rgba(191, 165, 116, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(191, 165, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(191,165,116,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: var(--spacing-xl);
}

.hero-title {
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--color-gold);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--color-text);
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-primary), transparent);
    pointer-events: none;
}

.line-pattern {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--color-gold));
}

.line-pattern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
}

/* ============================================
   Introduction Section
   ============================================ */
.intro-section {
    background: var(--color-primary);
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: linear-gradient(145deg, rgba(44, 44, 44, 0.5), rgba(15, 20, 25, 0.8));
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(191, 165, 116, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(191, 165, 116, 0.1);
    border-radius: 50%;
    color: var(--color-gold);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.9rem;
}

/* ============================================
   Dark Section (Data-Driven Learning)
   ============================================ */
.dark-section {
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    position: relative;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

@media (max-width: 992px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

.column-content .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

.column-content .section-description strong {
    color: var(--color-gold);
}

/* Method Cards */
.column-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.method-card {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: var(--transition);
}

.method-card:hover {
    border-color: var(--color-gold);
    background: rgba(191, 165, 116, 0.05);
}

.method-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-gold);
    opacity: 0.5;
    min-width: 50px;
}

.method-content h4 {
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.method-content p {
    font-size: 0.9rem;
}

/* ============================================
   Community Section
   ============================================ */
.community-section {
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.community-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

@media (max-width: 992px) {
    .community-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

.community-text .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.community-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.community-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.community-features li:last-child {
    border-bottom: none;
}

.community-features li:hover {
    padding-left: var(--spacing-sm);
}

.community-features li > i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(191, 165, 116, 0.1);
    border-radius: var(--border-radius);
    color: var(--color-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.community-features li h4 {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.community-features li p {
    font-size: 0.875rem;
    margin: 0;
}

/* Community Image */
.community-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Placeholder for missing images */
.image-wrapper img[src=""],
.image-wrapper img:not([src]),
.image-wrapper img[src="static/images/community.jpg"] {
    background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(191, 165, 116, 0.1) 100%);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(191, 165, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.image-frame {
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: 10px;
    left: 10px;
    border: 2px solid var(--color-gold);
    border-radius: var(--border-radius-xl);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 992px) {
    .community-image {
        order: -1;
    }
    
    .image-frame {
        display: none;
    }
}

/* ============================================
   Curriculum Section
   ============================================ */
.curriculum-section {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
}

.curriculum-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.curriculum-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.curriculum-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: rgba(44, 44, 44, 0.3);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
    transition: var(--transition);
    cursor: pointer;
}

.curriculum-item:hover {
    background: rgba(191, 165, 116, 0.08);
    border-color: var(--color-gold);
    transform: translateX(10px);
}

.curriculum-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(191, 165, 116, 0.1);
    border-radius: var(--border-radius);
    color: var(--color-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.curriculum-content {
    flex: 1;
}

.curriculum-content h3 {
    color: var(--color-text);
    margin-bottom: 4px;
    font-weight: 600;
}

.curriculum-content p {
    font-size: 0.875rem;
    margin: 0;
}

.curriculum-arrow {
    color: var(--color-gold);
    opacity: 0.5;
    transition: var(--transition);
}

.curriculum-item:hover .curriculum-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-secondary);
    padding: var(--spacing-2xl) 0 calc(var(--spacing-2xl) + 80px);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

.footer-brand h3 {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-links {
        justify-content: center;
    }
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 0.8rem;
}

/* ============================================
   Fixed CTA Button
   ============================================ */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(15, 20, 25, 0.98) 70%, transparent);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    padding: var(--spacing-md) var(--spacing-2xl);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(191, 165, 116, 0.3);
    text-decoration: none;
    min-width: 280px;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 40px rgba(191, 165, 116, 0.5);
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
}

.cta-button:active {
    transform: scale(0.98);
    box-shadow: 0 8px 25px rgba(191, 165, 116, 0.4);
}

.cta-button i {
    font-size: 1.1rem;
}

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
    background: rgba(191, 165, 116, 0.05);
}

.modal-header h2 {
    color: var(--color-gold);
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: var(--spacing-xs);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-gold);
}

.modal-body {
    padding: var(--spacing-lg);
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.modal-body h3 {
    color: var(--color-text);
    font-size: 1rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.modal-body ul {
    list-style: none;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.modal-body ul li {
    position: relative;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
}

.modal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 50%;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(191, 165, 116, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(191, 165, 116, 0.5);
    }
}

/* Urgent Scale Animation for CTA Button */
@keyframes urgentScale {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.08);
    }
    20% {
        transform: scale(0.98);
    }
    30% {
        transform: scale(1.05);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(191, 165, 116, 0.3),
            0 0 0 0 rgba(191, 165, 116, 0.4);
    }
    50% {
        box-shadow: 
            0 15px 40px rgba(191, 165, 116, 0.5),
            0 0 20px 5px rgba(191, 165, 116, 0.3);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.cta-button {
    animation: urgentScale 2s ease-in-out infinite, glowPulse 2s ease-in-out infinite;
}

.cta-button:hover {
    animation: none;
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* ============================================
   Selection
   ============================================ */
::selection {
    background: var(--color-gold);
    color: var(--color-primary);
}

/* ============================================
   Responsive Adjustments
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .intro-content {
        margin-bottom: var(--spacing-2xl);
    }
    
    .column-content,
    .community-text {
        text-align: center;
    }
    
    .column-content .section-badge,
    .community-text .section-badge {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }
    
    body {
        font-size: 15px;
        padding-bottom: 90px;
    }
    
    .hero {
        min-height: 85vh;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-content {
        padding: var(--spacing-md);
    }
    
    .hero-title {
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        margin-bottom: var(--spacing-md);
        letter-spacing: 0.05em;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Badges - Centered on Mobile */
    .badge,
    .section-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .intro-content,
    .column-content,
    .community-text,
    .curriculum-header,
    .community-header {
        text-align: center;
    }
    
    .section-badge {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        margin-bottom: var(--spacing-sm);
    }
    
    .intro-text {
        font-size: 0.95rem;
    }
    
    .intro-content {
        margin-bottom: var(--spacing-xl);
    }
    
    /* Feature Cards - Compact */
    .feature-card {
        padding: var(--spacing-md);
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    /* Method Cards - Compact */
    .method-card {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .method-number {
        font-size: 1.25rem;
        min-width: 40px;
    }
    
    .method-content h4 {
        font-size: 0.95rem;
    }
    
    .method-content p {
        font-size: 0.8rem;
    }
    
    /* Community Section - Mobile */
    .community-text .section-description {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .community-features li {
        padding: var(--spacing-sm) 0;
        gap: var(--spacing-sm);
    }
    
    .community-features li > i {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .community-features li h4 {
        font-size: 0.9rem;
    }
    
    .community-features li p {
        font-size: 0.8rem;
    }
    
    .community-features li:hover {
        padding-left: 0;
    }
    
    /* Image Wrapper - Mobile */
    .image-wrapper {
        aspect-ratio: 16/10;
        border-radius: var(--border-radius-lg);
    }
    
    /* Curriculum - Compact */
    .curriculum-item {
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .curriculum-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .curriculum-content h3 {
        font-size: 0.9rem;
    }
    
    .curriculum-content p {
        font-size: 0.8rem;
    }
    
    .curriculum-item:hover {
        transform: translateX(5px);
    }
    
    /* Footer - Compact & Centered */
    .footer {
        padding: var(--spacing-xl) 0 calc(var(--spacing-xl) + 80px);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-brand h3 {
        font-size: 1.1rem;
    }
    
    .footer-brand p {
        font-size: 0.8rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: var(--spacing-md);
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding-top: var(--spacing-md);
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    /* Fixed CTA - Mobile Optimized */
    .fixed-cta {
        padding: var(--spacing-sm);
        background: linear-gradient(to top, rgba(15, 20, 25, 0.98) 80%, transparent);
    }
    
    .cta-button {
        padding: 14px var(--spacing-lg);
        font-size: 0.9rem;
        min-width: auto;
        width: calc(100% - 32px);
        max-width: 320px;
        gap: 10px;
    }
    
    .cta-button i {
        font-size: 1rem;
    }
    
    /* Modal - Mobile */
    .modal {
        padding: var(--spacing-sm);
    }
    
    .modal-content {
        max-height: 85vh;
        border-radius: var(--border-radius);
    }
    
    .modal-header {
        padding: var(--spacing-md);
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: var(--spacing-md);
        max-height: calc(85vh - 60px);
    }
    
    .modal-body h3 {
        font-size: 0.95rem;
    }
    
    .modal-body p,
    .modal-body ul li {
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px var(--spacing-md);
        font-size: 0.85rem;
    }
    
    .feature-grid,
    .curriculum-list {
        gap: var(--spacing-sm);
    }
}

