/* ==========================================
   FEATURES PAGE STYLES
   ========================================== */

.features-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    text-align: center;
}

.features-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.features-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-md);
}

.features-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Core Features Showcase */
.core-features {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.feature-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    padding: var(--spacing-xl);
    background: #F9FAFB;
    border-radius: var(--radius-xl);
}

.feature-showcase-item.reverse {
    direction: rtl;
}

.feature-showcase-item.reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.feature-showcase-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: var(--spacing-md);
}

.feature-showcase-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

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

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
    font-size: 1rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.25rem;
}

.feature-showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 100%;
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Speed Indicator Visual */
.speed-indicator {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speed-bar {
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-green) 80%, #E5E7EB 80%, #E5E7EB 100%);
    border-radius: 10px;
    position: relative;
    animation: speedPulse 2s infinite;
}

@keyframes speedPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.speed-label {
    position: absolute;
    top: -40px;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-purple);
}

/* Pricing Visual */
.pricing-visual {
    padding: var(--spacing-lg);
}

.fee-comparison {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.fee-bar {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: white;
    position: relative;
}

.fee-bar.traditional {
    background: #9CA3AF;
    width: 100%;
}

.fee-bar.utransfa {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    width: 17%;
    animation: growBar 1.5s ease-out;
}

@keyframes growBar {
    from { width: 0; }
    to { width: 17%; }
}

/* Code Visual */
.code-visual {
    background: #1E293B;
    padding: var(--spacing-lg);
}

.code-snippet {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
}

.code-comment {
    color: #64748B;
}

.code-keyword {
    color: #C084FC;
}

.code-string {
    color: #4FD35A;
}

.code-number {
    color: #F59E0B;
}

/* Security Features */
.security-features {
    padding: var(--spacing-2xl) 0;
    background: #F9FAFB;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.security-card {
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.security-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: var(--spacing-sm);
}

.security-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Payment Features */
.payment-features {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.payment-card {
    padding: var(--spacing-lg);
    background: #F9FAFB;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.payment-card:hover {
    border-color: var(--primary-purple);
    background: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.payment-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: var(--spacing-sm);
}

.payment-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.crypto-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.crypto-badge {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8125rem;
}

/* Business Tools */
.business-tools {
    padding: var(--spacing-2xl) 0;
    background: #F9FAFB;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.tool-card {
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.tool-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: var(--spacing-sm);
}

.tool-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Comparison Table */
.comparison-section {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table thead {
    background: #F9FAFB;
}

.comparison-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 700;
    color: var(--dark-navy);
    border-bottom: 2px solid #E5E7EB;
}

.comparison-table th.highlight {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: white;
}

.comparison-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid #E5E7EB;
    color: var(--text-muted);
}

.comparison-table td.highlight {
    background: #F3E8FF;
    font-weight: 600;
    color: var(--primary-purple);
}

.comparison-table tbody tr:hover {
    background: #FAFAFA;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-showcase-item {
        grid-template-columns: 1fr;
    }
    
    .feature-showcase-item.reverse {
        direction: ltr;
    }
    
    .security-grid,
    .payment-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-hero {
        padding: 120px 0 60px;
    }
    
    .features-hero h1 {
        font-size: 2rem;
    }
    
    .features-hero p {
        font-size: 1rem;
    }
    
    .feature-showcase-content h3 {
        font-size: 1.5rem;
    }
    
    .security-grid,
    .payment-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .fee-bar.utransfa {
        width: 30%;
    }
    
    .comparison-table-wrapper {
        overflow-x: scroll;
    }
}