/* Stylesheet: Ferjho Aromas Lab Brand Brief */
/* Designed by Marco Pérez · MP Designs */

:root {
    --bg-dark: #0A0B0E;
    --card-bg: rgba(18, 20, 26, 0.75);
    --card-border: rgba(255, 255, 255, 0.07);
    --card-border-active: rgba(212, 175, 55, 0.4);
    
    /* Brand Accent Colors */
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA7C11;
    --sage-primary: #8A9A86;
    --sage-light: #B8C4B5;
    --sage-dark: #586755;
    
    /* Interactive Value Colors */
    --amber-warm: #E29B3E;
    --purple-mystic: #8D749F;
    --slate-primary: #5A7E8E;
    --mint-green: #599277;
    
    /* Neutrals */
    --text-main: #F4F6F9;
    --text-muted: #8E9BAE;
    --text-dark: #12141C;
    --input-bg: rgba(10, 11, 14, 0.8);
    
    /* Glows & Shadows */
    --gold-glow: 0 0 15px rgba(212, 175, 55, 0.25);
    --sage-glow: 0 0 15px rgba(138, 154, 134, 0.25);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    background: #183a2c;
    overscroll-behavior-y: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    overscroll-behavior-y: none;
    display: flex;
    flex-direction: column;
}

.brief-loader {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(180deg, rgba(11, 17, 14, 0.8), rgba(12, 21, 17, 0.96));
    backdrop-filter: blur(12px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.brief-loader-card {
    min-width: min(92vw, 320px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 20px;
    border-radius: 24px;
    border: 1px solid rgba(138, 154, 134, 0.16);
    background: rgba(15, 20, 18, 0.94);
    box-shadow: var(--card-shadow);
    text-align: center;
}

.brief-loader-card strong {
    color: var(--gold-light);
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brief-loader-card span {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.brief-loader-spinner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid rgba(138, 154, 134, 0.16);
    border-top-color: var(--gold-primary);
    animation: loaderSpin 0.85s linear infinite;
}

body:not(.brief-loading) .brief-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

/* Web Fonts Utilities */
.font-serif-cormorant {
    font-family: 'Cormorant Garamond', serif;
}
.font-serif-cinzel {
    font-family: 'Cinzel', serif;
}
.font-sans-montserrat {
    font-family: 'Montserrat', sans-serif;
}
.font-script-sacramento {
    font-family: 'Sacramento', cursive;
    font-size: 2.2rem !important;
}
.font-serif-dm {
    font-family: 'DM Serif Display', serif;
}
.font-sans-space {
    font-family: 'Space Grotesk', sans-serif;
}

/* Canvas & Background Glows */
#aroma-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
    transition: background 1s ease;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--gold-primary);
    top: -10%;
    right: -10%;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: var(--sage-primary);
    bottom: -15%;
    left: -15%;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Glassmorphic Header */
.glass-header {
    background: rgba(10, 11, 14, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-portfolio-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    padding: 6px 12px;
    border-radius: 20px;
}

.back-portfolio-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.brand-logo-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-primary);
}

.compact-flask {
    color: var(--gold-primary);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.logo-text-compact {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.logo-light {
    font-weight: 400;
    color: var(--text-main);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sage-light);
    font-weight: 600;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Glassmorphic Card Base Style */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* WELCOME SCREEN */
.welcome-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-card {
    padding: 50px 40px;
    text-align: center;
    width: 100%;
}

.brand-crest {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.crest-svg {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
}

.welcome-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    font-weight: 700;
}

.accent-title {
    color: var(--gold-primary);
    font-weight: 400;
}

.welcome-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 600;
}

.welcome-intro-text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 35px auto;
}

.welcome-intro-text p {
    margin-bottom: 15px;
}

.welcome-intro-text strong {
    color: var(--text-main);
    font-weight: 600;
}

.orientation-note {
    max-width: 650px;
    margin: 0 auto 28px auto;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.02));
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.55;
    text-align: left;
}

.orientation-note strong {
    color: var(--gold-light);
}

.welcome-steps-overview {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.step-badge-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.step-badge-mini i {
    font-size: 0.9rem;
    color: var(--gold-primary);
}

.step-badge-mini .step-txt {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}

.btn {
    cursor: pointer;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 0.9rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-dark);
    box-shadow: var(--gold-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

.btn-gold:active {
    transform: translateY(0);
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: transform 0.5s ease;
    opacity: 0;
}

.glow-effect:hover::after {
    opacity: 1;
    transform: translate(50%, 50%) rotate(45deg);
}

.welcome-duration {
    margin-top: 20px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* WIZARD SCREEN LAYOUT */
.wizard-section {
    max-width: 1350px;
    margin: 40px auto;
    padding: 0 30px;
    flex-grow: 1;
    width: 100%;
}

.wizard-layout-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

.wizard-form-area {
    min-width: 0; /* Prevents overflow inside flex/grid */
}

.wizard-card {
    padding: 35px;
    display: flex;
    flex-direction: column;
    min-height: 550px;
}

/* Wizard Header & Progress Nodes */
.wizard-header {
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 25px;
}

.steps-tracker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.step-num-indicator {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    font-weight: 700;
}

.steps-tracker h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-main);
}

.progress-bar-container {
    position: relative;
    height: 6px;
    width: 100%;
    margin-top: 15px;
}

.progress-bar-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
}

.progress-bar-liquid {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; /* Dynamic fill */
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--sage-primary));
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps-nodes {
    position: absolute;
    top: -7px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.step-node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #181920;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.step-node.active {
    border-color: var(--gold-primary);
    background: var(--gold-primary);
    color: var(--text-dark);
    box-shadow: var(--gold-glow);
    transform: scale(1.15);
}

.step-node.completed {
    border-color: var(--sage-primary);
    background: var(--sage-primary);
    color: var(--text-dark);
    box-shadow: var(--sage-glow);
}

/* Step Content Panes */
.step-content-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.step-content-pane.active {
    display: block;
}

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

.instruction-block {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.number-bubble {
    font-family: 'Cinzel', serif;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
}

.instruction-block h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.instruction-block p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Modern Form Elements */
.form-group-modern {
    margin-bottom: 28px;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.required-flag {
    font-size: 0.72rem;
    color: var(--gold-primary);
    font-weight: 500;
    margin-left: 5px;
}

.premium-input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.premium-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15), inset 0 2px 4px rgba(0,0,0,0.2);
}

.premium-textarea {
    width: 100%;
    height: 110px;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.92rem;
    outline: none;
    resize: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.6;
}

.premium-textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15), inset 0 2px 4px rgba(0,0,0,0.2);
}

.input-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Interactive Grid Selection (Products) */
.interactive-grid-select {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.grid-card-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.grid-card-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.grid-card-option:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.grid-card-option.selected {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: var(--gold-glow);
}

.grid-card-option.selected::before {
    transform: scaleX(1);
}

.option-icon {
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.grid-card-option h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.grid-card-option p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Values Pills */
.values-pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.value-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.value-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.value-pill.selected {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    color: var(--text-main);
    box-shadow: var(--gold-glow);
}

/* Target & Tone select styling (Step 2) */
.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.target-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.target-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.target-card.selected {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: var(--gold-glow);
}

.target-icon {
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.target-card h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.target-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Personality Sliders */
.slider-intro-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.slider-wrapper-lux {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 16px 20px;
    border-radius: 12px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.slider-side-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.lux-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin: 10px 0;
}

.lux-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold-primary);
    cursor: pointer;
    box-shadow: var(--gold-glow);
    transition: transform 0.1s ease;
}

.lux-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-value-display {
    text-align: center;
    font-size: 0.72rem;
    color: var(--gold-primary);
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.04em;
}

/* Tone Selector cards */
.tone-selectors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.tone-card-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tone-card-option:hover {
    background: rgba(255, 255, 255, 0.04);
}

.tone-card-option.selected {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: var(--gold-glow);
}

.tone-card-option h5 {
    font-size: 0.90rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.tone-card-option p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* COLOR PALETTES (Step 3) */
.palette-intro-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.palettes-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.palette-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.palette-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.palette-card.active {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: var(--gold-glow);
}

.palette-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.palette-header-row h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
}

.badge-palette {
    font-size: 0.65rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.color-swatches-strip {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.palette-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Custom Palette pickers */
.custom-pickers-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
}

.picker-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.picker-container label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

.picker-container input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    background: none;
    outline: none;
}

.picker-container input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.picker-container input[type="color"]::-webkit-color-swatch {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Live Typography Tester Styling */
.typo-intro-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.typo-input-container {
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

.typo-previews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.typo-preview-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.typo-preview-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.typo-preview-card.active {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: var(--gold-glow);
}

.typo-sample-display {
    font-size: 1.7rem;
    margin-bottom: 12px;
    color: var(--text-main);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    letter-spacing: 0.04em;
    min-height: 52px;
    display: flex;
    align-items: center;
}

.typo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.typo-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.typo-badge {
    font-size: 0.62rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

.typo-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Logo Style Selector cards */
.logo-style-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.logo-style-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-style-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.logo-style-card.selected {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: var(--gold-glow);
}

.logo-style-illustration {
    height: 70px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
}

.logo-style-illustration.font-serif-cormorant {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
}

.logo-style-card h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.logo-style-card p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Sector Visual Lab */
.glass-subcard {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 24px;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.glass-subcard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 35%);
    pointer-events: none;
}

.sector-lab-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.sector-lab-kicker {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 800;
    margin-bottom: 8px;
}

.sector-lab-heading h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.sector-lab-badge {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-primary);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    white-space: nowrap;
}

.sector-lab-intro,
.sector-lab-placeholder {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 740px;
}

.sector-lab-placeholder {
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.compact-group {
    margin-bottom: 22px;
}

.signature-input-row {
    display: grid;
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 16px;
    align-items: center;
}

.signature-input {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-align: center;
    font-weight: 800;
}

.signature-input-hint {
    font-size: 0.76rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.visual-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.visual-option-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.visual-option-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.visual-option-card.selected {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: var(--gold-glow);
}

.visual-option-topline {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
}

.visual-option-badge {
    font-size: 0.62rem;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.signature-template-preview,
.bottle-template-preview {
    height: 126px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.signature-template-symbol {
    min-width: 72px;
    min-height: 72px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    letter-spacing: 0.14em;
    background: rgba(11, 12, 16, 0.55);
}

.frame-cartouche {
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.frame-oval {
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 999px;
}

.frame-archive {
    border-top: 1px solid rgba(212, 175, 55, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

.frame-botanical {
    border: 1px solid rgba(138, 154, 134, 0.5);
    border-radius: 999px 999px 14px 14px;
}

.frame-seal {
    border: 1px dashed rgba(243, 229, 171, 0.55);
    border-radius: 50%;
}

.frame-stack {
    border-left: 2px solid rgba(212, 175, 55, 0.5);
    border-right: 2px solid rgba(212, 175, 55, 0.5);
    padding-inline: 20px;
}

.visual-option-card h6 {
    font-size: 0.86rem;
    color: var(--text-main);
    margin-bottom: 6px;
    font-weight: 700;
}

.visual-option-card p {
    font-size: 0.74rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.bottle-template-preview {
    align-items: flex-end;
    padding-bottom: 14px;
}

.bottle-shape {
    position: relative;
    width: 68px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.bottle-shape::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 18px;
    border-radius: 7px 7px 3px 3px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.bottle-shape-rect {
    height: 86px;
    border-radius: 18px;
}

.bottle-shape-square {
    width: 76px;
    height: 76px;
    border-radius: 16px;
}

.bottle-shape-tall {
    width: 56px;
    height: 96px;
    border-radius: 20px 20px 14px 14px;
}

.bottle-shape-round {
    width: 78px;
    height: 78px;
    border-radius: 50% 50% 24px 24px;
}

.bottle-preview-label {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: 58%;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(11, 12, 16, 0.72);
}

.finish-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.finish-chip {
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 190px;
}

.finish-chip:hover {
    background: rgba(255, 255, 255, 0.05);
}

.finish-chip.selected {
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow);
    background: rgba(212, 175, 55, 0.05);
}

.finish-chip strong {
    display: block;
    color: var(--text-main);
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.finish-chip span {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.4;
}

/* CHECKBOXES & CHANNELS (Step 4) */
.checkbox-intro-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.modern-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-wrapper-lux {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-wrapper-lux:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.checkbox-wrapper-lux input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-wrapper-lux input[type="checkbox"]:checked ~ .checkbox-custom {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow);
}

.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid var(--text-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-wrapper-lux input[type="checkbox"]:checked ~ .checkbox-custom::after {
    display: block;
}

.checkbox-label-content strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.checkbox-label-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Channels Grid */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.channel-card-checkbox {
    cursor: pointer;
    position: relative;
}

.channel-card-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.channel-card-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.channel-card-checkbox:hover .channel-card-content {
    background: rgba(255, 255, 255, 0.04);
}

.channel-card-checkbox input[type="checkbox"]:checked ~ .channel-card-content {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.04);
    box-shadow: var(--gold-glow);
}

.channel-icon {
    font-size: 1.25rem;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

.channel-card-content h5 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-main);
}

/* DYNAMIC MOODBOARD (Step 5) */
.summary-final-dashboard {
    background: #111216;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    margin-top: 15px;
}

.moodboard-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
    margin-bottom: 25px;
    position: relative;
}

.brand-crest-mini {
    flex-shrink: 0;
}

.moodboard-main-title {
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--text-main);
}

.moodboard-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-primary);
    font-weight: 600;
    margin-top: 3px;
}

/* Seal of completion */
.seal-complete {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    background: rgba(138, 154, 134, 0.08);
    border: 1px solid rgba(138, 154, 134, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-icon {
    font-size: 1.1rem;
    color: var(--sage-primary);
    filter: drop-shadow(0 0 5px rgba(138, 154, 134, 0.5));
}

.rotating-seal-text {
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 0.28rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.1em;
    /* Rotation placeholder - simplified */
    opacity: 0;
}

/* Mosaic layout for moodboard cards */
.moodboard-grid-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.mosaic-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.col-span-2 {
    grid-column: span 2;
}

.col-span-3 {
    grid-column: span 3;
}

.flex-row-layout {
    flex-direction: row !important;
    padding: 0 !important;
}

.mosaic-section {
    flex: 1;
    padding: 20px;
}

.border-left {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.mosaic-eyebrow {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.moodboard-colors {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.moodboard-color-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.moodboard-palette-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
}

.moodboard-font-preview {
    font-size: 1.35rem;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.moodboard-font-meta {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.moodboard-font-meta span {
    color: var(--gold-primary);
    font-weight: 600;
}

.moodboard-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.moodboard-list li {
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.moodboard-list li i {
    font-size: 0.5rem;
    color: var(--sage-primary);
}

.moodboard-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.moodboard-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.moodboard-quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.18rem;
    line-height: 1.6;
    color: var(--sage-light);
    font-style: italic;
    border-left: 2px solid var(--gold-primary);
    padding-left: 15px;
}

.moodboard-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.moodboard-check-item {
    font-size: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-muted);
}

.moodboard-check-item i {
    color: var(--sage-primary);
    margin-top: 2px;
}

.moodboard-check-item strong {
    color: var(--text-main);
    font-weight: 600;
}

.summary-visual-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    gap: 20px;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    margin-bottom: 20px;
}

.signature-mark-box {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 24px;
    background: rgba(11, 12, 16, 0.55);
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    letter-spacing: 0.16em;
    color: var(--gold-light);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.signature-meta {
    text-align: center;
}

.signature-meta strong,
.signature-meta span {
    display: block;
}

.signature-meta strong {
    color: var(--text-main);
    font-size: 0.82rem;
    margin-bottom: 5px;
}

.signature-meta span {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.summary-bottle-card {
    min-height: 210px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 20px 16px;
}

.summary-bottle-shape {
    position: relative;
    width: 126px;
    height: 146px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.09), 0 14px 28px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
}

.summary-bottle-shape.bottle-shape-square {
    width: 138px;
    height: 132px;
    border-radius: 24px;
}

.summary-bottle-shape.bottle-shape-tall {
    width: 102px;
    height: 166px;
    border-radius: 34px 34px 20px 20px;
}

.summary-bottle-shape.bottle-shape-round {
    width: 144px;
    height: 144px;
    border-radius: 52px 52px 28px 28px;
}

.summary-bottle-cap {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 28px;
    border-radius: 10px 10px 5px 5px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.95), rgba(170, 124, 17, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-bottle-label-frame {
    width: 64%;
    min-height: 70px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(11, 12, 16, 0.72);
    color: var(--text-main);
}

.summary-bottle-label-frame span {
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    letter-spacing: 0.22em;
    color: var(--gold-light);
}

.summary-bottle-caption {
    color: var(--text-muted);
    font-size: 0.74rem;
    text-align: center;
    line-height: 1.45;
}

.disclaimer-mosaic-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(138, 154, 134, 0.05));
    border-color: rgba(212, 175, 55, 0.14);
}

.reference-disclaimer {
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--text-main);
    max-width: 900px;
}

/* Personality radar-bars */
.personality-radar-lite {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.radar-bar-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.radar-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.radar-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    width: 100%;
}

.radar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-primary), var(--sage-primary));
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

/* Signature & Watermark */
.moodboard-footer-signature {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.architect-credit {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.architect-credit strong {
    color: var(--gold-primary);
}

.date-credit {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 4px;
}

.watermark-mp {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 0.05em;
    line-height: 1;
}

/* Submit Action Panel styling */
.submit-action-panel {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
    text-align: center;
}

.submit-action-panel h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.action-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

.action-disclaimer {
    max-width: 640px;
    margin: 0 auto 20px auto;
    color: var(--gold-light);
    font-size: 0.76rem;
    line-height: 1.5;
}

.submit-btns-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    padding: 14px 28px;
    font-size: 0.82rem;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

/* Wizard Navigation Footer */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 12px 24px;
    font-size: 0.82rem;
}

.btn-ghost:hover:not(.disabled) {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
}

.btn-ghost.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.step-indicators-circles {
    display: flex;
    gap: 8px;
}

.indicator-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.indicator-circle.active {
    background: var(--gold-primary);
    box-shadow: var(--gold-glow);
    width: 20px;
    border-radius: 4px;
}

/* WIZARD RIGHT SIDE: live parameter list */
.wizard-sidebar-area {
    position: sticky;
    top: 100px;
}

.live-formula-card {
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.live-formula-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(212, 175, 55, 0.05) 50%);
}

.sidebar-card-title {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.sidebar-card-intro {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 20px;
}

.formula-parameters-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.param-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 12px;
}

.param-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.param-value {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-italic {
    font-style: italic;
    font-weight: 500;
}

.mini-ejes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 4px;
}

.mini-eje-line {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 3px 6px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}

.mini-eje-line span:last-child {
    color: var(--gold-primary);
    font-weight: 700;
}

.live-harmony-swatch {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.l-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.alembic-status-box {
    margin-top: 25px;
    background: rgba(138, 154, 134, 0.04);
    border: 1px solid rgba(138, 154, 134, 0.12);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    color: var(--sage-light);
}

.spinner-alembic {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(138, 154, 134, 0.2);
    border-top-color: var(--sage-primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    flex-shrink: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Apothecary floating bubbles animation inside sidebar */
.alchemy-bubble-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.al-bubble {
    position: absolute;
    background: var(--gold-primary);
    border-radius: 50%;
    bottom: -10px;
    animation: floatUp 8s infinite linear;
}

.bub-1 {
    width: 8px;
    height: 8px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.bub-2 {
    width: 12px;
    height: 12px;
    left: 45%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.bub-3 {
    width: 6px;
    height: 6px;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 7s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-200px) scale(0.3);
        opacity: 0;
    }
}

/* SUCCESS CELEBRATION OVERLAY */
.celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 7, 10, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

.celebration-card {
    max-width: 550px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
}

.check-animation {
    font-size: 4rem;
    color: var(--sage-primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(138, 154, 134, 0.4));
}

.celebration-card h2 {
    font-size: 2.1rem;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.celebration-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.celebration-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hidden {
    display: none !important;
}

/* TECHNICAL FOOTER */
.brief-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    text-align: center;
    background: rgba(10, 11, 14, 0.4);
    margin-top: auto;
}

.brief-footer p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.dev-credit {
    font-size: 0.65rem !important;
    color: rgba(255, 255, 255, 0.25) !important;
    margin-top: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* RESPONSIVE LAYOUT BREAKPOINTS */
@media (max-width: 1100px) {
    .wizard-layout-container {
        grid-template-columns: 1fr;
    }
    
    .wizard-sidebar-area {
        position: static;
    }
    
    .live-formula-card {
        display: none; /* Hide sticky panel on smaller viewports and favor full review in step 5 */
    }
}

@media (max-width: 768px) {
    .glass-header {
        background: rgba(10, 11, 14, 0.84);
    }

    .header-container {
        padding: 10px 14px;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "back back"
            "brand status";
        gap: 8px 10px;
        align-items: center;
    }

    .back-portfolio-btn {
        grid-area: back;
        width: fit-content;
        padding: 5px 10px;
        font-size: 0.74rem;
    }

    .brand-logo-compact {
        grid-area: brand;
        gap: 8px;
        min-width: 0;
    }

    .logo-text-compact {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        line-height: 1.2;
    }

    .header-status {
        grid-area: status;
        justify-self: end;
        font-size: 0.62rem;
        letter-spacing: 0.05em;
        text-align: right;
        line-height: 1.2;
        max-width: 118px;
    }

    .compact-flask {
        width: 24px;
        height: 24px;
    }

    .welcome-card {
        padding: 35px 20px;
    }
    
    .welcome-title {
        font-size: 1.7rem;
        letter-spacing: 0.15em;
    }
    
    .wizard-card {
        padding: 18px 14px;
    }

    .wizard-header {
        margin-bottom: 22px;
        padding-bottom: 18px;
    }

    .instruction-block {
        margin-bottom: 18px;
    }

    .instruction-block h4 {
        font-size: 0.96rem;
    }

    .instruction-block p {
        font-size: 0.77rem;
    }

    .form-group-modern {
        margin-bottom: 18px;
    }

    .premium-input,
    .premium-textarea {
        padding: 12px 14px;
        font-size: 0.86rem;
    }

    .slider-wrapper-lux {
        padding: 12px 14px;
        margin-bottom: 14px;
    }

    .slider-side-label {
        font-size: 0.7rem;
    }
    
    .steps-tracker {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .step-node {
        display: none; /* Simplify on mobile */
    }
    
    .progress-steps-nodes {
        display: none;
    }
    
    .interactive-grid-select,
    .target-grid,
    .tone-selectors,
    .palettes-container,
    .typo-previews-grid,
    .logo-style-container,
    .visual-option-grid,
    .finish-chip-grid,
    .channels-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Premium right edge fade mask indicating more cards */
        -webkit-mask-image: linear-gradient(to right, #000 0%, #000 80%, transparent 98%);
        mask-image: linear-gradient(to right, #000 0%, #000 80%, transparent 98%);
    }

    .interactive-grid-select > *,
    .target-grid > *,
    .tone-selectors > *,
    .palettes-container > *,
    .typo-previews-grid > *,
    .logo-style-container > *,
    .visual-option-grid > *,
    .finish-chip-grid > *,
    .channels-grid > * {
        flex: 0 0 78vw;
        scroll-snap-align: start;
    }

    .signature-input-row {
        grid-template-columns: 1fr;
    }

    .values-pill-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .value-pill {
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.74rem;
    }

    .grid-card-option,
    .target-card,
    .tone-card-option,
    .palette-card,
    .typo-preview-card,
    .logo-style-card,
    .signature-template-card,
    .bottle-template-card,
    .channel-card-content {
        padding: 14px;
    }

    .finish-chip {
        min-width: 78vw;
    }

    .typo-sample-display {
        font-size: 1.28rem;
        min-height: 42px;
    }

    .font-script-sacramento {
        font-size: 1.7rem !important;
    }

    .palette-desc,
    .typo-desc,
    .grid-card-option p,
    .target-card p {
        font-size: 0.7rem;
    }
    
    .moodboard-grid-mosaic {
        grid-template-columns: 1fr;
    }
    
    .col-span-2, .col-span-3 {
        grid-column: span 1;
    }
    
    .flex-row-layout {
        flex-direction: column !important;
    }
    
    .border-left {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .personality-radar-lite {
        grid-template-columns: 1fr;
    }

    .sector-lab-heading {
        flex-direction: column;
    }

    .moodboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .seal-complete {
        position: static;
        transform: none;
        margin-top: 10px;
    }
    
    .submit-btns-row {
        flex-direction: column;
        width: 100%;
    }
    
    .submit-btns-row button {
        width: 100%;
    }

    .orientation-note {
        font-size: 0.78rem;
        padding: 12px 14px;
        margin-bottom: 22px;
    }

    .brief-loader-card {
        min-width: min(92vw, 300px);
        padding: 18px 16px;
    }
}

/* Base de Datos & Category Selection Styling */
.category-selection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.category-card-select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 18px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100px;
    text-align: center;
}

.category-card-select:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.category-card-select.active {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: var(--gold-glow);
}

.cat-icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.category-card-select:hover .cat-icon {
    transform: scale(1.15);
}

.category-card-select.active .cat-icon {
    filter: drop-shadow(0 0 5px var(--gold-primary));
}

.category-card-select span {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .category-selection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card-select {
        min-height: 90px;
        padding: 12px 8px;
    }
    
    .category-card-select span {
        font-size: 0.7rem;
    }

    /* Welcome screen steps 3-2 layout */
    .welcome-steps-overview {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
        margin-bottom: 25px;
    }
    
    .step-badge-mini {
        padding: 5px 6px;
        gap: 4px;
        border-radius: 6px;
        justify-content: center;
        width: auto;
    }
    
    .step-badge-mini i {
        font-size: 0.7rem;
    }
    
    .step-badge-mini .step-txt {
        font-size: 0.55rem;
        white-space: nowrap;
    }

    #badge-step-1 {
        grid-column: span 2;
    }
    #badge-step-2 {
        grid-column: span 2;
    }
    #badge-step-3 {
        grid-column: span 2;
    }
    #badge-step-4 {
        grid-column: 2 / span 2;
    }
    #badge-step-5 {
        grid-column: 4 / span 2;
    }

    /* Mobile scroll helper swipe guides on labels */
    #label-products-group::after,
    #label-target-group::after,
    #label-tone-group::after,
    #label-palette-group::after,
    #label-typo-group::after,
    #label-logo-style-group::after,
    #label-channels-group::after,
    .compact-group:has(.visual-option-grid) label::after,
    .compact-group:has(.finish-chip-grid) label::after {
        content: " ↔ DESLIZAR";
        display: inline-block;
        font-size: 0.6rem;
        text-transform: uppercase;
        font-weight: 800;
        color: #fff;
        background: rgba(212, 175, 55, 0.25);
        border: 1px solid var(--gold-primary);
        padding: 2px 6px;
        border-radius: 4px;
        margin-left: 8px;
        vertical-align: middle;
        letter-spacing: 0.8px;
        box-shadow: 0 0 6px rgba(212, 175, 55, 0.3);
        animation: pulseHorizontal 1.5s infinite ease-in-out;
    }

    @keyframes pulseHorizontal {
        0%, 100% {
            transform: scale(1);
            opacity: 0.8;
        }
        50% {
            transform: scale(1.04);
            opacity: 1;
        }
    }

    /* Explicit premium webkit scrollbars on mobile horizontal containers */
    .interactive-grid-select::-webkit-scrollbar,
    .target-grid::-webkit-scrollbar,
    .tone-selectors::-webkit-scrollbar,
    .palettes-container::-webkit-scrollbar,
    .typo-previews-grid::-webkit-scrollbar,
    .logo-style-container::-webkit-scrollbar,
    .visual-option-grid::-webkit-scrollbar,
    .finish-chip-grid::-webkit-scrollbar,
    .channels-grid::-webkit-scrollbar {
        height: 4px;
        display: block;
    }

    .interactive-grid-select::-webkit-scrollbar-track,
    .target-grid::-webkit-scrollbar-track,
    .tone-selectors::-webkit-scrollbar-track,
    .palettes-container::-webkit-scrollbar-track,
    .typo-previews-grid::-webkit-scrollbar-track,
    .logo-style-container::-webkit-scrollbar-track,
    .visual-option-grid::-webkit-scrollbar-track,
    .finish-chip-grid::-webkit-scrollbar-track,
    .channels-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    .interactive-grid-select::-webkit-scrollbar-thumb,
    .target-grid::-webkit-scrollbar-thumb,
    .tone-selectors::-webkit-scrollbar-thumb,
    .palettes-container::-webkit-scrollbar-thumb,
    .typo-previews-grid::-webkit-scrollbar-thumb,
    .logo-style-container::-webkit-scrollbar-thumb,
    .visual-option-grid::-webkit-scrollbar-thumb,
    .finish-chip-grid::-webkit-scrollbar-thumb,
    .channels-grid::-webkit-scrollbar-thumb {
        background: rgba(212, 175, 55, 0.35);
        border-radius: 10px;
    }
}
