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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 8px 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 a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 24px;
    font-weight: 700;
}

.logo img {
    border-radius: 50%;
}

.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: -10px;
    background: var(--error-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

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

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

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

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

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

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

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    width: 100%;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
}

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

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

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

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

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

.advantage-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

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

.stat-item {
    padding: 20px;
}

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

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

/* About Courses Section */
.about-courses {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Products Grid */
.catalog {
    padding: 80px 0;
}

.catalog 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: var(--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;
}

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

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

.product-info {
    padding: 20px;
}

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

.product-description {
    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 */
.product-detail {
    padding: 80px 0;
}

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

.product-detail-image img {
    width: 100%;
    border-radius: 12px;
}

.product-rating {
    color: #fbbf24;
    margin-bottom: 15px;
}

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

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

.product-description-full h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 20px;
}

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

.product-description-full li {
    margin-bottom: 8px;
    line-height: 1.6;
}

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

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

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

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

.empty-cart h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cart-table {
    overflow-x: auto;
    margin-bottom: 30px;
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cart-table th {
    font-weight: 600;
    background: var(--bg-light);
}

.cart-item-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

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

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    border-radius: 4px;
}

.remove-item {
    color: var(--error-color);
    cursor: pointer;
    font-size: 20px;
}

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

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

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

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

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

.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: 6px;
    font-size: 16px;
}

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

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

.order-summary {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
}

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

.order-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Success Page */
.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: 36px;
    margin-bottom: 20px;
}

.success-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 15px;
}

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

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 10px;
}

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

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

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

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

.about-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

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

.about-content-wrapper p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

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

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

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

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

.team-card {
    background: var(--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: 350px;
    object-fit: cover;
}

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

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

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

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

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

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

.value-card {
    text-align: center;
    padding: 40px 20px;
}

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

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

/* Reviews CTA */
.reviews-cta {
    background: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

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

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

/* Modal */
.review-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
}

.close-modal:hover {
    color: var(--text-color);
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 1500;
}

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

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

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

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

/* Notification */
.notification {
    display: none;
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--success-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2000;
    animation: slideIn 0.3s ease;
}

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

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

.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 {
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

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

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

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

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

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

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

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

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

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

    .products-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

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

    .cart-table {
        font-size: 14px;
    }

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