﻿/* ===================================
   Modern SERENIC AI CSS
   Fresh Design with Gradients
   =================================== */

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

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dark-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --light-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --text-dark: #2d3748;
    --text-light: #718096;
    --card-shadow: 0 10px 40px rgba(0,0,0,0.1);
    --hover-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Prevent media from causing horizontal overflow on small screens */
img,
video {
    max-width: 100%;
    height: auto;
}

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

/* ===================================
   Navigation Bar
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.1;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    opacity: 0.3;
    filter: blur(100px);
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--dark-gradient);
    border-radius: 50%;
    bottom: -300px;
    left: -300px;
    opacity: 0.2;
    filter: blur(120px);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* ===================================
   Offer Banner
   =================================== */

.offer-banner {
    background: var(--secondary-gradient);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.offer-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
}

#slotsLeft {
    font-weight: 800;
    font-size: 1.2em;
}

/* ===================================
   Products Section
   =================================== */

.products-section {
    padding: 100px 0;
}

.dark-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.dark-section .section-header h2,
.dark-section .section-header p {
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-section .section-header h2 {
    background: var(--light-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-section .product-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.new {
    background: var(--secondary-gradient);
}

.product-badge.hot {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation: pulse 2s infinite;
}

.product-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 20px auto;
    border-radius: 15px;
}

.product-card h3 {
    font-size: 1.4rem;
    margin: 15px 0;
    color: var(--text-dark);
}

.dark-section .product-card h3 {
    color: white;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 15px 0;
    min-height: 50px;
}

.dark-section .product-card p {
    color: rgba(255,255,255,0.7);
}

.price-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.current-price {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.original-price {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.validity {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 10px 0;
}

.order-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.order-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* ===================================
   Features Section
   =================================== */

.features-section {
    padding: 100px 0;
    background: #f7fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
}

/* ===================================
   Testimonials
   =================================== */

.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

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

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card > p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.customer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.customer strong {
    color: var(--text-dark);
}

.customer span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    padding: 80px 0;
    background: var(--primary-gradient);
    color: white;
}

.contact-section .section-header h2,
.contact-section .section-header p {
    color: white;
}

.contact-info {
    text-align: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: #667eea;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-link img {
    width: 30px;
    height: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    font-size: 1.1rem;
    margin: 10px 0;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: #1a202c;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    margin: 5px 0;
}

/* ===================================
   FLOATING CONTACT BUTTONS
   =================================== */

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.floating-btn svg {
    width: 32px;
    height: 32px;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.instagram-btn {
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #FD1D1D 100%);
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #E1306C 0%, #C13584 50%, #833AB4 100%);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 30px rgba(225, 48, 108, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    }
}

/* ===================================
   Animations
   =================================== */

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

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

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    /* Mobile nav: full-height drawer + scroll */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }
    
    /* Floating buttons mobile responsive */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
    }
    
    .floating-btn svg {
        width: 28px;
        height: 28px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo img {
        height: 36px;
        max-width: 220px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .offer-banner .container {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 420px;
    }
}
