/* VYON Luxury Form Styles */

:root {
    --gold: #D4AF37;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light-gold: rgba(212, 175, 55, 0.1);
    --cream: #F8F6F0;
    --shadow-gold: rgba(212, 175, 55, 0.3);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Fluid Background */
#fluid-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
}

#fluid-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(26, 26, 26, 0.8);
    z-index: 1000;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #FFD700);
    width: 12.5%;
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.progress-shimmer {
    position: absolute;
    top: 0;
    left: -100px;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

/* Page Layout */
.page {
    min-height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.page.active {
    display: flex;
}

.content-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.1);
    margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

h1 {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 3px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--cream);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 3rem;
}

.page-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.multi-select-hint {
    font-size: 0.95rem;
    color: var(--gold);
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Exclusive Badge */
.exclusive-badge {
    position: absolute;
    top: 6rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--gold), #FFD700);
    color: var(--black);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    animation: pulse 2s ease-in-out infinite;
    z-index: 100;
}

.badge-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 300;
    margin-top: 0.2rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5); }
}

/* Forms */
.luxury-form {
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem;
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--cream);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.form-group label {
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Gender Select Dropdown Fix */
.form-group select {
    background-color: rgba(26, 26, 26, 0.95);
    color: var(--cream);
}

.form-group select option {
    background-color: var(--dark-gray);
    color: var(--cream);
    padding: 0.5rem;
    border: none;
}

.form-group select option:checked,
.form-group select option:hover {
    background-color: var(--gold);
    color: var(--black);
}

/* Custom Essence Textarea */
.custom-essence {
    margin: 3rem auto;
    max-width: 800px;
    width: 100%;
}

.custom-essence .form-group {
    width: 100%;
}

.custom-essence textarea {
    min-height: 150px;
    resize: vertical;
    width: 100%;
}

/* Selection Grid - Perfectly Centered */
.selection-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 3rem auto;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 1000px;
}

/* Selection Cards */
.selection-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.7));
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    width: 300px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 auto;
}

.selection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.selection-card:hover::before {
    left: 100%;
}

.selection-card:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.selection-card.selected {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
}

.selection-card h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: 'Cormorant Garamond', serif;
}

.selection-card p {
    color: var(--cream);
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}

/* Scent Sliders */
.scent-sliders {
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    width: 100%;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    gap: 2rem;
    width: 100%;
}

.slider-info {
    flex: 1;
    text-align: left;
}

.slider-info h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-family: 'Cormorant Garamond', serif;
}

.slider-info p {
    color: var(--cream);
    font-size: 1rem;
    opacity: 0.9;
    font-family: 'Montserrat', sans-serif;
}

.slider-wrapper {
    position: relative;
    flex: 0 0 300px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.scent-slider {
    flex: 1;
    height: 8px;
    background: linear-gradient(90deg, var(--dark-gray), var(--gold));
    border-radius: 4px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.scent-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
    transition: all 0.2s ease;
}

.scent-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.7);
}

.slider-value {
    min-width: 40px;
    text-align: center;
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Slider Particles */
.slider-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    pointer-events: none;
    overflow: visible;
}

/* Button Group */
.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* Buttons */
.next-btn,
.prev-btn,
.download-btn {
    background: linear-gradient(135deg, var(--gold), #FFD700);
    color: var(--black);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.prev-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    color: var(--gold);
    border: 2px solid var(--gold);
}

.next-btn:hover,
.prev-btn:hover,
.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* Completion Page */
.completion-animation {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.essence-orb {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 2rem auto;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, var(--gold), #B8860B);
    border-radius: 50%;
    animation: pulse-orb 2s ease-in-out infinite;
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0.6;
}

.ring-1 {
    width: 80px;
    height: 80px;
    animation: rotate 10s linear infinite;
}

.ring-2 {
    width: 110px;
    height: 110px;
    animation: rotate 15s linear infinite reverse;
}

.ring-3 {
    width: 140px;
    height: 140px;
    animation: rotate 20s linear infinite;
}

@keyframes pulse-orb {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.completion-message {
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
    font-family: 'Montserrat', sans-serif;
}

.exclusive-membership {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem auto;
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-width: 700px;
}

.member-badge {
    background: linear-gradient(135deg, var(--gold), #FFD700);
    color: var(--black);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 2rem;
}

.member-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
}

.member-title {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.next-steps h3 {
    color: var(--gold);
    margin-bottom: 2rem;
    font-family: 'Cormorant Garamond', serif;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    text-align: left;
}

.step-number {
    background: var(--gold);
    color: var(--black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
}

.step p {
    color: var(--cream);
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

.final-message {
    font-size: 1.4rem;
    color: var(--gold);
    font-style: italic;
    margin: 3rem auto;
    font-family: 'Cormorant Garamond', serif;
    max-width: 600px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .selection-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .selection-card {
        width: 100%;
        max-width: 350px;
    }
    
    .slider-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .slider-wrapper {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
    
    .button-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .exclusive-badge {
        position: static;
        margin: 1rem auto 2rem;
        display: inline-block;
    }
}