:root {
    --bg: #050505;
    --text: #ffffff;
    --muted: #a0a0a0;
    --accent: #dcb36a;
    --border: rgba(255, 255, 255, 0.1);
    --easing: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--text); }
h1, h2, h3, .logo span { font-family: 'Playfair Display', serif; font-weight: 400; }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 4%; }

/* Typography */
.section-title { font-size: clamp(3rem, 6vw, 4.5rem); letter-spacing: -0.02em; margin-bottom: 20px; line-height: 1.1; }
.subtitle { font-size: 0.85rem; color: var(--accent); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 16px; display: block; font-weight: 300; }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; z-index: 100; transition: all 0.5s var(--easing); padding: 24px 0; }
.navbar.scrolled { background: rgba(5,5,5,0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); padding: 16px 0; border-bottom: 1px solid var(--border); }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; letter-spacing: 2px; }
.logo svg { color: var(--accent); }

/* Buttons */
.btn-primary-sm, .btn-primary, .btn-submit, .btn-bag {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.5s var(--easing);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary-sm { padding: 12px 28px; border-radius: 4px; }
.btn-primary { padding: 18px 48px; border-radius: 4px; border-color: var(--text); }
.btn-primary-sm:hover, .btn-primary:hover, .btn-submit:hover, .btn-bag:hover {
    background: var(--text);
    color: var(--bg);
}
.btn-submit { position: relative; width: 100%; padding: 20px; background: var(--accent); color: var(--bg); border: none; font-weight: 500; font-size: 0.95rem; }
.btn-submit:hover { background: #fff; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; filter: brightness(0.65) contrast(1.1); animation: subtleZoom 30s linear infinite alternate; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%); z-index: -1; }
@keyframes subtleZoom { 0% { transform: scale(1); } 100% { transform: scale(1.12); } }

.hero-content { z-index: 1; margin-top: 10vh; max-width: 900px; }
.hero h1 { font-size: clamp(4.5rem, 10vw, 8rem); line-height: 1; letter-spacing: -0.04em; margin-bottom: 24px; }
.highlight { color: var(--accent); font-style: italic; font-weight: 300; }
.hero-subtitle { font-size: 1.2rem; color: #ccc; font-weight: 300; max-width: 600px; margin: 0 auto 40px; line-height: 1.6; }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1.2s var(--easing); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Products Section */
.products { padding: 140px 0; background: var(--bg); }
.section-header { text-align: center; margin-bottom: 80px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 40px; }

.product-card { display: flex; flex-direction: column; }
.product-img-wrapper { 
    position: relative; aspect-ratio: 1/1; overflow: hidden; background: #111; cursor: zoom-in; margin-bottom: 24px; 
}
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--easing), filter 0.8s; }
.product-img-wrapper:hover img { transform: scale(1.06); filter: brightness(0.85); }

.view-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
    color: #fff; font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase;
    opacity: 0; transition: all 0.6s var(--easing); pointer-events: none;
}
.product-img-wrapper:hover .view-text { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.tag { position: absolute; top: 20px; left: 20px; padding: 6px 14px; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(10px); }
.tag.hot { color: var(--accent); border-color: var(--accent); }

.product-info { display: flex; justify-content: space-between; align-items: flex-start; }
.product-meta h3 { font-size: 1.4rem; margin-bottom: 8px; font-family: 'Playfair Display', serif; font-weight: 400; color: #fff; }
.price { font-size: 1.1rem; color: var(--muted); font-weight: 300; }
.btn-bag { padding: 12px 24px; font-size: 0.75rem; border-color: var(--border); border-radius: 2px; }

/* Order Section */
.order-section { padding: 140px 0; border-top: 1px solid var(--border); background: #080808; }
.order-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: center; }
.order-desc { color: var(--muted); font-size: 1.15rem; line-height: 1.8; margin-bottom: 40px; font-weight: 300; }

.features { list-style: none; }
.features li { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; font-size: 1.05rem; font-weight: 300; letter-spacing: 0.5px; }
.icon-wrap { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.icon-wrap svg { width: 18px; height: 18px; }

.order-form-box { background: rgba(255,255,255,0.02); padding: 50px; border: 1px solid var(--border); position: relative; }
.order-form-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }

.form-group { margin-bottom: 30px; }
.form-group input, .form-group textarea { width: 100%; padding: 16px 0; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.15); color: #fff; font-family: inherit; font-size: 1.05rem; transition: border-color 0.4s; }
.form-group textarea { height: 60px; resize: none; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #555; font-weight: 300; }

.selected-product-banner { margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.selected-product-banner .label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 12px; }
.sp-details { display: flex; justify-content: space-between; align-items: flex-end; }
.sp-details strong { font-weight: 400; font-size: 1.25rem; font-family: 'Playfair Display', serif; }
.sp-details .highlight { color: var(--accent); font-size: 1.25rem; font-family: 'Outfit', sans-serif; font-weight: 300; }

/* Product Detail Modal */
.product-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s var(--easing); padding: 20px; }
.product-modal.show { opacity: 1; pointer-events: auto; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(15px); }
.modal-container { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; width: 100%; max-width: 1000px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; transform: translateY(30px); transition: transform 0.5s var(--easing); box-shadow: 0 30px 60px rgba(0,0,0,0.8); }
.product-modal.show .modal-container { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 20px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; z-index: 10; transition: transform 0.4s var(--easing), color 0.4s; background: rgba(0,0,0,0.5); border-radius: 50%; }
.modal-close:hover { transform: rotate(90deg); color: var(--accent); }

.modal-content { display: flex; flex: 1; min-height: 0; }
.modal-img-col { flex: 1; background: #000; display: flex; align-items: center; justify-content: center; }
.modal-img-col img { width: 100%; height: 100%; object-fit: cover; }
.modal-info-col { flex: 1; display: flex; flex-direction: column; background: var(--bg); position: relative; }
.modal-scroll { padding: 50px 40px; overflow-y: auto; flex: 1; }

.modal-info-col .subtitle { margin-bottom: 10px; }
.modal-info-col h2 { font-size: 2.2rem; margin-bottom: 16px; line-height: 1.2; }
.modal-price { font-size: 1.4rem; color: var(--accent); font-family: 'Outfit', sans-serif; font-weight: 300; margin-bottom: 30px; }

.ai-review-box { background: rgba(220,179,106,0.05); border: 1px solid rgba(220,179,106,0.2); padding: 20px; border-radius: 4px; margin-bottom: 30px; }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.ai-score { font-size: 1.05rem; margin-bottom: 10px; }
.ai-score strong { font-size: 1.2rem; color: var(--accent); }
.ai-desc { font-size: 0.95rem; line-height: 1.7; color: #ccc; font-weight: 300; }

.modal-features { margin-bottom: 40px; }
.modal-features ul { list-style: none; padding-left: 0; }
.modal-features li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 0.95rem; color: var(--muted); font-weight: 300; }
.modal-features li::before { content: '•'; position: absolute; left: 0; color: var(--accent); }

.modal-actions { margin-top: auto; }
.modal-actions .btn-submit { margin-top: 0; }

@media (max-width: 768px) {
    .modal-content { flex-direction: column; }
    .modal-img-col { height: 40vh; flex: none; }
    .modal-scroll { padding: 30px 20px; }
    .modal-info-col h2 { font-size: 1.8rem; }
}

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 80px; }
.footer-brand p { color: var(--muted); margin-top: 20px; font-weight: 300; font-size: 0.95rem; }
.footer-links h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; color: #fff; font-weight: 400; }
.social-link { color: var(--muted); text-decoration: none; transition: color 0.4s; font-weight: 300; font-size: 0.95rem; }
.social-link:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; color: #555; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }

/* Spinner */
.spinner { display: none; width: 22px; height: 22px; animation: rotate 2s linear infinite; }
.spinner .path { stroke: var(--bg); stroke-linecap: round; animation: dash 1.5s ease-in-out infinite; }
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes dash { 0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; } 50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; } 100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; } }
.btn-submit.loading { pointer-events: none; }
.btn-submit.loading span { opacity: 0; }
.btn-submit.loading .spinner { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

.form-message { margin-top: 24px; font-size: 0.95rem; padding: 16px; display: none; text-align: center; font-weight: 300; }
.form-message.success { color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); display: block; }
.form-message.error { color: #f87171; border: 1px solid rgba(248, 113, 113, 0.3); display: block; }

/* Live Stats */
.live-stats { display: flex; justify-content: center; gap: 40px; margin-top: 30px; opacity: 0; transform: translateY(20px); transition: all 1s var(--easing); }
.live-stats.loaded { opacity: 1; transform: translateY(0); }
.stat-item { text-align: center; }
.stat-value { font-size: 1.5rem; font-family: 'Playfair Display', serif; color: var(--accent); display: block; margin-bottom: 5px; }
.stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; }

/* FOMO Toast */
.fomo-toast { position: fixed; bottom: 30px; left: 30px; background: rgba(5,5,5,0.9); backdrop-filter: blur(10px); border: 1px solid var(--border); padding: 16px 20px; border-radius: 4px; display: flex; align-items: center; gap: 16px; z-index: 999; transform: translateY(150%); opacity: 0; transition: all 0.6s var(--easing); box-shadow: 0 10px 30px rgba(0,0,0,0.5); pointer-events: none; }
.fomo-toast.show { transform: translateY(0); opacity: 1; }
.fomo-img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(220,179,106,0.3); display: flex; align-items: center; justify-content: center; background: rgba(220,179,106,0.05); }
.fomo-img svg { width: 20px; height: 20px; }
.fomo-content p { font-size: 0.9rem; margin: 0 0 4px 0; color: #fff; }
.fomo-content .fomo-desc { font-size: 0.8rem; color: #bbb; }
.fomo-time { font-size: 0.7rem; color: var(--accent); font-style: italic; }

@media (max-width: 1024px) {
    .order-wrapper { grid-template-columns: 1fr; gap: 80px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .product-grid { grid-template-columns: 1fr; gap: 60px; }
    .order-form-box { padding: 30px 20px; }
    .footer-content { flex-direction: column; gap: 50px; }
    .product-info { flex-direction: column; gap: 16px; }
}
