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

:root {
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --primary: #e8b273;
    --bg: #050505;
    --text: #f0ede8;
    --muted: #7a7a7a;
    --glass: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(232,178,115,0.3) transparent;
}

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

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(232,178,115,0.3); border-radius: 2px; }

/* ═══════════ CUSTOM CURSOR ═══════════ */
.cursor-dot {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 40px; height: 40px;
    border: 1px solid rgba(232,178,115,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}

.cursor-ring.hover {
    width: 60px; height: 60px;
    border-color: var(--primary);
    background: rgba(232,178,115,0.05);
}

/* ═══════════ LOADING SCREEN ═══════════ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: 0.3em;
    color: var(--primary);
    opacity: 0;
    animation: loaderFade 2s ease forwards;
}

.loader-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin-top: 2rem;
    animation: loaderLine 2s ease forwards 0.5s;
}

@keyframes loaderFade { to { opacity: 1; } }
@keyframes loaderLine { to { width: 200px; } }

/* ═══════════ NAVIGATION ═══════════ */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.5s;
}

nav.scrolled {
    background: rgba(5,5,5,0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 0.25em;
    color: var(--primary);
}

.nav-link {
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 0.5rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 30px;
}

.nav-link:hover { color: var(--text); border-color: var(--glass-border); }

/* ═══════════ HERO ═══════════ */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.3;
    overflow: hidden;
}

.hero h1 .word {
    display: inline-block;
    overflow: hidden;
}

.hero h1 .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s var(--ease);
}

.hero h1 .char.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-sub {
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s ease forwards 2.5s;
}

.hero-cta {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 3s;
}

.btn-discover {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid rgba(232,178,115,0.3);
    background: transparent;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: none;
    transition: all 0.4s var(--ease);
}

.btn-discover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(232,178,115,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-discover:hover { border-color: var(--primary); box-shadow: 0 0 30px rgba(232,178,115,0.15); }
.btn-discover:hover::before { transform: translateX(100%); }

/* ═══════════ SECTION COMMONS ═══════════ */
section { position: relative; }

.section-label {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 3rem;
}

/* ═══════════ MOOD ORBS ═══════════ */
.mood-section {
    padding: 10rem 2rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mood-orbs {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
}

.mood-orb {
    width: 120px; height: 120px;
    border-radius: 50%;
    position: relative;
    cursor: none;
    transition: all 0.5s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

.mood-orb::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.5s var(--ease);
}

.mood-orb::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0.15;
    transition: opacity 0.5s, transform 0.5s;
}

.mood-orb .orb-name {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    position: relative;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.mood-orb:hover { transform: scale(1.15); }
.mood-orb:hover::before { border-color: var(--primary); box-shadow: 0 0 40px rgba(232,178,115,0.2); }
.mood-orb:hover::after { opacity: 0.3; transform: scale(1.3); }
.mood-orb:hover .orb-name { opacity: 1; }

.mood-orb.active { transform: scale(1.2); }
.mood-orb.active::before { border-color: var(--primary); box-shadow: 0 0 50px rgba(232,178,115,0.3); }

.orb-warm::after { background: radial-gradient(circle, #e8b273, transparent); }
.orb-fresh::after { background: radial-gradient(circle, #73c8e8, transparent); }
.orb-deep::after { background: radial-gradient(circle, #7340a0, transparent); }
.orb-sweet::after { background: radial-gradient(circle, #e87393, transparent); }
.orb-dark::after { background: radial-gradient(circle, #333, transparent); }
.orb-clean::after { background: radial-gradient(circle, #c8e8d0, transparent); }

/* ═══════════ ART CARDS / COLLECTION ═══════════ */
.collection-section {
    padding: 8rem 4rem;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.art-card {
    position: relative;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    cursor: none;
    background: var(--glass);
    border: 1px solid var(--glass-border);
}

.art-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), filter 0.6s;
}

.art-card:hover .art-card-img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.art-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, transparent 60%);
    z-index: 1;
}

.art-card-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2.5rem;
    z-index: 2;
}

.art-card-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease);
}

.art-card-tagline {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease) 0.1s;
}

.art-card-cta {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease) 0.2s;
}

.art-card:hover .art-card-name { transform: translateY(0); }
.art-card:hover .art-card-tagline { opacity: 1; transform: translateY(0); }
.art-card:hover .art-card-cta { opacity: 1; transform: translateY(0); }

/* ═══════════ REVEAL ANIMATIONS ═══════════ */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ═══════════ PRODUCT PAGE ═══════════ */
.product-hero {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.product-hero-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.product-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg) 5%, transparent 50%);
    z-index: 1;
}

.product-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem;
}

.product-brand {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
}

/* ═══════════ PRODUCT DETAILS ═══════════ */
.product-body {
    padding: 6rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.story-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--muted);
}

.mood-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.mood-tag {
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    transition: all 0.3s;
    cursor: none;
}

.mood-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(232,178,115,0.1);
}

/* ═══════════ SPECTRUM BARS ═══════════ */
.spectrum-section { margin-top: 3rem; }

.spectrum-row {
    margin-bottom: 2rem;
    position: relative;
}

.spectrum-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.spectrum-name {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.spectrum-val {
    font-size: 0.7rem;
    color: var(--primary);
}

.spectrum-track {
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.spectrum-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(232,178,115,0.3));
    transition: width 1.5s var(--ease);
    position: relative;
}

.spectrum-fill::after {
    content: '';
    position: absolute;
    right: 0; top: -3px;
    width: 9px; height: 9px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary);
}

/* ═══════════ NOTES VISUALIZATION ═══════════ */
.notes-section { margin-top: 4rem; }

.notes-grid {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.note-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: none;
}

.note-orb {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    transition: all 0.5s var(--ease);
    position: relative;
}

.note-orb::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.5s;
}

.note-card:hover .note-orb {
    transform: translateY(-10px) scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(232,178,115,0.15);
}

.note-card:hover .note-orb::before {
    border-color: rgba(232,178,115,0.2);
}

.note-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s;
}

.note-card:hover .note-label { color: var(--text); }

/* ═══════════ PRODUCT ACTIONS ═══════════ */
.product-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: center;
}

.btn-cart {
    padding: 1rem 3rem;
    background: transparent;
    border: 1px solid rgba(232,178,115,0.4);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: none;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-cart:hover {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(232,178,115,0.3);
}

.btn-wa {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.3);
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: all 0.4s var(--ease);
}

.btn-wa:hover {
    background: #25D366;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(37,211,102,0.3);
}

/* ═══════════ FOOTER ═══════════ */
footer {
    padding: 6rem 4rem 3rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

footer .logo { margin-bottom: 1rem; font-size: 1.5rem; }
footer p { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; }

/* ═══════════ KEYFRAMES ═══════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(232,178,115,0.1); }
    50% { box-shadow: 0 0 30px rgba(232,178,115,0.3); }
}

/* ═══════════ MOBILE ═══════════ */
@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none; }
    nav { padding: 1rem 1.5rem; }
    .hero h1 { font-size: 2rem; }
    .mood-orbs { gap: 1.5rem; }
    .mood-orb { width: 85px; height: 85px; }
    .collection-section { padding: 4rem 1.5rem; }
    .art-grid { grid-template-columns: 1fr; }
    .art-card { height: 450px; }
    .product-body { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem; }
    .product-hero-content { padding: 2rem; }
    .product-name { font-size: 2.5rem; }
    .notes-grid { gap: 1.5rem; }
    .mood-section { padding: 5rem 1.5rem; }
}
