/* Gift Journey Slider - Menacstore Style */
.gj-wrap * {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-sizing: border-box;
}

.gj-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #4a4a4a;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.gj-wrap .gj-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.gj-cream-bg { background: #faf6f2; }

.gj-cream-card {
    background: #ffffff;
    border: 1px solid #f0e6e0;
    box-shadow: 0 2px 12px rgba(139, 90, 43, 0.06);
    transition: all 0.3s ease;
}
.gj-cream-card:hover {
    box-shadow: 0 4px 20px rgba(139, 90, 43, 0.1);
    border-color: #e8d5c8;
}

.gj-rose { color: #c45c6a; }

.gj-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: #fdf2f4;
    border: 1px solid #f5d6db;
    color: #c45c6a;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gj-final-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: #c45c6a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

.gj-final-card {
    background: #ffffff;
    border: 2px solid #c45c6a;
    box-shadow: 0 4px 20px rgba(196, 92, 106, 0.15);
}

/* ===== TIMELINE LINE - FIXED ===== */
.gj-timeline-wrap {
    position: relative;
    padding-left: 3rem;
}

.gj-timeline-line {
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #f0e6e0;
    border-radius: 2px;
    z-index: 1;
}

.gj-timeline-progress {
    position: absolute;
    left: 1.5rem;
    top: 0;
    width: 4px;
    background: linear-gradient(to bottom, #c45c6a, #d47884, #e8a0aa);
    border-radius: 2px;
    z-index: 2;
    transition: height 0.5s ease-out;
}

.gj-node {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #f0e6e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.8);
    opacity: 0.3;
    z-index: 10;
}

.gj-node.gj-active {
    transform: scale(1);
    opacity: 1;
    border-color: #c45c6a;
    background: #fdf2f4;
}

.gj-node.gj-completed {
    transform: scale(1);
    opacity: 1;
    border-color: #c45c6a;
    background: #fdf2f4;
}

.gj-node-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transition: box-shadow 0.6s ease;
}

.gj-node.gj-active .gj-node-glow,
.gj-node.gj-completed .gj-node-glow {
    box-shadow: 0 0 25px 8px rgba(196, 92, 106, 0.2);
}

.gj-step-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.gj-step-content.gj-visible {
    opacity: 1;
    transform: translateY(0);
}

.gj-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #c45c6a;
    animation: gj-pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes gj-pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* ===== SLIDER ===== */
.gj-slider-container {
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    cursor: grab;
}
.gj-slider-container:active { cursor: grabbing; }

.gj-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gj-feature-box {
    flex: 0 0 100%;
    padding: 0 0.75rem;
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gj-feature-box.gj-active {
    opacity: 1;
    transform: scale(1);
}

.gj-feature-box.gj-active .gj-feature-inner {
    box-shadow: 0 0 30px rgba(196, 92, 106, 0.15), 0 4px 20px rgba(139, 90, 43, 0.08);
    border-color: #f5d6db;
}

.gj-feature-box.gj-active .gj-feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(196, 92, 106, 0.2));
}

.gj-feature-inner {
    background: #ffffff;
    border: 1.5px solid #f0e6e0;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
}

/* HOVER LIFT EFFECT */
.gj-feature-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(139, 90, 43, 0.12);
    border-color: #e8d5c8;
}

.gj-feature-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gj-feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.gj-feature-desc {
    font-size: 0.9375rem;
    color: #888;
    line-height: 1.6;
}

.gj-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gj-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e8d5c8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gj-slider-dot.gj-active {
    background: #c45c6a;
    width: 24px;
    border-radius: 4px;
}

/* ===== TRUST BOXES - FADE IN/OUT ===== */
.gj-trust-card {
    background: linear-gradient(145deg, #1a0f0f 0%, #2d1f1f 50%, #1a0f0f 100%);
    border: 1px solid rgba(196, 92, 106, 0.15);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gj-trust-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
}

.gj-orb-1 {
    width: 200px;
    height: 200px;
    background: #c45c6a;
    top: -50px;
    right: -50px;
    animation: gj-orb-float 8s ease-in-out infinite;
}

.gj-orb-2 {
    width: 150px;
    height: 150px;
    background: #8b5a2b;
    bottom: -30px;
    left: -30px;
    animation: gj-orb-float 10s ease-in-out infinite reverse;
}

@keyframes gj-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.1); }
    66% { transform: translate(-10px, 10px) scale(0.95); }
}

.gj-rose-light { color: #e8a0aa; }

.gj-trust-stack {
    perspective: 800px;
}

.gj-trust-item {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.gj-trust-item.gj-fade-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.gj-trust-item.gj-fade-exit {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}

.gj-trust-pill {
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.5s ease;
}

.gj-trust-item.gj-fade-active .gj-trust-pill {
    animation: gj-trust-glow 0.6s ease-out forwards;
    border-color: rgba(196, 92, 106, 0.3);
    box-shadow:
        0 4px 20px rgba(196, 92, 106, 0.15),
        0 0 30px rgba(196, 92, 106, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes gj-trust-glow {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            0 4px 30px rgba(196, 92, 106, 0.25),
            0 0 50px rgba(196, 92, 106, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
        border-color: rgba(196, 92, 106, 0.4);
    }
    100% {
        box-shadow:
            0 4px 20px rgba(196, 92, 106, 0.15),
            0 0 30px rgba(196, 92, 106, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-color: rgba(196, 92, 106, 0.3);
    }
}

.gj-trust-item.gj-fade-active .gj-trust-pill span:first-child {
    animation: gj-icon-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes gj-icon-pop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .gj-section { padding: 3rem 0; }
    .gj-header-title { font-size: 1.875rem; line-height: 1.2; }
    .gj-header-sub { font-size: 1rem; padding: 0 0.5rem; }
    .gj-step { margin-bottom: 2.5rem; }
    .gj-node { width: 3rem; height: 3rem; font-size: 1.25rem; }
    .gj-card-pad { padding: 1.25rem; }
    .gj-card-title { font-size: 1.125rem; }
    .gj-card-text { font-size: 0.8125rem; }
    .gj-timeline-wrap { padding-left: 3rem; }
    .gj-timeline-line { left: 1.5rem; }
    .gj-timeline-progress { left: 1.5rem; }
    .gj-content-ml { margin-left: 0; }
    .gj-node-left { left: 1.5rem; }
    .gj-feature-icon { font-size: 2.5rem; }
    .gj-slider-dots { margin-top: 1rem; }
    .gj-trust-card { padding: 2rem 1.5rem; border-radius: 1.5rem; }
    .gj-trust-pill { padding: 0.75rem 1.25rem; }
    .gj-trust-pill span:last-child { font-size: 0.9375rem; }
}

@media (min-width: 768px) {
    .gj-section { padding: 6rem 0; }
    .gj-header-title { font-size: 3.5rem; }
    .gj-header-sub { font-size: 1.125rem; }
    .gj-step { margin-bottom: 5rem; }
    .gj-node { width: 3.5rem; height: 3.5rem; font-size: 1.5rem; }
    .gj-card-pad { padding: 1.5rem; }
    .gj-card-title { font-size: 1.25rem; }
    .gj-card-text { font-size: 0.875rem; }
    .gj-timeline-wrap { padding-left: 0; }
    .gj-timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }
    .gj-timeline-progress {
        left: 50%;
        transform: translateX(-50%);
    }
    .gj-node-center {
        left: 50%;
        transform: translateX(-50%);
    }
    .gj-feature-box { flex: 0 0 50%; padding: 0 0.5rem; }
    .gj-slider-dots { margin-top: 2rem; }
}

@media (min-width: 1024px) {
    .gj-header-title { font-size: 4rem; }
    .gj-step { margin-bottom: 6rem; }
    .gj-feature-box { flex: 0 0 33.333%; padding: 0 0.75rem; }
}
