
/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header {
    margin: 0;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 213, 0, 0.2);
    top: -150px;
    right: -100px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(92, 227, 186, 0.15);
    bottom: -100px;
    left: -50px;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero h1 span {
    color: var(--secondary);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 213, 0, 0.4);
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: 10px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Feature Sections */
.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-section {
    padding: 6rem 0;
    position: relative;
    margin: 0 !important;
    padding: 20px !important;
}

.feature-section:nth-child(even) {
    background: linear-gradient(135deg, #fcfcfc 0%, #f0f0f0 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.feature-content h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    bottom: 0;
    left: 0;
    border-radius: 4px;
}

.feature-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.feature-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-benefits li i {
    color: var(--accent);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.feature-visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
    padding: 2rem;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    text-align: center;
    
}

.feature-visual img {

    display: block;
    text-align: center;
    margin: auto;
   
    
}




.feature-visual:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.mock-interface {
    border-radius: 8px;
    overflow: hidden;
}

/* Course Content Feature */
.content-visual {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.lesson-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-dark);
    padding: 1rem;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    text-align: center;
}

.lesson-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0 0 8px 8px;
}

.lesson-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.lesson-item:last-child {
    border-bottom: none;
}

.lesson-icon {
    background: var(--accent);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

/* Progress Tracking Feature */
.progress-visual {
    background: white;
    padding: 1.5rem;
}

.progress-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 81.3%, #e0e0e0 81.3%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.progress-circle::before {
    content: '81.3%';
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.stat-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.stat-card .number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-card .label {
    font-size: 0.9rem;
    color: #666;
}

/* Quiz Feature */
.quiz-visual {
    background: white;
    padding: 1.5rem;
}

.quiz-question {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.quiz-options {
    display: grid;
    gap: 0.75rem;
}

.quiz-option {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-option:hover {
    border-color: var(--primary);
}

.quiz-option.correct {
    background: #d4edda;
    border-color: var(--accent);
}

/* Student Dashboard Feature */
.dashboard-visual {
    background: white;
    padding: 1.5rem;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-dark);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.dashboard-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e9ecef;
}

.dashboard-card .icon {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Timetable Feature */
.timetable-visual {
    background: white;
    padding: 1.5rem;
}

.timetable-header {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.timetable-week {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.week-header {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.lesson-card {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border-left: 4px solid var(--primary);
    font-size: 0.9rem;
}

/* AI Chat Feature */
.chat-visual {
    background: #2c3e50;
    border-radius: var(--radius);
    overflow: hidden;
    color: white;
}

.chat-header {
    background: #34495e;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.chat-messages {
    padding: 1.5rem;
    height: 200px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    max-width: 80%;
}

.user-message {
    background: var(--primary);
    color: var(--text-dark);
    margin-left: auto;
    text-align: right;
}

.ai-message {
    background: #34495e;
    color: white;
    margin-right: auto;
}

.chat-input {
    background: #34495e;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    outline: none;
}

.chat-input button {
    background: var(--primary);
    color: var(--text-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #4db6ac 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    background-color: white;
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-cta:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-cta-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background-color: white;
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-content h2 {
        font-size: 2.2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-content,
.feature-visual {
    animation: fadeInUp 0.6s ease-out;
}