/* General Styling & Variables */
:root {
    --primary-color: #007aff; /* Apple Blue/Vibrant Tech Color */
    --secondary-color: #5ac8fa; /* Lighter Blue */
    --text-color: #1c1c1e; /* Dark, modern text */
    --background-color: #f2f2f7; /* Light grey/off-white background */
    --card-background: #ffffff;
    --dark-grey: #3c3c43;
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

/* Typography & Logo */
h1, h2, h3 {
    font-family: var(--font-header);
    color: var(--dark-grey);
    margin-bottom: 0.5em;
}

.logo {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    text-transform: uppercase;
}
.logo strong {
    color: var(--primary-color);
    font-weight: 800;
    font-style: italic; /* for 'unique' */
}

/* Header & Navigation */
header {
    background-color: var(--card-background);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: var(--dark-grey);
    text-decoration: none;
    font-weight: 600;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* Sections General */
section {
    padding: 4rem 5%;
    text-align: center;
}

/* Hero Section (Home) */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    text-align: left;
    background-color: var(--card-background);
}

.hero-content {
    max-width: 50%;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-grey);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--card-background);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}
.cta-button i {
    margin-left: 10px;
}

/* Products Section */
.products-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background-color: var(--card-background);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    max-height: 300px;
    object-fit: contain; /* Changed to contain to show full images if aspect ratio varies */
    margin-bottom: 1rem;
    border-radius: 8px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-card .tagline {
    color: var(--dark-grey);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.buy-button {
    display: block;
    background-color: #25d366; /* WhatsApp Green */
    color: white;
    padding: 0.7rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #128c7e;
}

/* Features Section */
.features-section {
    background-color: var(--dark-grey);
    color: var(--background-color);
}

.features-section h2 {
    color: var(--secondary-color);
}

.feature-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    max-width: 300px;
    text-align: center;
    padding: 1rem;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--card-background);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: #b3b3b3;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-info, .footer-links, .footer-contact {
    min-width: 200px;
}

.footer-logo {
    color: var(--card-background);
    margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--card-background);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.footer-links a, .footer-contact p {
    display: block;
    color: #b3b3b3;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons a {
    display: inline-block;
    color: var(--card-background);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #3c3c43;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
}

/* --- ANIMATIONS (Keyframes) --- */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Animation Classes */
.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-left {
    animation: slideLeft 0.7s ease-out forwards;
    opacity: 0;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* --- RESPONSIVE DESIGN (Media Queries) --- */

/* Mobile Bottom Buy Button (Default hidden, shown on small screens) */
.mobile-buy-button {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem 0;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.mobile-buy-button:hover {
    background-color: var(--secondary-color);
}


@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem 5%;
    }

    nav {
        margin-top: 1rem;
    }

    nav a {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .feature-list {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-info, .footer-links, .footer-contact {
        min-width: unset;
        width: 100%;
    }

    /* Show the sticky bottom button for mobile */
    .mobile-buy-button {
        display: block;
    }

    /* Adjust padding when mobile button is visible */
    section {
        padding-bottom: 7rem; /* Make space for the fixed button */
    }
    footer {
        padding-bottom: 7rem;
    }
    
    /* Hide desktop nav on mobile for a cleaner look when the bottom button is active */
    nav {
        display: none;
    }
}