:root {
    --primary: #000000;
    --primary-dark: #000000;
    --accent: #D4AF37;
    --accent-light: #FFD700;
    --accent-dark: #B8960F;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Navigation */
.navbar {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-dot {
    color: var(--accent-light);
    -webkit-background-clip: text;
    background-clip: text;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-light);
}

.cart-btn {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s;
}

.cart-btn:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

.cart-count {
    background: var(--accent);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 140px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.typewriter-container {
    margin-bottom: 1.5rem;
}

.typewriter-text {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white), var(--accent-light), var(--white));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--accent);
    display: inline-block;
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
    0%, 100% { border-color: var(--accent); }
    50% { border-color: transparent; }
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.cta-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    gap: 15px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--gray-600);
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-btn i {
    font-size: 1rem;
}

.category-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

/* Products Grid */
.products-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-image-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    content-visibility: auto;
    aspect-ratio: 1 / 1.2;
}

.product-image.primary {
    transition: transform 0.6s ease;
}

.product-image.secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.product-card:hover .product-image.primary {
    transform: scale(1.08);
}

.product-card:hover .product-image.secondary {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.product-description {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-rating {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.product-actions {
    display: flex;
    gap: 0.8rem;
}

.quick-view-btn, .add-btn {
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.quick-view-btn {
    background: transparent;
    border: 1.5px solid var(--gray-300);
    color: var(--gray-700);
}

.quick-view-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.add-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-tag {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content h2 {
    font-size: 2.2rem;
    margin: 0.5rem 0 1rem;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder i {
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.5;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-tag {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-info h2 {
    font-size: 2rem;
    margin: 0.5rem 0 1rem;
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary), #1a1a1a);
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-content i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-family: inherit;
}

.newsletter-form button {
    padding: 0 2rem;
    background: var(--accent);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--accent-light);
    transform: translateX(3px);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom i {
    color: var(--accent);
}

/* Modals */
.cart-modal, .checkout-modal, .product-modal, .success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.cart-modal.active, .checkout-modal.active, .product-modal.active, .success-modal.active {
    display: flex;
}

.cart-modal-content, .checkout-modal-content, .product-modal-content, .success-modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
}

.checkout-form fieldset {
    border: 1px solid rgba(52, 58, 64, 0.08);
    border-radius: 24px;
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.checkout-form legend {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-dark);
    padding: 0 0.5rem;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="file"],
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 16px;
    font-family: inherit;
    background: var(--gray-50);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.checkout-form input[type="text"]:focus,
.checkout-form input[type="email"]:focus,
.checkout-form input[type="file"]:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

.payment-methods {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
    background: var(--gray-50);
}

.payment-option:hover {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-1px);
}

.payment-option input {
    accent-color: var(--accent);
    width: auto;
    margin: 0;
}

.payment-option span {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-800);
    font-weight: 600;
}

.payment-details {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(212,175,55,0.08), rgba(255,255,255,0.95));
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.payment-note {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.file-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.file-group input[type="file"] {
    padding: 1rem 0.75rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 16px;
    background: var(--gray-50);
    cursor: pointer;
}

.product-modal-content {
    max-width: 800px;
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-image-container {
    position: relative;
}

.modal-image-frame {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

#modalMainImage {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}

.modal-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, opacity 0.2s ease;
    z-index: 2;
}

.modal-image-nav:hover {
    background: rgba(0, 0, 0, 0.75);
}

.prev-btn { left: 12px; }
.next-btn { right: 12px; }

.modal-image-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.35);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1rem 0;
}

.quantity-selector button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
}

.cart-header, .checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.cart-summary {
    padding: 1rem 0;
    border-top: 2px solid var(--gray-200);
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
}

.checkout-btn, .success-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-btn:hover, .success-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-option {
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-icon i {
    font-size: 4rem;
    color: var(--accent);
}

.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    z-index: 1002;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 968px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary);
        flex-direction: column;
        padding-top: 2rem;
        transition: 0.3s;
    }
    .nav-menu.active { left: 0; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-wrapper, .contact-wrapper, .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-modal-body { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .typewriter-text { font-size: 2rem; white-space: normal; }
    .hero { padding: 80px 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .category-btn { padding: 0.5rem 1.2rem; font-size: 0.8rem; }
    .newsletter-form { flex-direction: column; }
}