/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --cream-bg: #F5F1E8;
    --cream-light: #FAF8F3;
    --gold-primary: #C9A961;
    --gold-dark: #A68B4F;
    --gold-light: #D4B76E;
    --text-primary: #2C2416;
    --text-secondary: #6B5D4F;
    --text-light: #8B7D6F;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: 'Georgia', 'Times New Roman', serif;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--cream-bg) 0%, var(--cream-light) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Header ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    position: relative;
    z-index: 10;
}

.brand {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold-dark);
    border: 1px solid var(--gold-primary);
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(201, 169, 97, 0.05);
    opacity: 0;
    animation: fadeInDown 0.8s ease 0.2s forwards;
}

/* ===== Container ===== */
.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 200px);
}

/* ===== Product Section ===== */
.product-section {
    width: 100%;
    margin: var(--spacing-xl) 0;
    perspective: 1500px;
    transform-style: preserve-3d;
}

.product-card {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background: var(--cream-light);
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(44, 36, 22, 0.08),
        0 8px 24px rgba(44, 36, 22, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: box-shadow 0.3s ease, transform 0.1s ease-out;
    transform-style: preserve-3d;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
    will-change: transform;
}

.product-card:hover,
.product-card.tilting {
    box-shadow: 
        0 30px 80px rgba(44, 36, 22, 0.15),
        0 12px 32px rgba(44, 36, 22, 0.08),
        0 0 60px rgba(201, 169, 97, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 24px;
    transform-style: preserve-3d;
}

.shine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: linear-gradient(
        115deg,
        transparent 20%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.15) 40%,
        rgba(201, 169, 97, 0.2) 50%,
        rgba(255, 255, 255, 0.15) 60%,
        rgba(255, 255, 255, 0) 70%,
        transparent 80%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    overflow: hidden;
}

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

/* ===== Quote Section ===== */
.quote-section {
    text-align: center;
    margin: var(--spacing-xl) 0 var(--spacing-lg);
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.quote-text {
    font-family: var(--font-secondary);
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.highlight {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    opacity: 0.4;
}

.main-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin: 0;
}

.title-highlight {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* ===== Info Section ===== */
.info-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.info-item {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-light);
    text-transform: uppercase;
}

.info-divider {
    color: var(--gold-primary);
    font-size: 14px;
    opacity: 0.5;
}

/* ===== CTA Section ===== */
.cta-section {
    margin: var(--spacing-lg) 0;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--cream-light);
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(201, 169, 97, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(201, 169, 97, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: auto;
}

.footer-text {
    font-size: 13px;
    color: var(--text-light);
    opacity: 0.7;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Mobile Optimization ===== */
@media (max-width: 768px) {
    .header {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .brand {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .badge {
        font-size: 10px;
        padding: 5px 12px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .product-section {
        margin: var(--spacing-lg) 0;
    }
    
    .product-card {
        border-radius: 20px;
    }
    
    .quote-text {
        font-size: 18px;
        padding: 0 var(--spacing-sm);
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .info-item {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
    
    .cta-button {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .quote-text {
        font-size: 16px;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .info-section {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .info-divider {
        display: none;
    }
    
    .info-item {
        font-size: 9px;
    }
}

/* ===== Touch Optimization ===== */
@media (hover: none) and (pointer: coarse) {
    .cta-button,
    .product-card {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Add subtle hint for mobile users */
    .product-card::after {
        content: 'Tap to interact';
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(201, 169, 97, 0.9);
        color: var(--cream-light);
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.5px;
        opacity: 0;
        animation: hintPulse 3s ease-in-out 1s 2;
        pointer-events: none;
        z-index: 20;
    }
    
    @keyframes hintPulse {
        0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
        10%, 90% { opacity: 1; transform: translateX(-50%) translateY(-5px); }
    }
    
    /* Remove hint after first interaction */
    .product-card.interacted::after {
        display: none;
    }
}

/* ===== Smooth Scrolling ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Selection Styling ===== */
::selection {
    background: var(--gold-primary);
    color: var(--cream-light);
}

::-moz-selection {
    background: var(--gold-primary);
    color: var(--cream-light);
}

