:root {
    --bg-color: #f7f9fc;
    --text-main: #1a1a2e;
    --text-muted: #6b7280;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.4);
    --secondary-accent: #14b8a6;
    --card-bg: #ffffff;
    --nav-bg: #ffffff;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

.announcement-bar {
    background: var(--text-main);
    color: var(--bg-color);
    text-align: center;
    padding: 8px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
}

.announcement-bar a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 800;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 6%;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

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

.nav-icons {
    display: flex;
    gap: 1.8rem;
    font-size: 1.3rem;
    cursor: pointer;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.icon-btn i {
    transition: all 0.2s;
}

.icon-btn:hover {
    color: var(--accent);
    transform: scale(1.15);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

.hero-content {
    max-width: 50%;
    z-index: 10;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}

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

.discount {
    background: var(--secondary-accent);
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 1rem;
}

.badge {
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 85%;
    line-height: 1.6;
}

.btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.primary-btn {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 25px var(--accent-glow);
}

.primary-btn:hover {
    background: #059669;
    box-shadow: 0 15px 35px var(--accent-glow);
    transform: translateY(-4px);
}

.hero-image {
    position: relative;
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(0 20px 40px rgba(0, 229, 255, 0.3));
    z-index: 5;
    border-radius: 20px;
}

.glow-backdrop {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(50px);
}

/* Shop Categories */
.shop-categories {
    padding: 4rem 8%;
    text-align: center;
}

.category-grid {
    display: flex;
    justify-content: flex-start;
    gap: 2.5rem;
    margin-top: 3rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    padding-left: 20px;
    padding-right: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-grid::-webkit-scrollbar {
    display: none;
}

.cat-item {
    cursor: pointer;
    min-width: 120px;
    scroll-snap-align: start;
}

.cat-img {
    width: 120px;
    height: 120px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.cat-img img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.cat-item:hover .cat-img {
    background: var(--text-main);
    transform: translateY(-10px);
}

.cat-item:hover p {
    color: var(--accent);
}

.cat-item p {
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

/* Featured Products */
.featured-products {
    padding: 8rem 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
}

.section-title span {
    color: var(--accent);
}

.product-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 3rem;
    padding-left: 10px;
    padding-right: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.product-grid::-webkit-scrollbar {
    display: none;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    min-width: 320px;
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: black;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.8rem;
    z-index: 10;
    border: 1px solid var(--border-color);
}

.rating {
    font-size: 0.85rem;
    color: var(--secondary-accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.rating i {
    margin-right: 4px;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(16, 185, 129, 0.4);
}

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

.img-container {
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.img-container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
    filter: blur(5px);
}

.img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.1));
    border-radius: 12px;
}

.product-card:hover .img-container img {
    transform: scale(1.15) translateY(-10px);
}

.product-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1rem;
    font-weight: 400;
}

.secondary-btn {
    background: var(--bg-color);
    border: 1px solid var(--text-main);
    color: var(--text-main);
    width: 100%;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
}

.product-card:hover .secondary-btn {
    background: var(--text-main);
    color: var(--bg-color);
}

/* Trust Markers */
.trust-markers {
    display: flex;
    justify-content: space-around;
    padding: 4rem 8%;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--secondary-accent);
}

.trust-item h4 {
    font-size: 1.1rem;
    font-weight: 800;
}

.trust-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 6rem 8% 2rem;
    border-top: 1px solid #222;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: #fff;
}

.footer-brand span {
    color: var(--accent);
}

.footer-brand p {
    color: #aaa;
    max-width: 320px;
    line-height: 1.6;
}

.footer-links h3,
.footer-social h3,
.footer-newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    color: #fff;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-newsletter p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--accent);
}

.newsletter-form .btn {
    padding: 12px 20px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons i {
    font-size: 1.4rem;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
    background: #111;
    border: 1px solid #333;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icons i:hover {
    color: var(--card-bg);
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222;
    padding-top: 2rem;
    color: #888;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* Animations */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }

    100% {
        transform: translateY(0px);
    }
}

.slide-up {
    animation: slideUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 5rem;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-image {
        width: 100%;
        max-width: 450px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}