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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #111827;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    position: relative;
    width: 36px;
    height: 36px;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #14b8a6, #a855f7, #3b82f6);
    border-radius: 12px;
    transform: rotate(6deg);
    opacity: 0.9;
}

.logo-icon svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: white;
    padding: 6px;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, #0d9488, #9333ea, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-name strong {
    font-weight: 800;
}

.tagline {
    font-size: 0.625rem;
    color: #6b7280;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-desktop a {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: #0d9488;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #374151;
    position: relative;
    transition: color 0.2s;
}

.icon-btn:hover {
    color: #0d9488;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to right, #14b8a6, #a855f7);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: block;
}

.search-btn, .user-btn {
    display: none;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 0;
    transition: color 0.2s;
}

.nav-mobile a:hover {
    color: #0d9488;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1631679706909-1844bbd07221?crop=entropy&cs=srgb&fm=jpg&ixid=M3w4NjAzMjd8MHwxfHNlYXJjaHwyfHxsaXZpbmclMjByb29tfGVufDB8fHx8MTc3NDM0NTM0NXww&ixlib=rb-4.1.0&q=85');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.8), rgba(168, 85, 247, 0.7), rgba(59, 130, 246, 0.8));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    max-width: 1024px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    animation: fadeIn 1s ease-out;
}

.hero-badge svg {
    color: #fbbf24;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: slideUp 0.8s ease-out;
}

.gradient-text {
    background: linear-gradient(to right, #5eead4, #d8b4fe, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    animation: slideUpDelay 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    animation: fadeInDelay 1s ease-out 0.3s backwards;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: white;
    color: #0f766e;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #f0fdfa;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0f766e;
    transform: scale(1.05);
}

.btn-outline {
    background: white;
    color: #0d9488;
    border: 2px solid #0d9488;
}

.btn-outline:hover {
    background: #f0fdfa;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s infinite;
}

.hero-decoration-1 {
    top: 5rem;
    left: 2.5rem;
    width: 8rem;
    height: 8rem;
    background: rgba(168, 85, 247, 0.2);
}

.hero-decoration-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 10rem;
    height: 10rem;
    background: rgba(20, 184, 166, 0.2);
    animation-delay: 1s;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0fdfa, #faf5ff, #eff6ff);
}

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

.feature-item {
    text-align: center;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: scale(1.05);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.feature-item:hover .feature-icon {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon svg {
    color: white;
}

.feature-icon-purple {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.feature-icon-teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.feature-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.feature-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: #6b7280;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-subtitle {
    color: #0d9488;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.section-subtitle-purple {
    color: #9333ea;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
}

/* Categories Section */
.categories {
    padding: 5rem 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.category-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.7s;
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3), transparent);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(20, 184, 166, 0.2), rgba(168, 85, 247, 0.2));
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 10;
}

.category-content h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.category-card:hover .category-link {
    color: white;
    transform: translateX(0.5rem);
}

/* Products Section */
.products-section {
    padding: 5rem 0;
}

.products-best-sellers {
    background: linear-gradient(135deg, #faf5ff, white, #f0fdfa);
}

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

.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
    text-decoration: none;
    display: block;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(to right, #14b8a6, #a855f7);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: #0d9488;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.product-card:hover .product-name {
    color: #0d9488;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star {
    color: #fbbf24;
}

.rating-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.reviews-count {
    font-size: 0.875rem;
    color: #6b7280;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.product-price-original {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 0;
    background: linear-gradient(135deg, #14b8a6, #a855f7, #3b82f6);
    position: relative;
    overflow: hidden;
}

.newsletter-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(60px);
}

.newsletter-decoration-1 {
    top: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
}

.newsletter-decoration-2 {
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
}

.newsletter-container {
    text-align: center;
    position: relative;
    z-index: 10;
}

.newsletter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-icon svg {
    color: white;
}

.newsletter h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 36rem;
    margin: 0 auto 1.5rem;
}

.newsletter-form input {
    flex: 1;
    height: 3.5rem;
    padding: 0 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #111827;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.newsletter-form input::placeholder {
    color: #6b7280;
}

.newsletter-form button {
    height: 3.5rem;
    padding: 0 2rem;
    border: none;
    cursor: pointer;
}

.newsletter-footer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p {
    color: #9ca3af;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #14b8a6;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-teal {
    background: #0d9488;
}

.social-teal:hover {
    background: #14b8a6;
}

.social-purple {
    background: #9333ea;
}

.social-purple:hover {
    background: #a855f7;
}

.social-blue {
    background: #2563eb;
}

.social-blue:hover {
    background: #3b82f6;
}

.social-green {
    background: #059669;
}

.social-green:hover {
    background: #10b981;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-list svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-list small {
    display: block;
    color: #6b7280;
    font-size: 0.875rem;
}

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

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

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

.footer-links a {
    color: #9ca3af;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #14b8a6;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    min-width: 300px;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

.toast-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.toast-description {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDelay {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .search-btn, .user-btn {
        display: block;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}
