/* ============================================================
   Restro Case Study – Frontend Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500&display=swap');

:root {
    --rcs-pink:      #fce4ec;
    --rcs-purple:    #7b2ff7;
    --rcs-red:       #e63946;
    --rcs-dark:      #1a1a2e;
    --rcs-text:      #333344;
    --rcs-muted:     #666680;
    --rcs-white:     #ffffff;
    --rcs-border:    #e8e8f0;
    --rcs-radius:    20px;
    --rcs-shadow:    0 8px 40px rgba(123,47,247,0.10);
    --rcs-transition: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Outer wrapper — holds prev button, slider, next button in a row */
.rcs-outer-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Wrapper */
.rcs-slider-wrapper {
    flex: 1;
    min-width: 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Track holds all slides side by side */
.rcs-slides-track {
    display: flex;
    transition: transform var(--rcs-transition);
    will-change: transform;
}

/* Each Slide */
.rcs-slide {
    min-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap:20px;
}

/* ---- LEFT PANEL ---- */
.rcs-left {
    flex: 0 0 42%;
    background: var(--rcs-pink);

    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    min-height: 420px;
    border-radius:20px;
    position: relative;
    overflow: hidden;
}


.rcs-phone-img {
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.18));
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.rcs-phone-img:hover {
    transform: translateY(-6px) scale(1.02);
}

.rcs-img-placeholder {
    width: 200px;
    height: 280px;
    background: rgba(123,47,247,0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rcs-purple);
    font-size: 14px;
    font-weight: 500;
    border: 2px dashed rgba(123,47,247,0.25);
}

/* ---- RIGHT PANEL ---- */
.rcs-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background: var(--rcs-white);
    border-radius: 20px;
}

/* Badge */
.rcs-badge {
    display: inline-block;
    background: rgba(123,47,247,0.08);
    color: var(--rcs-purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid rgba(123,47,247,0.18);
    width: fit-content;
}

/* Title */
.rcs-title {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--rcs-dark);
    margin: 0;
    line-height: 1.2;
	margin-top:15px;
}

/* Section */
.rcs-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rcs-section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--rcs-muted);
}

.rcs-section-heading svg {
    flex-shrink: 0;
}

/* List */
.rcs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rcs-list li {
    padding-left: 18px;
    position: relative;
    font-size: 14px;
    color: var(--rcs-text);
    line-height: 1.6;
	font-weight:500;
}

.rcs-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--rcs-purple);
    font-weight: 700;
}

/* Stats */
.rcs-stats {
    display: flex;
    gap: 32px;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--rcs-border);
}

.rcs-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rcs-stat-value {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #4647D3;
    line-height: 1;
}

.rcs-stats .rcs-stat:last-child .rcs-stat-value{
     color: #B00D6A;
}

.rcs-stat-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--rcs-muted);
}

/* ---- ARROWS ---- */
.rcs-arrow {
    flex-shrink: 0;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--rcs-border);
    background: var(--rcs-white);
    color: var(--rcs-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transition: all 0.25s ease;
}

.rcs-arrow:hover {
    background: var(--rcs-purple);
    border-color: var(--rcs-purple);
    color: var(--rcs-white);
    transform: scale(1.08);
}

.rcs-arrow-prev { order: -1; }
.rcs-arrow-next { order: 1; }

/* ---- DOTS ---- */
.rcs-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.rcs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--rcs-border);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.rcs-dot-active,
.rcs-dot:hover {
    background: var(--rcs-purple);
    width: 22px;
    border-radius: 4px;
}

/* No items */
.rcs-no-items {
    text-align: center;
    color: var(--rcs-muted);
    padding: 40px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .rcs-slide {
        flex-direction: column;
    }

    .rcs-left {
        flex: none;
        width: 100%;
        min-height: 260px;
        border-radius: var(--rcs-radius) var(--rcs-radius) 0 0;
        padding: 32px 24px;
    }

    .rcs-right {
        border-radius: 0 0 var(--rcs-radius) var(--rcs-radius);
        padding: 28px 24px;
    }

    .rcs-title { font-size: 22px; }

    .rcs-arrow-prev,
    .rcs-arrow-next {
        width: 36px;
        height: 36px;
        font-size: 18px;
		display:none;
    }

    .rcs-stat-value { font-size: 24px; }
}

@media (max-width: 480px) {
    .rcs-stats { gap: 20px; }
    .rcs-title { font-size: 18px; }
}
