/* Home Page Interactive Styles */

/* Floating Background Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    animation: premiumFloat 12s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    cursor: pointer;
}

/* Premium glow effect */
.floating-icon::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.floating-icon:hover::before {
    opacity: 1;
}

/* Hover effect for premium feel */
.floating-icon:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(59, 130, 246, 0.2));
}

.floating-icon svg {
    color: rgba(139, 92, 246, 0.7);
    filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-icon:hover svg {
    color: rgba(139, 92, 246, 0.9);
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
    transform: scale(1.1);
}

.floating-icon svg {
    width: 2rem;
    height: 2rem;
}

.floating-icon:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    width: 4rem;
    height: 4rem;
    transform: rotate(-15deg);
}
.floating-icon:nth-child(1) svg {
    width: 1.8rem;
    height: 1.8rem;
}
.floating-icon:nth-child(2) {
    top: 25%;
    right: 12%;
    animation-delay: -2s;
    width: 5rem;
    height: 5rem;
    transform: rotate(20deg);
}
.floating-icon:nth-child(2) svg {
    width: 2.2rem;
    height: 2.2rem;
}
.floating-icon:nth-child(3) {
    top: 45%;
    left: 85%;
    animation-delay: -4s;
    width: 3.5rem;
    height: 3.5rem;
    transform: rotate(-10deg);
}
.floating-icon:nth-child(3) svg {
    width: 1.6rem;
    height: 1.6rem;
}
.floating-icon:nth-child(4) {
    top: 65%;
    left: 3%;
    animation-delay: -6s;
    width: 4.5rem;
    height: 4.5rem;
    transform: rotate(25deg);
}
.floating-icon:nth-child(4) svg {
    width: 2rem;
    height: 2rem;
}
.floating-icon:nth-child(5) {
    top: 75%;
    right: 20%;
    animation-delay: -8s;
    width: 5.5rem;
    height: 5.5rem;
    transform: rotate(-20deg);
}
.floating-icon:nth-child(5) svg {
    width: 2.5rem;
    height: 2.5rem;
}
.floating-icon:nth-child(6) {
    top: 35%;
    left: 25%;
    animation-delay: -3s;
    width: 3rem;
    height: 3rem;
    transform: rotate(15deg);
}
.floating-icon:nth-child(6) svg {
    width: 1.4rem;
    height: 1.4rem;
}
.floating-icon:nth-child(7) {
    top: 85%;
    left: 55%;
    animation-delay: -5s;
    width: 4rem;
    height: 4rem;
    transform: rotate(-25deg);
}
.floating-icon:nth-child(7) svg {
    width: 1.8rem;
    height: 1.8rem;
}
.floating-icon:nth-child(8) {
    top: 10%;
    left: 45%;
    animation-delay: -7s;
    width: 4.5rem;
    height: 4.5rem;
    transform: rotate(10deg);
}
.floating-icon:nth-child(8) svg {
    width: 2rem;
    height: 2rem;
}

@keyframes premiumFloat {
    0% {
        transform: translateY(0px) translateX(0px) rotate(var(--rotation, 0deg)) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) translateX(15px) rotate(calc(var(--rotation, 0deg) + 5deg)) scale(1.05);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-20px) rotate(calc(var(--rotation, 0deg) + 2deg)) scale(0.95);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-25px) translateX(10px) rotate(calc(var(--rotation, 0deg) - 3deg)) scale(1.02);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(var(--rotation, 0deg)) scale(1);
        opacity: 0.6;
    }
}

/* Add hover effect for premium feel */
.floating-icon:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Add rotation variables to each icon */
.floating-icon:nth-child(1) {
    --rotation: -15deg;
}
.floating-icon:nth-child(2) {
    --rotation: 20deg;
}
.floating-icon:nth-child(3) {
    --rotation: -10deg;
}
.floating-icon:nth-child(4) {
    --rotation: 25deg;
}
.floating-icon:nth-child(5) {
    --rotation: -20deg;
}
.floating-icon:nth-child(6) {
    --rotation: 15deg;
}
.floating-icon:nth-child(7) {
    --rotation: -25deg;
}
.floating-icon:nth-child(8) {
    --rotation: 10deg;
}

/* Improved Animations - No Blinking */
@keyframes smoothFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.smooth-animate {
    opacity: 0;
    animation: smoothFadeInUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}
.delay-200 {
    animation-delay: 0.2s;
}
.delay-300 {
    animation-delay: 0.3s;
}
.delay-400 {
    animation-delay: 0.4s;
}
.delay-500 {
    animation-delay: 0.5s;
}

/* Redesigned Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quick-action-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.quick-action-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-action-card:hover::before {
    transform: scaleX(1);
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.quick-action-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    transition: transform 0.3s ease;
}

.quick-action-card:hover .quick-action-icon {
    transform: scale(1.1) rotate(5deg);
}

.quick-action-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.quick-action-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.quick-action-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Loading Animation */
.search-loading {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f4f6;
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 0.8s ease-in-out infinite;
}

.search-loading.hidden {
    display: none !important;
}

/* Floating Animation for Background Shapes */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-reverse {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(20px) rotate(180deg);
    }
}

.floating-shape {
    animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(2) {
    animation: float-reverse 8s ease-in-out infinite;
    animation-delay: -2s;
}

.floating-shape:nth-child(3) {
    animation: float 10s ease-in-out infinite;
    animation-delay: -4s;
}

/* Modern Search Bar Design */
.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.search-input-container:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.search-input-container:focus-within {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 12px 40px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
    padding-right: 12px;
    pointer-events: none;
}

.search-input {
    flex: 1;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 500;
    color: #1f2937;
    background: transparent;
    border: none;
    outline: none;
    placeholder-color: #9ca3af;
}

.search-input:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    --tw-ring-shadow: none !important;
    --tw-ring-offset-shadow: none !important;
}

.search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.search-button-container {
    padding: 8px;
}

.search-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.search-button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.search-button:active {
    transform: translateY(0);
}

/* Search Suggestions Container */
.search-suggestions-container {
    position: relative;
    width: 100%;
}

.search-suggestions-dropdown {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(8px) scale(0.95);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: normal;
    word-wrap: break-word;
    z-index: 999999;
}

.search-suggestions-dropdown.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 0;
}

.suggestion-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateX(4px);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-icon {
    width: 24px;
    height: 24px;
    color: #3b82f6;
    flex-shrink: 0;
}

.suggestion-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.suggestion-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Carousel Controls */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 5;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-nav.prev {
    left: -24px;
}

.carousel-nav.next {
    right: -24px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-indicator.active {
    background: #3b82f6;
    transform: scale(1.25);
}

/* Tool Cards Enhanced */
.tool-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.tool-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    font-size: 12px;
    color: #6b7280;
}

/* Category Filter */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 8px 16px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: #6b7280;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
}

/* Demo Section */
.demo-btn {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 14px;
}

.demo-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
}

/* Update Cards */
.update-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.update-card:hover {
    transform: translateY(-4px);
}

.update-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.update-badge.new {
    background: #10b981;
}

.update-badge.improved {
    background: #3b82f6;
}

.update-badge.feature {
    background: #8b5cf6;
}

.update-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

.update-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.update-description {
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.6;
}

.update-link {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.update-link:hover {
    color: #2563eb;
}

/* CTA Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-primary {
    background: white;
    color: #3b82f6;
}

.cta-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floating-icon {
        font-size: 1.2rem !important;
        opacity: 0.03 !important;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quick-action-card {
        padding: 16px;
    }

    .quick-action-icon {
        width: 36px;
        height: 36px;
    }

    .quick-action-title {
        font-size: 16px;
    }

    .carousel-nav {
        display: none;
    }

    .feature-card,
    .tool-card,
    .update-card {
        margin-bottom: 16px;
    }

    .floating-shape {
        opacity: 0.3;
    }

    .search-suggestions {
        position: fixed;
        top: auto;
        left: 16px;
        right: 16px;
        bottom: 16px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f4f6;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Reviews Section */
.review-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.review-card:hover::before {
    transform: scaleX(1);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-badge {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.review-text {
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
}

.review-text::before {
    content: '"';
    position: absolute;
    left: -12px;
    top: -8px;
    font-size: 2rem;
    color: #d1d5db;
    font-family: serif;
}

.review-text::after {
    content: '"';
    position: absolute;
    right: -8px;
    bottom: -20px;
    font-size: 2rem;
    color: #d1d5db;
    font-family: serif;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
}

.review-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
}

.review-title {
    color: #6b7280;
    font-size: 0.85rem;
}

.review-stat {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.review-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.review-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.review-stat-label {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.review-stat .review-stars {
    justify-content: center;
    margin-top: 8px;
}

/* Responsive Design for Reviews */
@media (max-width: 768px) {
    .review-card {
        padding: 20px;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .review-stat-number {
        font-size: 2rem;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .review-badge {
        align-self: flex-end;
    }
}
