:root {
    /* Color Palette */
    --primary: #0088ff;
    --primary-glow: rgba(0, 136, 255, 0.2);
    --secondary: #7000ff;
    --bg-dark: #ffffff;
    --bg-card: #f8f9fa;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --text-main: #1a1b1e;
    --text-muted: #5f6368;
    --white: #ffffff;

    /* Effects */
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Prompt', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    background: transparent;
}

#main-nav.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
}

#main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.1), transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero .container.hero-container {
    display: block;
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary-glow);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    width: 100%;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image-slider {
    position: relative;
    height: 600px;
    width: 100%;
    border-radius: 40px;
    overflow: hidden;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 5rem;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 600px;
}

.slider-container {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-premium);
    border: 2px solid #e0e0e0;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glass-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    z-index: 2;
}

.card-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.card-item .icon {
    font-size: 2rem;
}

.card-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.card-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Courses Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--bg-card);
    border: 2px solid #e0e0e0;
    /* Thicker and clearer border */
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-premium);
}

.course-image {
    height: 200px;
    background: #f1f3f4;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.course-content {
    padding: 2rem;
}

.course-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.course-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-card {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    /* Force high contrast */
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
    transition: var(--transition);
}

.course-card:hover .btn-card {
    background: var(--primary);
    color: var(--white);
}

/* Workflow Section */
.workflow {
    padding: 8rem 0;
    background: rgba(112, 0, 255, 0.03);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    padding: 3rem 2rem;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-premium);
}

.step-num {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.modal-content {
    background: var(--bg-dark);
    margin: 5% auto;
    padding: 3rem;
    width: 90%;
    max-width: 800px;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        padding: 6rem 0 2rem;
    }

    .hero-image-slider {
        height: 500px;
        border-radius: 20px;
    }

    .hero-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 2rem;
        transform: none;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(2px);
    }

    .hero-overlay {
        display: none;
        /* Use hero-content background instead */
    }

    .hero-actions {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }
    
    #main-nav .container {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .workflow {
        padding: 4rem 0;
    }

    .course-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-content {
        padding: 2rem;
        margin: 5% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    #main-nav .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-image-slider {
        min-height: 300px;
    }

    .glass-card {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 1rem;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .workflow {
        padding: 3rem 0;
    }
}

/* Footer Section */
footer {
    background: var(--bg-card);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info .logo {
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 400px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}