* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'SF Pro Display', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Clean and minimal */
.navbar {
    background: #ffffff;
    color: #1a1a1a;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #76b900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prof-name {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    background: #f8f9fa;
    color: #ff6b9d;
}

/* Hero Section - Clean and modern with space vibes */
.hero {
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 185, 0, 0.1), transparent 50%),
        #ffffff;
    color: #1a1a1a;
    padding: 120px 0 80px 0;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🚀';
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '✨';
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.15;
    bottom: 30%;
    left: 15%;
    animation: float 8s ease-in-out infinite;
}

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

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: slideIn 0.8s ease-out;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #666;
    font-weight: 400;
}

.semester-info {
    background: #f8f9fa;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    display: inline-block;
    margin-top: 1rem;
    border: 1px solid #e9ecef;
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.semester-info::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #76b900;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

/* Space theme - subtle stars background */
.section:nth-child(even) {
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 107, 157, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(118, 185, 0, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 107, 157, 0.4), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(118, 185, 0, 0.2), transparent),
        linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    background-size: 200% 200%;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #1a1a1a;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 400;
}

.bg-light {
    background: #fafbfc;
}

/* Courses Grid - Modern card design */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '🛸';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    opacity: 0.2;
}

.course-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d 0%, #76b900 100%);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #e9ecef;
}

.course-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(20%);
}

.course-card h3 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.course-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.course-meta {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: none;
}

.course-meta span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.course-topics {
    margin: 1.5rem 0;
}

.course-topics h4 {
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

.course-topics ul {
    list-style: none;
    line-height: 1.8;
    color: #666;
}

.course-topics li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.course-topics li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #76b900;
    font-weight: bold;
}

/* Course Links Section */
.course-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.course-links > div {
    display: grid;
    gap: 0.8rem;
    margin: 1rem 0;
}

/* Button Styles - Clean and modern with space hover effect */
.btn {
    display: block;
    text-align: center;
    padding: 12px 24px 12px 40px;
    background: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    border: 1.5px solid #e9ecef;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '🚀';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s;
}

.btn::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;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #ff6b9d;
    color: #ff6b9d;
}

.btn:hover::before {
    opacity: 0.7;
    left: 10px;
}

.coming-soon {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #e9ecef;
    cursor: not-allowed;
}

.coming-soon:hover {
    transform: none;
    background: #f8f9fa;
    color: #adb5bd;
    box-shadow: none;
    border-color: #e9ecef;
}

/* Info Notice - Minimal design */
.info-notice {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.info-notice h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.info-notice p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.browser-instructions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.browser-instructions span {
    background: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* About Section - Clean design */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff6b9d 0%, #76b900 100%);
    border-radius: 16px 0 0 16px;
}

.about-card h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.role {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 2rem;
}

.about-text {
    margin: 2rem 0;
}

.about-text p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.contact-info h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
}

.contact-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #f8f9fa;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-link:hover {
    background: #ff6b9d;
    color: #ffffff;
    border-color: #ff6b9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
}

/* Legal Section */
.legal-content {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.legal-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.legal-box h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.legal-box p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-box strong {
    color: #1a1a1a;
    font-weight: 600;
}

.privacy-notice {
    border: 1.5px solid #ff6b9d;
    background: rgba(255, 107, 157, 0.03);
}

.privacy-notice h3 {
    color: #ff6b9d;
}

/* Footer - Minimal */
footer {
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.privacy-footer {
    font-weight: 600;
    margin-top: 1rem;
    color: #76b900;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accent highlight on hover */
.course-card:hover .course-icon {
    transform: scale(1.1);
    transition: transform 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero {
        padding: 80px 0 60px 0;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .section h2 {
        font-size: 2rem;
    }

    .browser-instructions {
        flex-direction: column;
        align-items: center;
    }

    .about-card {
        padding: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Add subtle gradient accents */
.section:nth-child(even) {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}
