:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: var(--gradient-bg);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="10" cy="10" r="10" fill="url(%23a)"><animateTransform attributeName="transform" type="translate" values="0 0;90 0;0 0" dur="3s" repeatCount="indefinite"/></circle></svg>') repeat-x;
    animation: float 10s ease-in-out infinite;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo-section {
    text-align: center;
    flex: 1;
}

.company-name {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--light-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate, slideInDown 1s ease-out;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate, slideInDown 1s ease-out, gradientShift 3s ease-in-out infinite;
}

.tagline {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    animation: slideIn 1s ease-out, fadeInUp 1.5s ease-out;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.help-section {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.help-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    animation: pulse 2s infinite;
}

/* Fixed Cart Icon */
.cart-icon {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.cart-icon:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}
.help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.4);
}

/* Banner Styles */
.banner-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    animation: slideInLeft 1s ease-out;
}

.slide-content p {
    font-size: 1.2rem;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.banner-nav button {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-nav button:hover {
    background: white;
    transform: scale(1.1);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 60px 0 40px;
    position: relative;
    color: var(--primary-color);
}

.animated-title {
    animation: bounceIn 1s ease-out;
}

.bubble-title {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.bubble-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,107,107,0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: bubble 3s ease-in-out infinite;
}

.highlighted-title {
    background: linear-gradient(45deg, #ff512f, #dd2476);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: highlight 2s ease-in-out infinite alternate;
}

/* Product Grid Styles */
.products-grid, .categories-grid, .accessories-grid, .most-selling-grid, .videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card, .category-card, .accessory-card, .selling-card, .video-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover, .accessory-card:hover, .selling-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image, .accessory-images, .selling-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img, .accessory-images img, .selling-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zoomable:hover {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover .product-overlay {
    opacity: 1;
}

.zoom-btn {
    background: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zoom-btn:hover {
    transform: scale(1.2);
}

.product-info, .accessory-info, .selling-info {
    padding: 20px;
}

.accessory-info .product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.accessory-info .product-actions .cart-btn,
.accessory-info .product-actions .buy-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.9rem;
}

.product-info h3, .accessory-info h3, .selling-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-info p, .accessory-info p, .selling-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-price, .accessory-price {
    margin-bottom: 15px;
}

.market-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.current-price {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

.inquiry-btn, .cart-btn, .buy-btn, .buy-now-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.inquiry-btn {
    background: #25d366;
    color: white;
}

.cart-btn, .buy-now-btn {
    background: var(--accent-color);
    color: white;
}

.buy-btn {
    background: var(--secondary-color);
    color: white;
    width: 100%;
}

.inquiry-btn:hover, .cart-btn:hover, .buy-btn:hover, .buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Categories Styles */
.category-card {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.category-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
}

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

.animated-category {
    animation: slideInUp 0.6s ease-out;
}

.animated-category:nth-child(even) {
    animation-delay: 0.2s;
}

/* Category Products Section */
.category-products-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.btn-primary:hover {
    background: #1a252f;
}

/* Image Flip Effect */
.accessory-images {
    position: relative;
}

.image-flip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-flip.active {
    opacity: 1;
}

/* Price Box Styles */
.price-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.market-price-box, .discounted-price-box {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.market-price-box {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
}

.discounted-price-box {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
}

.market-price-box span:first-child,
.discounted-price-box span:first-child {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.market-price-box span:last-child,
.discounted-price-box span:last-child {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Cart Summary Styles */
.cart-summary {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-cart {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.cart-total {
    border-top: 2px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

.cart-total p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: bold;
}

.confirm-buy-btn {
    width: 100%;
    padding: 15px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.confirm-buy-btn:hover {
    background: #128c7e;
}

/* Video Styles */
.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

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

.video-player-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    color: #666;
}

.video-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    transition: opacity 0.3s ease;
}

.video-thumbnail-overlay:hover .play-overlay {
    background: rgba(0,0,0,0.7);
}

.play-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    transform: scale(1.1);
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.video-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.close-video-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-video-modal:hover {
    background: rgba(255,255,255,0.2);
}

.video-modal-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-modal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

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

.about-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.about-point {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    animation: slideInRight 0.6s ease-out;
}

.about-point:nth-child(even) {
    animation-delay: 0.2s;
}

.about-point i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Footer Styles */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

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

.office-address h3, .visitor-counter h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.address-box, .counter-box {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.address-box i, .counter-box i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.counter-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.count {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    display: block;
    margin: 10px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

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

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

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

/* Animations */
@keyframes glow {
    from { text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
    to { text-shadow: 2px 2px 20px rgba(255,255,255,0.5); }
}

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

@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.05); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes bubble {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-20px); }
}

@keyframes highlight {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(-50%); }
    40% { transform: translateY(-60%); }
    60% { transform: translateY(-55%); }
}
/* Responsive Design */
@media (max-width: 768px) {
    .company-name {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .help-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .help-section {
        position: fixed;
        top: 10px;
        right: 10px;
    }
    
    .cart-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        right: 15px;
    }
    
    .products-grid, .categories-grid, .accessories-grid, .most-selling-grid, .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .slide-content {
        left: 20px;
        bottom: 20px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin: 40px 0 30px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .price-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .about-points {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .banner-section {
        height: 300px;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .close-video-modal {
        top: -35px;
        font-size: 25px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .help-section {
        position: static;
        margin-top: 20px;
        position: fixed;
        top: 10px;
        right: 10px;
        margin-top: 0;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .video-modal-content {
        width: 98%;
        margin: 10px;
    }
}