
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: white;
}


.navbar {
    height: 100px;
    background-color: #000; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: relative;
    z-index: 1000;
}

.bagian-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.text-logo {
    font-size: 25px; 
    font-weight: 700;
    color: white;
}

.menu-navbar {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.menu-navbar a {
    text-decoration: none;
    color: white;
    font-size: 20px; 
    font-weight: 400;
    transition: color 220ms ease, transform 220ms ease, text-shadow 220ms ease;
}

.menu-navbar a.bold {
    font-weight: 700;
}

.menu-navbar a:hover {
    color: #00F0FF;
    transform: translateY(-3px);
    text-shadow: 0 6px 18px rgba(0,240,255,0.08);
}

.bagian-logo .text-logo {
    transition: transform 240ms ease, color 240ms ease, letter-spacing 240ms ease;
}

.bagian-logo .text-logo:hover {
    transform: scale(1.06);
    color: #6d09df;
    letter-spacing: 0.6px;
}

.hamburger:hover span {
    background-color: #e6e6e6;
}

.auth-buttons {
    display: flex;
    gap: 25px;
}

.auth-buttons button {
    width: 80px; 
    height: 30px;
    border: none;
    border-radius: 15px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 15px; 
    font-weight: 500;
    background: linear-gradient(to right, #6d09df, #ff008c);
    cursor: pointer;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1000px) {
    .hamburger {
        display: flex;
    }

    .menu-navbar {
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        background-color: #000;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .menu-navbar.active {
        max-height: 500px;
        padding: 20px 0;
    }

    .menu-navbar li {
        padding: 15px 20px;
        border-bottom: 1px solid #333;
    }

    .auth-buttons {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
        border: none;
    }

    .auth-buttons button {
        width: 100%;
    }
}

.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 50px;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slides-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.caption {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 44px;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 1rem;
    max-width: 90%;
    text-align: center;
    opacity: 0;
    transition: opacity 260ms ease, transform 260ms ease;
    pointer-events: none;
}

.slide.active .caption {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    padding: 10px 14px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 10px;
}
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border-width: 0;
    background: rgba(255, 255, 255);
    cursor: pointer;
}
.dot.active { background: #ff00d4; }

@media (max-width: 600px) {
    .slider-btn { padding: 8px 10px; font-size: 18px; }
}

.body1 {
    background-color: black;
    padding-bottom: 50px;
    padding-top: 30px;
}

.body1 h1 {
    font-size: 50px;
    background-image: linear-gradient(#FF00DD, #6f00ff);
    color: transparent;
    background-clip: text;
    padding-left: 20px;
}

.body1 p {
    padding-left: 20px;
    font-size: 20px;
}

.product-card-container {
    background-color: #242424;
    border-radius: 1rem; 
    overflow: hidden;
    width: 100%;
    max-width: 450px; 
    margin-left: 20px;
    margin-top: 20px;
}

.card-wrapper {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%;
    max-width: 100%;
    margin-left: -10px;
}

.card-header {
    padding: 1.3rem; 
}

.card-header h3 {
    font-size: 1.25rem; 
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.card-header p {
    font-size: 1.125rem; 
    font-weight: 500;
    color: #ffffff; 
}

.card-image {
    width: 100%;
}

.card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.card-specs {
    padding: 1.5rem; 
}

.card-specs h4 {
    font-size: 1.25rem; 
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem; 
}

.card-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-specs li {
    font-size: 0.875rem; 
    color: #d1d5db; 
    margin-bottom: 0.5rem; 
    line-height: 1.5;
}

.card-specs li:last-child {
    margin-bottom: 0;
}

.body2 {
    background-color: #191919;
    padding-bottom: 20px;
}

.body2 h1 {
    font-size: 50px;
    background-image: linear-gradient(#00FFF2, #0048FF);
    color: transparent;
    background-clip: text;
    padding-left: 20px;
}

.body2 p {
    padding-left: 20px;
    font-size: 20px;
}

.product-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 20px;
}

.controller-card {
    height: 370px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #000;
}

.card-img-container {
    width: 100%;
    height: 170px; 
    background-color: #F7F7F7; 
    display: grid;
    place-items: center;
    padding: 1rem;
}

.card-img-container img {
    width: 100%;
    max-width: 220px; 
    height: auto;
    object-fit: contain;
}

.controller-card .card-content {
    padding: 1rem; 
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.controller-card .card-content h3 {
    font-size: 0.75rem; 
    font-weight: 500;
    color: #6B7280; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem; 
}

.card-description {
    background-color: #374151; 
    color: #E5E7EB; 
    border-radius: 8px;
    padding: 0.75rem; 
    margin-bottom: 1rem;
}

.card-description h4 {
    font-size: 1rem; 
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.card-description p {
    font-size: 0.75rem; 
    line-height: 1.5;
    color: #D1D5DB;
}

.card-footer {
    margin-top: auto; 
}

.card-footer h5 {
        font-size: 0.75rem; 
    font-weight: 500;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem; 
}

.card-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-status .price {
    font-size: 1rem; 
    font-weight: 600;
    color: #1F2937; 
}

.card-status .status {
    font-size: 1rem; 
    font-weight: 600;
    color: #10B981; 
}

.card-status .status:hover {
    cursor: pointer;
    font-size: 1rem; 
    font-weight: 600;
    color: #000000; 
}

.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding-top: 60px;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
}

.site-footer h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-address {
    line-height: 1.6;
    margin-bottom: 15px;
    margin-left: -20px;
    color: #e0e0e0;
}

.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 40px;
}

.maps-link i {
    font-size: 16px;
}

.footer-newsletter h3 {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.newsletter-form input {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    flex: 1;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input::placeholder {
    color: #aaa;
}

.newsletter-form button {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s, color 0.3s;
}

.newsletter-form button:hover {
    background-color: #fff;
    color: #000;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 10px;
    color: #ccc;
}

.checkbox-group input {
    margin-top: 2px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(243, 237, 237);
    border-radius: 50%;
    transition: background-color 220ms ease, transform 220ms ease;
}

.social-link:hover {
    background-color: rgba(201, 201, 201, 0.6);
    transform: translateY(-2px);
}

.social-link img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.social-icons a {
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.links-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-section li {
    margin-bottom: 12px;
}

.links-section a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.links-section a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    background-color: #111;
    border-top: 1px solid #222;
    padding: 25px 0;
    margin-top: auto;
}

.bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
    font-size: 13px;
}

.legal-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 25px;
}

.legal-links a:hover {
    color: #fff;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .brand-section {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .brand-section {
        grid-column: span 1;
    }

    .bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .legal-links a {
        margin: 0 10px;
    }
}

.cart-btn {
    background: none;
    border: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: color 220ms ease;
}

.cart-btn:hover {
    color: #00F0FF;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ff008c;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: white;
    position: absolute;
    top: -8px;
    right: -8px;
}

.add-to-cart {
    width: 35px;
    height: 35px;
    border: 2px solid #ff008c;
    border-radius: 50%;
    background: none;
    color: #ff008c;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
}

.add-to-cart:hover {
    background: #ff008c;
    color: white;
    transform: scale(1.1);
}

.cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    display: none;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

.cart-modal.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #eee;
}

.cart-modal-header h2 {
    color: #000;
    font-size: 24px;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    transition: color 200ms ease;
}

.close-cart:hover {
    color: #000;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    color: #000;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 14px;
    color: #ff008c;
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    transition: background 200ms ease;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: white;
    font-size: 14px;
    color: #000;
}

.qty-input:focus {
    outline: none;
}

.remove-btn {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: background 200ms ease;
}

.remove-btn:hover {
    background: #cc0000;
}

.cart-summary {
    padding: 20px;
    border-top: 2px solid #eee;
    background: #f9f9f9;
    border-radius: 0 0 15px 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.total-price {
    color: #ff008c;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #6d09df, #ff008c);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 140, 0.4);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.cart-overlay.active {
    display: block;
}