/* ============================================
   Color Variables (Same as course projects)
   ============================================ */
:root {
    /* Neon Accents */
    --neon-cyan: #00f5ff;
    --neon-purple: #b829ff;
    --neon-pink: #ff006e;
    --electric-blue: #0066ff;
    
    /* Minimalism Base */
    --deep-space: #0a0a0f;
    --dark-charcoal: #1a1a24;
    --subtle-gray: #2a2a3e;
    --light-frost: #f5f5f7;
    
    /* Functional Colors */
    --success-glow: #00ff88;
    --error-glow: #ff3366;
    --warning-glow: #ffaa00;
    
    /* Text */
    --text-primary: #f5f5f7;
    --text-secondary: #a0a0b0;
    --text-tertiary: #6a6a7a;
}

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

html {
    scroll-behavior: smooth;
    background: var(--deep-space);
    height: 100%;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', sans-serif;
    background: linear-gradient(135deg, var(--deep-space) 0%, #0d0d15 50%, #1a1a2e 100%);
    background-attachment: fixed;
    background-color: var(--deep-space);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

/* Subtle animated background pattern */
body::before {
    content: '';
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 300vh;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(184, 41, 255, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, var(--deep-space) 0%, #0d0d15 50%, #1a1a2e 100%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 15s ease-in-out infinite;
}

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

/* Better text selection */
::selection {
    background-color: var(--neon-cyan);
    color: var(--deep-space);
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
}

::-moz-selection {
    background-color: var(--neon-cyan);
    color: var(--deep-space);
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
}

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-icon {
    margin-bottom: 30px;
}

.hero-icon .material-symbols-outlined {
    font-size: 120px;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.35));
    animation: iconFloat 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: 96px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.play-text {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(0, 245, 255, 0.45));
}

.py-text {
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(184, 41, 255, 0.45));
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
    text-shadow: 0 0 12px rgba(0, 245, 255, 0.2);
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   COURSES SECTION
   ============================================ */
.courses-section {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.3));
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.course-card {
    background: rgba(26, 26, 36, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

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

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.22), 0 0 24px rgba(0, 245, 255, 0.15);
    border-color: transparent;
}

.course-card:hover .course-glow {
    opacity: 1;
}

.course-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.07) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.course-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.15) 0%, rgba(184, 41, 255, 0.15) 100%);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.course-card:hover .course-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.course-icon {
    font-size: 48px !important;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.course-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
    min-height: 90px;
}

.course-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.stat .material-symbols-outlined {
    font-size: 20px;
    color: var(--neon-cyan);
}

.course-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--electric-blue) 100%);
    color: var(--deep-space);
    border: 1px solid rgba(0, 245, 255, 0.5);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 14px rgba(0, 245, 255, 0.22);
    position: relative;
    overflow: hidden;
}

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

.course-button:hover::before {
    left: 100%;
}

.course-button:hover {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--neon-cyan) 100%);
    transform: translateX(5px);
    box-shadow: 0 0 22px rgba(0, 245, 255, 0.35);
}

.course-button .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.3s;
}

.course-button:hover .material-symbols-outlined {
    transform: translateX(5px);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
    background: rgba(26, 26, 36, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(42, 42, 62, 0.4);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.2);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon .material-symbols-outlined {
    font-size: 56px;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.5));
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 40px 40px;
    text-align: center;
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-brand .material-symbols-outlined {
    font-size: 40px;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-title {
    font-size: 32px;
    font-weight: 700;
}

.footer-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-tertiary);
    padding-top: 20px;
    border-top: 1px solid rgba(0, 245, 255, 0.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 64px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-icon .material-symbols-outlined {
        font-size: 80px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .courses-section,
    .features-section {
        padding: 60px 20px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .course-card {
        padding: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-icon .material-symbols-outlined {
        font-size: 60px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .course-title {
        font-size: 24px;
    }
    
    .course-description {
        font-size: 15px;
        min-height: auto;
    }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 245, 255, 0.6);
    }
}

/* Smooth scroll offset for fixed headers */
html {
    scroll-padding-top: 80px;
}

/* Focus & Accessibility */
*:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
}

a:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.5), 0 0 20px rgba(0, 245, 255, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--deep-space);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 245, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--electric-blue) 0%, var(--neon-cyan) 100%);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.8);
}

