/* General Body Styles */
:root {
  --background: oklch(0.98 0.01 70);
  --foreground: oklch(0.15 0.02 250);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.15 0.02 250);
  --primary: oklch(0.55 0.22 25);
  --primary-foreground: oklch(0.98 0.01 70);
  --muted: oklch(0.92 0.01 250);
  --muted-foreground: oklch(0.55 0.02 250);
  --accent: oklch(0.65 0.15 200 / 0.1);
  --border: oklch(0.92 0.01 250);
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 800;
    text-wrap: balance;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: oklch(from var(--primary) l h c / 0.05);
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-header-inline h2 {
    font-size: 2.25rem;
}


/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}
.btn-primary:hover {
    opacity: 0.9;
}
.btn-outline {
    border-color: var(--border);
    background-color: transparent;
}
.btn-outline:hover {
    background-color: var(--accent);
}
.btn-ghost {
    background-color: transparent;
    color: var(--primary);
}
.btn-ghost:hover {
    opacity: 0.8;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}
.btn svg {
    width: 1rem;
    height: 1rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon span {
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.125rem;
}
.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
}
.nav-desktop {
    display: none;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cart-button {
    position: relative;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}
.cart-button svg {
    width: 1.25rem;
    height: 1.25rem;
}
.cart-notification {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 9999px;
}
.btn-shop-now {
    display: none;
}
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}
#menu-close-icon {
    display: none;
}
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1rem;
}
.nav-mobile.active {
    display: flex;
}
.nav-mobile a {
    text-decoration: none;
    color: var(--foreground);
}
.nav-mobile .btn {
    width: 100%;
}


/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, var(--background), oklch(from var(--accent) l h c / 0.5));
}
.hero-container {
    display: grid;
    gap: 3rem;
    align-items: center;
}
.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-content p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-image {
    position: relative;
    height: 24rem;
    border-radius: 1rem;
    overflow: hidden;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features-grid {
    display: grid;
    gap: 1.5rem;
}
.feature-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.feature-card:hover {
    border-color: oklch(from var(--primary) l h c / 0.5);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.feature-card svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}
.feature-card h3 {
    margin: 0 0 0.5rem 0;
}
.feature-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin: 0;
}

/* Products Section */
.product-grid {
    display: grid;
    gap: 1.5rem;
}
.product-card {
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.product-card:hover {
    border-color: oklch(from var(--primary) l h c / 0.5);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.product-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-info {
    padding: 1rem;
}
.product-info h3 {
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}
.product-info .price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}
.product-info .btn {
    width: 100%;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    gap: 2rem;
}
.testimonial-card {
    padding: 2rem;
    border-radius: 0.75rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.testimonial-card:hover {
     border-color: oklch(from var(--primary) l h c / 0.5);
}
.testimonial-card .quote {
    margin: 1.5rem 0;
    line-height: 1.75;
}
.testimonial-card .author {
    font-weight: 700;
}
.testimonial-card .location {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Promotion Section */
.promotion-section {
    padding: 5rem 0;
    background: linear-gradient(to right, oklch(from var(--primary) l h c / 0.1), oklch(from var(--primary) l h c / 0.05), oklch(from var(--accent) l h c / 0.5));
}
.promotion-container {
    text-align: center;
}
.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: oklch(from var(--primary) l h c / 0.2);
    border: 1px solid oklch(from var(--primary) l h c / 0.3);
    margin-bottom: 1.5rem;
}
.promo-badge svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}
.promo-badge span {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
}
.promotion-container h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}
.promo-offer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.promotion-container > p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* About Us Section */
.about-us-container {
    display: grid;
    gap: 3rem;
    align-items: center;
}
.about-us-image {
    order: 2;
    height: 24rem;
    border-radius: 1rem;
    overflow: hidden;
}
.about-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-us-content {
    order: 1;
}
.about-us-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}
.about-us-content p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}
.about-us-stats {
    padding-top: 1rem;
    display: flex;
    gap: 2rem;
}
.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
}
.about-us-stats p:last-child {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, oklch(from var(--primary) l h c / 0.15), oklch(from var(--primary) l h c / 0.1), oklch(from var(--accent) l h c / 0.5));
}
.final-cta-container {
    text-align: center;
}
.final-cta-container h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}
.final-cta-container p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--foreground);
    color: oklch(from var(--background) l h c / 0.7);
    padding: 4rem 0;
}
.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer h4 {
    color: var(--background);
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}
.footer a:hover {
    color: var(--background);
}
.footer ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer ul li svg {
    width: 1rem;
    height: 1rem;
}
.footer .address {
    align-items: flex-start;
}
.footer .address svg {
    margin-top: 0.125rem;
}

.footer-logo-icon {
    background-color: var(--background);
}
.footer-logo-icon span {
    color: var(--foreground);
}
.footer-logo-text {
    color: var(--background);
}

.footer-bottom {
    border-top: 1px solid oklch(from var(--background) l h c / 0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    font-size: 0.875rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}


/* Responsive Styles */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    .btn-shop-now {
        display: inline-flex;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        gap: 2rem;
    }
    .nav-desktop a {
        text-decoration: none;
        color: var(--foreground);
        transition: color 0.3s;
    }
    .nav-desktop a:hover {
        color: var(--primary);
    }
    .mobile-menu-toggle {
        display: none;
    }
    .hero-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content h1 {
        font-size: 3.75rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-us-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-us-image {
        order: 1;
    }
    .about-us-content {
        order: 2;
    }
    .final-cta-container h2 {
        font-size: 3rem;
    }
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
     .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}