/* Real-Time Tools Page Specific Styles */

/* Hero Section - Completely separate from main CSS */
.realtime-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    margin-top: 70px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.realtime-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.realtime-hero-content {
    position: relative;
    z-index: 2;
}

.realtime-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.realtime-highlight {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.realtime-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.realtime-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.realtime-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: white;
}

.realtime-stat-item i {
    color: #fbbf24;
    font-size: 1.2rem;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .realtime-hero {
        padding: 100px 0 60px;
        margin-top: 60px;
    }
    
    .realtime-hero-title {
        font-size: 2.5rem;
    }
    
    .realtime-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .realtime-hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .realtime-hero-title {
        font-size: 2rem;
    }
    
    .realtime-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Real-Time Tools Section */
.real-time-tools {
    padding: 80px 0;
    background: #f8fafc;
}

.real-time-tools .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: none;
}

/* Tool Card Styles */
.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

/* Tool Header */
.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.tool-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.live {
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.status-text {
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tool Content */
.tool-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.tool-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Tool Features */
.tool-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.feature {
    background: #f1f5f9;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* Tool Button */
.tool-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    text-decoration: none;
    text-align: center;
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.tool-btn:active {
    transform: translateY(0);
}

.tool-btn i {
    font-size: 1.1rem;
}



/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #64748b;
    color: white;
}

.btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .real-time-tools .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    

    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tool-features {
        gap: 0.5rem;
    }
    
    .feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .tool-btn {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error States */
.success {
    border-color: #10b981;
}

.success::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.error {
    border-color: #ef4444;
}

.error::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}


