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

:root {
    --bg-primary: #07090c;
    --bg-secondary: #0f1720;
    --glass-surface: rgba(255, 255, 255, 0.05);
    --blur: blur(18px);
    --accent-gold: #d4af37;
    --accent-blue: #3b82f6;
    --accent-white: #e5e7eb;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --border-glass: rgba(255, 255, 255, 0.08);
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.15);
    --glow-blue: 0 0 20px rgba(59, 130, 246, 0.15);
    --container-max: 1320px;
    --spacing-desktop: 100px;
    --spacing-tablet: 70px;
    --spacing-mobile: 50px;
    --radius-panel: 20px;
    --radius-btn: 18px;
    --radius-pill: 50px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--spacing-desktop) 0;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; margin-bottom: 24px; }
h3 { font-size: 1.5rem; }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }

/* Glass Components */
.glass-panel {
    background: var(--glass-surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-panel);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.glass-card {
    background: var(--glass-surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-panel);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--glow-gold);
}

.glass-card.blue-glow:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--glow-blue);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--glow-gold);
}

.btn-primary:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
}

.btn-secondary {
    background: var(--glass-surface);
    color: var(--text-primary);
    border-color: var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Header */
.header-wrapper {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
}

.navbar {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--glass-surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease;
}

.navbar:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-icon {
    position: relative;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-nav {
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-panel {
    display: flex;
    align-items: center;
    padding: 60px;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 480px;
}

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

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-panel);
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.8));
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

/* Watch Collection Grid */
.product-card {
    display: flex;
    flex-direction: column;
}

.product-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--bg-secondary);
    aspect-ratio: 1/1;
}

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

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.product-rating {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.btn-add-cart {
    width: 100%;
}

/* Collections Section */
.collection-card {
    position: relative;
    height: 300px;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    overflow: hidden;
}

.collection-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 9, 12, 0.9) 0%, rgba(7, 9, 12, 0.2) 100%);
    z-index: 1;
}

.collection-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.7s ease;
}

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

.collection-content {
    position: relative;
    z-index: 2;
}

.collection-content h3 {
    margin-bottom: 8px;
}

/* Features / Why Choose Us */
.feature-card {
    text-align: center;
    padding: 40px 24px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-blue);
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonial-card {
    padding: 30px;
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
}

.testi-name {
    font-weight: 600;
}

.testi-text {
    font-style: italic;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
    margin-top: 60px;
    background: rgba(7, 9, 12, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Page Headers */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: var(--glow-gold);
    background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Cart & Checkout */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-weight: 500;
}

.cart-table td {
    padding: 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 4px 12px;
    width: fit-content;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
}

.btn-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-remove:hover {
    text-decoration: underline;
}

.summary-card {
    padding: 32px;
    position: sticky;
    top: 120px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
}

/* Product Detail Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    border-radius: var(--radius-panel);
    overflow: hidden;
    background: var(--bg-secondary);
}

.product-gallery img {
    width: 100%;
    height: auto;
}

.product-meta-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.product-price-detail {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
    font-weight: 600;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Text Content Pages (About, Terms, Privacy) */
.content-panel {
    padding: 60px;
}

.content-panel h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-panel p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    .hero-panel { flex-direction: column; padding: 40px; }
    .hero-content { text-align: center; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: var(--spacing-tablet) 0; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; } /* Simplified for mobile */
    .cart-table th { display: none; }
    .cart-table td { display: block; width: 100%; text-align: left; padding: 12px 0; border: none; }
    .cart-table tr { display: block; border-bottom: 1px solid var(--border-glass); padding-bottom: 24px; margin-bottom: 24px; }
    .cart-item-info { flex-direction: column; align-items: flex-start; }
    .content-panel { padding: 30px; }
}

@media (max-width: 576px) {
    .section { padding: var(--spacing-mobile) 0; }
    h1 { font-size: 2.2rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-panel { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .product-detail-layout { gap: 30px; }
}