/* ========================================
   RIO Introduction Section - Customer Page
   Matches existing customer.html design
   ======================================== */

.rio-intro-section {
    position: relative;
    float: left;
    width: 100%;
    height: auto;
    padding: 180px 0;
    background-color: #a77ec8 !important;
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 50%;
}

.rio-intro-section::before {
    content: none;
}

.rio-intro-section .cont-section {
    max-width: 815px;
    margin-left: 150px;
    padding-top: 80px;
    padding-bottom: 120px;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.1); }
}

.rio-intro-content {
    position: relative;
    z-index: 2;
}

.rio-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.rio-intro-title {
    font-size: 35px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 20px;
    line-height: 45px;
}

.rio-intro-description {
    font-size: 15px;
    line-height: 30px;
    color: #000000;
    margin-bottom: 30px;
}

/* Feature Items */
.rio-features {
    margin-bottom: 15px;
}

.rio-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.feature-icon-small {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.feature-icon-small svg {
    width: 14px;
    height: 14px;
}

.rio-feature-item span {
    font-size: 13px;
    font-weight: 500;
    color: #000000;
}

/* CTA Buttons */
.rio-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-rio-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.3);
}

.btn-rio-primary svg {
    width: 20px;
    height: 20px;
}

.btn-rio-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(99, 102, 241, 0.4);
    color: white;
    text-decoration: none;
}

.btn-rio-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #6366f1;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #e0e7ff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.btn-rio-secondary svg {
    width: 20px;
    height: 20px;
}

.btn-rio-secondary:hover {
    background: #f0f4ff;
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    color: #6366f1;
    text-decoration: none;
}

/* Visual Cards Stack */
.rio-intro-visual {
    position: relative;
    z-index: 2;
    padding: 0;
    margin-top: 20px;
}

.rio-card-stack {
    position: relative;
    height: 110px;
    display: flex;
    gap: 20px;
    perspective: 1000px;
}

.rio-visual-card {
    position: relative;
    width: 250px;
    height: 100px;
    background: white;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rio-visual-card:hover {
    transform: rotate(0deg) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rio-visual-card.card-1 {
    transform: rotate(-3deg);
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    border: 2px solid #bae6fd;
    z-index: 3;
}

.rio-visual-card.card-2 {
    transform: rotate(2deg);
    background: linear-gradient(135deg, #fff 0%, #faf5ff 100%);
    border: 2px solid #e9d5ff;
    z-index: 2;
}

.rio-visual-card.card-3 {
    transform: rotate(-2deg);
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
    border: 2px solid #bbf7d0;
    z-index: 1;
}

.card-header-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-badge {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.card-icon-badge svg {
    width: 20px;
    height: 20px;
}

.card-label {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

/* Info Badge */
.rio-info-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-number {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 2px;
}

.badge-text {
    font-size: 9px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scroll Button */
.rio-intro-section .scrollbottom {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: auto;
    top: -50px;
    z-index: 1;
    right: 50px;
    margin: auto;
    text-align: center;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet View (992px - 1199px) */
@media (max-width: 1199px) {
    .rio-intro-section {
        background-size: 45%;
        padding: 140px 0;
    }
    
    .rio-intro-section .cont-section {
        margin-left: 100px;
        padding-top: 60px;
        padding-bottom: 100px;
    }
}

/* Tablet View (768px - 991px) */
@media (max-width: 991px) {
    .rio-intro-section {
        background-size: 40%;
        background-position: left center;
        padding: 100px 0;
    }
    
    .rio-intro-section .cont-section {
        margin-left: 50px;
        max-width: 100%;
        padding-top: 40px;
        padding-bottom: 80px;
    }
    
    .rio-intro-title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 16px;
    }
    
    .rio-intro-description {
        font-size: 14px;
        line-height: 26px;
        margin-bottom: 25px;
    }
    
    .rio-cta-buttons {
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .btn-rio-primary,
    .btn-rio-secondary {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .rio-card-stack {
        height: auto;
        flex-direction: column;
        gap: 15px;
        max-width: 350px;
    }
    
    .rio-visual-card {
        width: 100%;
        height: 90px;
        padding: 15px;
        position: relative;
        top: auto !important;
    }
    
    .rio-visual-card.card-1,
    .rio-visual-card.card-2,
    .rio-visual-card.card-3 {
        transform: rotate(0deg);
    }
    
    .rio-visual-card:hover {
        transform: scale(1.02) !important;
    }
    
    .card-header-mini {
        gap: 8px;
    }
    
    .card-icon-badge {
        width: 34px;
        height: 34px;
    }
    
    .card-icon-badge svg {
        width: 18px;
        height: 18px;
    }
    
    .card-label {
        font-size: 14px;
    }
}

/* Mobile View (576px - 767px) */
@media (max-width: 767px) {
    .rio-intro-section {
        padding: 80px 0 60px;
        background-size: 100%;
        background-position: center top;
    }
    
    .rio-intro-section .cont-section {
        margin-left: 0;
        padding-top: 30px;
        padding-bottom: 60px;
    }
    
    .rio-intro-title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 14px;
    }
    
    .rio-intro-description {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 20px;
    }
    
    .rio-cta-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 35px;
    }
    
    .btn-rio-primary,
    .btn-rio-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .btn-rio-primary svg,
    .btn-rio-secondary svg {
        width: 18px;
        height: 18px;
    }
    
    .rio-intro-visual {
        margin-top: 30px;
        padding: 0;
    }
    
    .rio-card-stack {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
    }
    
    .rio-visual-card {
        width: 100%;
        height: 85px;
        padding: 14px;
    }
    
    .rio-visual-card.card-1,
    .rio-visual-card.card-2,
    .rio-visual-card.card-3 {
        transform: rotate(0deg);
    }
    
    .card-header-mini {
        gap: 10px;
    }
    
    .card-icon-badge {
        width: 36px;
        height: 36px;
    }
    
    .card-icon-badge svg {
        width: 18px;
        height: 18px;
    }
    
    .card-label {
        font-size: 13px;
    }
    
    .rio-intro-section .scrollbottom {
        right: 20px;
        top: -60px;
    }
}

/* Small Mobile View (320px - 575px) */
@media (max-width: 575px) {
    .rio-intro-section {
        padding: 60px 0 50px;
        background-size: 100%;
    }
    
    .rio-intro-section .cont-section {
        padding-top: 20px;
        padding-bottom: 50px;
    }
    
    .rio-intro-title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 12px;
    }
    
    .rio-intro-description {
        font-size: 13px;
        line-height: 22px;
        margin-bottom: 18px;
    }
    
    .rio-cta-buttons {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .btn-rio-primary,
    .btn-rio-secondary {
        padding: 11px 18px;
        font-size: 14px;
        gap: 6px;
    }
    
    .btn-rio-primary svg,
    .btn-rio-secondary svg {
        width: 16px;
        height: 16px;
    }
    
    .rio-card-stack {
        gap: 10px;
    }
    
    .rio-visual-card {
        height: 80px;
        padding: 12px;
    }
    
    .card-icon-badge {
        width: 32px;
        height: 32px;
    }
    
    .card-icon-badge svg {
        width: 16px;
        height: 16px;
    }
    
    .card-label {
        font-size: 12px;
    }
    
    .feature-icon-small {
        width: 28px;
        height: 28px;
    }
    
    .feature-icon-small svg {
        width: 12px;
        height: 12px;
    }
    
    .rio-feature-item span {
        font-size: 12px;
    }
    .rio-intro-section .scrollbottom {
        right: 30px;
        top: -775px;
        width: 40px;
        height: 40px;
    }
    
}

/* Extra Small Mobile View (< 400px) */
@media (max-width: 399px) {
    .rio-intro-title {
        font-size: 22px;
        line-height: 30px;
    }
    
    .rio-intro-description {
        font-size: 12px;
        line-height: 20px;
    }
    
    .btn-rio-primary,
    .btn-rio-secondary {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .rio-visual-card {
        height: 75px;
        padding: 10px;
    }
    
    .card-icon-badge {
        width: 30px;
        height: 30px;
    }
    
    .card-label {
        font-size: 11px;
    }
    
    .rio-intro-section .scrollbottom {
        right: 15px;
        top: -50px;
        width: 35px;
        height: 35px;
    }
}
