* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Promotion Banner */
.promotion-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--brand-primary, #2E7D32), var(--brand-primary-dark, #1B5E20));
    color: white;
    z-index: 2000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.promotion-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.promotion-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    width: 100%;
    position: relative;
    text-align: center;
}

.promotion-message {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    flex: 1;
    margin: 0 auto;
}

.banner-close {
    position: absolute;
    right: 1rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.banner-close:hover {
    opacity: 1;
}

/* Adjust header position when banner is visible */
.promotion-banner:not(.hidden) ~ header {
    top: 48px;
}

/* Header - Allbirds-inspired clean design */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    min-height: 64px;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(45deg, #2E7D32, #4CAF50, #66BB6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease;
    position: relative;
    z-index: 1;
}

.logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #212121;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
    letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-primary, #212121);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--brand-primary, #212121);
    transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Auth Section */
.auth-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Cart Button */
.cart-toggle {
    background: linear-gradient(45deg, var(--brand-primary, #2E7D32), var(--brand-primary-light, #4CAF50));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    transition: transform 0.2s ease;
}

.cart-toggle:hover {
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Login Button with Icon */
.auth-login-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: #212121;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    transition: opacity 0.2s ease;
}

.auth-login-btn:hover {
    opacity: 0.7;
}

.auth-login-btn svg {
    width: 20px;
    height: 20px;
}

/* User Display (when logged in) */
.auth-user-info {
    display: none;
    align-items: center;
    gap: 1rem;
}

.user-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-primary, #212121);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.user-email-display {
    color: #212121;
    font-size: 0.85rem;
    font-weight: 400;
}

/* Logout Button with Icon */
.auth-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: none;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.auth-logout-btn:hover {
    color: #212121;
}

.auth-logout-btn svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    width: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    flex: 1;
    text-align: left;
    z-index: 2;
    position: relative;
}

.hero-logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
    position: relative;
}

.hero-logo img {
    width: 180px;
    height: 180px;
    border-radius: 25%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin-bottom: 24px;
    background: #fff;
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-logo img:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transform: translateY(-5px);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #2E7D32, #4CAF50, #66BB6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInDown 1s ease-out;
}

@keyframes slideInDown {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
    animation: slideInUp 1s ease-out 0.5s both;
}

@keyframes slideInUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #2E7D32, #4CAF50);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
    animation: slideInUp 1s ease-out 1s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.4);
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: white;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mission h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2E7D32;
}

.mission-statement {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mission-statement::before,
.mission-statement::after {
    content: '"';
    font-size: 4rem;
    color: #4CAF50;
    position: absolute;
    font-family: serif;
}

.mission-statement::before {
    top: -10px;
    left: 20px;
}

.mission-statement::after {
    bottom: -30px;
    right: 30px;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2E7D32;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #2E7D32, #4CAF50);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2E7D32;
}

.product-card p {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.bestseller {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4CAF50;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--brand-primary, #2E7D32);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
        margin-left: auto;
    }

    .auth-section {
        gap: 0.25rem;
        flex-shrink: 0;
    }

    /* Hide "Sign In" text on mobile, only show icon */
    .auth-login-btn span {
        display: none;
    }

    .auth-login-btn {
        padding: 0.5rem;
        min-width: auto;
    }

    .auth-login-btn svg {
        width: 24px;
        height: 24px;
    }

    /* Hide email display on mobile, only show initials */
    .user-email-display {
        display: none !important;
    }

    .auth-user-info .user-email-display {
        display: none !important;
    }

    /* Make logout button more compact */
    .auth-logout-btn {
        padding: 0.25rem;
    }

    /* Make cart button more compact */
    .cart-toggle {
        padding: 0.4rem 0.7rem;
        font-size: 1.2rem;
        min-width: auto;
        white-space: nowrap;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        top: -6px;
        right: -6px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .mission-statement {
        font-size: 1.1rem;
    }
}