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

: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;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 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;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.98);
    color: white;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

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

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

.cookie-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

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

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

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

.btn-cookie-accept:hover {
    background: var(--secondary-color);
}

.btn-cookie-decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: white;
    text-decoration: underline;
    padding: 10px;
}

/* Header & Navigation */
header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    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-weight: 700;
    font-size: 20px;
}

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

.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;
}

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

.cart-link {
    position: relative;
}

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

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

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

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

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

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

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

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

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

.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: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

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

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

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

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
}

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

/* About Courses Section */
.about-courses {
    padding: 80px 0;
}

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

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

.quality-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.badge-item i {
    font-size: 36px;
    color: var(--primary-color);
}

.badge-item span {
    font-weight: 600;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--bg-light);
}

.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: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--error-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
}

.product-badge.new {
    background: var(--success-color);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

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

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

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

/* Product Detail */
.product-detail {
    padding: 60px 0;
}

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

.product-detail-image {
    position: relative;
}

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

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

.product-rating i {
    color: #fbbf24;
}

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

.product-price-large {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.product-description h3 {
    font-size: 22px;
    margin: 30px 0 15px;
}

.product-description ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.product-description li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-add-cart {
    flex: 1;
}

/* Related Products */
.related-products {
    padding: 80px 0;
    background: var(--bg-light);
}

.related-products h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

/* Cart */
.cart-section {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

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

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

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.cart-item-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

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

.cart-item-remove {
    background: var(--error-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.cart-item-remove:hover {
    opacity: 0.8;
}

.cart-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

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

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

.summary-row.total {
    font-size: 22px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
    margin-top: 15px;
}

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

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

.empty-cart i {
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

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

/* Checkout */
.checkout-section {
    padding: 60px 0;
}

.checkout-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

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

.checkout-form-wrapper h3,
.order-summary-sidebar h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.checkout-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.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;
}

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

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

.order-summary-sidebar {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

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

.checkout-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

.checkout-item-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.checkout-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.summary-totals {
    margin-top: 20px;
}

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

/* Success Page */
.success-section {
    padding: 80px 0;
    min-height: 60vh;
}

.success-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

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

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

.success-message {
    font-size: 20px;
    margin-bottom: 15px;
}

.success-info {
    color: var(--text-light);
    margin-bottom: 40px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.success-next-steps {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
}

.success-next-steps h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

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

.success-next-steps li {
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-next-steps i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.contact-hero p {
    font-size: 18px;
}

.contact-section {
    padding: 80px 0;
}

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

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

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

.contact-icon {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-social h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-form-wrapper h3 {
    font-size: 28px;
    margin-bottom: 25px;
}

.contact-form textarea {
    resize: vertical;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
}

.form-message i {
    font-size: 20px;
}

.contact-cta {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.contact-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.about-hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 18px;
}

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

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

.about-story h3,
.about-values h3 {
    font-size: 32px;
    margin-bottom: 25px;
}

.about-story p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

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

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

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

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

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

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

.about-cta {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.about-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.about-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.about-cta .btn-primary:hover {
    background: var(--bg-light);
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

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

.footer-section p {
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 15px;
}

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

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

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

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

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

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
    }

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

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

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

    .product-detail-grid,
    .cart-content,
    .checkout-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .features h2,
    .products h2 {
        font-size: 28px;
    }

    .success-actions {
        flex-direction: column;
    }

    .about-hero h2,
    .contact-hero h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .features,
    .products,
    .about-content,
    .team-section {
        padding: 40px 0;
    }

    .product-actions {
        flex-direction: column;
    }

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