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

:root {
    --primary-color: #0066ff;
    --secondary-color: #00ffff;
    --dark-bg: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2a2a2a;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --accent-gradient: linear-gradient(135deg, #0066ff 0%, #00ffff 100%);
    --robot-gradient: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

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

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

.navbar {
    background: var(--dark-secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 102, 255, 0.3);
    border-bottom: 2px solid var(--primary-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--accent-gradient);
    color: var(--dark-bg);
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

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

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

.hero {
    background: var(--robot-gradient);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="%230066ff" stroke-width="1" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.slider-section {
    padding: 4rem 0;
    background: var(--dark-secondary);
}

.slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 102, 255, 0.3);
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem;
    color: var(--text-light);
}

.slide-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 102, 255, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.2rem;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    text-align: center;
    padding: 1rem 0;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

.admin-demo {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.admin-demo h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-demo p {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.admin-frame {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.3);
    border: 2px solid var(--primary-color);
}

.admin-frame iframe {
    display: block;
}

.features {
    padding: 5rem 0;
    background: var(--dark-secondary);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: var(--dark-tertiary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--dark-tertiary);
    border-radius: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.cta-section {
    text-align: center;
    padding: 2rem;
    background: var(--robot-gradient);
    border-radius: 15px;
    margin-top: 2rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-courses {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.about-courses h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-courses h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
}

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

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
    text-align: justify;
}

.quality-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.badge {
    background: var(--dark-tertiary);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--primary-color);
}

.badge i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.products {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.product-card {
    background: var(--dark-secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-gradient);
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: var(--text-light);
}

.product-info p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    min-height: 60px;
}

.product-price {
    margin-bottom: 1rem;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--dark-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.5);
}

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

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

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

.btn-outline:hover {
    background: var(--dark-tertiary);
    border-color: var(--text-light);
    color: var(--text-light);
}

.footer {
    background: var(--dark-secondary);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--primary-color);
}

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

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section ul {
    color: var(--text-gray);
    line-height: 2;
}

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

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--dark-tertiary);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-tertiary);
    color: var(--text-gray);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-secondary);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    border-top: 2px solid var(--primary-color);
    transform: translateY(100%);
    transition: transform 0.3s;
}

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

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

.cookie-text h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.product-detail {
    padding: 3rem 0;
    background: var(--dark-bg);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-detail-image img {
    width: 100%;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
}

.product-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-price {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
}

.product-detail-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-features {
    background: var(--dark-tertiary);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.product-features h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.product-features li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--dark-secondary);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.product-actions-detail {
    display: flex;
    gap: 1rem;
}

.product-actions-detail .btn {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cart-page {
    padding: 3rem 0;
    background: var(--dark-bg);
    min-height: 60vh;
}

.cart-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-gray);
}

.cart-empty i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cart-items {
    background: var(--dark-secondary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--dark-tertiary);
    border-radius: 10px;
    margin-bottom: 1rem;
}

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

.cart-item-info h3 {
    margin-bottom: 0.5rem;
}

.cart-item-info p {
    color: var(--text-gray);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

.quantity-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.quantity-input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    background: var(--dark-secondary);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--text-light);
}

.cart-item-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.remove-item {
    background: transparent;
    border: none;
    color: #ff4444;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.remove-item:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: var(--dark-secondary);
    border-radius: 15px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.summary-row.total {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 2px solid var(--primary-color);
}

.checkout-form {
    background: var(--dark-secondary);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-tertiary);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.success-page {
    padding: 5rem 0;
    text-align: center;
    min-height: 60vh;
}

.success-icon {
    font-size: 5rem;
    color: #00ff00;
    margin-bottom: 1rem;
}

.success-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.success-page p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-page {
    padding: 3rem 0;
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--dark-secondary);
    padding: 2rem;
    border-radius: 15px;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.contact-form {
    background: var(--dark-secondary);
    padding: 2rem;
    border-radius: 15px;
}

.about-page {
    padding: 3rem 0;
    background: var(--dark-bg);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

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

.team-card {
    background: var(--dark-secondary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.team-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

.team-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.team-card .position {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--text-gray);
}

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

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

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

    .hero h1 {
        font-size: 2rem;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }

    .cart-item-price {
        grid-column: 1 / -1;
        text-align: center;
    }

    .cart-item-quantity {
        grid-column: 1 / -1;
        justify-content: center;
    }

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .product-actions-detail {
        flex-direction: column;
    }
}
