
:root {
    --primary: #3b82f6;
    --primary-dark: #4f46e5;
    --secondary: #f59e0b;
    --dark: #1e1b4b;
    --light: #f8fafc;
    --gradient-1: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-2: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}


/*
:root {
    --primary:#3b82f6;
    --secondary:#f59e0b;
    --dark: #1e1b4b;
    --light: #f8fafc;
    --gradient-1: linear-gradient(135deg, #198754 0%, #2d8e61 100%);
    --gradient-2: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}
*/

* { font-family: 'Poppins', sans-serif; }
body { background: var(--light); overflow-x: hidden; }

/* Navbar */
.navbar { 
    background: rgba(255,255,255,0.95) !important; 
    backdrop-filter: blur(20px); 
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.navbar-brand { 
    font-weight: 700; 
    font-size: 1.5rem; 
    background: var(--gradient-1); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text;
}
.nav-link { 
    font-weight: 500; 
    color: #475569 !important; 
    margin: 0 10px; 
    position: relative; 
    transition: all 0.3s;
    cursor:pointer;
}
.nav-link:hover { color: var(--primary) !important; }
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px; background: var(--gradient-1);
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

/* Cart Button */
.cart-btn{
    position: relative;
    background: var(--gradient-1);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}
.cart-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}
.cart-btn.top{
    display:none;
}
.cart-count {
    position: absolute; top: -8px; right: -8px;
    background: var(--gradient-2); color: white;
    width: 22px; height: 22px; border-radius: 50%;
    font-size: 0.75rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* Hero */
.hero {
    margin-top:4.8rem;
    background:var(--dark);
    height: 50vh;
    display: flex; 
    align-items: center;
    position: relative; 
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}
.hero h1 {
    /*font-size: 3.5rem;*/
    font-size:3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1.2;
}
.hero p { 
    color: #94a3b8; 
    font-size: 1.2rem; 
}
.btn-hero {
    background: var(--gradient-1);
    border: none; 
    color: white;
    padding: 15px 40px; 
    border-radius: 50px;
    font-weight: 600; 
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(99,102,241,0.4);
}
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99,102,241,0.5);
    color: white;
}
.hero-stats {
    display: flex; gap: 40px; margin-top: 40px;
}
.hero-stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat p { color: #94a3b8; font-size: 0.9rem; }

/* Floating Cards Animation */
.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    animation: float 6s ease-in-out infinite;
}
.floating-card:nth-child(1) { top: 20%; right: 10%; animation-delay: 0s; }
.floating-card:nth-child(2) { top: 50%; right: 5%; animation-delay: 2s; }
.floating-card:nth-child(3) { bottom: 20%; right: 15%; animation-delay: 4s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Titles */
.section-title {
    text-align: center; margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem; font-weight: 700;
    color: var(--dark); margin-bottom: 15px;
}
.section-title p {
    color: #64748b; font-size: 1.1rem; max-width: 600px; margin: 0 auto;
}
.section-badge {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* About Section */
.about-section { padding: 100px 0; background: white; }
.about-img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transition: transform 0.5s;
}
.about-img:hover { transform: scale(1.02); }
.about-feature {
    display: flex; align-items: flex-start; gap: 20px;
    margin-bottom: 30px;
}
.about-feature i {
    width: 50px; height: 50px;
    background: var(--gradient-1);
    color: white;
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}

/* Products Section */
.products-section { 
    /*padding: 100px 0;*/
    padding: 50px 0;
    background: var(--light); 
}
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    /*height: 220px;*/
    height:280px;
}
.product-img-wrapper img {
    width:100%; 
    height:100%; 
    object-fit:cover;
    transition:transform 0.5s;
}
.product-card:hover .product-img-wrapper img { 
    /*transform: scale(1.1); */
    transform: scale(1.05);
}
.product-badge {
    position: absolute; 
    background:var(--gradient-2);
    color:white; 
    padding:3px 15px;
    border-radius:50px; 
    font-size:0.8rem;
    font-weight:600;
    opacity:0.9;
}
.product-badge.left{
    top:15px; 
    left:15px;
}
.product-badge.right{
    bottom:15px;
    right:15px;
}
.product-body { padding: 25px; }
.product-category {
    color: var(--primary); font-size: 0.85rem;
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px;
}
.product-title {
    font-size: 1.2rem; font-weight: 700;
    color: var(--dark); margin: 10px 0;
}
.product-rating {
    color: #fbbf24; font-size: 0.9rem; margin-bottom: 10px;
}
.product-price {
    font-size: 1.5rem; font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.product-price .old-price {
    font-size: 1rem; color: #94a3b8;
    text-decoration: line-through;
    -webkit-text-fill-color: #94a3b8;
    margin-left: 10px;
}

/**/
.btn-add-cart{
    /*height:2.4rem;*/
    background:var(--gradient-1);
    border:none;
    color: white;
    padding:7px 10px;
    border-radius:12px;
    font-weight:600;
    transition:all 0.3s;
    margin-top:15px;
    cursor:pointer;
    text-align:center;
    overflow:hidden;
    position:relative;
}
.add-card-title{
    transition: all 0.3s ease;
}
.btn-add-cart.active .add-card-title{
    opacity: 0;
    transform: translateY(-20px);
}
.add-card-check{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) scale(0);
    opacity:0;
    transition:all 0.3s ease;
}
.add-card-check i{
    font-size:1.5rem;
}
.btn-add-cart.active .add-card-check{
    transform:translate(-50%,-50%) scale(1);
    opacity:1;
}
.btn-add-cart.active{
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4);
}
a.btn-send-wsp{
    background:var(--gradient-1);
    border:none;
    color: white;
    padding:7px 10px;
    margin-top:15px;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
    text-align:center;
    display:inline-block;
}
/* Features Section */
.features-section { padding: 100px 0; background: white; }
.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 24px;
    background: var(--light);
    transition: all 0.4s;
    border: 2px solid transparent;
}
.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99,102,241,0.1);
}
.feature-icon {
    width: 80px; height: 80px;
    background: var(--gradient-1);
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem; color: white;
    transition: transform 0.3s;
}
.feature-card:hover .feature-icon { transform: rotateY(360deg); }

/* Testimonials */
.testimonials-section { padding: 100px 0; background: var(--dark); }
.testimonials-section .section-title h2,
.testimonials-section .section-title p { color: white; }
.testimonial-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}
.testimonial-text {
    color: #cbd5e1; font-style: italic;
    font-size: 1.1rem; margin-bottom: 25px;
}
.testimonial-author {
    display: flex; align-items: center; gap: 15px;
}
.testimonial-author img {
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}
.testimonial-author h5 { color: white; margin: 0; font-size: 1rem; }
.testimonial-author p { color: #94a3b8; margin: 0; font-size: 0.85rem; }

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-1);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.cta-section h2 { color: white; font-size: 2.5rem; font-weight: 700; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.2rem; }
.btn-cta {
    background: white; color: var(--primary);
    padding: 15px 40px; border-radius: 50px;
    font-weight: 700; border: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 80px 0 30px;
    color: #94a3b8;
}
.footer-brand {
    font-size: 1.8rem; font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}
.footer h5 { color: white; margin-bottom: 25px; font-weight: 600; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #94a3b8; text-decoration: none;
    transition: all 0.3s;
}
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.social-links { 
    display: flex;
    align-items:center;
    gap: 15px; 
}
.social-links a {
    width: 45px; 
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: white; 
    font-size: 1.2rem;
    transition: all 0.3s;
}
.social-links a:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px; padding-top: 30px;
    text-align: center;
}

/* Cart Modal */
.cart-modal .modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.cart-modal .modal-header {
    background: var(--gradient-1);
    color: white;
    border-radius: 24px 24px 0 0;
    border: none;
}
.cart-item {
    display: flex; align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}
.cart-item img {
    width: 80px; height: 80px;
    border-radius: 12px; object-fit: cover;
}
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 600; color: var(--dark); }
.cart-item-price { color: var(--primary); font-weight: 700; }
.cart-item-remove {
    background: none; border: none;
    color: #ef4444; font-size: 1.2rem;
    cursor: pointer; transition: all 0.3s;
}
.cart-item-remove:hover { transform: scale(1.2); }
.cart-total {
    padding: 20px;
    background: var(--light);
    border-radius: 16px;
    margin: 20px;
}
.cart-total h4 { color: var(--dark); font-weight: 700; }
.btn-checkout {
    background: var(--gradient-1);
    border: none; color: white;
    padding: 15px; border-radius: 12px;
    font-weight: 600; width: calc(100% - 40px);
    margin: 0 20px 20px;
    transition: all 0.3s;
}
.btn-checkout:hover {
    box-shadow: 0 8px 20px rgba(99,102,241,0.3);
}

/* Chatbot */
.chatbot-container {
    position:fixed;
    bottom:30px; 
    right:30px;
    z-index:1040;
}
.chatbot-toggle{
    width:55px; 
    height:55px;
    background:var(--gradient-1);
    border-radius:50%;
    border:none;
    color:white;
    font-size:1.5rem;
    box-shadow:0 10px 30px rgba(99,102,241,0.4);
    cursor: pointer;
    transition:all 0.3s;
    margin-bottom:0.5rem;
}
.chatbot-toggle.wsp{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#1daa61;
}
.chatbot-toggle:hover { transform: scale(1.1); }
.chatbot-toggle.pulse { animation: pulse-btn 2s infinite; }
@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(99,102,241,0.7); }
    70% { box-shadow: 0 0 0 20px rgba(99,102,241,0); }
    100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
}
.chatbot-window {
    position: absolute; 
    bottom: 115px; 
    right: 0;
    width: 380px; 
    height: 500px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: none; flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.chatbot-header {
    background: var(--gradient-1);
    color: white; padding: 20px;
    display: flex; align-items: center; gap: 15px;
}
.chatbot-header img {
    width: 45px; height: 45px;
    border-radius: 50%; border: 2px solid white;
}
.chatbot-header h5 { margin: 0; font-weight: 600; }
.chatbot-header p { margin: 0; font-size: 0.8rem; opacity: 0.9; }
.chatbot-messages {
    flex: 1; overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
}
.message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 18px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.message.bot {
    background: white;
    color: var(--dark);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.message.user {
    background: var(--gradient-1);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}
.chatbot-input {
    display:flex; 
    gap:10px;
    padding:15px 20px;
    background:white;
    border-top:1px solid #e2e8f0;
}
.chatbot-input input {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 50px; padding: 12px 20px;
    outline: none; 
    transition: all 0.3s;
}
.chatbot-input input:focus { border-color: var(--primary); }
.chatbot-input button {
    width: 45px; height: 45px;
    background: var(--gradient-1);
    border: none; border-radius: 50%;
    color: white; cursor: pointer;
    transition: all 0.3s;
}
.chatbot-input button:hover { transform: scale(1.1); }

/* Sales Popup */
.sales-popup {
    position: fixed;
    bottom:30px; 
    left:30px;
    background:white;
    border-radius: 16px;
    padding: 15px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex; 
    align-items: center;
    gap: 15px;
    max-width: 350px;
    z-index: 1039;
    animation: slideInLeft 0.5s ease, fadeOut 0.5s ease 5s forwards;
    border-left: 4px solid var(--primary);
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeOut {
    to { opacity: 0; transform: translateX(-50px); }
}
.sales-popup img{
    width:50px;
    height:50px;
    border-radius:10px;
    object-fit: cover;
}
.sales-popup-content{ 
    flex: 1; 
}
.sales-popup-content p {
    margin:0;
    font-size:0.85rem;
    color:#475569;
}
.sales-popup-content p strong {
    color:var(--primary);
}
.sales-popup-time {
    font-size:0.75rem; 
    color:#94a3b8;
}
.sales-popup-close {
    background:none; 
    border:none;
    color:#94a3b8;
    cursor:pointer;
    font-size:1.2rem;
}

/* Toast Notification */
.toast-container { z-index: 9999; }
.custom-toast {
    background: var(--dark);
    color: white;
    border-radius: 16px;
    padding: 15px 25px;
    display: flex; align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.custom-toast i { color: #22c55e; font-size: 1.5rem; }

/* Scroll animations */
.reveal {
    opacity: 0;
    /*transform: translateY(50px);*/
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/**/

.hero-image-container {
    position: relative;
}
.hero-image {
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.6);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s;
}
.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/**/
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.floating-badge {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius:10px;
    padding:5px 14px; 
    border: 1px solid rgba(255,255,255,0.1);
    animation: float 6s ease-in-out infinite;
}

.badge-1 { bottom: 30px; left: -30px; animation: float 3s ease-in-out infinite; }
.badge-2 { top: 30px; right: -20px; animation: float 4s ease-in-out infinite reverse; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/**/
.chatbot-btns{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    padding:10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.chatbot-btn-key{
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--gradient-1);
    color:#fff;
}
.chatbot-btn-key:hover{
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
/**/
html{
    scroll-behavior:smooth;
}
.progress-up{
    position:fixed;
    bottom:10px;
    right:5px;
    margin-right:-10rem;
    transition:0.4s all;
    display:flex;
    justify-content:center;
    flex-direction:column;
    z-index:1039;
}
.progress-up.active{
    margin:0;
}
.progress-up{
    text-align: end;
}
.progress-up .text{
    margin:1rem;
}
.progress-up .text a{
    border-radius:0.3rem;
    padding:0.5rem;
    background:#333;
    color:#fff;
    cursor:pointer;
    text-decoration:none; 
}
.progress-up .text.top i{
    padding:0.4rem 0.4rem;
    font-size:1.2rem;
    background:#333;
    color:#fff;
    border-radius:0.3rem;
    cursor:pointer;
}
.progress-up-btn{
    position:fixed;
    bottom:15px;
    right:14px;
    display:flex;
    justify-content:center;
    flex-direction:column;
    transition:0.8s;
}
.progress-up-btn.active{
    bottom:60px;
    transition:0.3s;
}
/* Responsive */
@media (max-width: 991px) {
    .hero h1 { font-size: 2.5rem; }
    .floating-card { display: none; }
    .chatbot-window { 
        width: calc(100vw - 60px); 
        right: -10px;
        bottom:125px; 
    }

    .product-img-wrapper {
        height:350px;
    }    
    .cart-btn{
        display:none;
        font-size:0.8rem;
    }
    .cart-btn.top{
        display:block;
        padding:0.2rem 0.7rem;
    }
    .cart-count{
        top:-5px; 
        right:-5px;
        font-size:0.7rem;
        width:15px;
        height:15px;
    }
}
@media (max-width: 576px) {
    .hero {
        /*margin-top:20rem!important;*/
        height:40vh;
    }
    .hero h1 { font-size: 2rem; }
    .hero p { 
        font-size:1rem; 
    }

    .hero-stats { 
        flex-direction: column; 
        gap: 20px; 
    }
    .hero-stat h3{
        font-size:1rem;
    }
    .btn-hero{
        padding:0.5rem 1rem;
        font-size:0.9rem;
    }
    .btn-outline-light{
        padding:0.5rem 1rem!important;
        font-size:0.9rem!important;
    }
    .sales-popup{
        left:10px;
        bottom:10px;
        width:70%;
        padding:8px 10px;
        gap:5px;
    }
    .sales-popup-content ps{
        font-size:0.75rem;
    }
    .sales-popup-time{
        font-size:0.65rem;
    }
    .chatbot-input{
        padding:8px 16px;
        gap:5px;
    }
    .chatbot-input input {
        width:80%;
        padding:5px 16px;
    }
    .chatbot-header{
        padding:0.5rem 1rem;
    }
    .chatbot-toggle{
        width:50px; 
        height:50px;
    }
    .chatbot-container {
        bottom:10px; 
        right:25px;
    }
}