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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #e9ecef;
    background: linear-gradient(to bottom, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rock-icon {
    font-size: 2rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.language-select {
    padding: 8px 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.language-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-select:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.language-select option {
    background: #1a1a2e;
    color: white;
    padding: 10px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 90, 111, 0.4);
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(238, 90, 111, 0.5);
    background: linear-gradient(135deg, #ee5a6f 0%, #ff6b6b 100%);
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: transparent;
}

.products-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 3rem;
    color: #e9ecef;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1rem;
}

.products-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #3282b8);
    border-radius: 2px;
}

.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.location-tracking {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(22, 33, 62, 0.6) 100%);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-location {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3282b8 0%, #0f4c75 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 76, 117, 0.3);
}

.btn-location:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 117, 0.4);
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%);
}

.btn-location:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.location-icon {
    font-size: 1.2rem;
}

.location-status {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(26, 26, 46, 0.9);
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.location-status span {
    color: #e9ecef;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-clear-location {
    padding: 6px 16px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(238, 90, 111, 0.3);
}

.btn-clear-location:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 90, 111, 0.4);
}

.search-input,
.category-filter,
.location-filter,
.price-input {
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    background: rgba(15, 21, 46, 0.8);
    color: #e9ecef;
}

.search-input:focus,
.category-filter:focus,
.location-filter:focus,
.price-input:focus {
    outline: none;
    border-color: #3282b8;
    background: rgba(22, 33, 62, 0.9);
    box-shadow: 0 0 0 3px rgba(50, 130, 184, 0.2);
    transform: translateY(-2px);
}

.search-input {
    flex: 1;
    min-width: 200px;
}

.category-filter,
.location-filter {
    min-width: 150px;
}

.price-input {
    width: 120px;
}

.btn-filter {
    padding: 14px 35px;
    background: linear-gradient(135deg, #3282b8 0%, #0f4c75 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 76, 117, 0.3);
}

.btn-filter:hover {
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 117, 0.4);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: rgba(26, 26, 46, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(50, 130, 184, 0.5);
    background: rgba(26, 26, 46, 1);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.image-placeholder {
    font-size: 5rem;
    color: #3282b8;
    opacity: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}

.product-info {
    padding: 25px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e9ecef;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.product-seller {
    color: #adb5bd;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.product-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(50, 130, 184, 0.2) 0%, rgba(15, 52, 96, 0.2) 100%);
    color: #3282b8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 600;
    border: 1px solid rgba(50, 130, 184, 0.3);
}

.product-description {
    color: #ced4da;
    font-size: 0.95rem;
    margin: 12px 0;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.product-origin,
.product-weight {
    color: #adb5bd;
    font-size: 0.9rem;
    margin: 6px 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.product-price {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #3282b8 0%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stock-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.stock-badge.in-stock {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #b3d9bb;
    font-weight: 600;
}

.stock-badge.out-of-stock {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f1b0b7;
    font-weight: 600;
}

.no-products,
.error {
    text-align: center;
    padding: 60px 40px;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #adb5bd;
    grid-column: 1 / -1;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.error {
    color: #ff6b6b;
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: #e9ecef;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1rem;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #3282b8);
    border-radius: 2px;
}

.about-section > .container > p {
    text-align: center;
    font-size: 1.15rem;
    color: #ced4da;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(50, 130, 184, 0.5);
    background: linear-gradient(135deg, rgba(26, 26, 46, 1) 0%, rgba(22, 33, 62, 1) 100%);
}

.feature-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(15, 76, 117, 0.2));
}

.feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #e9ecef;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feature p {
    color: #ced4da;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 100%);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin: 0;
    opacity: 0.95;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Upload Section */
.upload-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.upload-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 3rem;
    color: #e9ecef;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1rem;
}

.upload-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #3282b8);
    border-radius: 2px;
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 26, 46, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.upload-tabs {
    display: flex;
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.8) 0%, rgba(26, 26, 46, 0.8) 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.upload-tab {
    flex: 1;
    padding: 20px 30px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #adb5bd;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.upload-tab:hover {
    background: rgba(50, 130, 184, 0.2);
    color: #e9ecef;
}

.upload-tab.active {
    background: rgba(26, 26, 46, 1);
    color: #e9ecef;
    border-bottom-color: #3282b8;
}

.upload-content {
    display: none;
    padding: 40px;
}

.upload-content.active {
    display: block;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upload-label {
    font-size: 1rem;
    font-weight: 600;
    color: #e9ecef;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.upload-select,
.upload-input {
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    background: rgba(15, 21, 46, 0.8);
    color: #e9ecef;
    font-family: inherit;
}

.upload-select:focus,
.upload-input:focus {
    outline: none;
    border-color: #3282b8;
    background: rgba(22, 33, 62, 0.9);
    box-shadow: 0 0 0 3px rgba(50, 130, 184, 0.2);
}

.upload-input[type="file"] {
    padding: 12px;
    cursor: pointer;
}

.upload-input[type="file"]::file-selector-button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #3282b8 0%, #0f4c75 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.upload-input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 76, 117, 0.3);
}

.image-preview {
    min-height: 100px;
    margin: 15px 0;
    padding: 20px;
    background: rgba(15, 21, 46, 0.6);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(15, 76, 117, 0.1);
}

.btn-upload {
    padding: 16px 40px;
    background: linear-gradient(135deg, #3282b8 0%, #0f4c75 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 76, 117, 0.3);
    align-self: flex-start;
}

.btn-upload:hover {
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 117, 0.4);
}

.upload-status {
    padding: 15px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    min-height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .products-section h2,
    .about-section h2,
    .upload-section h2 {
        font-size: 2.2rem;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .search-input,
    .category-filter,
    .location-filter,
    .price-input {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .upload-content {
        padding: 25px;
    }
    
    .upload-tab {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

