/* ==================== GENERIC CALCULATOR STYLES ==================== */
/* These styles are shared across all calculator pages */

/* Introduction Section */
.intro-section {
    padding: 4rem 0;
    background: white;
}

.intro-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-section > p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.intro-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.intro-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.intro-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.intro-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.key-factors {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.key-factors li {
    padding: 1rem 0;
    color: var(--text-secondary);
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
}

.key-factors li:last-child {
    border-bottom: none;
}

.key-factors strong {
    color: var(--text-primary);
    font-weight: 700;
}

.mistakes-box {
    background: linear-gradient(135deg, #FFF3CD 0%, #FFE8A1 100%);
    border: 2px solid #FFC107;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.mistakes-box p {
    padding: 0.75rem 0;
    color: #856404;
    line-height: 1.7;
    margin: 0;
}

.mistakes-box strong {
    font-weight: 800;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0 3rem;
    color: white;
}

.hero-content-siem {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-content-siem h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-lead {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Calculator Section */
.calculator-section {
    padding: 5rem 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.calculator-inputs-enhanced {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.calculator-inputs-enhanced h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.input-group-enhanced {
    margin-bottom: 2.5rem;
}

.input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.input-header label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.input-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--light) 0%, var(--primary) 100%);
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s;
    cursor: pointer;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    transition: all 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.6);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
    transition: all 0.2s;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.6);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.input-help {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-style: italic;
}

.enhanced-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
    background: white;
    cursor: pointer;
    margin-top: 0.5rem;
}

.enhanced-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.calc-button-enhanced {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    margin-top: 1.5rem;
}

.calc-button-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.calculator-results-enhanced {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.results-placeholder {
    text-align: center;
    color: var(--text-light);
}

.results-placeholder svg {
    margin-bottom: 1.5rem;
}

.results-placeholder h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.results-placeholder p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Vendor Comparison Section */
.vendor-comparison-section {
    padding: 5rem 0;
    background: white;
}

.vendor-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Footer */
footer {
    background: var(--darker);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col h4 span {
    color: var(--primary);
}

.footer-col h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--text-light);
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content-siem h1 {
        font-size: 2rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .vendor-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== END GENERIC STYLES ==================== */

/* WAF Calculator - Cloudflare-inspired design */
:root {
    --waf-orange: #F38020;
    --waf-dark-orange: #E35D0A;
    --waf-dark: #1C1C1C;
    --waf-light: #FFF8F0;
    --waf-white: #FFFFFF;
}

.waf-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.hero-waf {
    background: linear-gradient(135deg, var(--waf-dark) 0%, #3A3A3A 50%, var(--waf-orange) 100%);
    padding: 80px 0;
    color: white;
}

.hero-badge-waf {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--waf-orange), var(--waf-dark-orange));
    color: white;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-waf .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-waf h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-lead-waf {
    font-size: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.hero-stats-waf {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat-number-waf {
    font-size: 42px;
    font-weight: 800;
    color: var(--waf-orange);
}

.stat-label-waf {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.calculator-section-waf {
    padding: 80px 0;
    background: var(--waf-light);
}

.calculator-layout-waf {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 40px;
}

.calculator-inputs-waf {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(243, 128, 32, 0.1);
}

.calculator-inputs-waf h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--waf-dark);
    margin-bottom: 30px;
}

.section-header-waf {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-waf h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--waf-dark);
    margin-bottom: 12px;
}

.section-header-waf p {
    font-size: 18px;
    color: #666;
}

.input-group-waf {
    margin-bottom: 30px;
}

.input-header-waf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.input-header-waf label {
    font-size: 14px;
    font-weight: 600;
    color: var(--waf-dark);
}

.input-display-waf {
    font-size: 18px;
    font-weight: 700;
    color: var(--waf-orange);
}

.slider-waf {
    width: 100%;
    height: 8px;
    background: var(--waf-light);
    border-radius: 4px;
}

.slider-waf::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--waf-orange), var(--waf-dark-orange));
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(243, 128, 32, 0.3);
}

.slider-waf::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--waf-orange), var(--waf-dark-orange));
    cursor: pointer;
    border: none;
}

.select-waf {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--waf-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--waf-dark);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-waf:focus {
    outline: none;
    border-color: var(--waf-orange);
}

.calculate-button-waf {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--waf-orange), var(--waf-dark-orange));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.calculate-button-waf:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 128, 32, 0.3);
}

.calculator-results-waf {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(243, 128, 32, 0.1);
    min-height: 500px;
}

.results-placeholder-waf {
    text-align: center;
    padding: 80px 40px;
}

.placeholder-icon-waf {
    font-size: 64px;
    margin-bottom: 20px;
}

.results-content-waf {
    padding: 20px;
}

.results-content-waf h4 {
    color: var(--waf-dark);
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--waf-light);
}

.vendor-section-waf {
    padding: 80px 0;
    background: white;
}

#vendor-cards-waf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vendor-card-waf {
    background: white;
    padding: 35px;
    border-radius: 16px;
    border: 2px solid var(--waf-light);
    transition: all 0.3s ease;
}

.vendor-card-waf:hover {
    border-color: var(--waf-orange);
    box-shadow: 0 8px 24px rgba(243, 128, 32, 0.15);
    transform: translateY(-4px);
}

.score-bar-fill-waf {
    height: 100%;
    background: linear-gradient(90deg, var(--waf-orange), var(--waf-dark-orange));
    border-radius: 4px;
    transition: width 0.5s ease;
}

@media (max-width: 968px) {
    .calculator-layout-waf {
        grid-template-columns: 1fr;
    }

    .hero-stats-waf {
        flex-direction: column;
        gap: 30px;
    }
}

/* Generic Vendor Card Styles */
.vendor-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.vendor-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
