:root {
    --dark: #000000;
    --card-bg: rgba(255, 255, 255, 0.85);
    --muted: #6B7280;
    --accent: #000000; 
    --bg-soft: #F9FAFB;
    --text-primary: #111827;
    --border: rgba(0, 0, 0, 0.06);
    --glow: rgba(0, 0, 0, 0.08); /* Soft shadows */
}

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

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background: #F3F4F6;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 90px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--dark);
}

nav {
    display: flex;
    gap: 35px;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
}

nav a {
    position: relative;
    color: #4B5563;
}

nav a:hover {
    color: var(--dark);
}

nav a.cart {
    color: var(--dark);
    font-weight: 700;
    padding: 8px 16px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* HERO */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 90px;
    background: radial-gradient(circle at top right, #FFFFFF, #F3F4F6);
}

.hero-text {
    max-width: 520px;
    animation: fadeIn 1s ease-out;
}

.hero-tag {
    font-size: 12px;
    letter-spacing: 4px;
    color: #4B5563;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero h1 {
    font-size: 68px;
    line-height: 1.05;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    font-size: 18px;
    color: #4B5563;
    margin-bottom: 45px;
    font-weight: 400;
}

.btn-primary {
    background: var(--dark);
    color: #fff;
    padding: 16px 44px;
    letter-spacing: 2px;
    display: inline-block;
    margin-right: 15px;
    border-radius: 40px;
    box-shadow: 0 10px 30px var(--glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--dark);
    padding: 16px 44px;
    letter-spacing: 2px;
    display: inline-block;
    border-radius: 40px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.btn-outline:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--glow);
}

/* Banner image */
.hero-image {
    width: 45%;
    height: 560px;
    background: url("/uploads/banners/home-banner.jpg") center/cover no-repeat;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.2s ease-out;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, rgba(243, 244, 246, 0.1) 100%);
}

/* TRUST */
.trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 60px 90px;
    background: #FFFFFF;
}

.trust div {
    text-align: center;
    transition: transform 0.3s ease;
}

.trust div:hover {
    transform: translateY(-5px);
}

.trust h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.trust p {
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
}

/* FEATURED COLLECTIONS */
.collections {
    padding: 120px 90px;
    background: var(--bg-soft);
}

.collections h2 {
    font-size: 46px;
    margin-bottom: 60px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -1px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.collection-card {
    height: 500px;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: flex-end;
    background: #FFFFFF;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: #fff; /* Ensure text is visible over images */
}

.collection-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

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

.collection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 2;
    opacity: 0.8;
}

.collection-card h3 {
    z-index: 3;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* BEST SELLERS */
.best {
    padding: 120px 90px;
    background: #FFFFFF;
}

.best h2 {
    font-size: 46px;
    margin-bottom: 60px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -1px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.product {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.product-img {
    height: 300px;
    background: #f0f0f0 center/cover no-repeat;
    border-radius: 14px;
    margin-bottom: 24px;
    transition: transform 0.6s ease;
}

.product:hover .product-img {
    transform: scale(1.04);
}

.product h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.price {
    color: #4B5563;
    font-weight: 600;
    font-size: 16px;
}

/* STORY */
.story {
    padding: 140px 90px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.story h2 {
    font-size: 52px;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
}

.story p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.8;
}

.story-img {
    width: 45%;
    height: 480px;
    background: #FFFFFF;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

/* FOOTER */
footer {
    padding: 100px 90px 40px;
    background: #000;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

footer h3, footer h4 {
    margin-bottom: 24px;
    color: #fff;
    font-weight: 600;
}

footer p {
    color: #9CA3AF;
    margin-bottom: 16px;
    font-size: 15px;
}

footer a {
    color: #9CA3AF;
}

footer a:hover {
    color: #fff;
}

.footer-bottom {
    grid-column: 1/-1;
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: #9CA3AF;
}

.footer-bottom a {
    color: #fff;
    font-weight: 600;
}

/* PAGE HEADER */
.page-header {
    padding: 100px 90px 60px;
    background: #FFFFFF;
    text-align: center;
}

.page-header h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -2px;
}

.page-header p {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}

/* PRODUCTS LISTING */
.products {
    padding: 60px 90px 140px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    background: #FAFAFA;
}

.product-info {
    padding: 10px 8px;
    text-align: center;
}

.product-info h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.product .price {
    margin-bottom: 24px;
    display: block;
    color: var(--dark);
}

.product-info a {
    display: inline-block;
    padding: 16px 36px;
    background: #F3F4F6;
    color: var(--dark);
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.product-info a:hover {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* PURCHASE POPUP */
.purchase-popup {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 16px 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
}

.purchase-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.purchase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media(max-width:1024px) {
    header, .hero, .collections, .best, .story, .trust, footer, .page-header, .products {
        padding-left: 50px;
        padding-right: 50px;
    }
    .hero, .story { flex-direction: column; text-align: center; }
    .hero-image, .story-img { width: 100%; margin-top: 40px;}
    .product-grid, .products { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media(max-width:600px) {
    header { flex-direction: column; gap: 20px; padding: 25px; }
    nav { flex-wrap: wrap; justify-content: center; }
    .hero { padding: 60px 20px; }
    .hero h1 { font-size: 46px; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; margin: 10px 0; }
    .trust { grid-template-columns: 1fr 1fr; gap: 30px; padding: 50px 20px; }
    .collection-grid, .product-grid, .products, footer { grid-template-columns: 1fr; }
    footer { padding: 60px 20px 30px; }
}

/* VINTAGE WATCH ANIMATION */
#watch-animation-container {
    width: 45%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.watch-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.15));
}

.watch-face {
    box-shadow: inset 0 0 50px rgba(0,0,0,0.05);
}

.numeral {
    user-select: none;
    letter-spacing: 1px;
}

.watch-hand {
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

@media(max-width:1024px) {
    #watch-animation-container {
        width: 100%;
        height: 400px;
        margin-top: 40px;
    }
}

@media(max-width:600px) {
    #watch-animation-container {
        height: 300px;
    }
}