:root {
    --primary-color: #2c2c2c;
    --secondary-color: #8b7355;
    --accent-color: #d4a574;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --bg-light: #faf9f6;
    /* Lighter, more pleasant color */
    --bg-dark: #2c2c2c;

    --font-display: 'Crimson Pro', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    /* Enable vertical scroll */
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    position: absolute;
    /* Adjusted to sit over the hero */
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    /* Seamless blend */
    z-index: 100;
}

.header-content.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-sm) 0;
    /* Reduced from md */
}

.logo.large img {
    height: 120px;
    display: block;
}


/* Reveal Animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    /* Reduced from 160px */
    padding-bottom: 60px;
    overflow: hidden;
    z-index: 1;
}

/* Dynamic Background Elements */
.dynamic-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.2) 0%, rgba(250, 249, 246, 0) 70%);
    filter: blur(60px);
    border-radius: 50%;
    z-index: -1;
    animation: floating 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.2) 0%, transparent 70%);
}

.blob-2 {
    bottom: -150px;
    left: -150px;
    animation-duration: 30s;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.15) 0%, transparent 70%);
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 400px;
    height: 400px;
    animation-duration: 20s;
    background: radial-gradient(circle, rgba(255, 235, 205, 0.25) 0%, transparent 70%);
}

@keyframes floating {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    100% {
        transform: translate(100px, 150px) rotate(10deg) scale(1.1);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #fffbf7 0%, #f9f3eb 50%, #fefcf0 100%);
}


.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    padding: var(--spacing-xl) 0;
}

.hero-left {
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(139, 115, 85, 0.1);
    border: 1px solid rgba(139, 115, 85, 0.2);
    color: var(--secondary-color);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 600px;
    margin-bottom: var(--spacing-lg);
}

.desc-intro {
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.desc-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
    padding-left: 0;
}

.desc-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.desc-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.desc-outro {
    font-style: italic;
    font-size: 16px;
    border-left: 3px solid var(--accent-color);
    padding-left: var(--spacing-sm);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--text-light);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(139, 115, 85, 0.05);
    color: var(--secondary-color);
    border: 1px solid rgba(139, 115, 85, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(139, 115, 85, 0.1);
    border-color: var(--secondary-color);
}

/* Product Showcase */
.hero-right {
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-showcase {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

.product-showcase-header {
    margin-bottom: var(--spacing-md);
}

.product-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--secondary-color);
    color: white;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.product-name {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
}

.product-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    aspect-ratio: 4/3;
    background: #f0f0f0;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-image-wrapper:hover .product-main-image {
    transform: scale(1.05);
}

.ar-quick-view {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.ar-quick-view:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.ar-quick-view span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-showcase-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.price-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-display);
}

.currency {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-gray);
}

.btn-add-to-cart {
    padding: 16px 28px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-add-to-cart:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: #4CAF50 !important;
    border-color: #4CAF50 !important;
}

/* Loading Spinner */
.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.modal-body {
    text-align: center;
}

.modal-body h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
}

.modal-body p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.qr-container {
    padding: var(--spacing-md);
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.modal-hint {
    font-size: 13px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-content.centered {
        padding: 5px 0;
        /* Minimal padding */
    }

    .logo.large img {
        height: 60px;
        /* Slightly smaller on mobile to save space */
    }

    .hero {
        padding-top: 80px;
        /* Reduced from 130px */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .product-showcase {
        padding: var(--spacing-md);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}