/* ========================================
   ABOUT US SECTION - ENHANCED DESIGN
   ======================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch;
}

/* LEFT SECTION */
.about-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-left .badge {
    display: inline-block;
    width: fit-content;
}

.about-left h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.about-description {
    margin: 0;
}

.about-description p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* About Features Grid */
.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-feature-item {
    background: rgba(26, 26, 26, 0.6);
    border: 1.5px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.about-feature-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateX(5px);
    background: rgba(26, 26, 26, 0.8);
}

.feature-icon-small {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

.feature-content-small h4 {
    font-size: 1rem;
    color: #FFD700;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
}

.feature-content-small p {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
}

/* RIGHT SECTION - Image */
.about-right {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
    transition: all 0.4s ease;
    width: 100%;
    margin-top: 3.7rem;
    height: 650px;
}

.about-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(255, 215, 0, 0.3);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-left h2 {
        font-size: 2rem;
    }
    
    .about-image-wrapper {
        margin-top: 0;
        height: auto;
    }
    
    .about-main-image {
        height: auto;
    }
}

@media (max-width: 768px) {
    .about-features-grid {
        grid-template-columns: 1fr;
    }
}





/* About Features Grid */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s ease;
}

.about-feature-item:hover::before {
    left: 100%;
}

/* Feature Icon Small */
.feature-icon-small {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-icon-small svg {
    width: 26px;
    height: 26px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-icon-small::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Individual Colors for Small Icons */

/* Secure Platform - Blue */
.about-feature-item:nth-child(1) .feature-icon-small {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
}

.about-feature-item:nth-child(1) .feature-icon-small svg {
    color: #3b82f6;
}

.about-feature-item:nth-child(1) .feature-icon-small::after {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.about-feature-item:nth-child(1)::before {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
}

.about-feature-item:nth-child(1):hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.about-feature-item:nth-child(1):hover .feature-icon-small svg {
    color: #60a5fa;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.8));
}

/* Instant Payouts - Purple */
.about-feature-item:nth-child(2) .feature-icon-small {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(147, 51, 234, 0.1));
}

.about-feature-item:nth-child(2) .feature-icon-small svg {
    color: #a855f7;
}

.about-feature-item:nth-child(2) .feature-icon-small::after {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.about-feature-item:nth-child(2)::before {
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), transparent);
}

.about-feature-item:nth-child(2):hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.2);
}

.about-feature-item:nth-child(2):hover .feature-icon-small svg {
    color: #c084fc;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8));
}

/* Real-Time Data - Green */
.about-feature-item:nth-child(3) .feature-icon-small {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
}

.about-feature-item:nth-child(3) .feature-icon-small svg {
    color: #10b981;
}

.about-feature-item:nth-child(3) .feature-icon-small::after {
    background: linear-gradient(135deg, #10b981, #059669);
}

.about-feature-item:nth-child(3)::before {
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
}

.about-feature-item:nth-child(3):hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.about-feature-item:nth-child(3):hover .feature-icon-small svg {
    color: #34d399;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.8));
}

/* Expert Team - Orange */
.about-feature-item:nth-child(4) .feature-icon-small {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 88, 12, 0.1));
}

.about-feature-item:nth-child(4) .feature-icon-small svg {
    color: #f97316;
}

.about-feature-item:nth-child(4) .feature-icon-small::after {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.about-feature-item:nth-child(4)::before {
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
}

.about-feature-item:nth-child(4):hover {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2);
}

.about-feature-item:nth-child(4):hover .feature-icon-small svg {
    color: #fb923c;
    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.8));
}

/* Hover Effects */
.about-feature-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.about-feature-item:hover .feature-icon-small {
    transform: scale(1.15) rotate(5deg);
}

.about-feature-item:hover .feature-icon-small::after {
    opacity: 0.5;
}

.about-feature-item:hover .feature-icon-small svg {
    transform: scale(1.1) rotate(-5deg);
}

/* Individual Animations */
.about-feature-item:nth-child(1):hover .feature-icon-small svg {
    animation: lockShake 0.6s ease-in-out;
}

.about-feature-item:nth-child(2):hover .feature-icon-small svg {
    animation: lightningFlash 1s ease-in-out infinite;
}

.about-feature-item:nth-child(3):hover .feature-icon-small svg {
    animation: chartRise 1.5s ease-in-out infinite;
}

.about-feature-item:nth-child(4):hover .feature-icon-small svg {
    animation: targetSpin 2s linear infinite;
}

/* Keyframe Animations */
@keyframes lockShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

@keyframes lightningFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes chartRise {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes targetSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Feature Content Small */
.feature-content-small h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #fff;
    transition: color 0.3s ease;
}

.feature-content-small p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    transition: color 0.3s ease;
}

.about-feature-item:hover .feature-content-small h4 {
    color: #ffd700;
}

.about-feature-item:hover .feature-content-small p {
    color: rgba(255, 255, 255, 0.8);
}

/* Entrance Animation */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-feature-item {
    animation: slideInLeft 0.6s ease-out backwards;
}

.about-feature-item:nth-child(1) { animation-delay: 0.1s; }
.about-feature-item:nth-child(2) { animation-delay: 0.2s; }
.about-feature-item:nth-child(3) { animation-delay: 0.3s; }
.about-feature-item:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-icon-small {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
    
    .feature-icon-small svg {
        width: 22px;
        height: 22px;
    }
    
    .about-feature-item {
        padding: 1.25rem;
    }
    
    .feature-content-small h4 {
        font-size: 0.95rem;
    }
    
    .feature-content-small p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .about-features-grid {
        gap: 0.75rem;
    }
    
    .about-feature-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .feature-icon-small {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .feature-icon-small svg {
        width: 20px;
        height: 20px;
    }
}
