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

/* CSS Variables - Brand Colors */
:root {
    --color-red: #FF4444;
    --color-blue: #4444FF;
    --color-dark: #0A0A0A;
    --color-dark-bg: #121212;
    --color-dark-surface: #1E1E1E;
    --color-light: #F0F0F0;
    --color-white: #FFFFFF;
    --color-gray: #B0B0B0;
    --color-gray-dark: #2A2A2A;
    --color-accent: #00FF88;
    --gradient-primary: linear-gradient(135deg, #FF4444 0%, #4444FF 100%);
    --gradient-dark: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Font Sizes */
    --font-xs: 0.875rem;
    --font-sm: 1rem;
    --font-md: 1.125rem;
    --font-lg: 1.5rem;
    --font-xl: 2rem;
    --font-xxl: 3rem;
    --font-hero: clamp(2.5rem, 5vw, 4rem);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-sm);
    line-height: 1.6;
    color: var(--color-light);
    background-color: var(--color-dark);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(68, 68, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-hero); }
h2 { font-size: var(--font-xxl); }
h3 { font-size: var(--font-xl); }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: inline-block;
    cursor: pointer;
    transition: transform var(--transition-normal);
    text-decoration: none;
}

.header-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color-gray);
    font-weight: 500;
    transition: all var(--transition-normal);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    transition: all var(--transition-normal);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
    font-size: var(--font-md);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left var(--transition-normal);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 68, 68, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 40%),
                radial-gradient(circle, rgba(68, 68, 255, 0.1) 0%, transparent 40%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

/* Hero Background Images */
.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-image.active {
    opacity: 0.35;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
}

/* Animated Jump Rope Background */
.hero-bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.jumping-figure {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.1;
}

.jumping-figure::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-red) 0%, transparent 70%);
    border-radius: 50%;
    animation: jump 3s ease-in-out infinite;
}

.jumping-figure::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 2px;
    background: var(--color-white);
    transform: translate(-50%, -50%) rotate(45deg);
    animation: rope-swing 1.5s ease-in-out infinite;
}

.jumping-figure-1 {
    top: 20%;
    left: 10%;
    animation: float-figure 15s ease-in-out infinite;
}

.jumping-figure-2 {
    top: 60%;
    right: 15%;
    animation: float-figure 20s ease-in-out infinite reverse;
    animation-delay: -5s;
}

.jumping-figure-3 {
    bottom: 20%;
    left: 40%;
    animation: float-figure 18s ease-in-out infinite;
    animation-delay: -10s;
}

@keyframes jump {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

@keyframes rope-swing {
    0%, 100% { transform: translate(-50%, -50%) rotate(45deg) scaleX(1); }
    50% { transform: translate(-50%, -50%) rotate(-45deg) scaleX(0.8); }
}

@keyframes float-figure {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, -30px); }
    50% { transform: translate(-30px, 20px); }
    75% { transform: translate(40px, 40px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.logo {
    filter: drop-shadow(0 0 30px rgba(255, 68, 68, 0.5));
    transition: all var(--transition-normal);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(255, 68, 68, 0.5)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 50px rgba(68, 68, 255, 0.8)); }
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 50px rgba(255, 68, 68, 0.8));
}

.academy-name {
    font-size: var(--font-xxl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 68, 68, 0.5);
}

.slogan {
    font-size: var(--font-lg);
    color: var(--color-gray);
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
    animation: slideInUp 1s ease-out 0.5s both;
}

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

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Base Styles */
section {
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Scroll offset for fixed header */
section:target::before {
    content: "";
    display: block;
    height: 80px;
    margin-top: -80px;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-white);
    position: relative;
    font-size: var(--font-xxl);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: pulse-width 2s ease-in-out infinite;
}

@keyframes pulse-width {
    0%, 100% { width: 100px; }
    50% { width: 150px; }
}

/* Introduction Section */
.intro {
    background: linear-gradient(180deg, var(--color-dark-bg) 0%, var(--color-dark) 100%);
    position: relative;
    overflow: hidden;
}

.intro::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

/* Introduction Background Pattern */
.intro-bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.pattern-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 68, 68, 0.05), rgba(68, 68, 255, 0.05));
    animation: float-pattern 20s ease-in-out infinite;
}

.pattern-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -150px;
    animation-duration: 15s;
}

.pattern-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    right: -200px;
    animation-duration: 20s;
    animation-delay: -5s;
}

.pattern-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes float-pattern {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(100px, -100px) rotate(120deg) scale(1.2);
    }
    66% {
        transform: translate(-50px, 50px) rotate(240deg) scale(0.8);
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -50px) scale(1.1); }
}

.intro .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.intro-content p {
    font-size: var(--font-md);
    color: var(--color-gray);
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

/* YouTube Video Section */
.video-showcase {
    width: 100%;
    max-width: 900px;
    margin: var(--spacing-xl) auto;
    z-index: 2;
    position: relative;
}

.video-title {
    font-size: var(--font-lg);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    text-align: center;
    position: relative;
}

.video-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: var(--color-dark-surface);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.video-wrapper:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 80px rgba(255, 68, 68, 0.3);
    border-color: var(--color-red);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
}

/* Video loading animation */
.video-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: -1;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    max-width: 900px;
    width: 100%;
}

.feature-card {
    background: var(--color-dark-surface);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 68, 68, 0.3);
    border-color: transparent;
}

/* Feature Background Image */
.feature-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.feature-card:hover .feature-bg-image {
    opacity: 0.15;
}

.feature-card[data-image] .feature-bg-image {
    background-size: cover;
    background-position: center;
}

.feature-card:nth-child(1) .feature-bg-image {
    background-image: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80');
}

.feature-card:nth-child(2) .feature-bg-image {
    background-image: url('https://images.unsplash.com/photo-1571019613576-2b22c76fd955?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80');
}

.feature-card:nth-child(3) .feature-bg-image {
    background-image: url('https://images.unsplash.com/photo-1552674605-db6ffd4facb5?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80');
}

.feature-icon {
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--color-gray);
    font-size: var(--font-sm);
    position: relative;
    z-index: 1;
}

/* Benefits Section */
.benefits {
    background: linear-gradient(180deg, rgba(29, 29, 31, 0.9) 0%, rgba(17, 17, 19, 0.9) 100%), url('../assets/images/HJR_STUDENTS.png') center/cover;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(68, 68, 255, 0.1) 0%, transparent 70%);
    animation: float-reverse 8s ease-in-out infinite;
}

/* Floating Rope Icons */
.floating-ropes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.rope-icon {
    position: absolute;
    animation: float-rope 20s ease-in-out infinite;
}

.rope-icon svg {
    animation: rotate-rope 10s linear infinite;
}

.rope-1 {
    top: 10%;
    left: 5%;
    animation-duration: 15s;
}

.rope-2 {
    top: 50%;
    right: 10%;
    animation-duration: 18s;
    animation-delay: -5s;
}

.rope-3 {
    bottom: 20%;
    left: 30%;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes float-rope {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(100px, -50px) scale(1.2);
    }
    50% {
        transform: translate(-50px, 100px) scale(0.8);
    }
    75% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

@keyframes rotate-rope {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(100px, -100px) rotate(180deg); }
}

.benefits .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    max-width: 1000px;
    width: 100%;
}

.benefit-item {
    background: var(--color-dark-surface);
    padding: var(--spacing-lg);
    border-radius: 16px;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.benefit-item:hover::before {
    left: 100%;
}

/* Benefit Icon Background */
.benefit-icon-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

.benefit-item:nth-child(odd) .benefit-icon-bg {
    background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
}

.benefit-item:nth-child(even) .benefit-icon-bg {
    background: radial-gradient(circle, rgba(68, 68, 255, 0.1) 0%, transparent 70%);
}

.benefit-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
    border-color: var(--color-accent);
    background: rgba(0, 255, 136, 0.05);
}

.benefit-item h3 {
    color: var(--color-white);
    font-size: var(--font-md);
    margin-bottom: var(--spacing-sm);
}

.benefit-item p {
    color: var(--color-gray);
    font-size: var(--font-sm);
    line-height: 1.6;
}

/* Social Media Section */
.social {
    background: linear-gradient(180deg, var(--color-dark-bg) 0%, var(--color-dark) 100%);
    position: relative;
}

/* Social Background Gradient */
.social-bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.social-bg-gradient::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(255, 68, 68, 0.1) 0deg,
        rgba(68, 68, 255, 0.1) 90deg,
        rgba(0, 255, 136, 0.1) 180deg,
        rgba(255, 68, 68, 0.1) 270deg,
        rgba(68, 68, 255, 0.1) 360deg
    );
    animation: rotate-gradient 30s linear infinite;
}

@keyframes rotate-gradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.social .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 600px;
    width: 100%;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: var(--color-dark-surface);
    border-radius: 16px;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.social-link:hover::before {
    transform: translateX(100%);
}

.social-link:hover {
    transform: translateY(-8px) scale(1.05) rotateZ(-2deg);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
}

.social-icon {
    transition: transform var(--transition-normal);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.social-link span {
    font-weight: 600;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--color-dark) 0%, #000000 100%);
    position: relative;
}

.contact .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}

.contact-item h3 {
    font-size: var(--font-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.contact-item p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-sm);
}

.contact-address {
    position: relative;
}

.btn-map-inline {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 8px;
    font-size: var(--font-xs);
    font-weight: 500;
    transition: all var(--transition-normal);
    margin-top: var(--spacing-xs);
    position: relative;
    overflow: hidden;
}

.btn-map-inline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left var(--transition-normal);
}

.btn-map-inline:hover::before {
    left: 100%;
}

.btn-map-inline:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 68, 68, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.scroll-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.scroll-dot.active {
    background: var(--color-white);
    border-color: var(--color-red);
    transform: scale(1.3);
}

.scroll-dot.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(255, 68, 68, 0.3);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Floating Home Button */
.floating-home-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.4);
    transition: all var(--transition-normal);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-home-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-home-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 68, 68, 0.6);
}

.floating-home-btn:active {
    transform: translateY(-2px) scale(1.05);
}

.floating-home-btn svg {
    width: 28px;
    height: 28px;
}

/* Pulse animation for floating button */
@keyframes pulse-btn {
    0% {
        box-shadow: 0 4px 20px rgba(255, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 68, 68, 0.8), 0 0 0 10px rgba(255, 68, 68, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(255, 68, 68, 0.4), 0 0 0 20px rgba(255, 68, 68, 0);
    }
}

.floating-home-btn:not(:hover) {
    animation: pulse-btn 2s infinite;
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--color-white);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    opacity: 0.6;
    font-size: var(--font-xs);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Animations */
.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--color-dark-bg);
        flex-direction: column;
        padding: 2rem;
        border-radius: 10px 0 0 10px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        transition: right var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    :root {
        --font-hero: 2rem;
        --font-xxl: 1.75rem;
        --font-xl: 1.5rem;
        --font-lg: 1.25rem;
    }
    
    .logo-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .academy-name {
        font-size: var(--font-xl);
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    section {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding: var(--spacing-md);
    }
    
    .video-showcase {
        margin: var(--spacing-lg) auto;
    }
    
    .video-title {
        font-size: var(--font-md);
    }
    
    section:target::before {
        height: 70px;
        margin-top: -70px;
    }
    
    /* 모바일 브라우저 주소창 고려 */
    @supports (-webkit-touch-callout: none) {
        section {
            min-height: -webkit-fill-available;
        }
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .floating-home-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-home-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        min-height: 100dvh;
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
:focus {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Additional Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Parallax Effects */
.parallax-element {
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Hover Effects for Images */
.image-hover-effect {
    position: relative;
    overflow: hidden;
}

.image-hover-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 68, 68, 0.3), rgba(68, 68, 255, 0.3));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.image-hover-effect:hover::after {
    opacity: 1;
}

/* Print Styles */
@media print {
    .hero,
    .social,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
    
    a {
        text-decoration: underline;
    }
}