/* Global Styles */
:root {
    --bg-color: #050505;
    --primary-purple: #8850BF;
    --primary-purple-glow: rgba(136, 80, 191, 0.6);
    --secondary-red: #F24968;
    --dark-accent: #564D8C;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --border-purple: rgba(136, 80, 191, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animations */
@keyframes glowPulse {
    0% { text-shadow: 0 0 10px var(--primary-purple-glow); }
    50% { text-shadow: 0 0 25px var(--primary-purple), 0 0 35px var(--primary-purple); }
    100% { text-shadow: 0 0 10px var(--primary-purple-glow); }
}

@keyframes floatCan {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

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

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

/* Header */
.main-header {
    text-align: center;
    padding: 40px 20px 20px;
    position: relative;
    z-index: 10;
}

.header-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.header-title span {
    color: var(--primary-purple);
    animation: glowPulse 3s infinite;
}

.underline-glow {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
    width: 60%;
    margin: 0 auto;
    box-shadow: 0 0 15px var(--primary-purple);
    border-radius: 2px;
}

/* Language Switcher */
.header-top {
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: flex-end;
    z-index: 100;
}

.lang-switcher {
    display: flex;
    gap: 10px;
    background: rgba(20, 20, 20, 0.85);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--primary-purple);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(138,43,226,0.4);
}

.lang-switcher a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lang-switcher a:hover {
    background: rgba(136, 80, 191, 0.3);
}

.lang-switcher a.active-lang {
    background: var(--primary-purple);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-purple-glow);
}

/* Hero Section */
.hero-section {
    padding: 60px 5%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(138,43,226,0.1) 0%, transparent 60%);
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
}

/* Product Image Side */
.product-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.product-can {
    height: 600px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
    animation: floatCan 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.product-can:hover {
    transform: scale(1.05) translateY(-10px);
}

.glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 500px;
    background: radial-gradient(ellipse, var(--primary-purple-glow) 0%, transparent 70%);
    z-index: 1;
    opacity: 0.6;
    filter: blur(40px);
}

/* Product Details Side */
.product-details {
    flex: 1;
    animation: slideInRight 1s ease-out backwards;
    animation-delay: 0.3s;
}

.detail-box {
    background: var(--glass-bg);
    border: 1px solid var(--border-purple);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(138,43,226,0.1);
    position: relative;
    overflow: hidden;
}

.detail-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-red));
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.sub-text {
    font-size: 1rem;
    color: var(--text-muted);
}

.power-logo {
    font-style: italic;
    font-weight: 900;
    letter-spacing: 2px;
}

.red-bolt {
    color: var(--secondary-red);
    text-shadow: 0 0 10px var(--secondary-red);
}

.product-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Responsive for Hero */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .product-can {
        height: 450px;
    }
    .detail-box {
        padding: 30px 20px;
    }
}

/* Videos Section */
.videos-section {
    padding: 80px 5%;
    background: linear-gradient(to bottom, #050505, #111, #050505);
    position: relative;
}

.videos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    animation: slideUp 0.8s ease-out backwards;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
}

.youtube-subscribe {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.yt-icon {
    color: red;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.youtube-subscribe:hover .yt-icon {
    transform: scale(1.2);
}

/* Carousel */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1000px;
}

.carousel-btn {
    background: var(--primary-purple);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(138,43,226,0.5);
    z-index: 10;
}

.carousel-btn:hover {
    background: #a742ff;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(138,43,226,0.8);
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.side-item {
    width: 25%;
    height: 200px;
    opacity: 0.5;
    transform: scale(0.9);
    filter: grayscale(80%);
}

.active-item {
    width: 45%;
    height: 350px;
    z-index: 5;
    transform: scale(1.05);
    border: 2px solid var(--primary-purple);
    box-shadow: 0 0 30px rgba(138,43,226,0.3);
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.5);
}

.play-btn svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    margin-left: 5px;
}

.play-btn:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px var(--primary-purple);
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    border-top: 1px solid var(--primary-purple);
}

.all-videos-btn-container {
    text-align: center;
    margin-top: 50px;
}

.all-videos-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--primary-purple);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.all-videos-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--primary-purple);
    transition: all 0.4s ease;
    z-index: -1;
}

.all-videos-btn:hover::before {
    left: 0;
}

.all-videos-btn:hover {
    box-shadow: 0 0 20px var(--primary-purple);
    transform: translateY(-3px);
}

/* Footer */
.main-footer {
    background: #000;
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(138,43,226,0.3);
}

.hashtag {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: var(--text-muted);
    margin-bottom: 40px;
    transition: color 0.3s;
    cursor: default;
}

.hashtag:hover {
    color: var(--primary-purple);
    text-shadow: 0 0 10px var(--primary-purple);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 50px;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.1rem;
}

.link-column a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #222;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.social-icons .icon:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138,43,226,0.4);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

.legal-links a {
    color: #666;
    text-decoration: none;
}

.legal-links a:hover {
    color: #bbb;
}

/* Responsive for Tablets */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .product-can {
        height: 450px;
    }
    .detail-box {
        padding: 30px 20px;
    }
}

/* Responsive for Small Tablets */
@media (max-width: 768px) {
    .header-title { font-size: 2.5rem; }
    .videos-header { flex-direction: column; gap: 20px; text-align: center; }
    .carousel-item.active-item { width: 80%; height: 250px; }
    .carousel-item.side-item { display: none; }
    .footer-links { flex-direction: column; text-align: center; gap: 30px; }
    .hashtag { font-size: 2rem; }
}

/* Responsive for Mobile Phones */
@media (max-width: 480px) {
    .header-top { position: relative; top: 0; left: 0; right: 0; justify-content: center; margin-bottom: 15px; }
    .lang-switcher { padding: 5px 10px; gap: 5px; }
    .lang-switcher a { font-size: 0.85rem; padding: 5px 10px; }
    .main-header { padding: 20px 10px 10px; }
    .header-title { font-size: 1.8rem; }
    .hero-section { padding: 30px 5%; }
    .product-can { height: 320px; }
    .product-title { font-size: 1.8rem; }
    .product-description { font-size: 0.95rem; }
    .detail-box { padding: 25px 15px; }
    .videos-section { padding: 50px 5%; }
    .section-title { font-size: 1.8rem; }
    .youtube-subscribe { font-size: 0.9rem; }
    .carousel-container { gap: 10px; }
    .carousel-item.active-item { width: 100%; height: 200px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1.2rem; }
    .play-btn { width: 50px; height: 50px; }
    .play-btn svg { width: 20px; height: 20px; }
    .video-caption { font-size: 0.9rem; padding: 10px; }
    .hashtag { font-size: 1.5rem; letter-spacing: 2px; }
    .main-footer { padding: 40px 5% 20px; }
    .legal-links { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
}

/* Order Button */
.product-actions {
    margin-top: 30px;
}

.order-btn {
    background: linear-gradient(135deg, var(--primary-purple), #a742ff);
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(136, 80, 191, 0.4), 0 0 0 0 rgba(136, 80, 191, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(136, 80, 191, 0.6), 0 0 20px rgba(136, 80, 191, 0.4);
}

.order-btn:active {
    transform: translateY(-2px) scale(1);
}

.btn-icon {
    font-size: 1.4rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #111;
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--border-purple);
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 50px rgba(136, 80, 191, 0.3);
    overflow: hidden;
    animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--primary-purple);
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-info {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: linear-gradient(135deg, #151515, #0a0a0a);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(136, 80, 191, 0.2);
}

.modal-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--primary-purple);
    text-transform: uppercase;
}

.pack-image {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
}

.pack-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.pack-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--secondary-red);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 5px 10px rgba(255, 42, 42, 0.4);
}

.pack-description {
    color: var(--text-muted);
    font-size: 1rem;
}

.order-form {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #222;
    padding: 5px;
    border-radius: 10px;
    width: fit-content;
}

.quantity-control button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-control button:hover {
    background: var(--primary-purple);
}

.quantity-control input {
    width: 60px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.order-total {
    margin-bottom: 40px;
    font-size: 1.3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.order-total span:first-child {
    color: var(--text-muted);
}

.order-total span#quantityDisplay {
    color: var(--primary-purple);
    font-weight: 900;
    font-size: 1.8rem;
    margin: 0 10px;
}

.confirm-order-btn {
    background: #25D366; /* WhatsApp Green */
    color: #fff;
    border: none;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.confirm-order-btn:hover {
    background: #20ba59;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

.wa-icon {
    font-size: 1.5rem;
}

@media (max-width: 600px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    .modal-info {
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(136, 80, 191, 0.2);
    }
    .order-form {
        padding: 30px 20px;
    }
    .modal-title {
        font-size: 1.5rem;
    }
}

.variant-selector {
    display: flex;
    gap: 15px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 50px;
    width: fit-content;
    border: 1px solid rgba(136, 80, 191, 0.3);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.variant-tab {
    flex: 1;
    border: none;
    background: none;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 900;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    white-space: nowrap;
    opacity: 0.6;
}

.variant-tab:hover {
    opacity: 1;
    background: rgba(136, 80, 191, 0.1);
}

.variant-tab.active {
    background: var(--primary-purple);
    color: #fff !important;
    opacity: 1;
    box-shadow: 0 5px 15px rgba(136, 80, 191, 0.5);
    transform: scale(1.05);
}

.free-delivery-badge {
    margin-top: 25px;
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 900;
    border: 1px solid rgba(37, 211, 102, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.unit-price {
    margin-top: 20px;
    font-size: 1.25rem;
    color: #fff;
    font-weight: bold;
}

.unit-price strong {
    color: var(--primary-purple);
    font-size: 1.3rem;
}

#totalPrice {
    color: var(--primary-purple);
    font-size: 2.2rem;
    font-weight: 900;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: bold;
    margin-left: 5px;
}


.qnt-detail {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

