/* ============================================
   ANTIGRAVITY — Luxury Jewellery Website
   Dark Theme + Gold Accents
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #18181f;
    --bg-card: #14141c;
    --gold: #c9a96e;
    --gold-light: #e8d5a3;
    --gold-dark: #8b7340;
    --gold-glow: rgba(201, 169, 110, 0.3);
    --gold-glow-strong: rgba(201, 169, 110, 0.6);
    --text-primary: #f0ece4;
    --text-secondary: #a09a8d;
    --text-muted: #6b6560;
    --white: #ffffff;
    --border: rgba(201, 169, 110, 0.12);
    --border-hover: rgba(201, 169, 110, 0.3);
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --shadow-gold: 0 0 40px rgba(201, 169, 110, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) var(--bg-primary);
}

html::-webkit-scrollbar {
    width: 6px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

html::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    border: none;
    background: none;
    cursor: none;
    font-family: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    cursor: none;
}

/* ---------- Canvas Layers ---------- */
#cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.5s var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.5s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.5);
}

.btn-primary::before {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-ghost {
    border: 1px solid var(--border-hover);
    color: var(--gold-light);
}

.btn-ghost:hover {
    border-color: var(--gold);
    background: rgba(201, 169, 110, 0.08);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- Navigation ---------- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s var(--transition);
}

#navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    font-size: 1.6rem;
    color: var(--gold);
    animation: diamondSpin 4s linear infinite;
}

@keyframes diamondSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: all 0.4s var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.cart-btn {
    position: relative;
    color: var(--text-secondary);
    transition: color 0.3s;
    padding: 8px;
}

.cart-btn:hover {
    color: var(--gold-light);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s var(--transition);
}

.cart-count.visible {
    transform: scale(1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ---------- Hero Section ---------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 40px 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 28px;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.title-line.accent {
    color: var(--gold);
    font-style: italic;
    font-size: clamp(3rem, 6vw, 5rem);
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.floating-diamond {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-product-img {
    width: 320px;
    height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(201, 169, 110, 0.3));
    z-index: 2;
    position: relative;
}

.glow-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.orbit-1 {
    width: 340px;
    height: 340px;
    animation: orbitSpin 12s linear infinite;
}

.orbit-2 {
    width: 380px;
    height: 380px;
    animation: orbitSpin 18s linear infinite reverse;
    border-style: dashed;
}

.orbit-3 {
    width: 420px;
    height: 420px;
    animation: orbitSpin 24s linear infinite;
    border-color: rgba(201, 169, 110, 0.05);
}

.orbit-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ---------- Section Styling ---------- */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
}

.accent {
    color: var(--gold);
    font-style: italic;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- Collection Section ---------- */
.collection-section {
    padding: 140px 0;
    position: relative;
}

.collection-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: all 0.4s var(--transition);
}

.filter-btn:hover {
    color: var(--gold-light);
    border-color: var(--border-hover);
}

.filter-btn.active {
    color: var(--bg-primary);
    background: var(--gold);
    border-color: var(--gold);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold);
}

.product-card.hidden {
    display: none;
}

.product-image-wrapper {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.03), rgba(201, 169, 110, 0.01));
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.6s var(--transition);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.product-card:hover .product-image {
    transform: scale(1.08) translateY(-5px);
}

.product-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 30%;
    background: radial-gradient(ellipse, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s;
}

.product-card:hover .product-glow {
    opacity: 1;
}

.product-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    padding: 12px 28px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

.product-card:hover .quick-view-btn {
    transform: translateY(0);
    opacity: 1;
}

.quick-view-btn:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.product-info {
    padding: 24px 28px 28px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gold-light);
}

.add-to-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
    transform: scale(1.1);
}

.add-to-cart-btn.added {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

/* ---------- Featured Section ---------- */
.featured-section {
    padding: 140px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.featured-section::before,
.featured-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.featured-section::before { top: 0; }
.featured-section::after { bottom: 0; }

.featured-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.featured-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image-container {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.featured-image-container:active {
    cursor: grabbing;
}

.featured-main-image {
    width: 340px;
    height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(201, 169, 110, 0.2));
    transition: transform 0.1s;
    z-index: 2;
    position: relative;
}

.viewer-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px dashed var(--border);
    animation: orbitSpin 20s linear infinite;
}

.viewer-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
}

.drag-hint {
    position: absolute;
    bottom: -20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    animation: dragHintFade 3s ease-in-out infinite;
}

@keyframes dragHintFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.featured-info .section-tagline {
    text-align: left;
}

.featured-info .section-title {
    text-align: left;
}

.featured-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 32px;
}

.featured-details {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(201, 169, 110, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.featured-details li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.detail-value {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.featured-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.featured-price {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold-light);
}

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

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tagline,
.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gold-light);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gold-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* About Gallery */
.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 500px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-1 {
    grid-row: span 2;
}

.gallery-2 {
    grid-column: 2;
}

.gallery-3 {
    grid-column: 2;
}

/* ---------- Contact Section ---------- */
.contact-section {
    padding: 140px 0;
    background: var(--bg-secondary);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group label {
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 0.7rem;
    color: var(--gold);
    background: var(--bg-secondary);
    padding: 0 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    opacity: 1;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a09a8d' stroke-width='2'%3e%3cpolyline points='6,9 12,15 18,9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 28px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s var(--transition);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(201, 169, 110, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 16px;
}

.contact-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 64px;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-muted);
    transition: all 0.3s;
    padding: 6px;
}

.footer-socials a:hover {
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* ---------- Cart Sidebar ---------- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s var(--transition);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
}

.cart-close-btn {
    color: var(--text-secondary);
    transition: color 0.3s;
    padding: 4px;
}

.cart-close-btn:hover {
    color: var(--gold-light);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    color: var(--text-muted);
    text-align: center;
}

.cart-empty svg {
    color: var(--border);
    margin-bottom: 8px;
}

.cart-empty p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.cart-empty span {
    font-size: 0.8rem;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    animation: cartItemIn 0.4s var(--transition);
}

@keyframes cartItemIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--gold);
}

.cart-item-remove {
    align-self: center;
    color: var(--text-muted);
    transition: color 0.3s;
    padding: 6px;
}

.cart-item-remove:hover {
    color: #e74c3c;
}

.cart-footer {
    padding: 24px 28px;
    border-top: 1px solid var(--border);
}

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

.cart-total span:first-child {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.cart-total span:last-child {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-light);
}

.cart-shipping-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    z-index: 3001;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-secondary);
    z-index: 2;
    padding: 6px;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--gold-light);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    background: var(--bg-card);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.modal-info {
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.modal-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.modal-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 24px;
    display: block;
}

/* ---------- Animations ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

[data-animate="float"] {
    transform: none;
    opacity: 0;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="float"].animate-in {
    opacity: 1;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gold-light);
    z-index: 5000;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s var(--transition);
}

.toast.visible {
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }

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

    .featured-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .featured-info .section-tagline,
    .featured-info .section-title {
        text-align: center;
    }

    .featured-desc {
        text-align: center;
    }

    .featured-cta {
        justify-content: center;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-content .section-tagline,
    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .stats-row {
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    #cursor-canvas {
        display: none;
    }

    button, a, input, textarea, select {
        cursor: auto;
    }

    .hero-section {
        padding: 100px 20px 60px;
    }

    .section-container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.5s var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .floating-diamond {
        width: 280px;
        height: 280px;
    }

    .hero-product-img {
        width: 220px;
        height: 220px;
    }

    .orbit-1 { width: 240px; height: 240px; }
    .orbit-2 { width: 260px; height: 260px; }
    .orbit-3 { width: 280px; height: 280px; }

    .glow-ring {
        width: 200px;
        height: 200px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .collection-section,
    .featured-section,
    .about-section,
    .contact-section {
        padding: 80px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
    }

    .modal-content {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 32px;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .about-gallery {
        height: 350px;
    }

    .stats-row {
        gap: 32px;
        flex-wrap: wrap;
    }

    .featured-image-container {
        width: 300px;
        height: 300px;
    }

    .featured-main-image {
        width: 240px;
        height: 240px;
    }

    .viewer-ring {
        width: 280px;
        height: 280px;
    }
}
