:root {
    --primary: #ff8c00;
    --primary-gradient: linear-gradient(135deg, #ff8c00 0%, #ff4b4b 100%);
    --primary-hover: #ff7b00;
    --secondary: #ffc145;
    --accent: #ffc145;
    --accent-vibrant: #ffc145;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --bg-light: #f8fafc;
    --card-light: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 40px -10px rgba(255, 140, 0, 0.15);
    --shadow-lg: 0 20px 50px -12px rgba(255, 140, 0, 0.25);
    --radius: 20px;
    --radius-lg: 30px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    height: 75px;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.2);
    transition: var(--transition);
}

.logo-text {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0,0,0,0.03);
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(0,0,0,0.06);
    transform: scale(1.05);
}

.shipping-option {
    border: 1.5px solid var(--glass-border) !important;
    background: rgba(255, 255, 255, 0.5);
}

.shipping-option:has(input:checked) {
    border-color: var(--primary) !important;
    background: rgba(255, 140, 0, 0.05);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.1);
}

.shipping-option:hover {
    background: rgba(255, 140, 0, 0.02);
    transform: translateY(-2px);
}

.cart-btn {
    position: relative;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text-primary);
    transition: var(--transition);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0,0,0,0.03);
}

.cart-btn:hover {
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-gradient);
    color: white;
    font-size: 0.75rem;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(255, 75, 75, 0.3);
    border: 2px solid white;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    z-index: 1001;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    gap: 4px;
    transition: var(--transition);
}

.bottom-nav a i {
    font-size: 1.2rem;
}

.bottom-nav a.active {
    color: var(--primary);
}

.bottom-nav a.active {
    color: var(--primary);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-menu {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-links a:active {
    color: var(--primary);
    transform: translateX(10px);
}

/* Views & Routing */
.view {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

/* Hero Section */
.hero {
    height: 110vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 140, 0, 0.05), transparent),
        radial-gradient(circle at 90% 80%, rgba(255, 193, 69, 0.05), transparent);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 90%;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(255, 75, 75, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -10px rgba(0, 97, 242, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 75, 75, 0.2);
}

/* 3D Cylinder Carousel */
.hero-visual {
    perspective: 2000px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cylinder-wrap {
    width: 220px;
    height: 320px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCylinder 40s linear infinite;
}

.cylinder-item {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 3px solid white;
    background: white;
}

.cylinder-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 8 items cylinder positioning */
.cylinder-item:nth-child(1) { transform: rotateY(0deg) translateZ(350px); }
.cylinder-item:nth-child(2) { transform: rotateY(45deg) translateZ(350px); }
.cylinder-item:nth-child(3) { transform: rotateY(90deg) translateZ(350px); }
.cylinder-item:nth-child(4) { transform: rotateY(135deg) translateZ(350px); }
.cylinder-item:nth-child(5) { transform: rotateY(180deg) translateZ(350px); }
.cylinder-item:nth-child(6) { transform: rotateY(225deg) translateZ(350px); }
.cylinder-item:nth-child(7) { transform: rotateY(270deg) translateZ(350px); }
.cylinder-item:nth-child(8) { transform: rotateY(315deg) translateZ(350px); }

@keyframes rotateCylinder {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.hero-visual::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(0, 97, 242, 0.1), transparent 70%);
    bottom: -50px;
    transform: rotateX(90deg);
}

/* Products Grid */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--card-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    height: auto;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    cursor: pointer;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 97, 242, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay span {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.product-details {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    justify-content: flex-start;
    margin-bottom: 1rem;
    width: 100%;
}

.product-details h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.product-category {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.product-price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.25rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.product-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 800;
}

.product-detail-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
}

.warranty-badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.warranty-badge {
    padding: 1rem;
    border-radius: 15px;
    border-bottom: 4px solid var(--accent);
}

.product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

.product-actions .btn-quick-buy {
    flex: 1;
    height: 40px;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 0 12px;
    width: auto;
}

.product-actions .btn-add-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.product-actions .btn-add-cart i {
    font-size: 0.9rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 97, 242, 0.1);
}

/* Testimonials */
.testimonial-card {
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

/* Category Grid Adjustments */
.category-card {
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.category-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.category-card:hover h3,
.category-card:hover i {
    color: white;
}

.category-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* WhatsApp Floating */
.wp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.wp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 4rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
        max-width: 100%;
    }

    .hero-text p {
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
        margin-top: 2rem;
    }

    .cylinder-wrap {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .bottom-nav {
        display: flex;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 60px 0;
    }
    
    .wp-float {
        bottom: 5rem; /* Move up for bottom nav */
    }

    .navbar {
        height: 75px;
    }

    .logo-img {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }

    .logo-text {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .navbar {
        height: 70px;
    }

    .navbar.scrolled {
        height: 65px;
    }

    .logo {
        gap: 8px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .cart-btn, .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-img {
        height: 145px;
    }

    .product-info {
        padding: 0.75rem;
    }

    .product-details {
        margin-bottom: 0.5rem;
    }

    .product-details h3 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .product-category {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .product-actions {
        gap: 6px;
    }

    .product-actions .btn-quick-buy {
        height: 36px;
        font-size: 0.75rem;
        padding: 0 8px;
    }

    .product-actions .btn-add-cart {
        width: 36px;
        height: 36px;
    }

    .product-actions .btn-add-cart i {
        font-size: 0.8rem;
    }

    .category-card {
        padding: 1.25rem 0.75rem;
    }

    .category-card i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .category-card h3 {
        font-size: 0.8rem;
    }

    .product-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .product-detail-price {
        font-size: 2.2rem;
    }

    .warranty-badge-grid {
        gap: 6px;
    }

    .warranty-badge {
        padding: 0.75rem 0.5rem;
        border-radius: 10px;
    }

    .warranty-badge i {
        font-size: 1.2rem !important;
        margin-bottom: 4px !important;
    }

    .warranty-badge small {
        font-size: 0.65rem !important;
        line-height: 1.2;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
    
    .cylinder-wrap {
        transform: scale(0.6);
    }
    
    .hero-visual {
        height: 300px;
    }

    .checkout-card {
        padding: 1.5rem !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
    }
}