/* Curation Page Styles */

/* --- Hero --- */
.page-hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(11, 15, 20, 0) 20%, var(--bg-dark) 100%),
        radial-gradient(ellipse at top, rgba(20, 26, 34, 0.8), transparent 70%);
    z-index: -2;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* --- Context Box --- */
.context-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
}

.context-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gold);
    border-radius: 4px 0 0 4px;
}

/* --- Feature Cards --- */
.feature-card {
    background: linear-gradient(135deg, rgba(26, 34, 46, 0.95) 0%, rgba(15, 20, 28, 0.95) 100%);
    border: 1px solid rgba(242, 183, 44, 0.15);
    padding: 50px 35px;
    border-radius: 20px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 183, 44, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 70px rgba(242, 183, 44, 0.25), 0 10px 30px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(26, 34, 46, 1) 0%, rgba(20, 26, 34, 1) 100%);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(242, 183, 44, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary-gold);
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.feature-card i {
    transition: all 0.5s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px var(--primary-gold));
}

.feature-card:hover .feature-icon-box {
    background: var(--primary-gold);
    color: #000;
    transform: rotate(-5deg) scale(1.1);
}

/* --- Inventory Items --- */
.inventory-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.inventory-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-gold);
    transform: translateX(5px);
}

.inventory-icon {
    width: 40px;
    height: 40px;
    background: rgba(242, 183, 44, 0.1);
    color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

/* --- Process / Workflow Pipeline (Vertical) --- */
.process-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--bg-dark);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-weight: 700;
    z-index: 2;
    margin-right: 25px;
    box-shadow: 0 0 15px rgba(242, 183, 44, 0.2);
}

.process-wrapper {
    position: relative;
}

.process-wrapper::before {
    content: '';
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 25px;
    width: 2px;
    background: rgba(242, 183, 44, 0.3);
    z-index: 1;
}

/* --- Scroll Progress --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-gold);
    width: 0%;
    z-index: 9999;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--bg-mid);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    color: var(--text-gray);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-gold);
    color: #000;
    transform: translateY(-5px);
}