:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 9999;
    transition: width 0.1s ease;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.98);
    color: white;
    padding: 20px;
    z-index: 9998;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.btn-accept, .btn-reject {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-accept:hover {
    background: #059669;
}

.btn-reject {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-reject:hover {
    background: white;
    color: var(--text-color);
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: underline;
}

header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 24px;
    font-weight: 700;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

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

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

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--error-color);
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 700;
}

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

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

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

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s;
    animation-fill-mode: both;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.features {
    padding: 80px 0;
    background: var(--bg-light);
}

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

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

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

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

.stat-item h3 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.about-courses {
    padding: 80px 0;
}

.about-courses h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.about-courses h3 {
    font-size: 28px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 17px;
}

.chart-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.chart-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.chart-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.products {
    padding: 80px 0;
}

.products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.product-detail {
    padding: 80px 0;
}

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

.product-image-section img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.product-rating i {
    color: var(--warning-color);
}

.product-rating span {
    color: var(--text-light);
    margin-left: 10px;
}

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

.product-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.product-features h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.product-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    padding: 10px 0;
    color: var(--text-light);
}

.product-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-actions button {
    flex: 1;
    min-width: 200px;
}

.product-details-tabs {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.course-curriculum h3 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: var(--primary-color);
}

.course-curriculum p {
    color: var(--text-light);
    line-height: 1.8;
}

.cart-section, .checkout-section {
    padding: 80px 0;
    min-height: 60vh;
}

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

.cart-empty i {
    font-size: 100px;
    color: var(--border-color);
    margin-bottom: 30px;
}

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

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

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

.cart-item-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

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

.cart-item-remove {
    background: var(--error-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.cart-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    font-size: 22px;
    font-weight: 700;
    border-bottom: none;
    padding-top: 20px;
}

.btn-checkout {
    width: 100%;
    margin: 20px 0 10px;
}

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

.checkout-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

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

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

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

.btn-submit {
    width: 100%;
    margin-top: 20px;
}

.order-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-items {
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.success-section {
    padding: 100px 0;
    text-align: center;
}

.success-icon {
    font-size: 100px;
    color: var(--success-color);
    margin-bottom: 30px;
}

.success-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.success-message {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.success-next-steps {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 600px;
}

.success-next-steps ul {
    list-style: none;
    text-align: left;
}

.success-next-steps li {
    padding: 15px;
    font-size: 18px;
}

.success-next-steps i {
    color: var(--primary-color);
    margin-right: 15px;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

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

.contact-hero h1, .about-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-section, .about-content, .team-section, .achievements {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2, .contact-form-wrapper h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.social-links-large {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links-large a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-links-large a:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.contact-form {
    background: white;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: var(--success-color);
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: var(--error-color);
    display: block;
}

.about-story, .about-mission {
    margin-bottom: 60px;
}

.about-story h2, .about-mission h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

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

.value-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.team-section {
    background: var(--bg-light);
}

.team-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.team-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

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

.team-card h3 {
    padding: 20px 20px 5px;
    font-size: 24px;
}

.team-role {
    padding: 0 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.team-bio {
    padding: 15px 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.achievements h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.achievement-item {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.achievement-item i {
    font-size: 60px;
    color: var(--warning-color);
    margin-bottom: 20px;
}

.achievement-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: none;
    min-width: 300px;
}

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

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.error {
    border-left: 4px solid var(--error-color);
}

footer {
    background: var(--text-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

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

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-column i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 30px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .product-detail-grid,
    .contact-grid,
    .checkout-grid,
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions button {
        width: 100%;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}