/* ==========================================================================
   REEM CARE & BEAUTY — "Google Flow" VFX Hero Stylesheet
   ========================================================================== */

.rc-flow-hero-wrap {
    position: relative;
    background: radial-gradient(circle at 50% 20%, #701A75 0%, #4A044E 45%, #18031A 100%);
    min-height: 540px;
    overflow: hidden;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Fluid Canvas Layer */
#rc-flow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    cursor: crosshair;
}

/* Foreground Content */
.rc-flow-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    width: 100%;
}

.rc-flow-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .rc-flow-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Slide Transition Animations */
.rc-flow-slides-holder {
    position: relative;
    min-height: 320px;
}

.rc-flow-slide {
    display: none;
    animation: flowFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rc-flow-slide.is-active {
    display: block;
}

@keyframes flowFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Eyebrow Badge */
.rc-flow-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(254, 240, 138, 0.35);
    color: #FDE68A;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Title & Description */
.rc-flow-title {
    font-size: clamp(28px, 4.2vw, 46px);
    font-weight: 900;
    line-height: 1.22;
    margin: 0 0 16px 0;
    color: #FFFFFF;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.rc-flow-title em {
    font-style: normal;
    background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #F43F5E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rc-flow-desc {
    font-size: 16px;
    color: #FDF2F8;
    line-height: 1.8;
    margin: 0 0 28px 0;
    max-width: 580px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* Action Buttons */
.rc-flow-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 28px;
}

.rc-flow-btn-primary {
    background: linear-gradient(135deg, #BE185D 0%, #E11D48 50%, #F43F5E 100%) !important;
    color: #FFFFFF !important;
    padding: 15px 34px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.rc-flow-btn-primary:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(225, 29, 72, 0.55) !important;
}

.rc-flow-btn-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    color: #FFFFFF !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.rc-flow-btn-gold:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.5) !important;
}

/* Glass Interactive Showcase Cards */
.rc-flow-showcase {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    position: relative;
}

.rc-flow-nav-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.rc-flow-nav-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px;
    color: #FFFFFF;
    text-align: right;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rc-flow-nav-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(253, 230, 138, 0.4);
    transform: translateY(-2px);
}

.rc-flow-nav-btn.is-active {
    background: linear-gradient(135deg, rgba(190, 24, 93, 0.55) 0%, rgba(131, 24, 67, 0.75) 100%);
    border-color: #F472B6;
    box-shadow: 0 6px 18px rgba(190, 24, 93, 0.4);
}

.rc-flow-nav-icon {
    font-size: 22px;
}

.rc-flow-nav-title {
    font-weight: 800;
    font-size: 14px;
    color: #FFFFFF;
}

.rc-flow-nav-subtitle {
    font-size: 11px;
    color: #FCE7F3;
    opacity: 0.85;
}

/* Arrow Navigation */
.rc-flow-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rc-flow-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rc-flow-arrow-btn:hover {
    background: #BE185D;
    border-color: #BE185D;
    transform: scale(1.1);
}

/* Brands Ticker */
.rc-flow-brands-wrap {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.rc-flow-brands-title {
    font-size: 12px;
    font-weight: 800;
    color: #FDE68A;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.rc-flow-brands-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rc-flow-brand-tag {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.rc-flow-brand-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FDE68A;
    color: #FDE68A;
    transform: translateY(-2px);
}/* ── Google Flow Logo VFX Engine ── */
.rc-flow-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 3px;
    perspective: 800px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

/* Ambient Fluid Glow behind Logo */
.rc-flow-logo-ambient-glow {
    position: absolute;
    inset: -4px;
    background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.45) 0%, rgba(190, 24, 93, 0.35) 50%, transparent 80%);
    border-radius: 18px;
    filter: blur(12px);
    opacity: 0.7;
    animation: flowLogoPulse 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

@keyframes flowLogoPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
        filter: blur(10px);
    }
    50% {
        transform: scale(1.05);
        opacity: 0.85;
        filter: blur(16px);
    }
    100% {
        transform: scale(0.98);
        opacity: 0.6;
        filter: blur(12px);
    }
}

/* Rotating Fluid Conic Border */
.rc-flow-logo-border-fx {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: conic-gradient(from 0deg, #F59E0B, #F43F5E, #BE185D, #701A75, #F59E0B);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: flowBorderRotate 6s linear infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

@keyframes flowBorderRotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

/* Glass Card Housing */
.rc-flow-logo-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(157, 23, 77, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    overflow: hidden;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rc-flow-logo-img {
    height: auto;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease;
}

/* Light Sweep Shimmer Beam */
.rc-flow-logo-shimmer-sweep {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.75) 50%, transparent 80%);
    transform: skewX(-25deg);
    animation: flowLogoSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 4;
}

@keyframes flowLogoSweep {
    0%, 60% {
        left: -150%;
    }
    100% {
        left: 200%;
    }
}

/* Interactive Sparkle Canvas */
.rc-flow-logo-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

/* Hover & Active 3D Reactions */
.rc-flow-logo-wrap:hover {
    transform: translateY(-2px) scale(1.02);
}

.rc-flow-logo-wrap:hover .rc-flow-logo-ambient-glow {
    opacity: 1;
    filter: blur(18px);
    transform: scale(1.1);
}

.rc-flow-logo-wrap:hover .rc-flow-logo-glass-card {
    box-shadow: 0 8px 26px rgba(190, 24, 93, 0.2), inset 0 1px 2px rgba(255, 255, 255, 1);
    background: #FFFFFF;
}