:root {
    --primary-color: #7559da;
    --secondary-color: #58cc02;
    --accent-color: #ff7849;
    --text-color: #3c3c3c;
    --light-bg: #f7f7f7;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 7%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Nunito', sans-serif;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(117, 89, 218, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #6247c2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(117, 89, 218, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #4aac00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 204, 2, 0.4);
}

/* Hero Section */
.hero {
    padding: 140px 7% 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.floating-dashboard {
    width: 550px;
    height: 380px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.floating-dashboard:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.dashboard-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-body {
    padding: 15px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 12px;
    color: #666;
}

.course-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.course-card {
    flex: 0 0 200px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.course-img {
    height: 80px;
    background: #ddd;
}

.course-content {
    padding: 10px;
}

.course-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
}

.progress-bar {
    height: 5px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 65%;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.float-1 {
    width: 120px;
    height: 120px;
    background: rgba(88, 204, 2, 0.2);
    top: 10%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.float-2 {
    width: 80px;
    height: 80px;
    background: rgba(117, 89, 218, 0.2);
    top: 60%;
    left: 5%;
    animation: float 12s ease-in-out infinite;
}

.float-3 {
    width: 60px;
    height: 60px;
    background: rgba(255, 120, 73, 0.2);
    top: 30%;
    right: 15%;
    animation: float 10s ease-in-out infinite 1s;
}

/* Features Section */
.features {
    background-color: var(--white);
    padding: 100px 7%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #f0edff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 7%;
    background-color: var(--light-bg);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.step-connector {
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: 80px;
    width: 4px;
    background-color: #e0d6ff;
    z-index: 0;
}

.step {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.step-content {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-description {
    color: #666;
}

/* Preview Section */
.preview {
    padding: 100px 7%;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.preview-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.preview-img {
    height: 200px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
}

.preview-content {
    padding: 20px;
}

.preview-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.preview-description {
    color: #666;
    margin-bottom: 15px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), #6247c2);
    padding: 100px 7%;
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Footer */
footer {
    background-color: #2c2c2c;
    color: #aaa;
    padding: 60px 7% 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .floating-dashboard {
        width: 100%;
        max-width: 500px;
        height: 340px;
        transform: none;
    }
    
    .floating-dashboard:hover {
        transform: translateY(-10px);
    }
    
    .course-row {
        padding-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        margin-top: 15px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-connector {
        left: 40px;
        top: 80px;
        bottom: 0;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 15px 5%;
    }
    
    .hero, .features, .how-it-works, .preview, .cta, footer {
        padding: 80px 5% 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .auth-buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Menu Hamburger for Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        order: 3;
    }
    
    .nav-links {
        display: none;
        width: 100%;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px 0;
    }
    
    .auth-buttons {
        margin-left: auto;
    }
}
