/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #6c757d;
    --dark: #1a1e2b;
    --darker: #0f1219;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --white: #ffffff;
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 1rem 2rem rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.5;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.125rem;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    list-style: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon a {
    color: var(--dark);
    font-size: 1.25rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 20px;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
}

.cart-item-remove {
    color: var(--danger);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.empty-cart-msg {
    text-align: center;
    color: var(--gray);
    padding: 30px;
}

/* Hero Section */
.hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f5f7fc 0%, #ffffff 100%);
}

.hero-badge {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
}

.trust-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Disclaimer */
.disclaimer-bar {
    background: #fff3cd;
    padding: 12px 0;
    border-bottom: 1px solid #ffeeba;
}

.disclaimer-bar p {
    font-size: 0.8rem;
    color: #856404;
    text-align: center;
}

/* Products Grid */
.products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--gray-light);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-purity {
    font-size: 0.8rem;
    color: var(--success);
    margin-bottom: 8px;
}

.product-reviews {
    font-size: 0.8rem;
    color: var(--warning);
    margin-bottom: 12px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions button {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-cart {
    background: var(--dark);
    color: white;
    border: none;
}

.btn-view {
    background: transparent;
    border: 1px solid var(--gray-light);
}

/* Wholesale Section */
.wholesale-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: white;
    padding: 60px 0;
}

.wholesale-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.wholesale-benefits {
    list-style: none;
    margin: 20px 0;
}

.wholesale-benefits li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wholesale-benefits i {
    color: var(--success);
}

/* Features */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Lab Reports */
.lab-reports {
    background: var(--light);
    padding: 60px 0;
    text-align: center;
}

.reports-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.report-card {
    background: white;
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Blog */
.blog-section {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    padding: 25px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
}

.blog-card h3 {
    margin-bottom: 12px;
}

.blog-card a {
    color: var(--primary);
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--darker);
    color: #adb5bd;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #adb5bd;
    text-decoration: none;
}

.footer-col a:hover {
    color: white;
}

.payment-methods {
    margin-top: 15px;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}

/* WhatsApp Chat */
.whatsapp-chat {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    transition: transform 0.2s;
}

.whatsapp-chat:hover {
    transform: scale(1.05);
    color: white;
}

/* PRODUCT PAGE */
.product-detail {
    padding: 40px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-gallery img {
    width: 100%;
    border-radius: var(--radius);
}

.product-meta {
    margin: 15px 0;
}

.product-meta span {
    display: inline-block;
    margin-right: 15px;
    color: var(--gray);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.quantity-selector input {
    width: 80px;
    padding: 10px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    text-align: center;
}

.reviews-section {
    margin-top: 50px;
}

.review-stats {
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius);
}

.review-item {
    border-bottom: 1px solid var(--gray-light);
    padding: 20px 0;
}

/* ORDER PAGE */
.order-page {
    padding: 60px 0;
    background: var(--light);
    min-height: 80vh;
}

.order-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.crypto-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.crypto-option {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.crypto-option.selected {
    border-color: var(--primary);
    background: rgba(13, 110, 253, 0.05);
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-menu { 
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    .nav-menu.active { display: flex; }
    .cart-sidebar { width: 100%; right: -100%; }
    .hero-buttons { flex-direction: column; }
    .wholesale-content { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .crypto-options { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .order-container { padding: 20px; margin: 0 15px; }
}