/* Calculators Page Specific Styles */

/* Hero Section */
.calculators-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.calculators-hero::before {
    content: '';
    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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.calculators-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.calculators-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.calculators-highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.calculators-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.95;
}

.calculators-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.calculators-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 150px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.calculators-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.calculators-stat-item i {
    font-size: 2rem;
    color: #ffd700;
}

.calculators-stat-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Calculator Tools Section */
.calculator-tools {
    padding: 80px 0;
    background: #f8f9fa;
}

.calculator-tools .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.calculator-tools .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.calculator-tools .section-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Tool Cards Grid */
.calculator-tools .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.calculator-tools .tool-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.calculator-tools .tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.calculator-tools .tool-card:hover::before {
    transform: scaleX(1);
}

.calculator-tools .tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.calculator-tools .tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calculator-tools .tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.calculator-tools .tool-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calculator-tools .status-dot.professional {
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.calculator-tools .status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #28a745;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calculator-tools .tool-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.calculator-tools .tool-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.calculator-tools .tool-features {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.calculator-tools .feature {
    background: #e9ecef;
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.calculator-tools .tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.calculator-tools .tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.calculator-tools .tool-btn i {
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculators-hero-title {
        font-size: 2.5rem;
    }
    
    .calculators-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .calculators-hero-stats {
        gap: 20px;
    }
    
    .calculators-stat-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .calculator-tools .tools-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .calculator-tools .tool-card {
        padding: 25px;
    }
    
    .calculator-tools .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .calculators-hero {
        padding: 60px 0;
    }
    
    .calculators-hero-title {
        font-size: 2rem;
    }
    
    .calculators-hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .calculators-stat-item {
        min-width: 200px;
    }
}
