/* Why Choose Us Section Styles */

.why-choose-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Orbiting Elements Visual */
.orbiting-visual-section {
    position: relative;
    z-index: 2;
}

.orbiting-visual {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-container {
    position: relative;
    width: 300px;
    height: 300px;
}

/* Central Hub */
.mission-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 3;
}

.hub-core {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6905E9, #7C01DD);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(105, 5, 233, 0.5);
    animation: hubPulse 3s ease-in-out infinite;
}

.hub-core i {
    color: white;
    font-size: 2rem;
}

.hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(105, 5, 233, 0.3);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.hub-ring-1 {
    width: 120px;
    height: 120px;
    animation-duration: 15s;
}

.hub-ring-2 {
    width: 180px;
    height: 180px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.hub-ring-3 {
    width: 240px;
    height: 240px;
    animation-duration: 35s;
}

@keyframes hubPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Orbiting Elements */
.orbit-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: orbit 20s linear infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.orbit-icon {
    color: rgba(105, 5, 233, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.orbit-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-align: center;
}

.orbit-1 {
    animation-delay: 0s;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-2 {
    animation-delay: -3.3s;
    top: 25%;
    right: 0;
}

.orbit-3 {
    animation-delay: -6.6s;
    bottom: 25%;
    right: 0;
}

.orbit-4 {
    animation-delay: -10s;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-5 {
    animation-delay: -13.3s;
    bottom: 25%;
    left: 0;
}

.orbit-6 {
    animation-delay: -16.6s;
    top: 25%;
    left: 0;
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

/* Orbiting Content */
.orbiting-content {
    padding-left: 2rem;
}

.orbiting-title {
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.orbiting-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.orbiting-stats .stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbiting-stats .stat-number {
    margin-bottom: 0.5rem;
}

.orbiting-stats .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(105, 5, 233, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 1, 221, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(192, 112, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Section Titles */
.section-title {
    background: linear-gradient(135deg, #6905E9, #7C01DD, #C070FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(105, 5, 233, 0.3);
}

.section-subtitle {
    letter-spacing: 1px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

/* Why Choose Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.why-choose-item-wrapper {
    position: relative;
    z-index: 2;
}

/* Why Choose Item */
.why-choose-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.why-choose-item:hover {
    transform: none;
    box-shadow: var(--shadow-glow), var(--shadow-heavy);
    border-color: rgba(105, 5, 233, 0.3);
}

.why-choose-item[data-featured="true"] {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.05);
}

.why-choose-item[data-featured="true"]:hover {
    border-color: rgba(255, 193, 7, 0.5);
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.2);
}

/* Item Icon */
.item-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 0 30px rgba(105, 5, 233, 0.3);
}

.item-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(105, 5, 233, 0.3), rgba(124, 1, 221, 0.3), rgba(192, 112, 255, 0.3));
    z-index: -1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

.item-icon-primary {
    background: linear-gradient(135deg, rgba(105, 5, 233, 0.2), rgba(105, 5, 233, 0.1));
    border: 2px solid rgba(105, 5, 233, 0.3);
    color: #6905E9;
}

.item-icon-success {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.2), rgba(25, 135, 84, 0.1));
    border: 2px solid rgba(25, 135, 84, 0.3);
    color: #198754;
}

.item-icon-info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.2), rgba(13, 202, 240, 0.1));
    border: 2px solid rgba(13, 202, 240, 0.3);
    color: #0dcaf0;
}

.item-icon-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.item-icon-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
    border: 2px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.item-icon-secondary {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.2), rgba(108, 117, 125, 0.1));
    border: 2px solid rgba(108, 117, 125, 0.3);
    color: #6c757d;
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--warning-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    box-shadow: var(--shadow-medium);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.1);
    }
}

/* Item Content */
.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
}

.item-title {
    color: var(--text-light, #ffffff);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 3;
}

.item-description {
    color: var(--text-muted, rgba(255, 255, 255, 0.85));
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    position: relative;
    z-index: 3;
}

/* Item Features */
.item-features {
    margin-top: auto;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-muted, rgba(255, 255, 255, 0.85));
    font-size: 0.9rem;
    position: relative;
    z-index: 3;
}

.feature-check {
    color: var(--success-color);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Hover Effects */
.item-hover-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.hover-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(105, 5, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
}

.why-choose-item:hover .hover-glow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
}

.hover-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%236905E9" opacity="0.3"><animate attributeName="opacity" values="0.3;0.8;0.3" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1" fill="%237C01DD" opacity="0.2"><animate attributeName="opacity" values="0.2;0.6;0.2" dur="3s" repeatCount="indefinite"/></circle><circle cx="40" cy="70" r="1" fill="%23C070FF" opacity="0.4"><animate attributeName="opacity" values="0.4;0.7;0.4" dur="2.5s" repeatCount="indefinite"/></circle></svg>');
    opacity: 0;
    transition: var(--transition);
}

.why-choose-item:hover .hover-particles {
    opacity: 1;
}

/* Item Background */
.item-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="item-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%234a5568" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23item-pattern)"/></svg>');
    opacity: 0.3;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(105, 5, 233, 0.02) 0%, 
        rgba(124, 1, 221, 0.01) 50%, 
        rgba(192, 112, 255, 0.02) 100%);
}

/* Comparison Section */
.comparison-section {
    position: relative;
    z-index: 2;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.comparison-card:hover {
    transform: none;
    box-shadow: var(--shadow-medium);
}

.comparison-title {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-row {
    display: contents;
}

.comparison-row.header {
    font-weight: bold;
}

.comparison-cell {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comparison-row.header .comparison-cell {
    background: rgba(105, 5, 233, 0.2);
    font-weight: bold;
}

.comparison-cell.encrono {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.comparison-cell.traditional {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Stats Section */
.why-choose-stats {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item:hover {
    transform: none;
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

/* CTA Section */
.why-choose-cta {
    position: relative;
    z-index: 2;
}

.cta-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: var(--transition);
}

.cta-content:hover {
    transform: none;
    box-shadow: var(--shadow-medium);
}

.cta-title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-choose-item {
        padding: 1.5rem;
    }
    
    .item-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .item-title {
        font-size: 1.1rem;
    }
    
    .item-description {
        font-size: 0.9rem;
    }
    
    .comparison-table {
        grid-template-columns: 1fr;
    }
    
    .comparison-row {
        display: block;
        margin-bottom: 1rem;
    }
    
    .comparison-cell {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .why-choose-section {
        padding: 2rem 0;
    }
    
    .why-choose-item {
        padding: 1rem;
    }
    
    .comparison-card {
        padding: 1.5rem;
    }
    
    .cta-content {
        padding: 2rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Delays for Staggered Effect */
.why-choose-item-wrapper[data-aos="fade-up"] {
    animation-delay: calc(var(--aos-delay, 0) * 100ms);
}
