/* ============================================
   User Satisfaction Section Styles
   ============================================ */

   .user-satisfaction-section {
    width: 100%;
    min-height: 993px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #0A0E27;
    background-image: url('/user-satisfaction-bg.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: visible;
    border-radius: 62px 62px 0 0;
    box-sizing: border-box;
}


/* Headline Section */
.user-satisfaction-headline {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

.user-satisfaction-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #2B3F5F;
    border-radius: 20px;
    background: #192142;
    margin-bottom: 32px;
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    transition: all 0.3s ease;
}

.user-satisfaction-badge i {
    font-size: 16px;
}

.user-satisfaction-headline-line1 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1.2;
    text-align: center;
    color: #A7BFE9;
    margin: 0;
}

.user-satisfaction-headline-line2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 64px;
    line-height: 1.2;
    text-align: center;
    color: #ffffff;
    margin: 0;
}

/* Stats Cards Grid */
.stats-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    margin-bottom: 60px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Stat Card Base */
.stat-card {
    border-radius: 32px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Card Layout - Using grid positioning */
.stat-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
    min-height: 480px;
    align-items: flex-start;
    text-align: left;
}

.stat-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    min-height: 180px;
}

.stat-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    min-height: 300px;
}

.stat-card:nth-child(4) {
    grid-column: 3;
    grid-row: 1 / 3;
    min-height: 480px;
    align-items: flex-start;
    text-align: left;
}

/* Hover animations removed */

/* Card Color Variants */
/* Card 1 - 4.5 stars */
.stat-card:nth-child(1) {
    background: #DCE7FF;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Card 2 - 65K+ */
.stat-card-dark {
    background: #111C37;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card 3 - 350K+ */
.stat-card:nth-child(3) {
    background: #A7BFE9;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Card 4 - 10M+ */
.stat-card-blue {
    background: #183FBA;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Number Styles */
.stat-number-large {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 200px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

/* Card 1 - 4.5 stars */
.stat-card:nth-child(1) .stat-number-large {
    color: #183FBA;
    font-size: 220px;
    margin-bottom: 0px !important;
    margin-top: -15px;
    top: -10px;
    position: relative;
}

.stat-number {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 100px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

/* Card 4 - 10M+ - larger size and move up */
.stat-card:nth-child(4) .stat-number {
    font-size: 120px;
    margin-bottom: 10px;
    position: relative;
    top: -80px;
}

/* Card 2 - 65K+ */
.stat-card-dark .stat-number {
    color: #A7BFE9;
    font-size: 80px;
    margin-bottom: 8px;
}

/* Card 3 - 350K+ */
.stat-card:nth-child(3) .stat-number {
    color: #111C37;
    font-size: 80px;
    margin-bottom: 8px;
}

/* Card 4 - 10M+ */
.stat-card-blue .stat-number {
    color: #C0E0FF;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

/* Left align star rating in card 1 */
.stat-card:nth-child(1) .star-rating {
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    margin-top: -20px !important;
    position: relative;
    top: -10px;
}

.star-rating .star {
    width: 32px;
    height: 32px;
    position: relative;
    display: inline-block;
    background-image: url('https://pocketly-public-bucket.s3.ap-south-1.amazonaws.com/dbb46889-8ae9-45f2-9500-fb4cd5f2482c.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Card 1 - 4.5 stars */
.stat-card:nth-child(1) .star-rating .star {
    width: 50px !important;
    height: 50px !important;
}

.star-rating .star.half {
    position: relative;
    overflow: hidden;
}

.star-rating .star.half::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #DCE7FF;
    pointer-events: none;
    z-index: 10;
}

/* User Avatars */
.user-avatars {
    display: flex;
    margin-bottom: 24px;
    position: relative;
}

/* Left align avatars in card 4 */
.stat-card:nth-child(4) .user-avatars {
    justify-content: flex-start;
    top: -15px;
}

.user-satisfaction-badge-icon {
    width: 20px;
    height: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    object-fit: cover;
    margin-left: -15px;
}

/* Increase avatar size in card 4 */
.stat-card:nth-child(4) .user-avatar {
    width: 75px;
    height: 75px;
    border: none;
    margin-left: -18px;
}

.user-avatar:first-child {
    margin-left: 0;
}

/* Description Text */
.stat-description {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Card 1 - 4.5 stars description */
.stat-card:nth-child(1) .stat-description {
    color: #4A5568;
}

/* Card 2 - 65K+ description */
.stat-card-dark .stat-description {
    color: #A7BFE9;
    font-size: 18px;
}

/* Card 3 - 350K+ description */
.stat-card:nth-child(3) .stat-description {
    color: #111C37;
    font-size: 18px;
}

/* Card 4 - 10M+ description */
.stat-card-blue .stat-description {
    color: #C0E0FF;
    font-size: 22px;
}

/* Footer Text */
.satisfaction-footer-text {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.satisfaction-footer-text p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #6486C2;
    line-height: 1.8;
    margin: 0;
}

/* Responsive Design */
@media (min-width: 1440px) {
    .user-satisfaction-section {
        background-size: cover;
        min-height: 993px;
        padding: 0;
    }
    
    .user-satisfaction-headline {
        padding: 100px 90px 0;
    }
    
    .stats-cards-grid {
        padding: 0 90px;
    }
    
    .satisfaction-footer-text {
        padding: 0 40px 50px;
    }
}

@media (min-width: 1024px) and (max-width: 1350px) {
    .stat-card:nth-child(1) .stat-number-large {
        font-size: 180px;
    }
    
    .stat-card:nth-child(1) .star-rating .star {
        width: 42px !important;
        height: 42px !important;
    }
    
    .stat-card:nth-child(1) .stat-description {
        font-size: 20px;
    }
    
    .stat-card:nth-child(4) .stat-number {
        font-size: 100px;
    }
    
    .stat-card-blue .stat-description {
        font-size: 20px;
    }
    
    .stat-card:nth-child(4) .user-avatar {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 1024px) {
    .user-satisfaction-section {
        min-height: auto;
        padding: 0;
        border-radius: 24px 24px 0 0;
    }
    
    .user-satisfaction-headline {
        padding: 80px 40px 0;
        margin-bottom: 60px;
    }
    
    .stats-cards-grid {
        padding: 0 40px;
    }
    
    .satisfaction-footer-text {
        padding: 0 40px 60px;
    }
    
    .user-satisfaction-headline {
        margin-bottom: 60px;
    }
    
    .user-satisfaction-badge {
        font-size: 13px;
        padding: 7px 14px;
        margin-bottom: 24px;
    }
    
    .user-satisfaction-headline-line1 {
        font-size: 42px;
    }
    
    .user-satisfaction-headline-line2 {
        font-size: 52px;
    }
    
    .stats-cards-grid {
        gap: 24px;
        max-width: 100%;
    }
    
    .stat-card {
        padding: 28px 24px;
    }
    
    .stat-card:nth-child(1) {
        min-height: 380px;
    }
    
    .stat-card:nth-child(2) {
        min-height: 180px;
    }
    
    .stat-card:nth-child(3) {
        min-height: 200px;
    }
    
    .stat-card:nth-child(4) {
        min-height: 380px;
    }
    
    .stat-card:nth-child(1) .stat-number-large {
        font-size: 120px;
    }
    
    .stat-card:nth-child(4) .stat-number {
        font-size: 70px;
        top: -60px;
    }
    
    /* Smaller stars for 4.5 rating card on medium screens */
    .star-rating .star {
        width: 22px;
        height: 22px;
    }
    
    .stat-card:nth-child(1) .star-rating .star {
        width: 30px !important;
        height: 30px !important;
    }
    
    /* Add more vertical gap between 4.5 number and stars on medium screens */
    .stat-card:nth-child(1) .star-rating {
        margin-top: 8px !important;
        margin-bottom: 24px;
        top: 0;
    }
    
    .stat-card-dark .stat-number {
        font-size: 70px;
    }
    
    .stat-card:nth-child(3) .stat-number {
        font-size: 70px;
    }
    
    .stat-description {
        font-size: 20px;
    }
    
    .stat-card-dark .stat-description {
        font-size: 16px;
    }
    
    .stat-card:nth-child(3) .stat-description {
        font-size: 16px;
    }
    
    .stat-card-blue .stat-description {
        font-size: 20px;
    }
    
    .satisfaction-footer-text p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .user-satisfaction-section {
        min-height: auto;
        padding: 0;
        border-radius: 20px 20px 0 0;
    }
    
    .user-satisfaction-headline {
        padding: 60px 20px 0;
        margin-bottom: 40px;
    }
    
    .stats-cards-grid {
        padding: 0 20px;
    }
    
    .satisfaction-footer-text {
        padding: 0 20px 40px;
    }
    
    .user-satisfaction-badge {
        font-size: 11px;
        padding: 5px 10px;
        margin-bottom: 18px;
        gap: 6px;
    }
    
    .user-satisfaction-badge i {
        font-size: 11px;
    }
    
    .user-satisfaction-headline-line1 {
        font-size: 32px;
    }
    
    .user-satisfaction-headline-line2 {
        font-size: 38px;
    }
    
    .stats-cards-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .stat-card:nth-child(1),
    .stat-card:nth-child(2),
    .stat-card:nth-child(3),
    .stat-card:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
        min-height: auto;
        align-items: center;
        text-align: center;
    }
    
    .stat-card:nth-child(1) {
        align-items: center;
        text-align: center;
    }
    
    .stat-card:nth-child(4) {
        align-items: center;
        text-align: center;
    }
    
    .stat-card {
        padding: 28px 24px;
    }
    
    .stat-card:nth-child(1) .stat-number-large {
        font-size: 120px;
        margin-top: 0;
        top: 0;
    }
    
    .stat-number {
        font-size: 65px;
    }
    
    .stat-card:nth-child(4) .stat-number {
        font-size: 75px;
        top: 0;
        margin-bottom: 16px;
    }
    
    .stat-card-dark .stat-number {
        font-size: 60px;
    }
    
    .stat-card:nth-child(3) .stat-number {
        font-size: 60px;
    }
    
    .stat-card:nth-child(1) .star-rating {
        justify-content: center;
        margin-top: 0 !important;
        top: 0;
    }
    
    .star-rating .star {
        width: 26px;
        height: 26px;
    }
    
    .stat-card:nth-child(1) .star-rating .star {
        width: 36px !important;
        height: 36px !important;
    }
    
    .stat-card:nth-child(4) .user-avatars {
        justify-content: center;
        top: 0;
    }
    
    .user-avatar {
        width: 44px;
        height: 44px;
    }
    
    .stat-card:nth-child(4) .user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .stat-description {
        font-size: 18px;
    }
    
    .stat-card-dark .stat-description {
        font-size: 15px;
    }
    
    .stat-card:nth-child(3) .stat-description {
        font-size: 15px;
    }
    
    .stat-card-blue .stat-description {
        font-size: 18px;
    }
    
    .satisfaction-footer-text p {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .user-satisfaction-section {
        min-height: auto;
        padding: 10px 0 20px;
        border-radius: 16px 16px 0 0;
    }
    
    .user-satisfaction-headline {
        padding: 32px 16px 0;
        margin-bottom: 20px;
    }
    
    .stats-cards-grid {
        padding: 0 12px;
        max-width: 100%;
        margin: 0 auto 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 cards per row on small screens */
        gap: 16px;
    }

    /* On small screens, remove special grid placement so cards form a 2x2 grid */
    .stats-cards-grid .stat-card {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    .satisfaction-footer-text {
        padding: 0 12px 20px;
    }
    
    .user-satisfaction-badge {
        font-size: 9px;
        padding: 3px 7px;
        margin-bottom: 10px;
        gap: 4px;
    }
    
    .user-satisfaction-badge i {
        font-size: 10px;
    }
    
    .user-satisfaction-badge i {
        font-size: 14px;
    }
    
    .user-satisfaction-headline-line1 {
        font-size: 22px;
    }
    
    .user-satisfaction-headline-line2 {
        font-size: 26px;
    }
    
    .stats-cards-grid {
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .stat-card {
        padding: 14px 14px;
        min-height: auto;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .stat-card:nth-child(1) .stat-number-large {
        font-size: 72px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-card:nth-child(4) .stat-number {
        font-size: 48px;
        margin-bottom: 6px;
    }
    
    .stat-card-dark .stat-number {
        font-size: 38px;
    }
    
    .stat-card:nth-child(3) .stat-number {
        font-size: 38px;
    }
    
    .star-rating {
        gap: 4px;
        margin-bottom: 10px;
    }
    
    .stat-card:nth-child(1) .star-rating {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .star-rating .star {
        width: 18px;
        height: 18px;
    }
    
    .stat-card:nth-child(1) .star-rating .star {
        width: 26px !important;
        height: 26px !important;
    }
    
    .user-avatars {
        margin-bottom: 10px;
    }
    
    .user-avatar {
        width: 30px;
        height: 30px;
        border-width: 2px;
        margin-left: -8px;
    }
    
    .stat-card:nth-child(4) .user-avatar {
        width: 30px;
        height: 30px;
        margin-left: -8px;
    }
    
    .stat-description {
        font-size: 13px;
        line-height: 1.25;
    }
    
    .stat-card-dark .stat-description {
        font-size: 12px;
    }
    
    .stat-card:nth-child(3) .stat-description {
        font-size: 12px;
    }
    
    .stat-card-blue .stat-description {
        font-size: 13px;
    }
    
    .satisfaction-footer-text p {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .user-satisfaction-section {
        min-height: auto;
        padding: 8px 0 16px;
    }
    
    .user-satisfaction-headline {
        padding: 28px 10px 0;
        margin-bottom: 18px;
    }
    
    .stats-cards-grid {
        padding: 0 10px;
        max-width: 100%;
        margin: 0 auto 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* keep 2 columns even on very small screens */
        gap: 12px;
    }

    .stats-cards-grid .stat-card {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    .satisfaction-footer-text {
        padding: 0 10px 18px;
    }
    
    .user-satisfaction-badge {
        font-size: 9px;
        padding: 3px 7px;
    }
    
    .user-satisfaction-headline-line1 {
        font-size: 20px;
    }
    
    .user-satisfaction-headline-line2 {
        font-size: 22px;
    }
    
    .stats-cards-grid {
        gap: 12px;
    }
    
    .stat-card {
        padding: 12px 12px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .stat-card:nth-child(1) .stat-number-large {
        font-size: 62px;
    }
    
    .stat-number {
        font-size: 34px;
    }
    
    .stat-card:nth-child(4) .stat-number {
        font-size: 40px;
    }
    
    .stat-card-dark .stat-number {
        font-size: 32px;
    }
    
    .stat-card:nth-child(3) .stat-number {
        font-size: 32px;
    }
    
    .star-rating .star {
        width: 16px;
        height: 16px;
    }
    
    .stat-card:nth-child(1) .star-rating .star {
        width: 22px !important;
        height: 22px !important;
    }
    
    .user-avatar {
        width: 26px;
        height: 26px;
    }
    
    .stat-card:nth-child(4) .user-avatar {
        width: 28px;
        height: 28px;
    }
    
    .stat-description {
        font-size: 12px;
    }
    
    .stat-card-dark .stat-description {
        font-size: 11px;
    }
    
    .stat-card:nth-child(3) .stat-description {
        font-size: 11px;
    }
    
    .stat-card-blue .stat-description {
        font-size: 12px;
    }
    
    .satisfaction-footer-text p {
        font-size: 12px;
    }
}