@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #111111;
    --secondary: #666666;
    --accent: #d4ff00; /* Neon/Lime Green */
    --accent-hover: #bce600;
    --background: #fcfcfc;
    --surface: #ffffff;
    --border: #f0f0f0;
    --danger: #ef4444;
    --success: #22c55e;
    --radius: 16px;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Layout */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.main-header {
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
    font-size: 15px;
}

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

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icons a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
}

.header-icons a:hover {
    background: var(--border);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background: var(--accent-hover);
    box-shadow: 0 10px 20px rgba(212, 255, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: var(--surface);
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding-right: 60px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    gap: 8px;
}

.badge-tag i {
    color: var(--accent);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--accent);
    font-style: italic;
    font-weight: 800;
}

.hero p {
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

/* Features Bar */
.features-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fafafa;
    padding: 0;
    border-radius: var(--radius);
    margin: 20px auto 60px;
    position: relative;
    z-index: 10;
    box-shadow: none;
    max-width: 1200px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px 40px;
    border-right: 1px solid rgba(0,0,0,0.05);
}
.feature-item:last-child {
    border-right: none;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #f9fccc;
    color: #99b800;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature-text h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: var(--secondary);
}

/* Sections */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.product-image-wrap {
    position: relative;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 4/5;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-wrap:hover .btn-quick-view {
    opacity: 1 !important;
    bottom: 20px !important;
}

.btn-quick-view:hover {
    background: #111 !important;
    color: #fff !important;
}

.btn-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: var(--secondary);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-wishlist:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.btn-wishlist.active {
    color: var(--danger);
}

.product-colors {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.product-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    display: block;
}

.product-price {
    font-weight: 700;
    font-size: 16px;
}

/* Auth Forms */
.auth-container {
    max-width: 480px;
    margin: 80px auto;
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s;
    background: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

/* Utilities */
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.text-center { text-align: center; }
.text-muted { color: var(--secondary); }

/* Mega Menu */
.mega-menu-trigger {
    position: relative;
    padding: 30px 0; /* Huge padding to cover the top and bottom area */
    margin: -30px 0; /* Offset the padding to avoid layout shifts */
}

.mega-menu-content {
    position: absolute;
    top: 100%; /* Attach right at the bottom of the padded trigger */
    left: -100px;
    width: 850px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.2s ease;
    display: flex;
    z-index: 1000;
    padding: 30px;
    border: 1px solid var(--border);
}

.mega-menu-trigger:hover .mega-menu-content {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Mega Menu Sidebar Tabs */
.mega-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
}
.mega-tab {
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    color: var(--secondary);
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.mega-tab:hover {
    color: var(--text);
}
.mega-tab.active {
    color: #1a6d48; /* Dark green accent for active */
    border-bottom: 2px solid #1a6d48;
}

/* Mega Menu Body Columns */
.mega-body {
    display: flex;
    gap: 40px;
    width: 100%;
}

.mega-col-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mega-btn-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.mega-btn-card:hover {
    border-color: #1a6d48;
    background: #f4faf7;
}
.mega-btn-card i {
    font-size: 20px;
    color: #7ab982;
}

.mega-col-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mega-col-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}
.mega-col-links a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}
.mega-col-links a:hover {
    color: #1a6d48;
}

.badge-new {
    background: #cbf1f4;
    color: #0b6269;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding: 40px 0; }
    .hero-content { padding-right: 0; margin-bottom: 40px; }
    .hero-actions { justify-content: center; }
    .hero h1 { font-size: 3.5rem; }
    .features-bar { grid-template-columns: repeat(2, 1fr); margin: 40px auto; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hero h1 { font-size: 2.5rem; }
    .features-bar { grid-template-columns: 1fr; padding: 24px; }
}
