:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--error-color);
    color: white;
    font-size: 12px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.quote-of-day {
    background-color: var(--bg-light);
    padding: 60px 20px;
    text-align: center;
}

.quote-of-day svg {
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.quote-of-day blockquote p {
    font-size: 22px;
    font-style: italic;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 16px;
    line-height: 1.8;
}

.quote-of-day cite {
    font-size: 16px;
    color: var(--text-light);
    font-style: normal;
}

.tip-of-day {
    background-color: #fef3c7;
    padding: 40px 20px;
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tip-header svg {
    color: var(--warning-color);
}

.tip-header h3 {
    color: var(--text-dark);
    font-size: 24px;
}

.tip-of-day p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.8;
}

.features {
    padding: 80px 20px;
}

.features h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.feature-card {
    text-align: center;
    padding: 32px;
    border-radius: 12px;
    background-color: var(--bg-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-card svg {
    margin: 0 auto 20px;
    color: var(--primary-color);
}

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

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-item h4 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 16px;
}

.about-courses {
    background-color: var(--bg-light);
    padding: 80px 20px;
}

.about-courses h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.about-content p {
    margin-bottom: 24px;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 16px;
}

.quality-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.highlight-item {
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.highlight-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.highlight-item p {
    color: var(--text-light);
    margin: 0;
}

.courses {
    padding: 80px 20px;
}

.courses h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.course-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 24px;
}

.course-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.course-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
}

.level {
    background-color: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-detail {
    padding: 60px 20px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-info h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.product-description h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.product-description p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.product-features {
    margin: 32px 0;
}

.product-features h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-dark);
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.product-tabs {
    margin-top: 60px;
}

.tab-buttons {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 32px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.curriculum-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.curriculum-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.curriculum-item p {
    color: var(--text-light);
    margin: 0;
}

.instructor-profile {
    display: flex;
    gap: 32px;
}

.instructor-details h4 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.instructor-details p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.cart-page {
    padding: 60px 20px;
    min-height: 60vh;
}

.cart-page h1 {
    font-size: 36px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart svg {
    margin: 0 auto 24px;
    color: var(--text-light);
}

.empty-cart h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.cart-items {
    margin-bottom: 40px;
}

.cart-item {
    display: flex;
    gap: 24px;
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.cart-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.cart-item-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.remove-item {
    background-color: var(--error-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.remove-item:hover {
    background-color: #dc2626;
}

.cart-summary {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    max-width: 400px;
    margin-left: auto;
}

.cart-summary h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 18px;
}

.summary-row.total {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 16px;
    border-top: 2px solid var(--border-color);
}

.checkout-page {
    padding: 60px 20px;
}

.checkout-page h1 {
    font-size: 36px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.checkout-form h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.order-summary {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    align-self: start;
}

.order-summary h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.contact-info li {
    display: flex;
    gap: 12px;
    color: #d1d5db;
    margin-bottom: 16px;
    line-height: 1.6;
}

.contact-info svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #374151;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 24px;
    z-index: 2000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--text-dark);
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: none;
}

.notification.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.notification.error {
    background-color: var(--error-color);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.page-content {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 40px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.page-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 32px;
}

.page-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.info-card {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.info-card svg {
    margin: 0 auto 16px;
    color: var(--primary-color);
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}