/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Color Variables */
:root {
    --primary-blue: #00BCD4;
    --clean-white: #FFFFFF;
    --soft-yellow: #FFD54F;
    --mint-green: #00C853;
    --dark-gray: #333333;
    --light-gray: #f8f9fa;
    --medium-gray: #666666;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/4239037/pexels-photo-4239037.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 3px;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-accent {
    color: var(--primary-blue);
}

.slogan {
    margin-bottom: 50px;
}

.slogan p {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-container {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1s forwards;
}

.cta-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.cta-button:hover {
    background: #00ACC1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
}

.sticky-cta-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.sticky-cta-button:hover {
    background: #00ACC1;
    transform: translateY(-2px);
}

/* Collection Section */
.collection-section {
    padding: 100px 0;
    background: var(--clean-white);
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.text-accent {
    color: var(--primary-blue);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    border: 1px solid #f0f0f0;
}

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

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 188, 212, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-features {
    text-align: center;
}

.feature {
    color: white;
    font-weight: 600;
    margin: 10px 0;
    font-size: 1.1rem;
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-info p {
    color: var(--medium-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-button {
    width: 100%;
    background: var(--soft-yellow);
    color: var(--dark-gray);
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-button:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 213, 79, 0.4);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    border: 1px solid #f0f0f0;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.user-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-blue);
}

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

.user-info h4 {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.stars {
    color: var(--soft-yellow);
    font-size: 1.2rem;
}

.testimonial-content {
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: rgba(0, 188, 212, 0.2);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.testimonial-content p {
    font-style: italic;
    color: var(--medium-gray);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Features Section (Carousel) */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.05) 0%, white 100%);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    display: none;
    background: white;
    min-height: 500px;
}

.carousel-slide.active {
    display: block;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 60px;
}

.feature-text {
    space-y: 30px;
}

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

.feature-badge {
    display: inline-block;
    background: var(--soft-yellow);
    color: var(--dark-gray);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.feature-button {
    background: var(--mint-green);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-button:hover {
    background: #00B04F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.4);
}

.feature-image {
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #00ACC1 100%);
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-icon {
    font-size: 4rem;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.2);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#emailInput {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 1rem;
    outline: none;
    background: white;
    color: var(--dark-gray);
}

#emailInput::placeholder {
    color: #999;
}

#subscribeBtn {
    background: var(--soft-yellow);
    color: var(--dark-gray);
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#subscribeBtn:hover {
    background: #FFC107;
}

#subscribeBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    color: var(--soft-yellow);
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: left;
    padding-left: 25px;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0.8;
}

.trust-item {
    font-size: 0.9rem;
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup-overlay.visible .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.popup-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.popup-content p {
    color: var(--medium-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.popup-close {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #00ACC1;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-slogan {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 20px;
}

.footer-description {
    color: #999;
    line-height: 1.6;
    margin-bottom: 30px;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #333;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--soft-yellow);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-blue);
}

.contact-info p {
    color: #ccc;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 2.5rem;
    }

    .slogan p {
        font-size: 1.2rem;
    }

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

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
        text-align: center;
    }

    .feature-text h3 {
        font-size: 2rem;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    .form-group {
        flex-direction: column;
        border-radius: 15px;
    }

    #emailInput,
    #subscribeBtn {
        border-radius: 0;
    }

    #emailInput {
        border-radius: 15px 15px 0 0;
    }

    #subscribeBtn {
        border-radius: 0 0 15px 15px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .carousel-controls {
        padding: 0 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }

    .logo {
        font-size: 2rem;
    }

    .slogan p {
        font-size: 1rem;
    }

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

    .feature-content {
        padding: 30px 20px;
    }

    .popup-content {
        margin: 15px;
        padding: 30px 20px;
    }
}