/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #7c3aed;
    --primary-pink: #ec4899;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: #131318;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-orange-pink: linear-gradient(90deg, #ff6b35 0%, #f7931e 50%, #ec4899 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    bottom: -300px;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ===== TOP BANNER ===== */
.top-banner {
    background: var(--gradient-orange-pink);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    animation: slideDown 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.fire-emoji {
    font-size: 20px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.banner-text {
    font-weight: 600;
    font-size: 14px;
}

.countdown {
    display: flex;
    gap: 10px;
}

.time-unit {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.time-value {
    font-size: 16px;
}

.banner-btn {
    background: white;
    color: #f7931e;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.banner-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}

.logo-icon {
    color: var(--primary-purple);
    font-size: 24px;
    animation: rotate 3s infinite ease-in-out;
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.login-btn {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.login-icon {
    font-size: 16px;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 40px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary-purple);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    flex-wrap: wrap;
}

.primary-btn {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.primary-btn:hover::before {
    width: 300px;
    height: 300px;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.5);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.secondary-btn:hover {
    border-color: var(--primary-pink);
    background: rgba(236, 72, 153, 0.1);
    transform: translateY(-3px);
}

.play-icon {
    color: var(--primary-pink);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STATS ===== */
.stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 5px;
}

/* ===== CODE WINDOW ===== */
.hero-visual {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.code-window {
    background: rgba(19, 19, 24, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
    animation: float-gentle 6s infinite ease-in-out;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.code-window::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #ec4899, #667eea);
    border-radius: 20px;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
    filter: blur(10px);
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.window-header {
    background: rgba(15, 15, 20, 0.9);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
    box-shadow: 0 0 10px #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
    box-shadow: 0 0 10px #ffbd2e;
}

.dot.green {
    background: #27c93f;
    box-shadow: 0 0 10px #27c93f;
}

.window-title {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.live-badge {
    margin-left: auto;
    background: rgba(236, 72, 153, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-pink);
    font-weight: 600;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-pink);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(236, 72, 153, 0);
    }
}

.code-content {
    padding: 30px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    min-height: 300px;
    position: relative;
}

.code-line {
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInLine 0.5s forwards;
}

.code-line:nth-child(1) { animation-delay: 0.1s; }
.code-line:nth-child(2) { animation-delay: 0.3s; }
.code-line:nth-child(3) { animation-delay: 0.5s; }
.code-line:nth-child(4) { animation-delay: 0.7s; }
.code-line:nth-child(5) { animation-delay: 0.9s; }
.code-line:nth-child(6) { animation-delay: 1.1s; }
.code-line:nth-child(7) { animation-delay: 1.3s; }
.code-line:nth-child(8) { animation-delay: 1.5s; }
.code-line:nth-child(9) { animation-delay: 1.7s; }

@keyframes fadeInLine {
    to {
        opacity: 1;
    }
}

.line-number {
    color: #4a5568;
    user-select: none;
}

.keyword {
    color: #c678dd;
}

.string {
    color: #98c379;
}

.class {
    color: #e5c07b;
}

.function {
    color: #61afef;
}

.number {
    color: #d19a66;
}

.comment {
    color: #5c6370;
    font-style: italic;
}

.indent-1 {
    padding-left: 20px;
}

.typing-animation {
    animation: typing 2s steps(20) 0.5s backwards, fadeInLine 0.1s 0.3s forwards;
}

@keyframes typing {
    from {
        width: 0;
        opacity: 1;
    }
}

.cursor-blink {
    position: absolute;
    bottom: 30px;
    left: 50px;
    width: 2px;
    height: 16px;
    background: var(--primary-purple);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* ===== COURSES SECTION ===== */
.courses {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s;
    position: relative;
    animation: fadeInUp 0.6s ease-out backwards;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.3);
}

.course-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.live-badge-small {
    background: var(--primary-pink);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.4);
}

.course-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    color: white;
    transition: all 0.4s;
}

.gradient-bg-1 {
    background: var(--gradient-1);
}

.gradient-bg-2 {
    background: var(--gradient-2);
}

.gradient-bg-3 {
    background: var(--gradient-3);
}

.course-card:hover .placeholder-image {
    transform: scale(1.1);
}

.image-text {
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.course-info {
    padding: 25px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 12px;
}

.level-badge {
    background: rgba(124, 58, 237, 0.2);
    color: var(--primary-purple);
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 600;
}

.lectures {
    color: var(--text-secondary);
}

.course-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.course-instructor {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.course-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-features {
    list-style: none;
    margin-bottom: 25px;
}

.course-features li {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 5px;
}

.course-btn {
    width: 100%;
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.course-btn:hover {
    background: #6d28d9;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

/* ===== INSTRUCTORS SECTION ===== */
.instructors {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.instructor-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.instructor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transition: all 0.6s;
}

.instructor-card:hover::before {
    left: 100%;
}

.instructor-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
}

.instructor-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    position: relative;
}

.instructor-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    color: white;
    position: relative;
    animation: rotate-border 4s linear infinite;
}

.instructor-placeholder::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-pink));
    z-index: -1;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.instructor-initial {
    position: relative;
    z-index: 1;
}

.instructor-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.instructor-role {
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 20px;
}

.instructor-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(124, 58, 237, 0.2);
    color: var(--primary-purple);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.instructor-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 40px;
    background: rgba(124, 58, 237, 0.03);
    position: relative;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: white;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(124, 58, 237, 0.1);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    width: 100%;
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 400px;
    height: 400px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer-social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-purple);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s;
}

.footer-social-icon:hover::before {
    width: 100px;
    height: 100px;
}

.footer-social-icon span {
    position: relative;
    z-index: 1;
}

.footer-social-icon:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-purple);
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

.footer-list a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s;
    color: var(--primary-purple);
}

.footer-list a:hover {
    color: var(--primary-purple);
    padding-left: 20px;
}

.footer-list a:hover::before {
    opacity: 1;
    left: 0;
}

.newsletter-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(124, 58, 237, 0.1);
}

.newsletter-form button {
    background: var(--primary-purple);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #6d28d9;
    transform: scale(1.05);
}

.footer-stats {
    display: flex;
    gap: 30px;
}

.footer-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text {
    color: var(--text-secondary);
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary-purple);
}

.separator {
    color: var(--text-secondary);
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 10000;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-purple);
    box-shadow: 0 0 10px var(--primary-purple);
    animation: cursorPulse 2s infinite;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(124, 58, 237, 0.5);
    transition: all 0.15s ease-out;
}

@keyframes cursorPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Cursor hover effects */
a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline,
.course-card:hover ~ .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: var(--primary-pink);
}

/* ===== PARALLAX & SCROLL EFFECTS ===== */
.hero {
    perspective: 1000px;
}

.hero-content {
    transform-style: preserve-3d;
}

.hero-title,
.hero-description {
    animation: parallaxFloat 6s infinite ease-in-out;
}

@keyframes parallaxFloat {
    0%, 100% {
        transform: translateZ(0) translateY(0);
    }
    50% {
        transform: translateZ(20px) translateY(-5px);
    }
}

/* ===== GLOW TEXT EFFECTS ===== */
.section-title {
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }
    100% {
        text-shadow: 0 0 40px rgba(124, 58, 237, 0.6),
                     0 0 60px rgba(236, 72, 153, 0.4);
    }
}

/* ===== MAGNETIC BUTTON EFFECT ===== */
.primary-btn,
.secondary-btn,
.course-btn,
.submit-btn {
    position: relative;
    z-index: 1;
}

.primary-btn::after,
.course-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #667eea, #ec4899, #667eea);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.3s;
}

.primary-btn:hover::after,
.course-btn:hover::after {
    opacity: 1;
    animation: borderGlow 1.5s linear infinite;
}

@keyframes borderGlow {
    0%, 100% {
        filter: blur(15px) hue-rotate(0deg);
    }
    50% {
        filter: blur(20px) hue-rotate(30deg);
    }
}

/* ===== CARD TILT EFFECT ===== */
.course-card {
    transform-style: preserve-3d;
}

.course-card:hover {
    animation: cardTilt 0.6s ease-out forwards;
}

@keyframes cardTilt {
    0% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    50% {
        transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    }
    100% {
        transform: translateY(-10px) rotateX(0) rotateY(0);
    }
}

.course-image {
    transform-style: preserve-3d;
    transform: translateZ(20px);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.courses-grid,
.stats,
.instructors-grid {
    opacity: 0;
    animation: fadeInUpStagger 0.8s ease-out forwards;
}

.courses-grid {
    animation-delay: 0.2s;
}

.stats {
    animation-delay: 0.5s;
}

@keyframes fadeInUpStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== AURORA BACKGROUND EFFECT ===== */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: auroraMove 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes auroraMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(5%, 5%) rotate(120deg);
    }
    66% {
        transform: translate(-5%, 5%) rotate(240deg);
    }
}

/* ===== ENHANCED HOVER GLOW ===== */
.nav-link:hover,
.login-btn:hover {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.6),
                0 0 40px rgba(124, 58, 237, 0.4),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
}

/* ===== FLOATING ANIMATION FOR STATS ===== */
.stat-item {
    animation: floatItem 3s ease-in-out infinite;
}

.stat-item:nth-child(1) {
    animation-delay: 0s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.5s;
}

.stat-item:nth-child(3) {
    animation-delay: 1s;
}

@keyframes floatItem {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== RIPPLE EFFECT ON BUTTONS ===== */
.primary-btn,
.secondary-btn,
.course-btn {
    overflow: hidden;
}

.primary-btn:active::before,
.course-btn:active::before {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* ===== GRADIENT BORDER ANIMATION ===== */
.contact-form-wrapper {
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #667eea, #ec4899, #f59e0b, #667eea);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    animation: gradientBorder 3s linear infinite;
}

.contact-form-wrapper:hover::before {
    opacity: 0.5;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===== TYPING CURSOR ENHANCEMENTS ===== */
.cursor-blink {
    box-shadow: 0 0 10px var(--primary-purple);
}

/* ===== TEXT SELECTION STYLING ===== */
::selection {
    background: var(--primary-purple);
    color: white;
}

::-moz-selection {
    background: var(--primary-purple);
    color: white;
}

/* ===== LINK UNDERLINE ANIMATION ===== */
.footer-list a {
    position: relative;
}

.footer-list a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease-out;
}

.footer-list a:hover::after {
    width: 100%;
}

/* ===== ANIMATED GRADIENT BACKGROUNDS ===== */
.gradient-bg-1,
.gradient-bg-2,
.gradient-bg-3 {
    background-size: 200% 200%;
    animation: gradientAnimation 5s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===== LEVEL BADGE PULSE ===== */
.level-badge {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(124, 58, 237, 0);
    }
}

/* ===== ENHANCED CARD SHADOWS ===== */
.course-card,
.instructor-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.course-card:hover,
.instructor-card:hover {
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.4),
                0 0 100px rgba(236, 72, 153, 0.2);
}

/* ===== SMOOTH CURSOR TRAIL ===== */
.cursor-dot {
    transition: all 0.05s ease-out;
}

.cursor-outline {
    transition: all 0.15s cubic-bezier(0.75, -0.27, 0.3, 1.33);
}

/* Active states for cursor */
.primary-btn:active ~ .cursor-outline,
.course-btn:active ~ .cursor-outline {
    width: 30px;
    height: 30px;
    border-width: 3px;
}

/* ===== FOOTER WAVE ANIMATION ===== */
.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink), var(--primary-purple));
    background-size: 200% 100%;
    animation: waveMove 3s linear infinite;
}

@keyframes waveMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* ===== IMAGE ZOOM ON HOVER ===== */
.instructor-image {
    overflow: hidden;
    border-radius: 50%;
}

.instructor-placeholder {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.instructor-card:hover .instructor-placeholder {
    transform: scale(1.1) rotate(5deg);
}

/* ===== ENHANCED FORM FOCUS EFFECTS ===== */
.form-group input:focus,
.form-group textarea:focus,
.newsletter-form input:focus {
    animation: inputGlow 0.3s ease-out forwards;
}

@keyframes inputGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }
    100% {
        box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
    }
}

/* ===== RESPONSIVE ===== */

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: 42px;
    }

    .nav-menu {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .instructors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 36px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .instructors-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        justify-content: space-around;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .top-banner {
        font-size: 12px;
        padding: 10px;
        gap: 10px;
    }

    .code-window {
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-title {
        font-size: 36px;
    }

    .courses,
    .instructors {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .stat-value {
        font-size: 28px;
    }

    .code-content {
        padding: 20px;
        font-size: 12px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-title {
        font-size: 28px;
    }

    .instructor-name {
        font-size: 22px;
    }

    .stats {
        gap: 20px;
    }

    .time-unit {
        font-size: 11px;
        padding: 3px 6px;
    }

    .banner-btn {
        padding: 5px 12px;
        font-size: 11px;
    }
}

/* ===== UTILITY ANIMATIONS ===== */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out backwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6d28d9;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enable GPU acceleration for animations */
.course-card,
.instructor-card,
.code-window,
.primary-btn,
.secondary-btn {
    will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gradient-orb,
    .cursor-dot,
    .cursor-outline {
        animation: none !important;
    }
}
